@salesforce/lds-ads-bridge 1.242.1 → 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.
- package/dist/ads-bridge-perf.js +11 -10
- package/dist/adsBridge.js +1 -1
- package/package.json +1 -1
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -427,7 +427,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
427
427
|
}
|
|
428
428
|
return resourceParams;
|
|
429
429
|
}
|
|
430
|
-
// engine version: 0.150.
|
|
430
|
+
// engine version: 0.150.3-a08cc935
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -475,7 +475,7 @@ const callbacks$1 = [];
|
|
|
475
475
|
function register(r) {
|
|
476
476
|
callbacks$1.forEach((callback) => callback(r));
|
|
477
477
|
}
|
|
478
|
-
// version: 1.
|
|
478
|
+
// version: 1.244.0-72e322fff
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
481
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -4917,7 +4917,7 @@ function toSortedStringArray(value) {
|
|
|
4917
4917
|
}
|
|
4918
4918
|
|
|
4919
4919
|
const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
|
|
4920
|
-
function validate$
|
|
4920
|
+
function validate$1H(obj, path = 'RecordTypeInfoRepresentation') {
|
|
4921
4921
|
const v_error = (() => {
|
|
4922
4922
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4923
4923
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5009,7 +5009,7 @@ function equals$13(existing, incoming) {
|
|
|
5009
5009
|
}
|
|
5010
5010
|
|
|
5011
5011
|
const VERSION$2l = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5012
|
-
function validate$
|
|
5012
|
+
function validate$1G(obj, path = 'FieldValueRepresentation') {
|
|
5013
5013
|
const v_error = (() => {
|
|
5014
5014
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5015
5015
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5178,7 +5178,7 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
5178
5178
|
|
|
5179
5179
|
const TTL$C = 120000;
|
|
5180
5180
|
const VERSION$2k = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5181
|
-
function validate$
|
|
5181
|
+
function validate$1F(obj, path = 'RecordCollectionRepresentation') {
|
|
5182
5182
|
const v_error = (() => {
|
|
5183
5183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5184
5184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5451,7 +5451,7 @@ function equals$11(existing, incoming) {
|
|
|
5451
5451
|
}
|
|
5452
5452
|
const ingest$1S = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5453
5453
|
if (process.env.NODE_ENV !== 'production') {
|
|
5454
|
-
const validateError = validate$
|
|
5454
|
+
const validateError = validate$1F(input);
|
|
5455
5455
|
if (validateError !== null) {
|
|
5456
5456
|
throw validateError;
|
|
5457
5457
|
}
|
|
@@ -5487,7 +5487,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
5487
5487
|
|
|
5488
5488
|
const TTL$B = 30000;
|
|
5489
5489
|
const VERSION$2j = "98c5b18512e48ca8d28727549507e4ba";
|
|
5490
|
-
function validate$
|
|
5490
|
+
function validate$1E(obj, path = 'RecordRepresentation') {
|
|
5491
5491
|
const v_error = (() => {
|
|
5492
5492
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5493
5493
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5617,7 +5617,7 @@ function validate$1C(obj, path = 'RecordRepresentation') {
|
|
|
5617
5617
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
5618
5618
|
let obj_recordTypeInfo_union0 = null;
|
|
5619
5619
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
5620
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
5620
|
+
const referencepath_recordTypeInfoValidationError = validate$1H(obj_recordTypeInfo, path_recordTypeInfo);
|
|
5621
5621
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
5622
5622
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
5623
5623
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7932,7 +7932,7 @@ function normalize$M(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
7932
7932
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
7933
7933
|
return (input, path, luvio, store, timestamp) => {
|
|
7934
7934
|
if (process.env.NODE_ENV !== 'production') {
|
|
7935
|
-
const validateError = validate$
|
|
7935
|
+
const validateError = validate$1G(input);
|
|
7936
7936
|
if (validateError !== null) {
|
|
7937
7937
|
throw validateError;
|
|
7938
7938
|
}
|
|
@@ -8025,11 +8025,12 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8025
8025
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
8026
8026
|
return (input, path, luvio, store, timestamp) => {
|
|
8027
8027
|
if (process.env.NODE_ENV !== 'production') {
|
|
8028
|
-
const validateError = validate$
|
|
8028
|
+
const validateError = validate$1E(input);
|
|
8029
8029
|
if (validateError !== null) {
|
|
8030
8030
|
throw validateError;
|
|
8031
8031
|
}
|
|
8032
8032
|
}
|
|
8033
|
+
input.eTag = ''; //[W-13724550] Record Reps ALWAYS have '' etag, to be consistent with GraphQL, as it is not queryable via GraphQL.
|
|
8033
8034
|
const key = keyBuilderFromType$z(luvio, input);
|
|
8034
8035
|
let existingRecord = store.readEntry(key);
|
|
8035
8036
|
const recordPath = {
|
package/dist/adsBridge.js
CHANGED