Skip to content

Commit b210ed1

Browse files
committed
refactor: remove __legacy__ folders from packages and refactor usage
Signed-off-by: Kavindu Sachinthe <kavix@yahoo.com>
1 parent dee9d43 commit b210ed1

95 files changed

Lines changed: 1481 additions & 1600 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 0 deletions

‎packages/browser/.eslintignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
/build
33
/node_modules
44
/coverage
5-
/src/__legacy__
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
User,
2929
createPackageComponentLogger,
3030
} from '@asgardeo/javascript';
31-
import WorkerFile from '../web.worker';
31+
import WorkerFile from './web.worker';
3232
import {MainThreadClient, WebWorkerClient} from './clients';
3333
import {Hooks, REFRESH_ACCESS_TOKEN_ERR0R} from './constants';
3434
import {AuthenticationHelper, SPAHelper} from './helpers';
File renamed without changes.

packages/browser/src/__legacy__/clients/main-thread-client.ts renamed to packages/browser/src/clients/main-thread-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {SILENT_SIGN_IN_STATE, TOKEN_REQUEST_CONFIG_KEY} from '../constants';
3535
import {AuthenticationHelper} from '../helpers/authentication-helper';
3636
import {SessionManagementHelper} from '../helpers/session-management-helper';
3737
import {SPAHelper} from '../helpers/spa-helper';
38-
import {FetchHttpClient} from '../../FetchHttpClient';
38+
import {FetchHttpClient} from '../FetchHttpClient';
3939
import {HttpError, HttpRequestConfig, HttpResponse, MainThreadClientConfig, MainThreadClientInterface} from '../models';
4040
import {SPACustomGrantConfig} from '../models/request-custom-grant';
4141
import {BrowserStorage} from '../models/storage';

packages/browser/src/__legacy__/clients/web-worker-client.ts renamed to packages/browser/src/clients/web-worker-client.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/browser/src/__legacy__/constants/messages-types.ts renamed to packages/browser/src/constants/messages-types.ts

File renamed without changes.

0 commit comments

Comments
 (0)