@salesforce/lds-worker-api 1.358.0 → 1.359.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.359.0-86b4e4bad9
|
|
@@ -1106,6 +1106,11 @@ class StringKeyInMemoryStore {
|
|
|
1106
1106
|
if (isPendingSnapshot$1(snapshot)) {
|
|
1107
1107
|
this.updateSubscriptionSnapshot(subscription, rebuiltSnapshot);
|
|
1108
1108
|
}
|
|
1109
|
+
else if (!isErrorSnapshot$3(snapshot)) {
|
|
1110
|
+
// Context: https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002D2hdeYAB/view
|
|
1111
|
+
// Merge the rebuiltSnapshot's seenRecords with the snapshot.seenRecords to ensure the subscription gets an emit the future
|
|
1112
|
+
snapshot.seenRecords.merge(rebuiltSnapshot.seenRecords);
|
|
1113
|
+
}
|
|
1109
1114
|
return Promise.resolve();
|
|
1110
1115
|
}
|
|
1111
1116
|
this.updateSubscriptionSnapshot(subscription, rebuiltSnapshot);
|
|
@@ -4138,7 +4143,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
4138
4143
|
}
|
|
4139
4144
|
return resourceParams;
|
|
4140
4145
|
}
|
|
4141
|
-
// engine version: 0.
|
|
4146
|
+
// engine version: 0.157.2-ab8177c4
|
|
4142
4147
|
|
|
4143
4148
|
/**
|
|
4144
4149
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4266,7 +4271,7 @@ function withDefaultLuvio(callback) {
|
|
|
4266
4271
|
}
|
|
4267
4272
|
callbacks.push(callback);
|
|
4268
4273
|
}
|
|
4269
|
-
// version: 1.
|
|
4274
|
+
// version: 1.359.0-86b4e4bad9
|
|
4270
4275
|
|
|
4271
4276
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4272
4277
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5214,7 +5219,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5214
5219
|
const { apiFamily, name } = metadata;
|
|
5215
5220
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5216
5221
|
}
|
|
5217
|
-
// version: 1.
|
|
5222
|
+
// version: 1.359.0-86b4e4bad9
|
|
5218
5223
|
|
|
5219
5224
|
/**
|
|
5220
5225
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -5313,7 +5318,7 @@ var TypeCheckShapes;
|
|
|
5313
5318
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
5314
5319
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
5315
5320
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
5316
|
-
// engine version: 0.
|
|
5321
|
+
// engine version: 0.157.2-ab8177c4
|
|
5317
5322
|
|
|
5318
5323
|
const { keys: ObjectKeys$4, create: ObjectCreate$4 } = Object;
|
|
5319
5324
|
|
|
@@ -33990,7 +33995,7 @@ withDefaultLuvio((luvio) => {
|
|
|
33990
33995
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33991
33996
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33992
33997
|
});
|
|
33993
|
-
// version: 1.
|
|
33998
|
+
// version: 1.359.0-0fa7873931
|
|
33994
33999
|
|
|
33995
34000
|
/**
|
|
33996
34001
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -93097,7 +93102,7 @@ register$1({
|
|
|
93097
93102
|
id: '@salesforce/lds-network-adapter',
|
|
93098
93103
|
instrument: instrument$2,
|
|
93099
93104
|
});
|
|
93100
|
-
// version: 1.
|
|
93105
|
+
// version: 1.359.0-86b4e4bad9
|
|
93101
93106
|
|
|
93102
93107
|
const { create: create$2, keys: keys$2 } = Object;
|
|
93103
93108
|
const { stringify, parse } = JSON;
|
|
@@ -117015,7 +117020,7 @@ register$1({
|
|
|
117015
117020
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
117016
117021
|
instrument: instrument$1,
|
|
117017
117022
|
});
|
|
117018
|
-
// version: 1.
|
|
117023
|
+
// version: 1.359.0-0fa7873931
|
|
117019
117024
|
|
|
117020
117025
|
// On core the unstable adapters are re-exported with different names,
|
|
117021
117026
|
// we want to match them here.
|
|
@@ -117167,7 +117172,7 @@ withDefaultLuvio((luvio) => {
|
|
|
117167
117172
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
117168
117173
|
graphQLImperative = ldsAdapter;
|
|
117169
117174
|
});
|
|
117170
|
-
// version: 1.
|
|
117175
|
+
// version: 1.359.0-0fa7873931
|
|
117171
117176
|
|
|
117172
117177
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
117173
117178
|
__proto__: null,
|
|
@@ -117959,7 +117964,7 @@ const callbacks$1 = [];
|
|
|
117959
117964
|
function register(r) {
|
|
117960
117965
|
callbacks$1.forEach((callback) => callback(r));
|
|
117961
117966
|
}
|
|
117962
|
-
// version: 1.
|
|
117967
|
+
// version: 1.359.0-86b4e4bad9
|
|
117963
117968
|
|
|
117964
117969
|
/**
|
|
117965
117970
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -119039,4 +119044,4 @@ const { luvio } = getRuntime();
|
|
|
119039
119044
|
setDefaultLuvio({ luvio });
|
|
119040
119045
|
|
|
119041
119046
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
119042
|
-
// version: 1.
|
|
119047
|
+
// version: 1.359.0-86b4e4bad9
|
|
@@ -1112,6 +1112,11 @@
|
|
|
1112
1112
|
if (isPendingSnapshot$1(snapshot)) {
|
|
1113
1113
|
this.updateSubscriptionSnapshot(subscription, rebuiltSnapshot);
|
|
1114
1114
|
}
|
|
1115
|
+
else if (!isErrorSnapshot$3(snapshot)) {
|
|
1116
|
+
// Context: https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002D2hdeYAB/view
|
|
1117
|
+
// Merge the rebuiltSnapshot's seenRecords with the snapshot.seenRecords to ensure the subscription gets an emit the future
|
|
1118
|
+
snapshot.seenRecords.merge(rebuiltSnapshot.seenRecords);
|
|
1119
|
+
}
|
|
1115
1120
|
return Promise.resolve();
|
|
1116
1121
|
}
|
|
1117
1122
|
this.updateSubscriptionSnapshot(subscription, rebuiltSnapshot);
|
|
@@ -4144,7 +4149,7 @@
|
|
|
4144
4149
|
}
|
|
4145
4150
|
return resourceParams;
|
|
4146
4151
|
}
|
|
4147
|
-
// engine version: 0.
|
|
4152
|
+
// engine version: 0.157.2-ab8177c4
|
|
4148
4153
|
|
|
4149
4154
|
/**
|
|
4150
4155
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4272,7 +4277,7 @@
|
|
|
4272
4277
|
}
|
|
4273
4278
|
callbacks.push(callback);
|
|
4274
4279
|
}
|
|
4275
|
-
// version: 1.
|
|
4280
|
+
// version: 1.359.0-86b4e4bad9
|
|
4276
4281
|
|
|
4277
4282
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4278
4283
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5220,7 +5225,7 @@
|
|
|
5220
5225
|
const { apiFamily, name } = metadata;
|
|
5221
5226
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5222
5227
|
}
|
|
5223
|
-
// version: 1.
|
|
5228
|
+
// version: 1.359.0-86b4e4bad9
|
|
5224
5229
|
|
|
5225
5230
|
/**
|
|
5226
5231
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -5319,7 +5324,7 @@
|
|
|
5319
5324
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
5320
5325
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
5321
5326
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
5322
|
-
// engine version: 0.
|
|
5327
|
+
// engine version: 0.157.2-ab8177c4
|
|
5323
5328
|
|
|
5324
5329
|
const { keys: ObjectKeys$4, create: ObjectCreate$4 } = Object;
|
|
5325
5330
|
|
|
@@ -33996,7 +34001,7 @@
|
|
|
33996
34001
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33997
34002
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33998
34003
|
});
|
|
33999
|
-
// version: 1.
|
|
34004
|
+
// version: 1.359.0-0fa7873931
|
|
34000
34005
|
|
|
34001
34006
|
/**
|
|
34002
34007
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -93103,7 +93108,7 @@
|
|
|
93103
93108
|
id: '@salesforce/lds-network-adapter',
|
|
93104
93109
|
instrument: instrument$2,
|
|
93105
93110
|
});
|
|
93106
|
-
// version: 1.
|
|
93111
|
+
// version: 1.359.0-86b4e4bad9
|
|
93107
93112
|
|
|
93108
93113
|
const { create: create$2, keys: keys$2 } = Object;
|
|
93109
93114
|
const { stringify, parse } = JSON;
|
|
@@ -117021,7 +117026,7 @@
|
|
|
117021
117026
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
117022
117027
|
instrument: instrument$1,
|
|
117023
117028
|
});
|
|
117024
|
-
// version: 1.
|
|
117029
|
+
// version: 1.359.0-0fa7873931
|
|
117025
117030
|
|
|
117026
117031
|
// On core the unstable adapters are re-exported with different names,
|
|
117027
117032
|
// we want to match them here.
|
|
@@ -117173,7 +117178,7 @@
|
|
|
117173
117178
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
117174
117179
|
graphQLImperative = ldsAdapter;
|
|
117175
117180
|
});
|
|
117176
|
-
// version: 1.
|
|
117181
|
+
// version: 1.359.0-0fa7873931
|
|
117177
117182
|
|
|
117178
117183
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
117179
117184
|
__proto__: null,
|
|
@@ -117965,7 +117970,7 @@
|
|
|
117965
117970
|
function register(r) {
|
|
117966
117971
|
callbacks$1.forEach((callback) => callback(r));
|
|
117967
117972
|
}
|
|
117968
|
-
// version: 1.
|
|
117973
|
+
// version: 1.359.0-86b4e4bad9
|
|
117969
117974
|
|
|
117970
117975
|
/**
|
|
117971
117976
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -119064,4 +119069,4 @@
|
|
|
119064
119069
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
119065
119070
|
|
|
119066
119071
|
}));
|
|
119067
|
-
// version: 1.
|
|
119072
|
+
// version: 1.359.0-86b4e4bad9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.359.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.359.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.359.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.359.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.359.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.359.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.359.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.359.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.359.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|