@salesforce/lds-worker-api 1.344.0 → 1.345.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.
|
@@ -1128,4 +1128,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1131
|
-
// version: 1.
|
|
1131
|
+
// version: 1.345.0-bbda369a7a
|
|
@@ -4137,7 +4137,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
4137
4137
|
}
|
|
4138
4138
|
return resourceParams;
|
|
4139
4139
|
}
|
|
4140
|
-
// engine version: 0.156.
|
|
4140
|
+
// engine version: 0.156.6-042d5d87
|
|
4141
4141
|
|
|
4142
4142
|
/**
|
|
4143
4143
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4265,7 +4265,7 @@ function withDefaultLuvio(callback) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
callbacks.push(callback);
|
|
4267
4267
|
}
|
|
4268
|
-
// version: 1.
|
|
4268
|
+
// version: 1.345.0-bbda369a7a
|
|
4269
4269
|
|
|
4270
4270
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4271
4271
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5213,7 +5213,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5213
5213
|
const { apiFamily, name } = metadata;
|
|
5214
5214
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5215
5215
|
}
|
|
5216
|
-
// version: 1.
|
|
5216
|
+
// version: 1.345.0-bbda369a7a
|
|
5217
5217
|
|
|
5218
5218
|
/**
|
|
5219
5219
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -5312,7 +5312,7 @@ var TypeCheckShapes;
|
|
|
5312
5312
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
5313
5313
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
5314
5314
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
5315
|
-
// engine version: 0.156.
|
|
5315
|
+
// engine version: 0.156.6-042d5d87
|
|
5316
5316
|
|
|
5317
5317
|
const { keys: ObjectKeys$4, create: ObjectCreate$4 } = Object;
|
|
5318
5318
|
|
|
@@ -33970,7 +33970,7 @@ withDefaultLuvio((luvio) => {
|
|
|
33970
33970
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33971
33971
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33972
33972
|
});
|
|
33973
|
-
// version: 1.
|
|
33973
|
+
// version: 1.345.0-faf201180e
|
|
33974
33974
|
|
|
33975
33975
|
/**
|
|
33976
33976
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -92759,7 +92759,7 @@ register$1({
|
|
|
92759
92759
|
id: '@salesforce/lds-network-adapter',
|
|
92760
92760
|
instrument: instrument$2,
|
|
92761
92761
|
});
|
|
92762
|
-
// version: 1.
|
|
92762
|
+
// version: 1.345.0-bbda369a7a
|
|
92763
92763
|
|
|
92764
92764
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92765
92765
|
const { stringify, parse } = JSON;
|
|
@@ -99816,8 +99816,9 @@ function ingestPaginationMetadata$3(astNode, state, key, sink, existingData) {
|
|
|
99816
99816
|
const nextOffset = startOffset + edges.length;
|
|
99817
99817
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
99818
99818
|
if (hasNextPage) {
|
|
99819
|
-
//
|
|
99820
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
99819
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
99820
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
99821
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
99821
99822
|
delete existingPaginationMetadata.__END__;
|
|
99822
99823
|
}
|
|
99823
99824
|
}
|
|
@@ -105072,8 +105073,9 @@ function ingestPaginationMetadata$2(astNode, state, key, sink, existingData) {
|
|
|
105072
105073
|
const nextOffset = startOffset + edges.length;
|
|
105073
105074
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
105074
105075
|
if (hasNextPage) {
|
|
105075
|
-
//
|
|
105076
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
105076
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
105077
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
105078
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
105077
105079
|
delete existingPaginationMetadata.__END__;
|
|
105078
105080
|
}
|
|
105079
105081
|
}
|
|
@@ -109980,8 +109982,9 @@ function ingestPaginationMetadata$1(astNode, state, key, sink, existingData) {
|
|
|
109980
109982
|
const nextOffset = startOffset + edges.length;
|
|
109981
109983
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
109982
109984
|
if (hasNextPage) {
|
|
109983
|
-
//
|
|
109984
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
109985
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
109986
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
109987
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
109985
109988
|
delete existingPaginationMetadata.__END__;
|
|
109986
109989
|
}
|
|
109987
109990
|
}
|
|
@@ -111329,8 +111332,9 @@ function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
|
|
|
111329
111332
|
const nextOffset = startOffset + edges.length;
|
|
111330
111333
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
111331
111334
|
if (hasNextPage) {
|
|
111332
|
-
//
|
|
111333
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
111335
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
111336
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
111337
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
111334
111338
|
delete existingPaginationMetadata.__END__;
|
|
111335
111339
|
}
|
|
111336
111340
|
}
|
|
@@ -115343,7 +115347,7 @@ register$1({
|
|
|
115343
115347
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115344
115348
|
instrument: instrument$1,
|
|
115345
115349
|
});
|
|
115346
|
-
// version: 1.
|
|
115350
|
+
// version: 1.345.0-faf201180e
|
|
115347
115351
|
|
|
115348
115352
|
// On core the unstable adapters are re-exported with different names,
|
|
115349
115353
|
// we want to match them here.
|
|
@@ -115495,7 +115499,7 @@ withDefaultLuvio((luvio) => {
|
|
|
115495
115499
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115496
115500
|
graphQLImperative = ldsAdapter;
|
|
115497
115501
|
});
|
|
115498
|
-
// version: 1.
|
|
115502
|
+
// version: 1.345.0-faf201180e
|
|
115499
115503
|
|
|
115500
115504
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115501
115505
|
__proto__: null,
|
|
@@ -116287,7 +116291,7 @@ const callbacks$1 = [];
|
|
|
116287
116291
|
function register(r) {
|
|
116288
116292
|
callbacks$1.forEach((callback) => callback(r));
|
|
116289
116293
|
}
|
|
116290
|
-
// version: 1.
|
|
116294
|
+
// version: 1.345.0-bbda369a7a
|
|
116291
116295
|
|
|
116292
116296
|
/**
|
|
116293
116297
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117367,4 +117371,4 @@ const { luvio } = getRuntime();
|
|
|
117367
117371
|
setDefaultLuvio({ luvio });
|
|
117368
117372
|
|
|
117369
117373
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
117370
|
-
// version: 1.
|
|
117374
|
+
// version: 1.345.0-bbda369a7a
|
|
@@ -4143,7 +4143,7 @@
|
|
|
4143
4143
|
}
|
|
4144
4144
|
return resourceParams;
|
|
4145
4145
|
}
|
|
4146
|
-
// engine version: 0.156.
|
|
4146
|
+
// engine version: 0.156.6-042d5d87
|
|
4147
4147
|
|
|
4148
4148
|
/**
|
|
4149
4149
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4271,7 +4271,7 @@
|
|
|
4271
4271
|
}
|
|
4272
4272
|
callbacks.push(callback);
|
|
4273
4273
|
}
|
|
4274
|
-
// version: 1.
|
|
4274
|
+
// version: 1.345.0-bbda369a7a
|
|
4275
4275
|
|
|
4276
4276
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4277
4277
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5219,7 +5219,7 @@
|
|
|
5219
5219
|
const { apiFamily, name } = metadata;
|
|
5220
5220
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5221
5221
|
}
|
|
5222
|
-
// version: 1.
|
|
5222
|
+
// version: 1.345.0-bbda369a7a
|
|
5223
5223
|
|
|
5224
5224
|
/**
|
|
5225
5225
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -5318,7 +5318,7 @@
|
|
|
5318
5318
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
5319
5319
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
5320
5320
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
5321
|
-
// engine version: 0.156.
|
|
5321
|
+
// engine version: 0.156.6-042d5d87
|
|
5322
5322
|
|
|
5323
5323
|
const { keys: ObjectKeys$4, create: ObjectCreate$4 } = Object;
|
|
5324
5324
|
|
|
@@ -33976,7 +33976,7 @@
|
|
|
33976
33976
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33977
33977
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33978
33978
|
});
|
|
33979
|
-
// version: 1.
|
|
33979
|
+
// version: 1.345.0-faf201180e
|
|
33980
33980
|
|
|
33981
33981
|
/**
|
|
33982
33982
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -92765,7 +92765,7 @@
|
|
|
92765
92765
|
id: '@salesforce/lds-network-adapter',
|
|
92766
92766
|
instrument: instrument$2,
|
|
92767
92767
|
});
|
|
92768
|
-
// version: 1.
|
|
92768
|
+
// version: 1.345.0-bbda369a7a
|
|
92769
92769
|
|
|
92770
92770
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92771
92771
|
const { stringify, parse } = JSON;
|
|
@@ -99822,8 +99822,9 @@
|
|
|
99822
99822
|
const nextOffset = startOffset + edges.length;
|
|
99823
99823
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
99824
99824
|
if (hasNextPage) {
|
|
99825
|
-
//
|
|
99826
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
99825
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
99826
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
99827
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
99827
99828
|
delete existingPaginationMetadata.__END__;
|
|
99828
99829
|
}
|
|
99829
99830
|
}
|
|
@@ -105078,8 +105079,9 @@
|
|
|
105078
105079
|
const nextOffset = startOffset + edges.length;
|
|
105079
105080
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
105080
105081
|
if (hasNextPage) {
|
|
105081
|
-
//
|
|
105082
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
105082
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
105083
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
105084
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
105083
105085
|
delete existingPaginationMetadata.__END__;
|
|
105084
105086
|
}
|
|
105085
105087
|
}
|
|
@@ -109986,8 +109988,9 @@
|
|
|
109986
109988
|
const nextOffset = startOffset + edges.length;
|
|
109987
109989
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
109988
109990
|
if (hasNextPage) {
|
|
109989
|
-
//
|
|
109990
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
109991
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
109992
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
109993
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
109991
109994
|
delete existingPaginationMetadata.__END__;
|
|
109992
109995
|
}
|
|
109993
109996
|
}
|
|
@@ -111335,8 +111338,9 @@
|
|
|
111335
111338
|
const nextOffset = startOffset + edges.length;
|
|
111336
111339
|
const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
|
|
111337
111340
|
if (hasNextPage) {
|
|
111338
|
-
//
|
|
111339
|
-
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__
|
|
111341
|
+
// we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
|
|
111342
|
+
if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
|
|
111343
|
+
existingPaginationMetadata = { ...existingPaginationMetadata };
|
|
111340
111344
|
delete existingPaginationMetadata.__END__;
|
|
111341
111345
|
}
|
|
111342
111346
|
}
|
|
@@ -115349,7 +115353,7 @@
|
|
|
115349
115353
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115350
115354
|
instrument: instrument$1,
|
|
115351
115355
|
});
|
|
115352
|
-
// version: 1.
|
|
115356
|
+
// version: 1.345.0-faf201180e
|
|
115353
115357
|
|
|
115354
115358
|
// On core the unstable adapters are re-exported with different names,
|
|
115355
115359
|
// we want to match them here.
|
|
@@ -115501,7 +115505,7 @@
|
|
|
115501
115505
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115502
115506
|
graphQLImperative = ldsAdapter;
|
|
115503
115507
|
});
|
|
115504
|
-
// version: 1.
|
|
115508
|
+
// version: 1.345.0-faf201180e
|
|
115505
115509
|
|
|
115506
115510
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115507
115511
|
__proto__: null,
|
|
@@ -116293,7 +116297,7 @@
|
|
|
116293
116297
|
function register(r) {
|
|
116294
116298
|
callbacks$1.forEach((callback) => callback(r));
|
|
116295
116299
|
}
|
|
116296
|
-
// version: 1.
|
|
116300
|
+
// version: 1.345.0-bbda369a7a
|
|
116297
116301
|
|
|
116298
116302
|
/**
|
|
116299
116303
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117392,4 +117396,4 @@
|
|
|
117392
117396
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
117393
117397
|
|
|
117394
117398
|
}));
|
|
117395
|
-
// version: 1.
|
|
117399
|
+
// version: 1.345.0-bbda369a7a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.345.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.345.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.345.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.345.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.345.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.345.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.345.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.345.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.345.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|