@salesforce/lds-ads-bridge 1.243.0 → 1.245.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.
@@ -427,7 +427,7 @@ function createResourceParamsImpl(config, configMetadata) {
427
427
  }
428
428
  return resourceParams;
429
429
  }
430
- // engine version: 0.150.2-5dcb5d26
430
+ // engine version: 0.150.5-275045c5
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.243.0-87f38263e
478
+ // version: 1.245.0-0ea124370
479
479
 
480
480
  /**
481
481
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4676,7 +4676,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
4676
4676
  }
4677
4677
  const keyPrefix = 'UiApi';
4678
4678
 
4679
- const { assign, create, freeze, keys: keys$1 } = Object;
4679
+ const { assign, create, freeze, isFrozen, keys: keys$1 } = Object;
4680
4680
  const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
4681
4681
  const { split, endsWith } = String.prototype;
4682
4682
  const { isArray } = Array;
@@ -4917,7 +4917,7 @@ function toSortedStringArray(value) {
4917
4917
  }
4918
4918
 
4919
4919
  const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
4920
- function validate$1H(obj, path = 'RecordTypeInfoRepresentation') {
4920
+ function validate$1I(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$1G(obj, path = 'FieldValueRepresentation') {
5012
+ function validate$1H(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$1F(obj, path = 'RecordCollectionRepresentation') {
5181
+ function validate$1G(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$1F(input);
5454
+ const validateError = validate$1G(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$1E(obj, path = 'RecordRepresentation') {
5490
+ function validate$1F(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$1E(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$1H(obj_recordTypeInfo, path_recordTypeInfo);
5620
+ const referencepath_recordTypeInfoValidationError = validate$1I(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$1G(input);
7935
+ const validateError = validate$1H(input);
7936
7936
  if (validateError !== null) {
7937
7937
  throw validateError;
7938
7938
  }
@@ -8025,7 +8025,7 @@ 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$1E(input);
8028
+ const validateError = validate$1F(input);
8029
8029
  if (validateError !== null) {
8030
8030
  throw validateError;
8031
8031
  }
package/dist/adsBridge.js CHANGED
@@ -372,4 +372,4 @@ function withAdsBridge(callback) {
372
372
  }
373
373
 
374
374
  export { instrument, withAdsBridge };
375
- // version: 1.243.0-87f38263e
375
+ // version: 1.245.0-0ea124370
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.243.0",
3
+ "version": "1.245.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",