@salesforce/lds-worker-api 1.375.0 → 1.376.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.376.0-cb776a38bb
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.
|
|
4277
|
+
// version: 1.376.0-cb776a38bb
|
|
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.376.0-cb776a38bb
|
|
5322
5322
|
|
|
5323
5323
|
/**
|
|
5324
5324
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -34194,7 +34194,7 @@ withDefaultLuvio((luvio) => {
|
|
|
34194
34194
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34195
34195
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34196
34196
|
});
|
|
34197
|
-
// version: 1.
|
|
34197
|
+
// version: 1.376.0-328016ba31
|
|
34198
34198
|
|
|
34199
34199
|
function requestIdleDetectedCallback(_callback) { }
|
|
34200
34200
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -91521,7 +91521,7 @@ class SoqlRecordConverter {
|
|
|
91521
91521
|
return isNaN(timestamp) ? 0 : timestamp; // milliseconds which matches GQL results
|
|
91522
91522
|
}
|
|
91523
91523
|
formatFieldValueIfNeeded(field, value) {
|
|
91524
|
-
if (
|
|
91524
|
+
if (value === undefined || value === null)
|
|
91525
91525
|
return null;
|
|
91526
91526
|
if (this.fieldTypeMapping.get(field) === 'DateTime') {
|
|
91527
91527
|
const date = new Date(value);
|
|
@@ -96443,7 +96443,7 @@ register$1({
|
|
|
96443
96443
|
id: '@salesforce/lds-network-adapter',
|
|
96444
96444
|
instrument: instrument$2,
|
|
96445
96445
|
});
|
|
96446
|
-
// version: 1.
|
|
96446
|
+
// version: 1.376.0-cb776a38bb
|
|
96447
96447
|
|
|
96448
96448
|
const { create: create$2, keys: keys$2 } = Object;
|
|
96449
96449
|
const { stringify, parse } = JSON;
|
|
@@ -122968,7 +122968,7 @@ function refreshGraphQL(data) {
|
|
|
122968
122968
|
}
|
|
122969
122969
|
return refresh$3(data, 'refreshUiApi');
|
|
122970
122970
|
}
|
|
122971
|
-
// version: 1.
|
|
122971
|
+
// version: 1.376.0-328016ba31
|
|
122972
122972
|
|
|
122973
122973
|
// On core the unstable adapters are re-exported with different names,
|
|
122974
122974
|
// we want to match them here.
|
|
@@ -123120,7 +123120,7 @@ withDefaultLuvio((luvio) => {
|
|
|
123120
123120
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
123121
123121
|
graphQLImperative = ldsAdapter;
|
|
123122
123122
|
});
|
|
123123
|
-
// version: 1.
|
|
123123
|
+
// version: 1.376.0-328016ba31
|
|
123124
123124
|
|
|
123125
123125
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
123126
123126
|
__proto__: null,
|
|
@@ -123919,7 +123919,7 @@ const callbacks$1 = [];
|
|
|
123919
123919
|
function register(r) {
|
|
123920
123920
|
callbacks$1.forEach((callback) => callback(r));
|
|
123921
123921
|
}
|
|
123922
|
-
// version: 1.
|
|
123922
|
+
// version: 1.376.0-cb776a38bb
|
|
123923
123923
|
|
|
123924
123924
|
/**
|
|
123925
123925
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -125255,4 +125255,4 @@ const { luvio } = getRuntime();
|
|
|
125255
125255
|
setDefaultLuvio({ luvio });
|
|
125256
125256
|
|
|
125257
125257
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
125258
|
-
// version: 1.
|
|
125258
|
+
// version: 1.376.0-cb776a38bb
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.
|
|
4283
|
+
// version: 1.376.0-cb776a38bb
|
|
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.376.0-cb776a38bb
|
|
5328
5328
|
|
|
5329
5329
|
/**
|
|
5330
5330
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -34200,7 +34200,7 @@
|
|
|
34200
34200
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34201
34201
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34202
34202
|
});
|
|
34203
|
-
// version: 1.
|
|
34203
|
+
// version: 1.376.0-328016ba31
|
|
34204
34204
|
|
|
34205
34205
|
function requestIdleDetectedCallback(_callback) { }
|
|
34206
34206
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -91527,7 +91527,7 @@
|
|
|
91527
91527
|
return isNaN(timestamp) ? 0 : timestamp; // milliseconds which matches GQL results
|
|
91528
91528
|
}
|
|
91529
91529
|
formatFieldValueIfNeeded(field, value) {
|
|
91530
|
-
if (
|
|
91530
|
+
if (value === undefined || value === null)
|
|
91531
91531
|
return null;
|
|
91532
91532
|
if (this.fieldTypeMapping.get(field) === 'DateTime') {
|
|
91533
91533
|
const date = new Date(value);
|
|
@@ -96449,7 +96449,7 @@
|
|
|
96449
96449
|
id: '@salesforce/lds-network-adapter',
|
|
96450
96450
|
instrument: instrument$2,
|
|
96451
96451
|
});
|
|
96452
|
-
// version: 1.
|
|
96452
|
+
// version: 1.376.0-cb776a38bb
|
|
96453
96453
|
|
|
96454
96454
|
const { create: create$2, keys: keys$2 } = Object;
|
|
96455
96455
|
const { stringify, parse } = JSON;
|
|
@@ -122974,7 +122974,7 @@
|
|
|
122974
122974
|
}
|
|
122975
122975
|
return refresh$3(data, 'refreshUiApi');
|
|
122976
122976
|
}
|
|
122977
|
-
// version: 1.
|
|
122977
|
+
// version: 1.376.0-328016ba31
|
|
122978
122978
|
|
|
122979
122979
|
// On core the unstable adapters are re-exported with different names,
|
|
122980
122980
|
// we want to match them here.
|
|
@@ -123126,7 +123126,7 @@
|
|
|
123126
123126
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
123127
123127
|
graphQLImperative = ldsAdapter;
|
|
123128
123128
|
});
|
|
123129
|
-
// version: 1.
|
|
123129
|
+
// version: 1.376.0-328016ba31
|
|
123130
123130
|
|
|
123131
123131
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
123132
123132
|
__proto__: null,
|
|
@@ -123925,7 +123925,7 @@
|
|
|
123925
123925
|
function register(r) {
|
|
123926
123926
|
callbacks$1.forEach((callback) => callback(r));
|
|
123927
123927
|
}
|
|
123928
|
-
// version: 1.
|
|
123928
|
+
// version: 1.376.0-cb776a38bb
|
|
123929
123929
|
|
|
123930
123930
|
/**
|
|
123931
123931
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -125282,4 +125282,4 @@
|
|
|
125282
125282
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
125283
125283
|
|
|
125284
125284
|
}));
|
|
125285
|
-
// version: 1.
|
|
125285
|
+
// version: 1.376.0-cb776a38bb
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.376.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.376.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.376.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.376.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.376.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.376.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.376.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.376.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.376.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|