@salesforce/lds-adapters-commerce-extensions 1.134.6 → 1.134.8
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/es/es2018/commerce-extensions.js +9 -21
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
- package/dist/es/es2018/types/src/generated/types/ApexClassOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/EffectiveMappingRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExtensionOutputCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExtensionOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MappingInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MappingOutputCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MappingOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ProviderOutputCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ProviderOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
- package/package.json +1 -1
- package/sfdc/index.js +10 -22
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
|
-
const { keys: ObjectKeys$1,
|
|
10
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
11
11
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
12
12
|
/**
|
|
13
13
|
* Validates an adapter config is well-formed.
|
|
@@ -50,7 +50,7 @@ const snapshotRefreshOptions = {
|
|
|
50
50
|
};
|
|
51
51
|
const keyPrefix = 'extensions';
|
|
52
52
|
|
|
53
|
-
const {
|
|
53
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
54
54
|
const { isArray: ArrayIsArray } = Array;
|
|
55
55
|
const { stringify: JSONStringify } = JSON;
|
|
56
56
|
function equalsArray(a, b, equalsItem) {
|
|
@@ -66,24 +66,6 @@ function equalsArray(a, b, equalsItem) {
|
|
|
66
66
|
}
|
|
67
67
|
return true;
|
|
68
68
|
}
|
|
69
|
-
function deepFreeze(value) {
|
|
70
|
-
// No need to freeze primitives
|
|
71
|
-
if (typeof value !== 'object' || value === null) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
if (ArrayIsArray(value)) {
|
|
75
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
76
|
-
deepFreeze(value[i]);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
const keys = ObjectKeys(value);
|
|
81
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
82
|
-
deepFreeze(value[keys[i]]);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
ObjectFreeze(value);
|
|
86
|
-
}
|
|
87
69
|
function createLink(ref) {
|
|
88
70
|
return {
|
|
89
71
|
__ref: serializeStructuredKey(ref),
|
|
@@ -418,6 +400,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
418
400
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
419
401
|
}
|
|
420
402
|
}
|
|
403
|
+
deepFreeze(snapshot.data);
|
|
421
404
|
return snapshot;
|
|
422
405
|
}
|
|
423
406
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
@@ -844,6 +827,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
844
827
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
845
828
|
}
|
|
846
829
|
}
|
|
830
|
+
deepFreeze(snapshot.data);
|
|
847
831
|
return snapshot;
|
|
848
832
|
}
|
|
849
833
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -1004,6 +988,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1004
988
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1005
989
|
}
|
|
1006
990
|
}
|
|
991
|
+
deepFreeze(snapshot.data);
|
|
1007
992
|
return snapshot;
|
|
1008
993
|
}
|
|
1009
994
|
function createResourceRequest$4(config) {
|
|
@@ -1216,6 +1201,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1216
1201
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1217
1202
|
}
|
|
1218
1203
|
}
|
|
1204
|
+
deepFreeze(snapshot.data);
|
|
1219
1205
|
return snapshot;
|
|
1220
1206
|
}
|
|
1221
1207
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -1372,6 +1358,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
1372
1358
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1373
1359
|
}
|
|
1374
1360
|
}
|
|
1361
|
+
deepFreeze(snapshot.data);
|
|
1375
1362
|
return snapshot;
|
|
1376
1363
|
}
|
|
1377
1364
|
function createResourceRequest$1(config) {
|
|
@@ -1908,6 +1895,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1908
1895
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1909
1896
|
}
|
|
1910
1897
|
}
|
|
1898
|
+
deepFreeze(snapshot.data);
|
|
1911
1899
|
return snapshot;
|
|
1912
1900
|
}
|
|
1913
1901
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -3,17 +3,11 @@ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
|
3
3
|
declare const ObjectKeys: {
|
|
4
4
|
(o: object): string[];
|
|
5
5
|
(o: {}): string[];
|
|
6
|
-
}, ObjectFreeze: {
|
|
7
|
-
<T extends Function>(f: T): T;
|
|
8
|
-
<T_1 extends {
|
|
9
|
-
[idx: string]: object | U | null | undefined;
|
|
10
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
6
|
}, ObjectCreate: {
|
|
13
7
|
(o: object | null): any;
|
|
14
8
|
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
9
|
};
|
|
16
|
-
export {
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
17
11
|
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
12
|
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
13
|
export interface AdapterValidationConfig {
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ApexClassOutputRepresentation, existing: ApexClassOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ApexClassOutputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ApexClassOutputRepresentationNormalized, incoming: ApexClassOutputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ApexClassOutputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ApexClassOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: EffectiveMappingRepresentation, existing: EffectiveMappingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EffectiveMappingRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: EffectiveMappingRepresentationNormalized, incoming: EffectiveMappingRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: EffectiveMappingRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: EffectiveMappingRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ExtensionOutputCollectionRepresentation.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export interface DynamicSelectParams {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: ExtensionOutputCollectionRepresentationNormalized, incoming: ExtensionOutputCollectionRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: ExtensionOutputCollectionRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExtensionOutputCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
15
15
|
export declare function normalize(input: ExtensionOutputRepresentation, existing: ExtensionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExtensionOutputRepresentationNormalized;
|
|
16
16
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: ExtensionOutputRepresentationNormalized, incoming: ExtensionOutputRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: ExtensionOutputRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExtensionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: MappingInputRepresentation, existing: MappingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MappingInputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: MappingInputRepresentationNormalized, incoming: MappingInputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: MappingInputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: MappingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -15,7 +15,6 @@ export interface DynamicSelectParams {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: MappingOutputCollectionRepresentationNormalized, incoming: MappingOutputCollectionRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: MappingOutputCollectionRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: MappingOutputCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
15
15
|
export declare function normalize(input: MappingOutputRepresentation, existing: MappingOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MappingOutputRepresentationNormalized;
|
|
16
16
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: MappingOutputRepresentationNormalized, incoming: MappingOutputRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: MappingOutputRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: MappingOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
/**
|
package/dist/es/es2018/types/src/generated/types/ProviderOutputCollectionRepresentation.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export interface DynamicSelectParams {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: ProviderOutputCollectionRepresentationNormalized, incoming: ProviderOutputCollectionRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: ProviderOutputCollectionRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProviderOutputCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
@@ -17,7 +17,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
17
17
|
export declare function normalize(input: ProviderOutputRepresentation, existing: ProviderOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProviderOutputRepresentationNormalized;
|
|
18
18
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
19
19
|
export declare function equals(existing: ProviderOutputRepresentationNormalized, incoming: ProviderOutputRepresentationNormalized): boolean;
|
|
20
|
-
export declare function deepFreeze(input: ProviderOutputRepresentation): void;
|
|
21
20
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
21
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProviderOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
23
22
|
/**
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const
|
|
3
|
-
<T extends Function>(f: T): T;
|
|
4
|
-
<T_1 extends {
|
|
5
|
-
[idx: string]: object | U | null | undefined;
|
|
6
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
-
}, ObjectKeys: {
|
|
2
|
+
export declare const ObjectKeys: {
|
|
9
3
|
(o: object): string[];
|
|
10
4
|
(o: {}): string[];
|
|
11
5
|
}, ObjectCreate: {
|
|
@@ -31,7 +25,6 @@ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (i
|
|
|
31
25
|
export declare function equalsObject<U, V extends {
|
|
32
26
|
[key: string]: U;
|
|
33
27
|
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
-
export declare function deepFreeze(value: any): void;
|
|
35
28
|
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
29
|
__ref: string;
|
|
37
30
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-commerce-extensions",
|
|
3
|
-
"version": "1.134.
|
|
3
|
+
"version": "1.134.8",
|
|
4
4
|
"description": "APIs to manage providers for commerce extensions and which will be used for each store.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/umd/es2018/commerce-extensions.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
|
-
const { keys: ObjectKeys$1,
|
|
20
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
21
21
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
22
22
|
/**
|
|
23
23
|
* Validates an adapter config is well-formed.
|
|
@@ -60,7 +60,7 @@ const snapshotRefreshOptions = {
|
|
|
60
60
|
};
|
|
61
61
|
const keyPrefix = 'extensions';
|
|
62
62
|
|
|
63
|
-
const {
|
|
63
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
64
64
|
const { isArray: ArrayIsArray } = Array;
|
|
65
65
|
const { stringify: JSONStringify } = JSON;
|
|
66
66
|
function equalsArray(a, b, equalsItem) {
|
|
@@ -76,24 +76,6 @@ function equalsArray(a, b, equalsItem) {
|
|
|
76
76
|
}
|
|
77
77
|
return true;
|
|
78
78
|
}
|
|
79
|
-
function deepFreeze(value) {
|
|
80
|
-
// No need to freeze primitives
|
|
81
|
-
if (typeof value !== 'object' || value === null) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
if (ArrayIsArray(value)) {
|
|
85
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
86
|
-
deepFreeze(value[i]);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
const keys = ObjectKeys(value);
|
|
91
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
92
|
-
deepFreeze(value[keys[i]]);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
ObjectFreeze(value);
|
|
96
|
-
}
|
|
97
79
|
function createLink(ref) {
|
|
98
80
|
return {
|
|
99
81
|
__ref: serializeStructuredKey(ref),
|
|
@@ -428,6 +410,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
428
410
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
429
411
|
}
|
|
430
412
|
}
|
|
413
|
+
deepFreeze(snapshot.data);
|
|
431
414
|
return snapshot;
|
|
432
415
|
}
|
|
433
416
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
@@ -854,6 +837,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
854
837
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
855
838
|
}
|
|
856
839
|
}
|
|
840
|
+
deepFreeze(snapshot.data);
|
|
857
841
|
return snapshot;
|
|
858
842
|
}
|
|
859
843
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -1014,6 +998,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1014
998
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1015
999
|
}
|
|
1016
1000
|
}
|
|
1001
|
+
deepFreeze(snapshot.data);
|
|
1017
1002
|
return snapshot;
|
|
1018
1003
|
}
|
|
1019
1004
|
function createResourceRequest$4(config) {
|
|
@@ -1226,6 +1211,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1226
1211
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1227
1212
|
}
|
|
1228
1213
|
}
|
|
1214
|
+
deepFreeze(snapshot.data);
|
|
1229
1215
|
return snapshot;
|
|
1230
1216
|
}
|
|
1231
1217
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -1419,6 +1405,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
1419
1405
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1420
1406
|
}
|
|
1421
1407
|
}
|
|
1408
|
+
deepFreeze(snapshot.data);
|
|
1422
1409
|
return snapshot;
|
|
1423
1410
|
}
|
|
1424
1411
|
function createResourceRequest$1(config) {
|
|
@@ -1955,6 +1942,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1955
1942
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1956
1943
|
}
|
|
1957
1944
|
}
|
|
1945
|
+
deepFreeze(snapshot.data);
|
|
1958
1946
|
return snapshot;
|
|
1959
1947
|
}
|
|
1960
1948
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -2161,4 +2149,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2161
2149
|
});
|
|
2162
2150
|
|
|
2163
2151
|
export { createMapping, deleteMapping, getExtensions, getExtensions_imperative, getMapping, getMappingNotifyChange, getMapping_imperative, getMappings, getMappings_imperative, getProviders, getProviders_imperative, notifyMappingUpdateAvailable, updateMapping };
|
|
2164
|
-
// version: 1.134.
|
|
2152
|
+
// version: 1.134.8-c3d6d2cfc
|