@ngxsp/adapter-storage-indexeddb 0.2.0 → 0.2.1

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/index.d.ts CHANGED
@@ -1,14 +1,12 @@
1
- import { StoragePort } from '@ngxsp/core';
2
-
3
- type IndexedDbOptions = {
1
+ import type { StoragePort } from '@ngxsp/core';
2
+ export type IndexedDbOptions = {
4
3
  dbName?: string;
5
4
  storeName?: string;
6
5
  };
7
- declare function createIndexedDbStorageAdapter(prefix: string, options?: IndexedDbOptions): StoragePort;
8
- declare function createIndexedDbBinaryStorageAdapter(prefix: string, options?: IndexedDbOptions): {
6
+ export declare function createIndexedDbStorageAdapter(prefix: string, options?: IndexedDbOptions): StoragePort;
7
+ export declare function createIndexedDbBinaryStorageAdapter(prefix: string, options?: IndexedDbOptions): {
9
8
  get(k: string): Promise<Uint8Array | null>;
10
9
  set(k: string, value: Uint8Array): Promise<void>;
11
10
  remove(k: string): Promise<void>;
12
11
  };
13
-
14
- export { type IndexedDbOptions, createIndexedDbBinaryStorageAdapter, createIndexedDbStorageAdapter };
12
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA+BF,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB,GAAG,WAAW,CAuBzG;AAED,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,gBAAqB;WASjF,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;WASnC,MAAM,SAAS,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;cAItC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;EAKzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxsp/adapter-storage-indexeddb",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "description": "IndexedDB persistence adapter for ngxsp media runtimes.",
6
6
  "keywords": [
@@ -21,6 +21,6 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@ngxsp/core": "^0.2.0"
24
+ "@ngxsp/core": "^0.2.1"
25
25
  }
26
26
  }