@salesforce/lds-ads-bridge 1.275.0 → 1.277.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.
@@ -431,7 +431,7 @@ function createResourceParamsImpl(config, configMetadata) {
431
431
  }
432
432
  return resourceParams;
433
433
  }
434
- // engine version: 0.154.11-e144742b
434
+ // engine version: 0.154.12-43ac02c6
435
435
 
436
436
  /**
437
437
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -479,7 +479,7 @@ const callbacks$1 = [];
479
479
  function register(r) {
480
480
  callbacks$1.forEach((callback) => callback(r));
481
481
  }
482
- // version: 1.275.0-c8b3e2f72
482
+ // version: 1.277.0-8575d97fd
483
483
 
484
484
  /**
485
485
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4921,7 +4921,7 @@ function toSortedStringArray(value) {
4921
4921
  }
4922
4922
 
4923
4923
  const VERSION$2l = "d1e589a127fb1060c89070cdb6f500b2";
4924
- function validate$1S(obj, path = 'RecordTypeInfoRepresentation') {
4924
+ function validate$1T(obj, path = 'RecordTypeInfoRepresentation') {
4925
4925
  const v_error = (() => {
4926
4926
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4927
4927
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5013,7 +5013,7 @@ function equals$16(existing, incoming) {
5013
5013
  }
5014
5014
 
5015
5015
  const VERSION$2k = "195d918987a35f45e1aa4dce9a11d8c5";
5016
- function validate$1R(obj, path = 'FieldValueRepresentation') {
5016
+ function validate$1S(obj, path = 'FieldValueRepresentation') {
5017
5017
  const v_error = (() => {
5018
5018
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5019
5019
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5182,7 +5182,7 @@ const getTypeCacheKeys$1_ = (rootKeySet, luvio, input, _fullPathFactory) => {
5182
5182
 
5183
5183
  const TTL$E = 120000;
5184
5184
  const VERSION$2j = "79cb5ac9f44542f683d00245fdfe500d";
5185
- function validate$1Q(obj, path = 'RecordCollectionRepresentation') {
5185
+ function validate$1R(obj, path = 'RecordCollectionRepresentation') {
5186
5186
  const v_error = (() => {
5187
5187
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5188
5188
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5455,7 +5455,7 @@ function equals$14(existing, incoming) {
5455
5455
  }
5456
5456
  const ingest$1W = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5457
5457
  if (process.env.NODE_ENV !== 'production') {
5458
- const validateError = validate$1Q(input);
5458
+ const validateError = validate$1R(input);
5459
5459
  if (validateError !== null) {
5460
5460
  throw validateError;
5461
5461
  }
@@ -5491,7 +5491,7 @@ const keyBuilderFromType$D = function RecordRepresentationKeyBuilderFromType(luv
5491
5491
 
5492
5492
  const TTL$D = 30000;
5493
5493
  const VERSION$2i = "98c5b18512e48ca8d28727549507e4ba";
5494
- function validate$1P(obj, path = 'RecordRepresentation') {
5494
+ function validate$1Q(obj, path = 'RecordRepresentation') {
5495
5495
  const v_error = (() => {
5496
5496
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5497
5497
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5621,7 +5621,7 @@ function validate$1P(obj, path = 'RecordRepresentation') {
5621
5621
  const path_recordTypeInfo = path + '.recordTypeInfo';
5622
5622
  let obj_recordTypeInfo_union0 = null;
5623
5623
  const obj_recordTypeInfo_union0_error = (() => {
5624
- const referencepath_recordTypeInfoValidationError = validate$1S(obj_recordTypeInfo, path_recordTypeInfo);
5624
+ const referencepath_recordTypeInfoValidationError = validate$1T(obj_recordTypeInfo, path_recordTypeInfo);
5625
5625
  if (referencepath_recordTypeInfoValidationError !== null) {
5626
5626
  let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
5627
5627
  message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8079,7 +8079,7 @@ function normalize$R(input, existing, path, luvio, store, timestamp, fieldsTrie,
8079
8079
  function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
8080
8080
  return (input, path, luvio, store, timestamp) => {
8081
8081
  if (process.env.NODE_ENV !== 'production') {
8082
- const validateError = validate$1R(input);
8082
+ const validateError = validate$1S(input);
8083
8083
  if (validateError !== null) {
8084
8084
  throw validateError;
8085
8085
  }
@@ -8172,7 +8172,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8172
8172
  const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
8173
8173
  return (input, path, luvio, store, timestamp) => {
8174
8174
  if (process.env.NODE_ENV !== 'production') {
8175
- const validateError = validate$1P(input);
8175
+ const validateError = validate$1Q(input);
8176
8176
  if (validateError !== null) {
8177
8177
  throw validateError;
8178
8178
  }
@@ -8913,9 +8913,9 @@ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
8913
8913
  ],
8914
8914
  },
8915
8915
  });
8916
- const RepresentationType$U = 'ObjectInfoRepresentation';
8917
- function keyBuilder$31(luvio, config) {
8918
- return keyPrefix + '::' + RepresentationType$U + ':' + config.apiName;
8916
+ const RepresentationType$S = 'ObjectInfoRepresentation';
8917
+ function keyBuilder$2$(luvio, config) {
8918
+ return keyPrefix + '::' + RepresentationType$S + ':' + config.apiName;
8919
8919
  }
8920
8920
 
8921
8921
  var DiscriminatorValues$5;
@@ -9276,7 +9276,7 @@ function getShallowRecord(luvio, storeRecordId) {
9276
9276
  */
9277
9277
  function getObjectMetadata(luvio, record) {
9278
9278
  const { data: objectInfo } = luvio.storeLookup({
9279
- recordId: keyBuilder$31(luvio, { apiName: record.apiName }),
9279
+ recordId: keyBuilder$2$(luvio, { apiName: record.apiName }),
9280
9280
  node: {
9281
9281
  kind: 'Fragment',
9282
9282
  private: ['eTag'],
package/dist/adsBridge.js CHANGED
@@ -371,4 +371,4 @@ function withAdsBridge(callback) {
371
371
  }
372
372
 
373
373
  export { instrument, withAdsBridge };
374
- // version: 1.275.0-c8b3e2f72
374
+ // version: 1.277.0-8575d97fd
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.275.0",
3
+ "version": "1.277.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",
@@ -29,7 +29,7 @@
29
29
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
30
30
  },
31
31
  "devDependencies": {
32
- "@salesforce/lds-adapters-uiapi": "^1.275.0",
33
- "@salesforce/lds-uiapi-record-utils": "^1.275.0"
32
+ "@salesforce/lds-adapters-uiapi": "^1.277.0",
33
+ "@salesforce/lds-uiapi-record-utils": "^1.277.0"
34
34
  }
35
35
  }