@salesforce/lds-ads-bridge 1.266.0-dev3 → 1.266.0-dev5
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
|
@@ -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.266.0-
|
|
481
|
+
// version: 1.266.0-dev5-77d43302a
|
|
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$
|
|
4923
|
+
function validate$1R(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$
|
|
5015
|
+
function validate$1Q(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$1Y = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
5181
5181
|
|
|
5182
5182
|
const TTL$E = 120000;
|
|
5183
5183
|
const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5184
|
-
function validate$
|
|
5184
|
+
function validate$1P(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$
|
|
5457
|
+
const validateError = validate$1P(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$D = 30000;
|
|
5492
5492
|
const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
|
|
5493
|
-
function validate$
|
|
5493
|
+
function validate$1O(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$1N(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$
|
|
5623
|
+
const referencepath_recordTypeInfoValidationError = validate$1R(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');
|
|
@@ -8078,7 +8078,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
8078
8078
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
8079
8079
|
return (input, path, luvio, store, timestamp) => {
|
|
8080
8080
|
if (process.env.NODE_ENV !== 'production') {
|
|
8081
|
-
const validateError = validate$
|
|
8081
|
+
const validateError = validate$1Q(input);
|
|
8082
8082
|
if (validateError !== null) {
|
|
8083
8083
|
throw validateError;
|
|
8084
8084
|
}
|
|
@@ -8171,7 +8171,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8171
8171
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
8172
8172
|
return (input, path, luvio, store, timestamp) => {
|
|
8173
8173
|
if (process.env.NODE_ENV !== 'production') {
|
|
8174
|
-
const validateError = validate$
|
|
8174
|
+
const validateError = validate$1O(input);
|
|
8175
8175
|
if (validateError !== null) {
|
|
8176
8176
|
throw validateError;
|
|
8177
8177
|
}
|
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.266.0-
|
|
3
|
+
"version": "1.266.0-dev5",
|
|
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.266.0-
|
|
33
|
-
"@salesforce/lds-uiapi-record-utils": "^1.266.0-
|
|
32
|
+
"@salesforce/lds-adapters-uiapi": "^1.266.0-dev5",
|
|
33
|
+
"@salesforce/lds-uiapi-record-utils": "^1.266.0-dev5"
|
|
34
34
|
}
|
|
35
35
|
}
|