@salesforce/lds-ads-bridge 1.127.0 → 1.128.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.
- package/dist/ads-bridge-perf.js +10 -7
- package/dist/adsBridge.js +1 -1
- package/package.json +1 -1
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -368,7 +368,7 @@ const callbacks$1 = [];
|
|
|
368
368
|
function register(r) {
|
|
369
369
|
callbacks$1.forEach((callback) => callback(r));
|
|
370
370
|
}
|
|
371
|
-
// version: 1.
|
|
371
|
+
// version: 1.128.0-7bdcf55d3
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -8886,7 +8886,7 @@ function isSingleBatchRecordResponse(response) {
|
|
|
8886
8886
|
|
|
8887
8887
|
const VERSION$1Q = "98cce53b8d13b1883d001bbdaab24383";
|
|
8888
8888
|
|
|
8889
|
-
const nonCachedErrors$
|
|
8889
|
+
const nonCachedErrors$7 = ObjectCreate$1(null);
|
|
8890
8890
|
function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
|
|
8891
8891
|
const childSnapshotDataResponses = [];
|
|
8892
8892
|
let seenRecords = new StoreKeySet();
|
|
@@ -8951,14 +8951,14 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
|
|
|
8951
8951
|
}
|
|
8952
8952
|
// track non-cached responses so rebuilds work properly
|
|
8953
8953
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
8954
|
-
nonCachedErrors$
|
|
8954
|
+
nonCachedErrors$7[childKey] = {
|
|
8955
8955
|
expiration: now + TTL$A,
|
|
8956
8956
|
response: childBody,
|
|
8957
8957
|
status: childStatusCode,
|
|
8958
8958
|
};
|
|
8959
8959
|
}
|
|
8960
8960
|
else {
|
|
8961
|
-
delete nonCachedErrors$
|
|
8961
|
+
delete nonCachedErrors$7[childKey];
|
|
8962
8962
|
}
|
|
8963
8963
|
}
|
|
8964
8964
|
ObjectFreeze$1(childSnapshotDataResponses);
|
|
@@ -8972,7 +8972,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
|
|
|
8972
8972
|
};
|
|
8973
8973
|
}
|
|
8974
8974
|
|
|
8975
|
-
function selectChildResourceParams$
|
|
8975
|
+
function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
8976
8976
|
const envelopeBodyPath = 'result';
|
|
8977
8977
|
const envelopeStatusCodePath = 'statusCode';
|
|
8978
8978
|
const envelopePath = 'results';
|
|
@@ -9053,7 +9053,7 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
|
|
|
9053
9053
|
// has non-cached errors (since the top-level composite
|
|
9054
9054
|
// snapshot will look like an Unfulfilled snapshot
|
|
9055
9055
|
// instead of an error snapshot).
|
|
9056
|
-
const nonCachedError = nonCachedErrors$
|
|
9056
|
+
const nonCachedError = nonCachedErrors$7[childKey];
|
|
9057
9057
|
if (nonCachedError === undefined ||
|
|
9058
9058
|
nonCachedError.expiration < timestamp) {
|
|
9059
9059
|
reader.markMissingLink(childKey);
|
|
@@ -9215,7 +9215,7 @@ function createChildResourceParams$8(config) {
|
|
|
9215
9215
|
function adapterFragment$H(luvio, config) {
|
|
9216
9216
|
const childResources = createChildResourceParams$8(config);
|
|
9217
9217
|
const resourceParams = createResourceParams$V(config);
|
|
9218
|
-
return selectChildResourceParams$
|
|
9218
|
+
return selectChildResourceParams$7(luvio, childResources, resourceParams);
|
|
9219
9219
|
}
|
|
9220
9220
|
|
|
9221
9221
|
function onFetchResponseSuccess$L(luvio, config, resourceParams, response, serverRequestCount = 0) {
|
|
@@ -9583,6 +9583,9 @@ ObjectCreate$1(null);
|
|
|
9583
9583
|
|
|
9584
9584
|
ObjectCreate$1(null);
|
|
9585
9585
|
|
|
9586
|
+
// Copied from generated resource
|
|
9587
|
+
ObjectCreate$1(null);
|
|
9588
|
+
|
|
9586
9589
|
var DiscriminatorValues;
|
|
9587
9590
|
(function (DiscriminatorValues) {
|
|
9588
9591
|
DiscriminatorValues["Select"] = "Select";
|
package/dist/adsBridge.js
CHANGED