@salesforce/lds-worker-api 1.243.0 → 1.244.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.
|
@@ -788,4 +788,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
791
|
-
// version: 1.
|
|
791
|
+
// version: 1.244.0-72e322fff
|
|
@@ -2599,7 +2599,10 @@ class Reader {
|
|
|
2599
2599
|
this.markPending();
|
|
2600
2600
|
return;
|
|
2601
2601
|
default:
|
|
2602
|
-
|
|
2602
|
+
// if we have a link reference we override the required property passed to true
|
|
2603
|
+
// because if there was a missing reference the `isMissing` property would be true and the links state would
|
|
2604
|
+
// have returned `Missing`.
|
|
2605
|
+
this.readStoreLinkWithRef(linkState, fragment, sink, property, true);
|
|
2603
2606
|
}
|
|
2604
2607
|
}
|
|
2605
2608
|
markRedirectsSeen(state) {
|
|
@@ -3899,7 +3902,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
3899
3902
|
}
|
|
3900
3903
|
return resourceParams;
|
|
3901
3904
|
}
|
|
3902
|
-
// engine version: 0.150.
|
|
3905
|
+
// engine version: 0.150.3-a08cc935
|
|
3903
3906
|
|
|
3904
3907
|
/**
|
|
3905
3908
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4027,7 +4030,7 @@ function withDefaultLuvio(callback) {
|
|
|
4027
4030
|
}
|
|
4028
4031
|
callbacks.push(callback);
|
|
4029
4032
|
}
|
|
4030
|
-
// version: 1.
|
|
4033
|
+
// version: 1.244.0-72e322fff
|
|
4031
4034
|
|
|
4032
4035
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4033
4036
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15488,7 +15491,7 @@ function gql(literals, ...subs) {
|
|
|
15488
15491
|
}
|
|
15489
15492
|
return superResult;
|
|
15490
15493
|
}
|
|
15491
|
-
// version: 1.
|
|
15494
|
+
// version: 1.244.0-72e322fff
|
|
15492
15495
|
|
|
15493
15496
|
function unwrap(data) {
|
|
15494
15497
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16413,7 +16416,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16413
16416
|
const { apiFamily, name } = metadata;
|
|
16414
16417
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16415
16418
|
}
|
|
16416
|
-
// version: 1.
|
|
16419
|
+
// version: 1.244.0-72e322fff
|
|
16417
16420
|
|
|
16418
16421
|
/**
|
|
16419
16422
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16512,7 +16515,7 @@ var TypeCheckShapes;
|
|
|
16512
16515
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16513
16516
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16514
16517
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16515
|
-
// engine version: 0.150.
|
|
16518
|
+
// engine version: 0.150.3-a08cc935
|
|
16516
16519
|
|
|
16517
16520
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16518
16521
|
|
|
@@ -41640,7 +41643,7 @@ withDefaultLuvio((luvio) => {
|
|
|
41640
41643
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41641
41644
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41642
41645
|
});
|
|
41643
|
-
// version: 1.
|
|
41646
|
+
// version: 1.244.0-4d142822f
|
|
41644
41647
|
|
|
41645
41648
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41646
41649
|
|
|
@@ -58682,7 +58685,7 @@ register$1({
|
|
|
58682
58685
|
id: '@salesforce/lds-network-adapter',
|
|
58683
58686
|
instrument: instrument$2,
|
|
58684
58687
|
});
|
|
58685
|
-
// version: 1.
|
|
58688
|
+
// version: 1.244.0-72e322fff
|
|
58686
58689
|
|
|
58687
58690
|
const { create: create$3, keys: keys$3 } = Object;
|
|
58688
58691
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -77150,7 +77153,7 @@ register$1({
|
|
|
77150
77153
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
77151
77154
|
instrument: instrument$1,
|
|
77152
77155
|
});
|
|
77153
|
-
// version: 1.
|
|
77156
|
+
// version: 1.244.0-4d142822f
|
|
77154
77157
|
|
|
77155
77158
|
// On core the unstable adapters are re-exported with different names,
|
|
77156
77159
|
// we want to match them here.
|
|
@@ -79399,7 +79402,7 @@ withDefaultLuvio((luvio) => {
|
|
|
79399
79402
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79400
79403
|
graphQLImperative = ldsAdapter;
|
|
79401
79404
|
});
|
|
79402
|
-
// version: 1.
|
|
79405
|
+
// version: 1.244.0-4d142822f
|
|
79403
79406
|
|
|
79404
79407
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79405
79408
|
__proto__: null,
|
|
@@ -80097,7 +80100,7 @@ const callbacks$1 = [];
|
|
|
80097
80100
|
function register(r) {
|
|
80098
80101
|
callbacks$1.forEach((callback) => callback(r));
|
|
80099
80102
|
}
|
|
80100
|
-
// version: 1.
|
|
80103
|
+
// version: 1.244.0-72e322fff
|
|
80101
80104
|
|
|
80102
80105
|
/**
|
|
80103
80106
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -84743,4 +84746,4 @@ const { luvio } = getRuntime();
|
|
|
84743
84746
|
setDefaultLuvio({ luvio });
|
|
84744
84747
|
|
|
84745
84748
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
84746
|
-
// version: 1.
|
|
84749
|
+
// version: 1.244.0-72e322fff
|
|
@@ -2605,7 +2605,10 @@
|
|
|
2605
2605
|
this.markPending();
|
|
2606
2606
|
return;
|
|
2607
2607
|
default:
|
|
2608
|
-
|
|
2608
|
+
// if we have a link reference we override the required property passed to true
|
|
2609
|
+
// because if there was a missing reference the `isMissing` property would be true and the links state would
|
|
2610
|
+
// have returned `Missing`.
|
|
2611
|
+
this.readStoreLinkWithRef(linkState, fragment, sink, property, true);
|
|
2609
2612
|
}
|
|
2610
2613
|
}
|
|
2611
2614
|
markRedirectsSeen(state) {
|
|
@@ -3905,7 +3908,7 @@
|
|
|
3905
3908
|
}
|
|
3906
3909
|
return resourceParams;
|
|
3907
3910
|
}
|
|
3908
|
-
// engine version: 0.150.
|
|
3911
|
+
// engine version: 0.150.3-a08cc935
|
|
3909
3912
|
|
|
3910
3913
|
/**
|
|
3911
3914
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4033,7 +4036,7 @@
|
|
|
4033
4036
|
}
|
|
4034
4037
|
callbacks.push(callback);
|
|
4035
4038
|
}
|
|
4036
|
-
// version: 1.
|
|
4039
|
+
// version: 1.244.0-72e322fff
|
|
4037
4040
|
|
|
4038
4041
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4039
4042
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15494,7 +15497,7 @@
|
|
|
15494
15497
|
}
|
|
15495
15498
|
return superResult;
|
|
15496
15499
|
}
|
|
15497
|
-
// version: 1.
|
|
15500
|
+
// version: 1.244.0-72e322fff
|
|
15498
15501
|
|
|
15499
15502
|
function unwrap(data) {
|
|
15500
15503
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16419,7 +16422,7 @@
|
|
|
16419
16422
|
const { apiFamily, name } = metadata;
|
|
16420
16423
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16421
16424
|
}
|
|
16422
|
-
// version: 1.
|
|
16425
|
+
// version: 1.244.0-72e322fff
|
|
16423
16426
|
|
|
16424
16427
|
/**
|
|
16425
16428
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16518,7 +16521,7 @@
|
|
|
16518
16521
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16519
16522
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16520
16523
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16521
|
-
// engine version: 0.150.
|
|
16524
|
+
// engine version: 0.150.3-a08cc935
|
|
16522
16525
|
|
|
16523
16526
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16524
16527
|
|
|
@@ -41646,7 +41649,7 @@
|
|
|
41646
41649
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41647
41650
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41648
41651
|
});
|
|
41649
|
-
// version: 1.
|
|
41652
|
+
// version: 1.244.0-4d142822f
|
|
41650
41653
|
|
|
41651
41654
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41652
41655
|
|
|
@@ -58688,7 +58691,7 @@
|
|
|
58688
58691
|
id: '@salesforce/lds-network-adapter',
|
|
58689
58692
|
instrument: instrument$2,
|
|
58690
58693
|
});
|
|
58691
|
-
// version: 1.
|
|
58694
|
+
// version: 1.244.0-72e322fff
|
|
58692
58695
|
|
|
58693
58696
|
const { create: create$3, keys: keys$3 } = Object;
|
|
58694
58697
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -77156,7 +77159,7 @@
|
|
|
77156
77159
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
77157
77160
|
instrument: instrument$1,
|
|
77158
77161
|
});
|
|
77159
|
-
// version: 1.
|
|
77162
|
+
// version: 1.244.0-4d142822f
|
|
77160
77163
|
|
|
77161
77164
|
// On core the unstable adapters are re-exported with different names,
|
|
77162
77165
|
// we want to match them here.
|
|
@@ -79405,7 +79408,7 @@
|
|
|
79405
79408
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79406
79409
|
graphQLImperative = ldsAdapter;
|
|
79407
79410
|
});
|
|
79408
|
-
// version: 1.
|
|
79411
|
+
// version: 1.244.0-4d142822f
|
|
79409
79412
|
|
|
79410
79413
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79411
79414
|
__proto__: null,
|
|
@@ -80103,7 +80106,7 @@
|
|
|
80103
80106
|
function register(r) {
|
|
80104
80107
|
callbacks$1.forEach((callback) => callback(r));
|
|
80105
80108
|
}
|
|
80106
|
-
// version: 1.
|
|
80109
|
+
// version: 1.244.0-72e322fff
|
|
80107
80110
|
|
|
80108
80111
|
/**
|
|
80109
80112
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -84764,4 +84767,4 @@
|
|
|
84764
84767
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
84765
84768
|
|
|
84766
84769
|
}));
|
|
84767
|
-
// version: 1.
|
|
84770
|
+
// version: 1.244.0-72e322fff
|