@salesforce/lds-adapters-industries-eri 1.134.7 → 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/industries-eri.js +5 -59
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
- package/dist/es/es2018/types/src/generated/types/DigestNotification.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentationWrapper.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ERIDigestOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/FollowingInfo.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/FollowingInfoInputRepresentation.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 +6 -60
|
@@ -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.
|
|
@@ -43,27 +43,9 @@ function areRequiredParametersPresent(config, configPropertyNames) {
|
|
|
43
43
|
}
|
|
44
44
|
const keyPrefix = 'eri';
|
|
45
45
|
|
|
46
|
-
const {
|
|
46
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
47
47
|
const { isArray: ArrayIsArray } = Array;
|
|
48
48
|
const { stringify: JSONStringify } = JSON;
|
|
49
|
-
function deepFreeze$3(value) {
|
|
50
|
-
// No need to freeze primitives
|
|
51
|
-
if (typeof value !== 'object' || value === null) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (ArrayIsArray(value)) {
|
|
55
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
56
|
-
deepFreeze$3(value[i]);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
const keys = ObjectKeys(value);
|
|
61
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
62
|
-
deepFreeze$3(value[keys[i]]);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
ObjectFreeze(value);
|
|
66
|
-
}
|
|
67
49
|
function createLink(ref) {
|
|
68
50
|
return {
|
|
69
51
|
__ref: serializeStructuredKey(ref),
|
|
@@ -182,13 +164,6 @@ function validate$2(obj, path = 'FollowingInfo') {
|
|
|
182
164
|
})();
|
|
183
165
|
return v_error === undefined ? null : v_error;
|
|
184
166
|
}
|
|
185
|
-
function deepFreeze$2(input) {
|
|
186
|
-
const input_filterTypes = input.filterTypes;
|
|
187
|
-
ObjectFreeze(input_filterTypes);
|
|
188
|
-
const input_recordIds = input.recordIds;
|
|
189
|
-
ObjectFreeze(input_recordIds);
|
|
190
|
-
ObjectFreeze(input);
|
|
191
|
-
}
|
|
192
167
|
|
|
193
168
|
function validate$1(obj, path = 'DigestNotification') {
|
|
194
169
|
const v_error = (() => {
|
|
@@ -273,20 +248,6 @@ function validate$1(obj, path = 'DigestNotification') {
|
|
|
273
248
|
})();
|
|
274
249
|
return v_error === undefined ? null : v_error;
|
|
275
250
|
}
|
|
276
|
-
function deepFreeze$1(input) {
|
|
277
|
-
const input_fields = input.fields;
|
|
278
|
-
for (let i = 0; i < input_fields.length; i++) {
|
|
279
|
-
const input_fields_item = input_fields[i];
|
|
280
|
-
const input_fields_item_keys = Object.keys(input_fields_item);
|
|
281
|
-
const input_fields_item_length = input_fields_item_keys.length;
|
|
282
|
-
for (let i = 0; i < input_fields_item_length; i++) {
|
|
283
|
-
input_fields_item_keys[i];
|
|
284
|
-
}
|
|
285
|
-
ObjectFreeze(input_fields_item);
|
|
286
|
-
}
|
|
287
|
-
ObjectFreeze(input_fields);
|
|
288
|
-
ObjectFreeze(input);
|
|
289
|
-
}
|
|
290
251
|
|
|
291
252
|
const TTL = 1000;
|
|
292
253
|
const VERSION = "954674f4e56dd5b956cf98542401fda9";
|
|
@@ -369,21 +330,6 @@ function equals(existing, incoming) {
|
|
|
369
330
|
}
|
|
370
331
|
return true;
|
|
371
332
|
}
|
|
372
|
-
function deepFreeze(input) {
|
|
373
|
-
const input_following = input.following;
|
|
374
|
-
if (input_following !== undefined) {
|
|
375
|
-
deepFreeze$2(input_following);
|
|
376
|
-
}
|
|
377
|
-
const input_notifications = input.notifications;
|
|
378
|
-
if (input_notifications !== undefined) {
|
|
379
|
-
for (let i = 0; i < input_notifications.length; i++) {
|
|
380
|
-
const input_notifications_item = input_notifications[i];
|
|
381
|
-
deepFreeze$1(input_notifications_item);
|
|
382
|
-
}
|
|
383
|
-
ObjectFreeze(input_notifications);
|
|
384
|
-
}
|
|
385
|
-
ObjectFreeze(input);
|
|
386
|
-
}
|
|
387
333
|
const ingest = function ERIDigestOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
388
334
|
if (process.env.NODE_ENV !== 'production') {
|
|
389
335
|
const validateError = validate(input);
|
|
@@ -400,7 +346,6 @@ const ingest = function ERIDigestOutputRepresentationIngest(input, path, luvio,
|
|
|
400
346
|
propertyName: path.propertyName,
|
|
401
347
|
ttl: ttlToUse
|
|
402
348
|
});
|
|
403
|
-
deepFreeze(input);
|
|
404
349
|
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
405
350
|
luvio.storePublish(key, incomingRecord);
|
|
406
351
|
}
|
|
@@ -447,6 +392,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
447
392
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
448
393
|
}
|
|
449
394
|
}
|
|
395
|
+
deepFreeze(snapshot.data);
|
|
450
396
|
return snapshot;
|
|
451
397
|
}
|
|
452
398
|
function createResourceRequest(config) {
|
|
@@ -510,7 +456,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
510
456
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
511
457
|
}, () => getResponseCacheKeys(luvio, resourceParams, response.body));
|
|
512
458
|
}, (response) => {
|
|
513
|
-
deepFreeze
|
|
459
|
+
deepFreeze(response);
|
|
514
460
|
throw response;
|
|
515
461
|
});
|
|
516
462
|
}
|
|
@@ -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: DigestNotification, existing: DigestNotificationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DigestNotificationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
7
|
export declare function equals(existing: DigestNotificationNormalized, incoming: DigestNotificationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: DigestNotification): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DigestNotification, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ERIDigestInputRepresentation, existing: ERIDigestInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestInputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ERIDigestInputRepresentationNormalized, incoming: ERIDigestInputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ERIDigestInputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ERIDigestInputRepresentationWrapper, existing: ERIDigestInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestInputRepresentationWrapperNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ERIDigestInputRepresentationWrapperNormalized, incoming: ERIDigestInputRepresentationWrapperNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ERIDigestInputRepresentationWrapper): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -17,7 +17,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
17
17
|
export declare function normalize(input: ERIDigestOutputRepresentation, existing: ERIDigestOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ERIDigestOutputRepresentationNormalized;
|
|
18
18
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
19
19
|
export declare function equals(existing: ERIDigestOutputRepresentationNormalized, incoming: ERIDigestOutputRepresentationNormalized): boolean;
|
|
20
|
-
export declare function deepFreeze(input: ERIDigestOutputRepresentation): void;
|
|
21
20
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
21
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ERIDigestOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
23
22
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: FollowingInfo, existing: FollowingInfoNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowingInfoNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FollowingInfoNormalized, incoming: FollowingInfoNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: FollowingInfo): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FollowingInfo, 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: FollowingInfoInputRepresentation, existing: FollowingInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FollowingInfoInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FollowingInfoInputRepresentationNormalized, incoming: FollowingInfoInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: FollowingInfoInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FollowingInfoInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -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
package/sfdc/index.js
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
16
|
-
import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
|
|
16
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
|
|
17
17
|
|
|
18
18
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
19
|
-
const { keys: ObjectKeys$1,
|
|
19
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
20
20
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
21
21
|
/**
|
|
22
22
|
* Validates an adapter config is well-formed.
|
|
@@ -52,27 +52,9 @@ function areRequiredParametersPresent(config, configPropertyNames) {
|
|
|
52
52
|
}
|
|
53
53
|
const keyPrefix = 'eri';
|
|
54
54
|
|
|
55
|
-
const {
|
|
55
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
56
56
|
const { isArray: ArrayIsArray } = Array;
|
|
57
57
|
const { stringify: JSONStringify } = JSON;
|
|
58
|
-
function deepFreeze$3(value) {
|
|
59
|
-
// No need to freeze primitives
|
|
60
|
-
if (typeof value !== 'object' || value === null) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
if (ArrayIsArray(value)) {
|
|
64
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
65
|
-
deepFreeze$3(value[i]);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
const keys = ObjectKeys(value);
|
|
70
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
71
|
-
deepFreeze$3(value[keys[i]]);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
ObjectFreeze(value);
|
|
75
|
-
}
|
|
76
58
|
function createLink(ref) {
|
|
77
59
|
return {
|
|
78
60
|
__ref: serializeStructuredKey(ref),
|
|
@@ -191,13 +173,6 @@ function validate$2(obj, path = 'FollowingInfo') {
|
|
|
191
173
|
})();
|
|
192
174
|
return v_error === undefined ? null : v_error;
|
|
193
175
|
}
|
|
194
|
-
function deepFreeze$2(input) {
|
|
195
|
-
const input_filterTypes = input.filterTypes;
|
|
196
|
-
ObjectFreeze(input_filterTypes);
|
|
197
|
-
const input_recordIds = input.recordIds;
|
|
198
|
-
ObjectFreeze(input_recordIds);
|
|
199
|
-
ObjectFreeze(input);
|
|
200
|
-
}
|
|
201
176
|
|
|
202
177
|
function validate$1(obj, path = 'DigestNotification') {
|
|
203
178
|
const v_error = (() => {
|
|
@@ -282,20 +257,6 @@ function validate$1(obj, path = 'DigestNotification') {
|
|
|
282
257
|
})();
|
|
283
258
|
return v_error === undefined ? null : v_error;
|
|
284
259
|
}
|
|
285
|
-
function deepFreeze$1(input) {
|
|
286
|
-
const input_fields = input.fields;
|
|
287
|
-
for (let i = 0; i < input_fields.length; i++) {
|
|
288
|
-
const input_fields_item = input_fields[i];
|
|
289
|
-
const input_fields_item_keys = Object.keys(input_fields_item);
|
|
290
|
-
const input_fields_item_length = input_fields_item_keys.length;
|
|
291
|
-
for (let i = 0; i < input_fields_item_length; i++) {
|
|
292
|
-
input_fields_item_keys[i];
|
|
293
|
-
}
|
|
294
|
-
ObjectFreeze(input_fields_item);
|
|
295
|
-
}
|
|
296
|
-
ObjectFreeze(input_fields);
|
|
297
|
-
ObjectFreeze(input);
|
|
298
|
-
}
|
|
299
260
|
|
|
300
261
|
const TTL = 1000;
|
|
301
262
|
const VERSION = "954674f4e56dd5b956cf98542401fda9";
|
|
@@ -378,21 +339,6 @@ function equals(existing, incoming) {
|
|
|
378
339
|
}
|
|
379
340
|
return true;
|
|
380
341
|
}
|
|
381
|
-
function deepFreeze(input) {
|
|
382
|
-
const input_following = input.following;
|
|
383
|
-
if (input_following !== undefined) {
|
|
384
|
-
deepFreeze$2(input_following);
|
|
385
|
-
}
|
|
386
|
-
const input_notifications = input.notifications;
|
|
387
|
-
if (input_notifications !== undefined) {
|
|
388
|
-
for (let i = 0; i < input_notifications.length; i++) {
|
|
389
|
-
const input_notifications_item = input_notifications[i];
|
|
390
|
-
deepFreeze$1(input_notifications_item);
|
|
391
|
-
}
|
|
392
|
-
ObjectFreeze(input_notifications);
|
|
393
|
-
}
|
|
394
|
-
ObjectFreeze(input);
|
|
395
|
-
}
|
|
396
342
|
const ingest = function ERIDigestOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
397
343
|
if (process.env.NODE_ENV !== 'production') {
|
|
398
344
|
const validateError = validate(input);
|
|
@@ -409,7 +355,6 @@ const ingest = function ERIDigestOutputRepresentationIngest(input, path, luvio,
|
|
|
409
355
|
propertyName: path.propertyName,
|
|
410
356
|
ttl: ttlToUse
|
|
411
357
|
});
|
|
412
|
-
deepFreeze(input);
|
|
413
358
|
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
414
359
|
luvio.storePublish(key, incomingRecord);
|
|
415
360
|
}
|
|
@@ -456,6 +401,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
456
401
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
457
402
|
}
|
|
458
403
|
}
|
|
404
|
+
deepFreeze(snapshot.data);
|
|
459
405
|
return snapshot;
|
|
460
406
|
}
|
|
461
407
|
function createResourceRequest(config) {
|
|
@@ -519,7 +465,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
519
465
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
520
466
|
}, () => getResponseCacheKeys(luvio, resourceParams, response.body));
|
|
521
467
|
}, (response) => {
|
|
522
|
-
deepFreeze
|
|
468
|
+
deepFreeze(response);
|
|
523
469
|
throw response;
|
|
524
470
|
});
|
|
525
471
|
}
|
|
@@ -552,4 +498,4 @@ withDefaultLuvio((luvio) => {
|
|
|
552
498
|
});
|
|
553
499
|
|
|
554
500
|
export { getERIDigest };
|
|
555
|
-
// version: 1.134.
|
|
501
|
+
// version: 1.134.8-c3d6d2cfc
|