@salesforce/lds-ads-bridge 1.137.0 → 1.138.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 +7 -7
- package/dist/adsBridge.js +1 -1
- package/package.json +1 -1
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -340,7 +340,7 @@ var FragmentReadResultState;
|
|
|
340
340
|
({
|
|
341
341
|
state: FragmentReadResultState.Missing,
|
|
342
342
|
});
|
|
343
|
-
// engine version: 0.140.
|
|
343
|
+
// engine version: 0.140.3-86f83ec8
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -387,7 +387,7 @@ const callbacks$1 = [];
|
|
|
387
387
|
function register(r) {
|
|
388
388
|
callbacks$1.forEach((callback) => callback(r));
|
|
389
389
|
}
|
|
390
|
-
// version: 1.
|
|
390
|
+
// version: 1.138.0-040b690de
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -5683,7 +5683,7 @@ const { concat, filter, includes, push: push$1, reduce } = Array.prototype;
|
|
|
5683
5683
|
const getTypeCacheKeys$1T = (luvio, input, _fullPathFactory) => {
|
|
5684
5684
|
const rootKeySet = new StoreKeyMap();
|
|
5685
5685
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5686
|
-
const rootKey = keyBuilderFromType$
|
|
5686
|
+
const rootKey = keyBuilderFromType$x(luvio, input);
|
|
5687
5687
|
rootKeySet.set(rootKey, {
|
|
5688
5688
|
namespace: keyPrefix,
|
|
5689
5689
|
representationName: RepresentationType$S,
|
|
@@ -6029,12 +6029,12 @@ function getTypeCacheKeys$1S(luvio, input, fullPathFactory) {
|
|
|
6029
6029
|
|
|
6030
6030
|
const VIEW_ENTITY_API_NAME = 'Name';
|
|
6031
6031
|
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
|
|
6032
|
-
const keyBuilderFromType$
|
|
6032
|
+
const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luvio, object) {
|
|
6033
6033
|
const { apiName, id } = object;
|
|
6034
6034
|
if (apiName === VIEW_ENTITY_API_NAME) {
|
|
6035
6035
|
return VIEW_ENTITY_KEY_PREFIX + id;
|
|
6036
6036
|
}
|
|
6037
|
-
return keyBuilderFromType$
|
|
6037
|
+
return keyBuilderFromType$x(luvio, object);
|
|
6038
6038
|
};
|
|
6039
6039
|
|
|
6040
6040
|
const TTL$A = 30000;
|
|
@@ -6232,7 +6232,7 @@ const RepresentationType$S = 'RecordRepresentation';
|
|
|
6232
6232
|
function keyBuilder$30(luvio, config) {
|
|
6233
6233
|
return keyPrefix + '::' + RepresentationType$S + ':' + config.recordId;
|
|
6234
6234
|
}
|
|
6235
|
-
function keyBuilderFromType$
|
|
6235
|
+
function keyBuilderFromType$x(luvio, object) {
|
|
6236
6236
|
const keyParams = {
|
|
6237
6237
|
recordId: object.id
|
|
6238
6238
|
};
|
|
@@ -8669,7 +8669,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8669
8669
|
throw validateError;
|
|
8670
8670
|
}
|
|
8671
8671
|
}
|
|
8672
|
-
const key = keyBuilderFromType$
|
|
8672
|
+
const key = keyBuilderFromType$y(luvio, input);
|
|
8673
8673
|
let existingRecord = store.readEntry(key);
|
|
8674
8674
|
const recordPath = {
|
|
8675
8675
|
fullPath: key,
|
package/dist/adsBridge.js
CHANGED