@esportsplus/web-storage 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -19,3 +19,4 @@ declare class Local<T> {
19
19
  declare const _default: <T>(options: Options, secret?: string) => Local<T>;
20
20
  export default _default;
21
21
  export { DriverType } from './constants.js';
22
+ export type { Local };
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { decrypt, encrypt } from '@esportsplus/crypto';
1
+ import { decrypt, encrypt } from '@esportsplus/utilities';
2
2
  import { DriverType } from './constants.js';
3
3
  import { IndexedDBDriver } from './drivers/indexeddb.js';
4
4
  import { LocalStorageDriver } from './drivers/localstorage.js';
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "author": "ICJR",
3
3
  "dependencies": {
4
- "@esportsplus/crypto": "^0.2.3"
4
+ "@esportsplus/utilities": "^0.26.0"
5
5
  },
6
6
  "description": "Web storage utility",
7
7
  "devDependencies": {
8
- "@esportsplus/typescript": "^0.9.1"
8
+ "@esportsplus/typescript": "^0.9.2"
9
9
  },
10
10
  "main": "build/index.js",
11
11
  "name": "@esportsplus/web-storage",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "type": "module",
18
18
  "types": "build/index.d.ts",
19
- "version": "0.3.1",
19
+ "version": "0.3.3",
20
20
  "scripts": {
21
21
  "build": "tsc && tsc-alias",
22
22
  "-": "-"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { decrypt, encrypt } from '@esportsplus/crypto';
1
+ import { decrypt, encrypt } from '@esportsplus/utilities';
2
2
  import type { Driver, Filter, Options } from './types';
3
3
  import { DriverType } from './constants';
4
4
  import { IndexedDBDriver } from '~/drivers/indexeddb';
@@ -189,4 +189,5 @@ class Local<T> {
189
189
  export default <T>(options: Options, secret?: string) => {
190
190
  return new Local<T>(options, secret);
191
191
  };
192
- export { DriverType } from './constants';
192
+ export { DriverType } from './constants';
193
+ export type { Local };