@contello/store 1.2.0 → 1.3.0

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/dist/index.cjs CHANGED
@@ -398,6 +398,9 @@ function createAssetsCollection(def, client, updates$) {
398
398
  download(fileId) {
399
399
  return client.download(fileId);
400
400
  },
401
+ proxyHls(path, signal) {
402
+ return client.proxyHls(path, signal);
403
+ },
401
404
  refresh() {
402
405
  scheduleRefresh();
403
406
  },
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { OperationMap, ContelloClient, ConnectionEvents, UploadData, UploadMetadata, UploadOptions, DownloadResult } from '@contello/client';
1
+ import { OperationMap, ContelloClient, ConnectionEvents, UploadData, UploadMetadata, UploadOptions, DownloadResult, ProxyResult } from '@contello/client';
2
2
  import { Observable } from 'rxjs';
3
3
  import { MaybePromise } from 'projected';
4
4
 
@@ -254,6 +254,7 @@ type Assets = {
254
254
  get(ids: string[]): Promise<StoreAsset[]>;
255
255
  upload(data: UploadData, meta: UploadMetadata, options?: UploadOptions | undefined): Promise<string>;
256
256
  download(fileId: string): Promise<DownloadResult>;
257
+ proxyHls(path: string, signal?: AbortSignal | undefined): Promise<ProxyResult>;
257
258
  refresh(): void;
258
259
  clear(): void;
259
260
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { OperationMap, ContelloClient, ConnectionEvents, UploadData, UploadMetadata, UploadOptions, DownloadResult } from '@contello/client';
1
+ import { OperationMap, ContelloClient, ConnectionEvents, UploadData, UploadMetadata, UploadOptions, DownloadResult, ProxyResult } from '@contello/client';
2
2
  import { Observable } from 'rxjs';
3
3
  import { MaybePromise } from 'projected';
4
4
 
@@ -254,6 +254,7 @@ type Assets = {
254
254
  get(ids: string[]): Promise<StoreAsset[]>;
255
255
  upload(data: UploadData, meta: UploadMetadata, options?: UploadOptions | undefined): Promise<string>;
256
256
  download(fileId: string): Promise<DownloadResult>;
257
+ proxyHls(path: string, signal?: AbortSignal | undefined): Promise<ProxyResult>;
257
258
  refresh(): void;
258
259
  clear(): void;
259
260
  };
package/dist/index.js CHANGED
@@ -361,6 +361,9 @@ function createAssetsCollection(def, client, updates$) {
361
361
  download(fileId) {
362
362
  return client.download(fileId);
363
363
  },
364
+ proxyHls(path, signal) {
365
+ return client.proxyHls(path, signal);
366
+ },
364
367
  refresh() {
365
368
  scheduleRefresh();
366
369
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contello/store",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Framework-agnostic store for Contello CMS with reactive collections and automatic dependency tracking",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "backoff-rxjs": "^7.0.0",
19
19
  "lru-cache": "^11.3.5",
20
- "@contello/client": "^1.0.3"
20
+ "@contello/client": "^1.1.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "projected": "^2.2.1",