@salesforce/lds-ads-bridge 1.309.0-dev14 → 1.309.0-dev15
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
|
@@ -481,7 +481,7 @@ const callbacks$1 = [];
|
|
|
481
481
|
function register(r) {
|
|
482
482
|
callbacks$1.forEach((callback) => callback(r));
|
|
483
483
|
}
|
|
484
|
-
// version: 1.309.0-
|
|
484
|
+
// version: 1.309.0-dev15-f211d80f81
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -4976,7 +4976,7 @@ function toSortedStringArray(value) {
|
|
|
4976
4976
|
}
|
|
4977
4977
|
|
|
4978
4978
|
const VERSION$2L = "d1e589a127fb1060c89070cdb6f500b2";
|
|
4979
|
-
function validate$
|
|
4979
|
+
function validate$20(obj, path = 'RecordTypeInfoRepresentation') {
|
|
4980
4980
|
const v_error = (() => {
|
|
4981
4981
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4982
4982
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5068,7 +5068,7 @@ function equals$1a(existing, incoming) {
|
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
5070
|
const VERSION$2K = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5071
|
-
function validate$
|
|
5071
|
+
function validate$1$(obj, path = 'FieldValueRepresentation') {
|
|
5072
5072
|
const v_error = (() => {
|
|
5073
5073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5074
5074
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5237,7 +5237,7 @@ const getTypeCacheKeys$2l = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
5237
5237
|
|
|
5238
5238
|
const TTL$G = 120000;
|
|
5239
5239
|
const VERSION$2J = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5240
|
-
function validate$
|
|
5240
|
+
function validate$1_(obj, path = 'RecordCollectionRepresentation') {
|
|
5241
5241
|
const v_error = (() => {
|
|
5242
5242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5243
5243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5510,7 +5510,7 @@ function equals$18(existing, incoming) {
|
|
|
5510
5510
|
}
|
|
5511
5511
|
const ingest$2h = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5512
5512
|
if (process.env.NODE_ENV !== 'production') {
|
|
5513
|
-
const validateError = validate$
|
|
5513
|
+
const validateError = validate$1_(input);
|
|
5514
5514
|
if (validateError !== null) {
|
|
5515
5515
|
throw validateError;
|
|
5516
5516
|
}
|
|
@@ -5546,7 +5546,7 @@ const keyBuilderFromType$E = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
5546
5546
|
|
|
5547
5547
|
const TTL$F = 30000;
|
|
5548
5548
|
const VERSION$2I = "98c5b18512e48ca8d28727549507e4ba";
|
|
5549
|
-
function validate$
|
|
5549
|
+
function validate$1Z(obj, path = 'RecordRepresentation') {
|
|
5550
5550
|
const v_error = (() => {
|
|
5551
5551
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5552
5552
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5676,7 +5676,7 @@ function validate$1Y(obj, path = 'RecordRepresentation') {
|
|
|
5676
5676
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
5677
5677
|
let obj_recordTypeInfo_union0 = null;
|
|
5678
5678
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
5679
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
5679
|
+
const referencepath_recordTypeInfoValidationError = validate$20(obj_recordTypeInfo, path_recordTypeInfo);
|
|
5680
5680
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
5681
5681
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
5682
5682
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8134,7 +8134,7 @@ function normalize$S(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
8134
8134
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
8135
8135
|
return (input, path, luvio, store, timestamp) => {
|
|
8136
8136
|
if (process.env.NODE_ENV !== 'production') {
|
|
8137
|
-
const validateError = validate$
|
|
8137
|
+
const validateError = validate$1$(input);
|
|
8138
8138
|
if (validateError !== null) {
|
|
8139
8139
|
throw validateError;
|
|
8140
8140
|
}
|
|
@@ -8227,7 +8227,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8227
8227
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
8228
8228
|
return (input, path, luvio, store, timestamp) => {
|
|
8229
8229
|
if (process.env.NODE_ENV !== 'production') {
|
|
8230
|
-
const validateError = validate$
|
|
8230
|
+
const validateError = validate$1Z(input);
|
|
8231
8231
|
if (validateError !== null) {
|
|
8232
8232
|
throw validateError;
|
|
8233
8233
|
}
|
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.309.0-
|
|
3
|
+
"version": "1.309.0-dev15",
|
|
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",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@salesforce/lds-adapters-uiapi": "^1.309.0-
|
|
34
|
-
"@salesforce/lds-uiapi-record-utils-mobile": "^1.309.0-
|
|
33
|
+
"@salesforce/lds-adapters-uiapi": "^1.309.0-dev15",
|
|
34
|
+
"@salesforce/lds-uiapi-record-utils-mobile": "^1.309.0-dev15"
|
|
35
35
|
},
|
|
36
36
|
"volta": {
|
|
37
37
|
"extends": "../../package.json"
|