@ngxsp/plugin-offline 0.1.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,11 +1,9 @@
1
- import { PlayerPlugin, PlayerConfig } from '@ngxsp/core';
2
-
3
- type OfflineConfig = {
1
+ import type { PlayerPlugin, PlayerConfig } from '@ngxsp/core';
2
+ export type OfflineConfig = {
4
3
  enabled?: boolean;
5
4
  /** Storage key override; default = `offline:${contentId || url}` */
6
5
  key?: string;
7
6
  };
8
- declare function offlineKeyForConfig(cfg: PlayerConfig, override?: string): string;
9
- declare function createOfflinePlugin(): PlayerPlugin;
10
-
11
- export { type OfflineConfig, createOfflinePlugin, offlineKeyForConfig };
7
+ export declare function offlineKeyForConfig(cfg: PlayerConfig, override?: string): string;
8
+ export declare function createOfflinePlugin(): PlayerPlugin;
9
+ //# 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,YAAY,EAAiB,YAAY,EAAe,MAAM,aAAa,CAAC;AAE1F,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAMhF;AAED,wBAAgB,mBAAmB,IAAI,YAAY,CAgDlD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxsp/plugin-offline",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "description": "Offline playback plugin for ngxsp media runtimes.",
6
6
  "keywords": [
@@ -21,6 +21,6 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@ngxsp/core": "^0.1.0"
24
+ "@ngxsp/core": "^0.2.1"
25
25
  }
26
26
  }