Skip to content

Commit

Permalink
fix: bundle bloat and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Samaritan1011001 committed Feb 9, 2024
1 parent a9724fd commit 1a10743
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/__tests__/utils/deviceId/getDeviceId.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Cache } from '../../../src';
import { getDeviceId } from '../../../src/utils';
import { getDeviceId } from '../../../src/utils/deviceId/getDeviceId';

describe('getDeviceId: ', () => {
const testDeviceId = 'test-device-id';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/libraryUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export { LegacyConfig } from './singleton/types';
export { ADD_OAUTH_LISTENER } from './singleton/constants';
export { amplifyUuid } from './utils/amplifyUuid';
export { AmplifyUrl, AmplifyUrlSearchParams } from './utils/amplifyUrl';
export { getDeviceId } from './utils';
export { getDeviceId } from './utils/deviceId';

// Auth utilities
export {
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ export { urlSafeEncode } from './urlSafeEncode';
export { deepFreeze } from './deepFreeze';
export { deDupeAsyncFunction } from './deDupeAsyncFunction';
export { createQueuedStorage, QueuedStorage } from './queuedStorage';
export { getDeviceId } from './deviceId';

0 comments on commit 1a10743

Please sign in to comment.