@salesforce/lds-worker-api 1.286.0 → 1.287.1
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.
|
@@ -1074,4 +1074,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
1076
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1077
|
-
// version: 1.
|
|
1077
|
+
// version: 1.287.1-2951538ee
|
|
@@ -2087,7 +2087,7 @@ const onlyIfCachedImplementation = function (args) {
|
|
|
2087
2087
|
headers: {},
|
|
2088
2088
|
ok: false,
|
|
2089
2089
|
status: HttpStatusCode$1.GatewayTimeout,
|
|
2090
|
-
statusText: '
|
|
2090
|
+
statusText: 'Data requested with only-if-cached policy and not found in the cache.',
|
|
2091
2091
|
errorType: 'fetchResponse',
|
|
2092
2092
|
}, refresh);
|
|
2093
2093
|
});
|
|
@@ -4062,7 +4062,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
return resourceParams;
|
|
4064
4064
|
}
|
|
4065
|
-
// engine version: 0.154.
|
|
4065
|
+
// engine version: 0.154.17-b8f04923
|
|
4066
4066
|
|
|
4067
4067
|
/**
|
|
4068
4068
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4190,7 +4190,7 @@ function withDefaultLuvio(callback) {
|
|
|
4190
4190
|
}
|
|
4191
4191
|
callbacks.push(callback);
|
|
4192
4192
|
}
|
|
4193
|
-
// version: 1.
|
|
4193
|
+
// version: 1.287.1-2951538ee
|
|
4194
4194
|
|
|
4195
4195
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4196
4196
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15698,7 +15698,7 @@ function gql(literals, ...subs) {
|
|
|
15698
15698
|
}
|
|
15699
15699
|
return superResult;
|
|
15700
15700
|
}
|
|
15701
|
-
// version: 1.
|
|
15701
|
+
// version: 1.287.1-2951538ee
|
|
15702
15702
|
|
|
15703
15703
|
function unwrap(data) {
|
|
15704
15704
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16623,7 +16623,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16623
16623
|
const { apiFamily, name } = metadata;
|
|
16624
16624
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16625
16625
|
}
|
|
16626
|
-
// version: 1.
|
|
16626
|
+
// version: 1.287.1-2951538ee
|
|
16627
16627
|
|
|
16628
16628
|
/**
|
|
16629
16629
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16722,7 +16722,7 @@ var TypeCheckShapes;
|
|
|
16722
16722
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16723
16723
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16724
16724
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16725
|
-
// engine version: 0.154.
|
|
16725
|
+
// engine version: 0.154.17-b8f04923
|
|
16726
16726
|
|
|
16727
16727
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16728
16728
|
|
|
@@ -44164,7 +44164,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44164
44164
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
44165
44165
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
44166
44166
|
});
|
|
44167
|
-
// version: 1.
|
|
44167
|
+
// version: 1.287.1-e437af73a
|
|
44168
44168
|
|
|
44169
44169
|
var ldsIdempotencyWriteDisabled = {
|
|
44170
44170
|
isOpen: function (e) {
|
|
@@ -62403,7 +62403,7 @@ register$1({
|
|
|
62403
62403
|
id: '@salesforce/lds-network-adapter',
|
|
62404
62404
|
instrument: instrument$2,
|
|
62405
62405
|
});
|
|
62406
|
-
// version: 1.
|
|
62406
|
+
// version: 1.287.1-2951538ee
|
|
62407
62407
|
|
|
62408
62408
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62409
62409
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -82452,7 +82452,7 @@ register$1({
|
|
|
82452
82452
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82453
82453
|
instrument: instrument$1,
|
|
82454
82454
|
});
|
|
82455
|
-
// version: 1.
|
|
82455
|
+
// version: 1.287.1-e437af73a
|
|
82456
82456
|
|
|
82457
82457
|
// On core the unstable adapters are re-exported with different names,
|
|
82458
82458
|
// we want to match them here.
|
|
@@ -84708,7 +84708,7 @@ withDefaultLuvio((luvio) => {
|
|
|
84708
84708
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84709
84709
|
graphQLImperative = ldsAdapter;
|
|
84710
84710
|
});
|
|
84711
|
-
// version: 1.
|
|
84711
|
+
// version: 1.287.1-e437af73a
|
|
84712
84712
|
|
|
84713
84713
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84714
84714
|
__proto__: null,
|
|
@@ -85446,7 +85446,7 @@ const callbacks$1 = [];
|
|
|
85446
85446
|
function register(r) {
|
|
85447
85447
|
callbacks$1.forEach((callback) => callback(r));
|
|
85448
85448
|
}
|
|
85449
|
-
// version: 1.
|
|
85449
|
+
// version: 1.287.1-2951538ee
|
|
85450
85450
|
|
|
85451
85451
|
/**
|
|
85452
85452
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -90398,4 +90398,4 @@ const { luvio } = getRuntime();
|
|
|
90398
90398
|
setDefaultLuvio({ luvio });
|
|
90399
90399
|
|
|
90400
90400
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
90401
|
-
// version: 1.
|
|
90401
|
+
// version: 1.287.1-2951538ee
|
|
@@ -2093,7 +2093,7 @@
|
|
|
2093
2093
|
headers: {},
|
|
2094
2094
|
ok: false,
|
|
2095
2095
|
status: HttpStatusCode$1.GatewayTimeout,
|
|
2096
|
-
statusText: '
|
|
2096
|
+
statusText: 'Data requested with only-if-cached policy and not found in the cache.',
|
|
2097
2097
|
errorType: 'fetchResponse',
|
|
2098
2098
|
}, refresh);
|
|
2099
2099
|
});
|
|
@@ -4068,7 +4068,7 @@
|
|
|
4068
4068
|
}
|
|
4069
4069
|
return resourceParams;
|
|
4070
4070
|
}
|
|
4071
|
-
// engine version: 0.154.
|
|
4071
|
+
// engine version: 0.154.17-b8f04923
|
|
4072
4072
|
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
}
|
|
4197
4197
|
callbacks.push(callback);
|
|
4198
4198
|
}
|
|
4199
|
-
// version: 1.
|
|
4199
|
+
// version: 1.287.1-2951538ee
|
|
4200
4200
|
|
|
4201
4201
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4202
4202
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15704,7 +15704,7 @@
|
|
|
15704
15704
|
}
|
|
15705
15705
|
return superResult;
|
|
15706
15706
|
}
|
|
15707
|
-
// version: 1.
|
|
15707
|
+
// version: 1.287.1-2951538ee
|
|
15708
15708
|
|
|
15709
15709
|
function unwrap(data) {
|
|
15710
15710
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16629,7 +16629,7 @@
|
|
|
16629
16629
|
const { apiFamily, name } = metadata;
|
|
16630
16630
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16631
16631
|
}
|
|
16632
|
-
// version: 1.
|
|
16632
|
+
// version: 1.287.1-2951538ee
|
|
16633
16633
|
|
|
16634
16634
|
/**
|
|
16635
16635
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16728,7 +16728,7 @@
|
|
|
16728
16728
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16729
16729
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16730
16730
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16731
|
-
// engine version: 0.154.
|
|
16731
|
+
// engine version: 0.154.17-b8f04923
|
|
16732
16732
|
|
|
16733
16733
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16734
16734
|
|
|
@@ -44170,7 +44170,7 @@
|
|
|
44170
44170
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
44171
44171
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
44172
44172
|
});
|
|
44173
|
-
// version: 1.
|
|
44173
|
+
// version: 1.287.1-e437af73a
|
|
44174
44174
|
|
|
44175
44175
|
var ldsIdempotencyWriteDisabled = {
|
|
44176
44176
|
isOpen: function (e) {
|
|
@@ -62409,7 +62409,7 @@
|
|
|
62409
62409
|
id: '@salesforce/lds-network-adapter',
|
|
62410
62410
|
instrument: instrument$2,
|
|
62411
62411
|
});
|
|
62412
|
-
// version: 1.
|
|
62412
|
+
// version: 1.287.1-2951538ee
|
|
62413
62413
|
|
|
62414
62414
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62415
62415
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -82458,7 +82458,7 @@
|
|
|
82458
82458
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82459
82459
|
instrument: instrument$1,
|
|
82460
82460
|
});
|
|
82461
|
-
// version: 1.
|
|
82461
|
+
// version: 1.287.1-e437af73a
|
|
82462
82462
|
|
|
82463
82463
|
// On core the unstable adapters are re-exported with different names,
|
|
82464
82464
|
// we want to match them here.
|
|
@@ -84714,7 +84714,7 @@
|
|
|
84714
84714
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84715
84715
|
graphQLImperative = ldsAdapter;
|
|
84716
84716
|
});
|
|
84717
|
-
// version: 1.
|
|
84717
|
+
// version: 1.287.1-e437af73a
|
|
84718
84718
|
|
|
84719
84719
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84720
84720
|
__proto__: null,
|
|
@@ -85452,7 +85452,7 @@
|
|
|
85452
85452
|
function register(r) {
|
|
85453
85453
|
callbacks$1.forEach((callback) => callback(r));
|
|
85454
85454
|
}
|
|
85455
|
-
// version: 1.
|
|
85455
|
+
// version: 1.287.1-2951538ee
|
|
85456
85456
|
|
|
85457
85457
|
/**
|
|
85458
85458
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -90423,4 +90423,4 @@
|
|
|
90423
90423
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
90424
90424
|
|
|
90425
90425
|
}));
|
|
90426
|
-
// version: 1.
|
|
90426
|
+
// version: 1.287.1-2951538ee
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.287.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,15 +35,15 @@
|
|
|
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-priming": "^1.
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.287.1",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.287.1",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.287.1",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.287.1",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.287.1",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.287.1",
|
|
44
|
+
"@salesforce/lds-priming": "^1.287.1",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.287.1",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.287.1",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|