@salesforce/lds-ads-bridge 1.157.2 → 1.158.1

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.
@@ -340,7 +340,7 @@ var FragmentReadResultState;
340
340
  ({
341
341
  state: FragmentReadResultState.Missing,
342
342
  });
343
- // engine version: 0.143.2-f0cd3fab
343
+ // engine version: 0.143.4-64dccb30
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.157.2-6be62a141
390
+ // version: 1.158.1-276f55e03
391
391
 
392
392
  /**
393
393
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -5437,7 +5437,7 @@ function createLink$1(ref) {
5437
5437
  }
5438
5438
 
5439
5439
  const VERSION$2f = "d1e589a127fb1060c89070cdb6f500b2";
5440
- function validate$1y(obj, path = 'RecordTypeInfoRepresentation') {
5440
+ function validate$1z(obj, path = 'RecordTypeInfoRepresentation') {
5441
5441
  const v_error = (() => {
5442
5442
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5443
5443
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5529,7 +5529,7 @@ function equals$Z(existing, incoming) {
5529
5529
  }
5530
5530
 
5531
5531
  const VERSION$2e = "195d918987a35f45e1aa4dce9a11d8c5";
5532
- function validate$1x(obj, path = 'FieldValueRepresentation') {
5532
+ function validate$1y(obj, path = 'FieldValueRepresentation') {
5533
5533
  const v_error = (() => {
5534
5534
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5535
5535
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5710,7 +5710,7 @@ const getTypeCacheKeys$1T = (luvio, input, _fullPathFactory) => {
5710
5710
 
5711
5711
  const TTL$B = 120000;
5712
5712
  const VERSION$2d = "79cb5ac9f44542f683d00245fdfe500d";
5713
- function validate$1w(obj, path = 'RecordCollectionRepresentation') {
5713
+ function validate$1x(obj, path = 'RecordCollectionRepresentation') {
5714
5714
  const v_error = (() => {
5715
5715
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5716
5716
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5983,7 +5983,7 @@ function equals$X(existing, incoming) {
5983
5983
  }
5984
5984
  const ingest$1P = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5985
5985
  if (process.env.NODE_ENV !== 'production') {
5986
- const validateError = validate$1w(input);
5986
+ const validateError = validate$1x(input);
5987
5987
  if (validateError !== null) {
5988
5988
  throw validateError;
5989
5989
  }
@@ -6039,7 +6039,7 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
6039
6039
 
6040
6040
  const TTL$A = 30000;
6041
6041
  const VERSION$2c = "98c5b18512e48ca8d28727549507e4ba";
6042
- function validate$1v(obj, path = 'RecordRepresentation') {
6042
+ function validate$1w(obj, path = 'RecordRepresentation') {
6043
6043
  const v_error = (() => {
6044
6044
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6045
6045
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6169,7 +6169,7 @@ function validate$1v(obj, path = 'RecordRepresentation') {
6169
6169
  const path_recordTypeInfo = path + '.recordTypeInfo';
6170
6170
  let obj_recordTypeInfo_union0 = null;
6171
6171
  const obj_recordTypeInfo_union0_error = (() => {
6172
- const referencepath_recordTypeInfoValidationError = validate$1y(obj_recordTypeInfo, path_recordTypeInfo);
6172
+ const referencepath_recordTypeInfoValidationError = validate$1z(obj_recordTypeInfo, path_recordTypeInfo);
6173
6173
  if (referencepath_recordTypeInfoValidationError !== null) {
6174
6174
  let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
6175
6175
  message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8571,7 +8571,7 @@ function normalize$K(input, existing, path, luvio, store, timestamp, fieldsTrie,
8571
8571
  function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
8572
8572
  return (input, path, luvio, store, timestamp) => {
8573
8573
  if (process.env.NODE_ENV !== 'production') {
8574
- const validateError = validate$1x(input);
8574
+ const validateError = validate$1y(input);
8575
8575
  if (validateError !== null) {
8576
8576
  throw validateError;
8577
8577
  }
@@ -8664,7 +8664,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8664
8664
  const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
8665
8665
  return (input, path, luvio, store, timestamp) => {
8666
8666
  if (process.env.NODE_ENV !== 'production') {
8667
- const validateError = validate$1v(input);
8667
+ const validateError = validate$1w(input);
8668
8668
  if (validateError !== null) {
8669
8669
  throw validateError;
8670
8670
  }
package/dist/adsBridge.js CHANGED
@@ -375,4 +375,4 @@ function withAdsBridge(callback) {
375
375
  }
376
376
 
377
377
  export { instrument, withAdsBridge };
378
- // version: 1.157.2-6be62a141
378
+ // version: 1.158.1-276f55e03
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.157.2",
3
+ "version": "1.158.1",
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",