@salesforce/lds-ads-bridge 1.251.0 → 1.252.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.
@@ -430,7 +430,7 @@ function createResourceParamsImpl(config, configMetadata) {
430
430
  }
431
431
  return resourceParams;
432
432
  }
433
- // engine version: 0.152.2-f6f687b3
433
+ // engine version: 0.153.0-32ab5c05
434
434
 
435
435
  /**
436
436
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -478,7 +478,7 @@ const callbacks$1 = [];
478
478
  function register(r) {
479
479
  callbacks$1.forEach((callback) => callback(r));
480
480
  }
481
- // version: 1.251.0-51b11f205
481
+ // version: 1.252.0-a960aa048
482
482
 
483
483
  /**
484
484
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4920,7 +4920,7 @@ function toSortedStringArray(value) {
4920
4920
  }
4921
4921
 
4922
4922
  const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
4923
- function validate$1K(obj, path = 'RecordTypeInfoRepresentation') {
4923
+ function validate$1P(obj, path = 'RecordTypeInfoRepresentation') {
4924
4924
  const v_error = (() => {
4925
4925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4926
4926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5012,7 +5012,7 @@ function equals$14(existing, incoming) {
5012
5012
  }
5013
5013
 
5014
5014
  const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
5015
- function validate$1J(obj, path = 'FieldValueRepresentation') {
5015
+ function validate$1O(obj, path = 'FieldValueRepresentation') {
5016
5016
  const v_error = (() => {
5017
5017
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5018
5018
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5181,7 +5181,7 @@ const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
5181
5181
 
5182
5182
  const TTL$D = 120000;
5183
5183
  const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
5184
- function validate$1I(obj, path = 'RecordCollectionRepresentation') {
5184
+ function validate$1N(obj, path = 'RecordCollectionRepresentation') {
5185
5185
  const v_error = (() => {
5186
5186
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5187
5187
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5454,7 +5454,7 @@ function equals$12(existing, incoming) {
5454
5454
  }
5455
5455
  const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5456
5456
  if (process.env.NODE_ENV !== 'production') {
5457
- const validateError = validate$1I(input);
5457
+ const validateError = validate$1N(input);
5458
5458
  if (validateError !== null) {
5459
5459
  throw validateError;
5460
5460
  }
@@ -5490,7 +5490,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
5490
5490
 
5491
5491
  const TTL$C = 30000;
5492
5492
  const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
5493
- function validate$1H(obj, path = 'RecordRepresentation') {
5493
+ function validate$1M(obj, path = 'RecordRepresentation') {
5494
5494
  const v_error = (() => {
5495
5495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5496
5496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5620,7 +5620,7 @@ function validate$1H(obj, path = 'RecordRepresentation') {
5620
5620
  const path_recordTypeInfo = path + '.recordTypeInfo';
5621
5621
  let obj_recordTypeInfo_union0 = null;
5622
5622
  const obj_recordTypeInfo_union0_error = (() => {
5623
- const referencepath_recordTypeInfoValidationError = validate$1K(obj_recordTypeInfo, path_recordTypeInfo);
5623
+ const referencepath_recordTypeInfoValidationError = validate$1P(obj_recordTypeInfo, path_recordTypeInfo);
5624
5624
  if (referencepath_recordTypeInfoValidationError !== null) {
5625
5625
  let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
5626
5626
  message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7938,7 +7938,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
7938
7938
  function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7939
7939
  return (input, path, luvio, store, timestamp) => {
7940
7940
  if (process.env.NODE_ENV !== 'production') {
7941
- const validateError = validate$1J(input);
7941
+ const validateError = validate$1O(input);
7942
7942
  if (validateError !== null) {
7943
7943
  throw validateError;
7944
7944
  }
@@ -8031,7 +8031,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8031
8031
  const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
8032
8032
  return (input, path, luvio, store, timestamp) => {
8033
8033
  if (process.env.NODE_ENV !== 'production') {
8034
- const validateError = validate$1H(input);
8034
+ const validateError = validate$1M(input);
8035
8035
  if (validateError !== null) {
8036
8036
  throw validateError;
8037
8037
  }
package/dist/adsBridge.js CHANGED
@@ -372,4 +372,4 @@ function withAdsBridge(callback) {
372
372
  }
373
373
 
374
374
  export { instrument, withAdsBridge };
375
- // version: 1.251.0-51b11f205
375
+ // version: 1.252.0-a960aa048
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.251.0",
3
+ "version": "1.252.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Bridge to sync data between LDS and ADS",
6
6
  "main": "dist/adsBridge.js",