@salesforce/lds-worker-api 1.409.0 → 1.410.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.
|
@@ -1371,4 +1371,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
1373
1373
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1374
|
-
// version: 1.
|
|
1374
|
+
// version: 1.410.0-19e0e5d352
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.
|
|
4277
|
+
// version: 1.410.0-19e0e5d352
|
|
4278
4278
|
|
|
4279
4279
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4280
4280
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5318,7 +5318,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5318
5318
|
const { apiFamily, name } = metadata;
|
|
5319
5319
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5320
5320
|
}
|
|
5321
|
-
// version: 1.
|
|
5321
|
+
// version: 1.410.0-19e0e5d352
|
|
5322
5322
|
|
|
5323
5323
|
/**
|
|
5324
5324
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -25678,6 +25678,18 @@ function typeCheckConfig$u(untrustedConfig) {
|
|
|
25678
25678
|
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
25679
25679
|
}
|
|
25680
25680
|
}
|
|
25681
|
+
if (ArrayIsArray$1$1(untrustedConfig_fields_prop)) {
|
|
25682
|
+
const untrustedConfig_fields_prop_array = [];
|
|
25683
|
+
for (let i = 0, arrayLength = untrustedConfig_fields_prop.length; i < arrayLength; i++) {
|
|
25684
|
+
const untrustedConfig_fields_prop_item = untrustedConfig_fields_prop[i];
|
|
25685
|
+
if (typeof untrustedConfig_fields_prop_item === 'string') {
|
|
25686
|
+
untrustedConfig_fields_prop_array.push(untrustedConfig_fields_prop_item);
|
|
25687
|
+
}
|
|
25688
|
+
}
|
|
25689
|
+
if (untrustedConfig_fields_object !== undefined) {
|
|
25690
|
+
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop_array;
|
|
25691
|
+
}
|
|
25692
|
+
}
|
|
25681
25693
|
}
|
|
25682
25694
|
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
25683
25695
|
config.fields = untrustedConfig_fields_object;
|
|
@@ -32183,12 +32195,29 @@ function validate$7$1(obj, path = 'RecordInputRepresentation') {
|
|
|
32183
32195
|
if (obj_fields_prop_union3_error != null) {
|
|
32184
32196
|
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
32185
32197
|
}
|
|
32186
|
-
|
|
32198
|
+
let obj_fields_prop_union4 = null;
|
|
32199
|
+
const obj_fields_prop_union4_error = (() => {
|
|
32200
|
+
if (!ArrayIsArray$3(obj_fields_prop)) {
|
|
32201
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
32202
|
+
}
|
|
32203
|
+
for (let i = 0; i < obj_fields_prop.length; i++) {
|
|
32204
|
+
const obj_fields_prop_item = obj_fields_prop[i];
|
|
32205
|
+
const path_fields_prop_item = path_fields_prop + '[' + i + ']';
|
|
32206
|
+
if (typeof obj_fields_prop_item !== 'string') {
|
|
32207
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fields_prop_item + '" (at "' + path_fields_prop_item + '")');
|
|
32208
|
+
}
|
|
32209
|
+
}
|
|
32210
|
+
})();
|
|
32211
|
+
if (obj_fields_prop_union4_error != null) {
|
|
32212
|
+
obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
|
|
32213
|
+
}
|
|
32214
|
+
if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3 && obj_fields_prop_union4) {
|
|
32187
32215
|
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
32188
32216
|
message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
32189
32217
|
message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
32190
32218
|
message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
32191
32219
|
message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
|
|
32220
|
+
message += '\n' + obj_fields_prop_union4.split('\n').map((line) => '\t' + line).join('\n');
|
|
32192
32221
|
return new TypeError(message);
|
|
32193
32222
|
}
|
|
32194
32223
|
}
|
|
@@ -34340,6 +34369,18 @@ function typeCheckConfig$4$1(untrustedConfig) {
|
|
|
34340
34369
|
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
34341
34370
|
}
|
|
34342
34371
|
}
|
|
34372
|
+
if (ArrayIsArray$1$1(untrustedConfig_fields_prop)) {
|
|
34373
|
+
const untrustedConfig_fields_prop_array = [];
|
|
34374
|
+
for (let i = 0, arrayLength = untrustedConfig_fields_prop.length; i < arrayLength; i++) {
|
|
34375
|
+
const untrustedConfig_fields_prop_item = untrustedConfig_fields_prop[i];
|
|
34376
|
+
if (typeof untrustedConfig_fields_prop_item === 'string') {
|
|
34377
|
+
untrustedConfig_fields_prop_array.push(untrustedConfig_fields_prop_item);
|
|
34378
|
+
}
|
|
34379
|
+
}
|
|
34380
|
+
if (untrustedConfig_fields_object !== undefined) {
|
|
34381
|
+
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop_array;
|
|
34382
|
+
}
|
|
34383
|
+
}
|
|
34343
34384
|
}
|
|
34344
34385
|
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
34345
34386
|
config.fields = untrustedConfig_fields_object;
|
|
@@ -35432,7 +35473,7 @@ withDefaultLuvio((luvio) => {
|
|
|
35432
35473
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
35433
35474
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
35434
35475
|
});
|
|
35435
|
-
// version: 1.
|
|
35476
|
+
// version: 1.410.0-7c228ee347
|
|
35436
35477
|
|
|
35437
35478
|
var allowUpdatesForNonCachedRecords = {
|
|
35438
35479
|
isOpen: function (e) {
|
|
@@ -61424,10 +61465,36 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
61424
61465
|
if (obj_fields_prop_union3_error != null) {
|
|
61425
61466
|
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
61426
61467
|
}
|
|
61468
|
+
let obj_fields_prop_union4 = null;
|
|
61469
|
+
const obj_fields_prop_union4_error = (() => {
|
|
61470
|
+
if (!ArrayIsArray$2(obj_fields_prop)) {
|
|
61471
|
+
return new TypeError('Expected "array" but received "' +
|
|
61472
|
+
typeof obj_fields_prop +
|
|
61473
|
+
'" (at "' +
|
|
61474
|
+
path_fields_prop +
|
|
61475
|
+
'")');
|
|
61476
|
+
}
|
|
61477
|
+
for (let j = 0; j < obj_fields_prop.length; j++) {
|
|
61478
|
+
const obj_fields_prop_item = obj_fields_prop[j];
|
|
61479
|
+
const path_fields_prop_item = path_fields_prop + '[' + j + ']';
|
|
61480
|
+
if (typeof obj_fields_prop_item !== 'string') {
|
|
61481
|
+
return new TypeError('Expected "string" but received "' +
|
|
61482
|
+
typeof obj_fields_prop_item +
|
|
61483
|
+
'" (at "' +
|
|
61484
|
+
path_fields_prop_item +
|
|
61485
|
+
'")');
|
|
61486
|
+
}
|
|
61487
|
+
}
|
|
61488
|
+
})();
|
|
61489
|
+
// eslint-disable-next-line eqeqeq
|
|
61490
|
+
if (obj_fields_prop_union4_error != null) {
|
|
61491
|
+
obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
|
|
61492
|
+
}
|
|
61427
61493
|
if (obj_fields_prop_union0 &&
|
|
61428
61494
|
obj_fields_prop_union1 &&
|
|
61429
61495
|
obj_fields_prop_union2 &&
|
|
61430
|
-
obj_fields_prop_union3
|
|
61496
|
+
obj_fields_prop_union3 &&
|
|
61497
|
+
obj_fields_prop_union4) {
|
|
61431
61498
|
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
61432
61499
|
message +=
|
|
61433
61500
|
'\n' +
|
|
@@ -61453,6 +61520,12 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
61453
61520
|
.split('\n')
|
|
61454
61521
|
.map((line) => '\t' + line)
|
|
61455
61522
|
.join('\n');
|
|
61523
|
+
message +=
|
|
61524
|
+
'\n' +
|
|
61525
|
+
obj_fields_prop_union4
|
|
61526
|
+
.split('\n')
|
|
61527
|
+
.map((line) => '\t' + line)
|
|
61528
|
+
.join('\n');
|
|
61456
61529
|
return new TypeError(message);
|
|
61457
61530
|
}
|
|
61458
61531
|
}
|
|
@@ -98530,7 +98603,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
98530
98603
|
},
|
|
98531
98604
|
};
|
|
98532
98605
|
}
|
|
98533
|
-
// version: 1.
|
|
98606
|
+
// version: 1.410.0-7c228ee347
|
|
98534
98607
|
|
|
98535
98608
|
/**
|
|
98536
98609
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98556,7 +98629,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
98556
98629
|
},
|
|
98557
98630
|
};
|
|
98558
98631
|
}
|
|
98559
|
-
// version: 1.
|
|
98632
|
+
// version: 1.410.0-7c228ee347
|
|
98560
98633
|
|
|
98561
98634
|
/*!
|
|
98562
98635
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -100086,7 +100159,12 @@ function buildServiceDescriptor$2() {
|
|
|
100086
100159
|
* All rights reserved.
|
|
100087
100160
|
* For full license text, see the LICENSE.txt file
|
|
100088
100161
|
*/
|
|
100089
|
-
function buildServiceDescriptor$1(interceptors = {
|
|
100162
|
+
function buildServiceDescriptor$1(interceptors = {
|
|
100163
|
+
request: [],
|
|
100164
|
+
retry: void 0,
|
|
100165
|
+
response: [],
|
|
100166
|
+
finally: []
|
|
100167
|
+
}, retryService) {
|
|
100090
100168
|
return {
|
|
100091
100169
|
type: "fetch",
|
|
100092
100170
|
version: "1.0",
|
|
@@ -100095,6 +100173,7 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
100095
100173
|
const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
|
|
100096
100174
|
const {
|
|
100097
100175
|
request: requestInterceptors = [],
|
|
100176
|
+
retry: retryInterceptor = void 0,
|
|
100098
100177
|
response: responseInterceptors = [],
|
|
100099
100178
|
finally: finallyInterceptors = []
|
|
100100
100179
|
} = interceptors;
|
|
@@ -100103,10 +100182,14 @@ function buildServiceDescriptor$1(interceptors = { request: [], response: [], fi
|
|
|
100103
100182
|
resolvedPromiseLike$2(args)
|
|
100104
100183
|
);
|
|
100105
100184
|
return Promise.resolve(pending).then((args2) => {
|
|
100106
|
-
if (
|
|
100107
|
-
return
|
|
100185
|
+
if (retryInterceptor) {
|
|
100186
|
+
return retryInterceptor(args2, retryService, context);
|
|
100187
|
+
} else {
|
|
100188
|
+
if (retryService) {
|
|
100189
|
+
return retryService.applyRetry(() => fetch(...args2));
|
|
100190
|
+
}
|
|
100191
|
+
return fetch(...args2);
|
|
100108
100192
|
}
|
|
100109
|
-
return fetch(...args2);
|
|
100110
100193
|
}).then((response) => {
|
|
100111
100194
|
return responseInterceptors.reduce(
|
|
100112
100195
|
(previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
|
|
@@ -101116,7 +101199,7 @@ register$1({
|
|
|
101116
101199
|
id: '@salesforce/lds-network-adapter',
|
|
101117
101200
|
instrument: instrument$2,
|
|
101118
101201
|
});
|
|
101119
|
-
// version: 1.
|
|
101202
|
+
// version: 1.410.0-19e0e5d352
|
|
101120
101203
|
|
|
101121
101204
|
const { create: create$3, keys: keys$3 } = Object;
|
|
101122
101205
|
const { stringify, parse } = JSON;
|
|
@@ -114929,7 +115012,7 @@ function registerCallback(cb) {
|
|
|
114929
115012
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
114930
115013
|
}
|
|
114931
115014
|
}
|
|
114932
|
-
// version: 1.
|
|
115015
|
+
// version: 1.410.0-7c228ee347
|
|
114933
115016
|
|
|
114934
115017
|
function createFragmentMap(documentNode) {
|
|
114935
115018
|
const fragments = {};
|
|
@@ -144154,7 +144237,7 @@ register$1({
|
|
|
144154
144237
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
144155
144238
|
instrument: instrument$1,
|
|
144156
144239
|
});
|
|
144157
|
-
// version: 1.
|
|
144240
|
+
// version: 1.410.0-7c228ee347
|
|
144158
144241
|
|
|
144159
144242
|
// On core the unstable adapters are re-exported with different names,
|
|
144160
144243
|
// we want to match them here.
|
|
@@ -144306,7 +144389,7 @@ withDefaultLuvio((luvio) => {
|
|
|
144306
144389
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
144307
144390
|
graphQLImperative = ldsAdapter;
|
|
144308
144391
|
});
|
|
144309
|
-
// version: 1.
|
|
144392
|
+
// version: 1.410.0-7c228ee347
|
|
144310
144393
|
|
|
144311
144394
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
144312
144395
|
__proto__: null,
|
|
@@ -145105,7 +145188,7 @@ const callbacks$1 = [];
|
|
|
145105
145188
|
function register(r) {
|
|
145106
145189
|
callbacks$1.forEach((callback) => callback(r));
|
|
145107
145190
|
}
|
|
145108
|
-
// version: 1.
|
|
145191
|
+
// version: 1.410.0-19e0e5d352
|
|
145109
145192
|
|
|
145110
145193
|
/**
|
|
145111
145194
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -146421,4 +146504,4 @@ const { luvio } = getRuntime();
|
|
|
146421
146504
|
setDefaultLuvio({ luvio });
|
|
146422
146505
|
|
|
146423
146506
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
146424
|
-
// version: 1.
|
|
146507
|
+
// version: 1.410.0-19e0e5d352
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.
|
|
4283
|
+
// version: 1.410.0-19e0e5d352
|
|
4284
4284
|
|
|
4285
4285
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4286
4286
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5324,7 +5324,7 @@
|
|
|
5324
5324
|
const { apiFamily, name } = metadata;
|
|
5325
5325
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5326
5326
|
}
|
|
5327
|
-
// version: 1.
|
|
5327
|
+
// version: 1.410.0-19e0e5d352
|
|
5328
5328
|
|
|
5329
5329
|
/**
|
|
5330
5330
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -25684,6 +25684,18 @@
|
|
|
25684
25684
|
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
25685
25685
|
}
|
|
25686
25686
|
}
|
|
25687
|
+
if (ArrayIsArray$1$1(untrustedConfig_fields_prop)) {
|
|
25688
|
+
const untrustedConfig_fields_prop_array = [];
|
|
25689
|
+
for (let i = 0, arrayLength = untrustedConfig_fields_prop.length; i < arrayLength; i++) {
|
|
25690
|
+
const untrustedConfig_fields_prop_item = untrustedConfig_fields_prop[i];
|
|
25691
|
+
if (typeof untrustedConfig_fields_prop_item === 'string') {
|
|
25692
|
+
untrustedConfig_fields_prop_array.push(untrustedConfig_fields_prop_item);
|
|
25693
|
+
}
|
|
25694
|
+
}
|
|
25695
|
+
if (untrustedConfig_fields_object !== undefined) {
|
|
25696
|
+
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop_array;
|
|
25697
|
+
}
|
|
25698
|
+
}
|
|
25687
25699
|
}
|
|
25688
25700
|
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
25689
25701
|
config.fields = untrustedConfig_fields_object;
|
|
@@ -32189,12 +32201,29 @@
|
|
|
32189
32201
|
if (obj_fields_prop_union3_error != null) {
|
|
32190
32202
|
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
32191
32203
|
}
|
|
32192
|
-
|
|
32204
|
+
let obj_fields_prop_union4 = null;
|
|
32205
|
+
const obj_fields_prop_union4_error = (() => {
|
|
32206
|
+
if (!ArrayIsArray$3(obj_fields_prop)) {
|
|
32207
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
32208
|
+
}
|
|
32209
|
+
for (let i = 0; i < obj_fields_prop.length; i++) {
|
|
32210
|
+
const obj_fields_prop_item = obj_fields_prop[i];
|
|
32211
|
+
const path_fields_prop_item = path_fields_prop + '[' + i + ']';
|
|
32212
|
+
if (typeof obj_fields_prop_item !== 'string') {
|
|
32213
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fields_prop_item + '" (at "' + path_fields_prop_item + '")');
|
|
32214
|
+
}
|
|
32215
|
+
}
|
|
32216
|
+
})();
|
|
32217
|
+
if (obj_fields_prop_union4_error != null) {
|
|
32218
|
+
obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
|
|
32219
|
+
}
|
|
32220
|
+
if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3 && obj_fields_prop_union4) {
|
|
32193
32221
|
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
32194
32222
|
message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
32195
32223
|
message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
32196
32224
|
message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
32197
32225
|
message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
|
|
32226
|
+
message += '\n' + obj_fields_prop_union4.split('\n').map((line) => '\t' + line).join('\n');
|
|
32198
32227
|
return new TypeError(message);
|
|
32199
32228
|
}
|
|
32200
32229
|
}
|
|
@@ -34346,6 +34375,18 @@
|
|
|
34346
34375
|
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
34347
34376
|
}
|
|
34348
34377
|
}
|
|
34378
|
+
if (ArrayIsArray$1$1(untrustedConfig_fields_prop)) {
|
|
34379
|
+
const untrustedConfig_fields_prop_array = [];
|
|
34380
|
+
for (let i = 0, arrayLength = untrustedConfig_fields_prop.length; i < arrayLength; i++) {
|
|
34381
|
+
const untrustedConfig_fields_prop_item = untrustedConfig_fields_prop[i];
|
|
34382
|
+
if (typeof untrustedConfig_fields_prop_item === 'string') {
|
|
34383
|
+
untrustedConfig_fields_prop_array.push(untrustedConfig_fields_prop_item);
|
|
34384
|
+
}
|
|
34385
|
+
}
|
|
34386
|
+
if (untrustedConfig_fields_object !== undefined) {
|
|
34387
|
+
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop_array;
|
|
34388
|
+
}
|
|
34389
|
+
}
|
|
34349
34390
|
}
|
|
34350
34391
|
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
34351
34392
|
config.fields = untrustedConfig_fields_object;
|
|
@@ -35438,7 +35479,7 @@
|
|
|
35438
35479
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
35439
35480
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
35440
35481
|
});
|
|
35441
|
-
// version: 1.
|
|
35482
|
+
// version: 1.410.0-7c228ee347
|
|
35442
35483
|
|
|
35443
35484
|
var allowUpdatesForNonCachedRecords = {
|
|
35444
35485
|
isOpen: function (e) {
|
|
@@ -61430,10 +61471,36 @@
|
|
|
61430
61471
|
if (obj_fields_prop_union3_error != null) {
|
|
61431
61472
|
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
61432
61473
|
}
|
|
61474
|
+
let obj_fields_prop_union4 = null;
|
|
61475
|
+
const obj_fields_prop_union4_error = (() => {
|
|
61476
|
+
if (!ArrayIsArray$2(obj_fields_prop)) {
|
|
61477
|
+
return new TypeError('Expected "array" but received "' +
|
|
61478
|
+
typeof obj_fields_prop +
|
|
61479
|
+
'" (at "' +
|
|
61480
|
+
path_fields_prop +
|
|
61481
|
+
'")');
|
|
61482
|
+
}
|
|
61483
|
+
for (let j = 0; j < obj_fields_prop.length; j++) {
|
|
61484
|
+
const obj_fields_prop_item = obj_fields_prop[j];
|
|
61485
|
+
const path_fields_prop_item = path_fields_prop + '[' + j + ']';
|
|
61486
|
+
if (typeof obj_fields_prop_item !== 'string') {
|
|
61487
|
+
return new TypeError('Expected "string" but received "' +
|
|
61488
|
+
typeof obj_fields_prop_item +
|
|
61489
|
+
'" (at "' +
|
|
61490
|
+
path_fields_prop_item +
|
|
61491
|
+
'")');
|
|
61492
|
+
}
|
|
61493
|
+
}
|
|
61494
|
+
})();
|
|
61495
|
+
// eslint-disable-next-line eqeqeq
|
|
61496
|
+
if (obj_fields_prop_union4_error != null) {
|
|
61497
|
+
obj_fields_prop_union4 = obj_fields_prop_union4_error.message;
|
|
61498
|
+
}
|
|
61433
61499
|
if (obj_fields_prop_union0 &&
|
|
61434
61500
|
obj_fields_prop_union1 &&
|
|
61435
61501
|
obj_fields_prop_union2 &&
|
|
61436
|
-
obj_fields_prop_union3
|
|
61502
|
+
obj_fields_prop_union3 &&
|
|
61503
|
+
obj_fields_prop_union4) {
|
|
61437
61504
|
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
61438
61505
|
message +=
|
|
61439
61506
|
'\n' +
|
|
@@ -61459,6 +61526,12 @@
|
|
|
61459
61526
|
.split('\n')
|
|
61460
61527
|
.map((line) => '\t' + line)
|
|
61461
61528
|
.join('\n');
|
|
61529
|
+
message +=
|
|
61530
|
+
'\n' +
|
|
61531
|
+
obj_fields_prop_union4
|
|
61532
|
+
.split('\n')
|
|
61533
|
+
.map((line) => '\t' + line)
|
|
61534
|
+
.join('\n');
|
|
61462
61535
|
return new TypeError(message);
|
|
61463
61536
|
}
|
|
61464
61537
|
}
|
|
@@ -98536,7 +98609,7 @@
|
|
|
98536
98609
|
},
|
|
98537
98610
|
};
|
|
98538
98611
|
}
|
|
98539
|
-
// version: 1.
|
|
98612
|
+
// version: 1.410.0-7c228ee347
|
|
98540
98613
|
|
|
98541
98614
|
/**
|
|
98542
98615
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98562,7 +98635,7 @@
|
|
|
98562
98635
|
},
|
|
98563
98636
|
};
|
|
98564
98637
|
}
|
|
98565
|
-
// version: 1.
|
|
98638
|
+
// version: 1.410.0-7c228ee347
|
|
98566
98639
|
|
|
98567
98640
|
/*!
|
|
98568
98641
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -100092,7 +100165,12 @@
|
|
|
100092
100165
|
* All rights reserved.
|
|
100093
100166
|
* For full license text, see the LICENSE.txt file
|
|
100094
100167
|
*/
|
|
100095
|
-
function buildServiceDescriptor$1(interceptors = {
|
|
100168
|
+
function buildServiceDescriptor$1(interceptors = {
|
|
100169
|
+
request: [],
|
|
100170
|
+
retry: void 0,
|
|
100171
|
+
response: [],
|
|
100172
|
+
finally: []
|
|
100173
|
+
}, retryService) {
|
|
100096
100174
|
return {
|
|
100097
100175
|
type: "fetch",
|
|
100098
100176
|
version: "1.0",
|
|
@@ -100101,6 +100179,7 @@
|
|
|
100101
100179
|
const context = (_a = interceptors.createContext) == null ? void 0 : _a.call(interceptors);
|
|
100102
100180
|
const {
|
|
100103
100181
|
request: requestInterceptors = [],
|
|
100182
|
+
retry: retryInterceptor = void 0,
|
|
100104
100183
|
response: responseInterceptors = [],
|
|
100105
100184
|
finally: finallyInterceptors = []
|
|
100106
100185
|
} = interceptors;
|
|
@@ -100109,10 +100188,14 @@
|
|
|
100109
100188
|
resolvedPromiseLike$2(args)
|
|
100110
100189
|
);
|
|
100111
100190
|
return Promise.resolve(pending).then((args2) => {
|
|
100112
|
-
if (
|
|
100113
|
-
return
|
|
100191
|
+
if (retryInterceptor) {
|
|
100192
|
+
return retryInterceptor(args2, retryService, context);
|
|
100193
|
+
} else {
|
|
100194
|
+
if (retryService) {
|
|
100195
|
+
return retryService.applyRetry(() => fetch(...args2));
|
|
100196
|
+
}
|
|
100197
|
+
return fetch(...args2);
|
|
100114
100198
|
}
|
|
100115
|
-
return fetch(...args2);
|
|
100116
100199
|
}).then((response) => {
|
|
100117
100200
|
return responseInterceptors.reduce(
|
|
100118
100201
|
(previousPromise, interceptor) => previousPromise.then((response2) => interceptor(response2, context)),
|
|
@@ -101122,7 +101205,7 @@
|
|
|
101122
101205
|
id: '@salesforce/lds-network-adapter',
|
|
101123
101206
|
instrument: instrument$2,
|
|
101124
101207
|
});
|
|
101125
|
-
// version: 1.
|
|
101208
|
+
// version: 1.410.0-19e0e5d352
|
|
101126
101209
|
|
|
101127
101210
|
const { create: create$3, keys: keys$3 } = Object;
|
|
101128
101211
|
const { stringify, parse } = JSON;
|
|
@@ -114935,7 +115018,7 @@ keys: keys$2,
|
|
|
114935
115018
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
114936
115019
|
}
|
|
114937
115020
|
}
|
|
114938
|
-
// version: 1.
|
|
115021
|
+
// version: 1.410.0-7c228ee347
|
|
114939
115022
|
|
|
114940
115023
|
function createFragmentMap(documentNode) {
|
|
114941
115024
|
const fragments = {};
|
|
@@ -144160,7 +144243,7 @@ keys: keys$2,
|
|
|
144160
144243
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
144161
144244
|
instrument: instrument$1,
|
|
144162
144245
|
});
|
|
144163
|
-
// version: 1.
|
|
144246
|
+
// version: 1.410.0-7c228ee347
|
|
144164
144247
|
|
|
144165
144248
|
// On core the unstable adapters are re-exported with different names,
|
|
144166
144249
|
// we want to match them here.
|
|
@@ -144312,7 +144395,7 @@ keys: keys$2,
|
|
|
144312
144395
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
144313
144396
|
graphQLImperative = ldsAdapter;
|
|
144314
144397
|
});
|
|
144315
|
-
// version: 1.
|
|
144398
|
+
// version: 1.410.0-7c228ee347
|
|
144316
144399
|
|
|
144317
144400
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
144318
144401
|
__proto__: null,
|
|
@@ -145111,7 +145194,7 @@ keys: keys$2,
|
|
|
145111
145194
|
function register(r) {
|
|
145112
145195
|
callbacks$1.forEach((callback) => callback(r));
|
|
145113
145196
|
}
|
|
145114
|
-
// version: 1.
|
|
145197
|
+
// version: 1.410.0-19e0e5d352
|
|
145115
145198
|
|
|
145116
145199
|
/**
|
|
145117
145200
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -146448,4 +146531,4 @@ keys: keys$2,
|
|
|
146448
146531
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
146449
146532
|
|
|
146450
146533
|
}));
|
|
146451
|
-
// version: 1.
|
|
146534
|
+
// version: 1.410.0-19e0e5d352
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.410.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
|
|
38
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
41
|
-
"@salesforce/lds-drafts": "^1.
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.410.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.410.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.410.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.410.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.410.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.410.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.410.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.410.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|