@salesforce/lds-worker-api 1.266.0-dev2 → 1.266.0-dev4
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.
|
@@ -1034,4 +1034,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1037
|
-
// version: 1.266.0-
|
|
1037
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
@@ -4140,7 +4140,7 @@ function withDefaultLuvio(callback) {
|
|
|
4140
4140
|
}
|
|
4141
4141
|
callbacks.push(callback);
|
|
4142
4142
|
}
|
|
4143
|
-
// version: 1.266.0-
|
|
4143
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
4144
4144
|
|
|
4145
4145
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4146
4146
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15648,7 +15648,7 @@ function gql(literals, ...subs) {
|
|
|
15648
15648
|
}
|
|
15649
15649
|
return superResult;
|
|
15650
15650
|
}
|
|
15651
|
-
// version: 1.266.0-
|
|
15651
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
15652
15652
|
|
|
15653
15653
|
function unwrap(data) {
|
|
15654
15654
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16573,7 +16573,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16573
16573
|
const { apiFamily, name } = metadata;
|
|
16574
16574
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16575
16575
|
}
|
|
16576
|
-
// version: 1.266.0-
|
|
16576
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
16577
16577
|
|
|
16578
16578
|
/**
|
|
16579
16579
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -25283,7 +25283,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
25283
25283
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
25284
25284
|
let layoutMap = {};
|
|
25285
25285
|
if (hasOwnProperty$1.call(layouts, apiName)) {
|
|
25286
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
25286
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
25287
25287
|
}
|
|
25288
25288
|
return {
|
|
25289
25289
|
layoutMap,
|
|
@@ -43141,7 +43141,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43141
43141
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43142
43142
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43143
43143
|
});
|
|
43144
|
-
// version: 1.266.0-
|
|
43144
|
+
// version: 1.266.0-dev4-322da3218
|
|
43145
43145
|
|
|
43146
43146
|
var ldsIdempotencyWriteDisabled = {
|
|
43147
43147
|
isOpen: function (e) {
|
|
@@ -61019,7 +61019,7 @@ register$1({
|
|
|
61019
61019
|
id: '@salesforce/lds-network-adapter',
|
|
61020
61020
|
instrument: instrument$2,
|
|
61021
61021
|
});
|
|
61022
|
-
// version: 1.266.0-
|
|
61022
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
61023
61023
|
|
|
61024
61024
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61025
61025
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79348,7 +79348,7 @@ register$1({
|
|
|
79348
79348
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79349
79349
|
instrument: instrument$1,
|
|
79350
79350
|
});
|
|
79351
|
-
// version: 1.266.0-
|
|
79351
|
+
// version: 1.266.0-dev4-322da3218
|
|
79352
79352
|
|
|
79353
79353
|
// On core the unstable adapters are re-exported with different names,
|
|
79354
79354
|
// we want to match them here.
|
|
@@ -81599,7 +81599,7 @@ withDefaultLuvio((luvio) => {
|
|
|
81599
81599
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81600
81600
|
graphQLImperative = ldsAdapter;
|
|
81601
81601
|
});
|
|
81602
|
-
// version: 1.266.0-
|
|
81602
|
+
// version: 1.266.0-dev4-322da3218
|
|
81603
81603
|
|
|
81604
81604
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81605
81605
|
__proto__: null,
|
|
@@ -82297,7 +82297,7 @@ const callbacks$1 = [];
|
|
|
82297
82297
|
function register(r) {
|
|
82298
82298
|
callbacks$1.forEach((callback) => callback(r));
|
|
82299
82299
|
}
|
|
82300
|
-
// version: 1.266.0-
|
|
82300
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
82301
82301
|
|
|
82302
82302
|
/**
|
|
82303
82303
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87202,4 +87202,4 @@ const { luvio } = getRuntime();
|
|
|
87202
87202
|
setDefaultLuvio({ luvio });
|
|
87203
87203
|
|
|
87204
87204
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
87205
|
-
// version: 1.266.0-
|
|
87205
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
@@ -4146,7 +4146,7 @@
|
|
|
4146
4146
|
}
|
|
4147
4147
|
callbacks.push(callback);
|
|
4148
4148
|
}
|
|
4149
|
-
// version: 1.266.0-
|
|
4149
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
4150
4150
|
|
|
4151
4151
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4152
4152
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15654,7 +15654,7 @@
|
|
|
15654
15654
|
}
|
|
15655
15655
|
return superResult;
|
|
15656
15656
|
}
|
|
15657
|
-
// version: 1.266.0-
|
|
15657
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
15658
15658
|
|
|
15659
15659
|
function unwrap(data) {
|
|
15660
15660
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16579,7 +16579,7 @@
|
|
|
16579
16579
|
const { apiFamily, name } = metadata;
|
|
16580
16580
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16581
16581
|
}
|
|
16582
|
-
// version: 1.266.0-
|
|
16582
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
16583
16583
|
|
|
16584
16584
|
/**
|
|
16585
16585
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -25289,7 +25289,7 @@
|
|
|
25289
25289
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
25290
25290
|
let layoutMap = {};
|
|
25291
25291
|
if (hasOwnProperty$1.call(layouts, apiName)) {
|
|
25292
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
25292
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
25293
25293
|
}
|
|
25294
25294
|
return {
|
|
25295
25295
|
layoutMap,
|
|
@@ -43147,7 +43147,7 @@
|
|
|
43147
43147
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43148
43148
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43149
43149
|
});
|
|
43150
|
-
// version: 1.266.0-
|
|
43150
|
+
// version: 1.266.0-dev4-322da3218
|
|
43151
43151
|
|
|
43152
43152
|
var ldsIdempotencyWriteDisabled = {
|
|
43153
43153
|
isOpen: function (e) {
|
|
@@ -61025,7 +61025,7 @@
|
|
|
61025
61025
|
id: '@salesforce/lds-network-adapter',
|
|
61026
61026
|
instrument: instrument$2,
|
|
61027
61027
|
});
|
|
61028
|
-
// version: 1.266.0-
|
|
61028
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
61029
61029
|
|
|
61030
61030
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61031
61031
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79354,7 +79354,7 @@
|
|
|
79354
79354
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79355
79355
|
instrument: instrument$1,
|
|
79356
79356
|
});
|
|
79357
|
-
// version: 1.266.0-
|
|
79357
|
+
// version: 1.266.0-dev4-322da3218
|
|
79358
79358
|
|
|
79359
79359
|
// On core the unstable adapters are re-exported with different names,
|
|
79360
79360
|
// we want to match them here.
|
|
@@ -81605,7 +81605,7 @@
|
|
|
81605
81605
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81606
81606
|
graphQLImperative = ldsAdapter;
|
|
81607
81607
|
});
|
|
81608
|
-
// version: 1.266.0-
|
|
81608
|
+
// version: 1.266.0-dev4-322da3218
|
|
81609
81609
|
|
|
81610
81610
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81611
81611
|
__proto__: null,
|
|
@@ -82303,7 +82303,7 @@
|
|
|
82303
82303
|
function register(r) {
|
|
82304
82304
|
callbacks$1.forEach((callback) => callback(r));
|
|
82305
82305
|
}
|
|
82306
|
-
// version: 1.266.0-
|
|
82306
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
|
82307
82307
|
|
|
82308
82308
|
/**
|
|
82309
82309
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87226,4 +87226,4 @@
|
|
|
87226
87226
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
87227
87227
|
|
|
87228
87228
|
}));
|
|
87229
|
-
// version: 1.266.0-
|
|
87229
|
+
// version: 1.266.0-dev4-6aa8e2d4a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev4",
|
|
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.266.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.266.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.266.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.266.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.266.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.266.0-
|
|
44
|
-
"@salesforce/lds-priming": "^1.266.0-
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.266.0-
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.266.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.266.0-dev4",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.266.0-dev4",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.266.0-dev4",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.266.0-dev4",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.266.0-dev4",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.266.0-dev4",
|
|
44
|
+
"@salesforce/lds-priming": "^1.266.0-dev4",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.266.0-dev4",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.266.0-dev4",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|