@spiffcommerce/core 21.16.1-alpha.1 → 21.16.1-alpha.2
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.d.ts +4 -0
- package/dist/index.js +237 -230
- package/dist/index.umd.cjs +16 -16
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -381,6 +381,10 @@ declare class AssetService implements AssetManager {
|
|
|
381
381
|
* Allows for retrieving an asset, returns the option from a cache if possible.
|
|
382
382
|
*/
|
|
383
383
|
getLocalOrFromServer(assetKey: string): Promise<Asset>;
|
|
384
|
+
/**
|
|
385
|
+
* Retrieves the asset from the server, bypassing cache (but still writing the result to cache)
|
|
386
|
+
*/
|
|
387
|
+
getFromServer(assetKey: string): Promise<Asset>;
|
|
384
388
|
keyFromURL(url: string): string | undefined;
|
|
385
389
|
/**
|
|
386
390
|
* Caches an asset if it doesn't already exist.
|