@salesforce/lds-ads-bridge 1.103.1 → 1.105.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 +9 -9
- package/dist/adsBridge.js +1 -1
- package/package.json +3 -3
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -368,7 +368,7 @@ const callbacks$1 = [];
|
|
|
368
368
|
function register(r) {
|
|
369
369
|
callbacks$1.forEach((callback) => callback(r));
|
|
370
370
|
}
|
|
371
|
-
// version: 1.
|
|
371
|
+
// version: 1.105.0-00d93eb91
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -5418,7 +5418,7 @@ function createLink$1(ref) {
|
|
|
5418
5418
|
}
|
|
5419
5419
|
|
|
5420
5420
|
const VERSION$1T = "d1e589a127fb1060c89070cdb6f500b2";
|
|
5421
|
-
function validate$
|
|
5421
|
+
function validate$1x(obj, path = 'RecordTypeInfoRepresentation') {
|
|
5422
5422
|
const v_error = (() => {
|
|
5423
5423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5424
5424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5510,7 +5510,7 @@ function equals$Y(existing, incoming) {
|
|
|
5510
5510
|
}
|
|
5511
5511
|
|
|
5512
5512
|
const VERSION$1S = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5513
|
-
function validate$
|
|
5513
|
+
function validate$1w(obj, path = 'FieldValueRepresentation') {
|
|
5514
5514
|
const v_error = (() => {
|
|
5515
5515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5516
5516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5691,7 +5691,7 @@ const getTypeCacheKeys$1u = (luvio, input, _fullPathFactory) => {
|
|
|
5691
5691
|
|
|
5692
5692
|
const TTL$z = 120000;
|
|
5693
5693
|
const VERSION$1R = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5694
|
-
function validate$
|
|
5694
|
+
function validate$1v(obj, path = 'RecordCollectionRepresentation') {
|
|
5695
5695
|
const v_error = (() => {
|
|
5696
5696
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5697
5697
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5964,7 +5964,7 @@ function equals$W(existing, incoming) {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
const ingest$1r = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5966
5966
|
if (process.env.NODE_ENV !== 'production') {
|
|
5967
|
-
const validateError = validate$
|
|
5967
|
+
const validateError = validate$1v(input);
|
|
5968
5968
|
if (validateError !== null) {
|
|
5969
5969
|
throw validateError;
|
|
5970
5970
|
}
|
|
@@ -6020,7 +6020,7 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
6020
6020
|
|
|
6021
6021
|
const TTL$y = 30000;
|
|
6022
6022
|
const VERSION$1Q = "98c5b18512e48ca8d28727549507e4ba";
|
|
6023
|
-
function validate$
|
|
6023
|
+
function validate$1u(obj, path = 'RecordRepresentation') {
|
|
6024
6024
|
const v_error = (() => {
|
|
6025
6025
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6026
6026
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6150,7 +6150,7 @@ function validate$1t(obj, path = 'RecordRepresentation') {
|
|
|
6150
6150
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
6151
6151
|
let obj_recordTypeInfo_union0 = null;
|
|
6152
6152
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
6153
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
6153
|
+
const referencepath_recordTypeInfoValidationError = validate$1x(obj_recordTypeInfo, path_recordTypeInfo);
|
|
6154
6154
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
6155
6155
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
6156
6156
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8552,7 +8552,7 @@ function normalize$J(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
8552
8552
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
8553
8553
|
return (input, path, luvio, store, timestamp) => {
|
|
8554
8554
|
if (process.env.NODE_ENV !== 'production') {
|
|
8555
|
-
const validateError = validate$
|
|
8555
|
+
const validateError = validate$1w(input);
|
|
8556
8556
|
if (validateError !== null) {
|
|
8557
8557
|
throw validateError;
|
|
8558
8558
|
}
|
|
@@ -8645,7 +8645,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8645
8645
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
8646
8646
|
return (input, path, luvio, store, timestamp) => {
|
|
8647
8647
|
if (process.env.NODE_ENV !== 'production') {
|
|
8648
|
-
const validateError = validate$
|
|
8648
|
+
const validateError = validate$1u(input);
|
|
8649
8649
|
if (validateError !== null) {
|
|
8650
8650
|
throw validateError;
|
|
8651
8651
|
}
|
package/dist/adsBridge.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-ads-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.105.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
28
|
-
"@salesforce/lds-uiapi-record-utils": "^1.
|
|
27
|
+
"@salesforce/lds-adapters-uiapi": "^1.105.0",
|
|
28
|
+
"@salesforce/lds-uiapi-record-utils": "^1.105.0"
|
|
29
29
|
}
|
|
30
30
|
}
|