@salesforce/lds-ads-bridge 1.278.0 → 1.280.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 +20 -10
- package/dist/adsBridge.js +2 -2
- package/package.json +3 -3
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -431,7 +431,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
431
431
|
}
|
|
432
432
|
return resourceParams;
|
|
433
433
|
}
|
|
434
|
-
// engine version: 0.154.
|
|
434
|
+
// engine version: 0.154.14-2fbbff64
|
|
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.
|
|
482
|
+
// version: 1.280.0-92c104b03
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
485
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -4431,6 +4431,10 @@ keyMap(specifiedScalarTypes.concat(introspectionTypes), function (type) {
|
|
|
4431
4431
|
/**
|
|
4432
4432
|
* Defines configuration for the module with a default value which can be overridden by the runtime environment.
|
|
4433
4433
|
*/
|
|
4434
|
+
/**
|
|
4435
|
+
* Environment Aware GraphQLBatch adapter
|
|
4436
|
+
*/
|
|
4437
|
+
let environmentAwareGraphQLBatchAdapter = undefined;
|
|
4434
4438
|
/**
|
|
4435
4439
|
* Draft-aware GraphQL adapter
|
|
4436
4440
|
*/
|
|
@@ -4557,6 +4561,12 @@ const configurationForGraphQLAdapters = {
|
|
|
4557
4561
|
getDraftAwareGraphQLAdapter: function () {
|
|
4558
4562
|
return draftAwareGraphQLAdapter;
|
|
4559
4563
|
},
|
|
4564
|
+
setEnvironmentAwareGraphQLBatchAdapter: function (adapter) {
|
|
4565
|
+
environmentAwareGraphQLBatchAdapter = adapter;
|
|
4566
|
+
},
|
|
4567
|
+
getEnvironmentAwareGraphQLBatchAdapter: function () {
|
|
4568
|
+
return environmentAwareGraphQLBatchAdapter;
|
|
4569
|
+
},
|
|
4560
4570
|
};
|
|
4561
4571
|
const registrations = new Set();
|
|
4562
4572
|
/**
|
|
@@ -4921,7 +4931,7 @@ function toSortedStringArray(value) {
|
|
|
4921
4931
|
}
|
|
4922
4932
|
|
|
4923
4933
|
const VERSION$2l = "d1e589a127fb1060c89070cdb6f500b2";
|
|
4924
|
-
function validate$
|
|
4934
|
+
function validate$1W(obj, path = 'RecordTypeInfoRepresentation') {
|
|
4925
4935
|
const v_error = (() => {
|
|
4926
4936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4927
4937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5013,7 +5023,7 @@ function equals$16(existing, incoming) {
|
|
|
5013
5023
|
}
|
|
5014
5024
|
|
|
5015
5025
|
const VERSION$2k = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5016
|
-
function validate$
|
|
5026
|
+
function validate$1V(obj, path = 'FieldValueRepresentation') {
|
|
5017
5027
|
const v_error = (() => {
|
|
5018
5028
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5019
5029
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5182,7 +5192,7 @@ const getTypeCacheKeys$1_ = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
5182
5192
|
|
|
5183
5193
|
const TTL$E = 120000;
|
|
5184
5194
|
const VERSION$2j = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5185
|
-
function validate$
|
|
5195
|
+
function validate$1U(obj, path = 'RecordCollectionRepresentation') {
|
|
5186
5196
|
const v_error = (() => {
|
|
5187
5197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5188
5198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5455,7 +5465,7 @@ function equals$14(existing, incoming) {
|
|
|
5455
5465
|
}
|
|
5456
5466
|
const ingest$1W = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5457
5467
|
if (process.env.NODE_ENV !== 'production') {
|
|
5458
|
-
const validateError = validate$
|
|
5468
|
+
const validateError = validate$1U(input);
|
|
5459
5469
|
if (validateError !== null) {
|
|
5460
5470
|
throw validateError;
|
|
5461
5471
|
}
|
|
@@ -5491,7 +5501,7 @@ const keyBuilderFromType$D = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
5491
5501
|
|
|
5492
5502
|
const TTL$D = 30000;
|
|
5493
5503
|
const VERSION$2i = "98c5b18512e48ca8d28727549507e4ba";
|
|
5494
|
-
function validate$
|
|
5504
|
+
function validate$1T(obj, path = 'RecordRepresentation') {
|
|
5495
5505
|
const v_error = (() => {
|
|
5496
5506
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5497
5507
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5621,7 +5631,7 @@ function validate$1Q(obj, path = 'RecordRepresentation') {
|
|
|
5621
5631
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
5622
5632
|
let obj_recordTypeInfo_union0 = null;
|
|
5623
5633
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
5624
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
5634
|
+
const referencepath_recordTypeInfoValidationError = validate$1W(obj_recordTypeInfo, path_recordTypeInfo);
|
|
5625
5635
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
5626
5636
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
5627
5637
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8079,7 +8089,7 @@ function normalize$R(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
8079
8089
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
8080
8090
|
return (input, path, luvio, store, timestamp) => {
|
|
8081
8091
|
if (process.env.NODE_ENV !== 'production') {
|
|
8082
|
-
const validateError = validate$
|
|
8092
|
+
const validateError = validate$1V(input);
|
|
8083
8093
|
if (validateError !== null) {
|
|
8084
8094
|
throw validateError;
|
|
8085
8095
|
}
|
|
@@ -8172,7 +8182,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8172
8182
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
8173
8183
|
return (input, path, luvio, store, timestamp) => {
|
|
8174
8184
|
if (process.env.NODE_ENV !== 'production') {
|
|
8175
|
-
const validateError = validate$
|
|
8185
|
+
const validateError = validate$1T(input);
|
|
8176
8186
|
if (validateError !== null) {
|
|
8177
8187
|
throw validateError;
|
|
8178
8188
|
}
|
package/dist/adsBridge.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/*
|
|
7
|
+
/*
|
|
8
8
|
* ATTENTION!
|
|
9
9
|
* THIS IS A GENERATED FILE FROM https://github.com/salesforce-experience-platform-emu/lds-lightning-platform
|
|
10
10
|
* If you would like to contribute to LDS, please follow the steps outlined in the git repo.
|
|
@@ -371,4 +371,4 @@ function withAdsBridge(callback) {
|
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
export { instrument, withAdsBridge };
|
|
374
|
-
// version: 1.
|
|
374
|
+
// version: 1.280.0-92c104b03
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-ads-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.280.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.
|
|
33
|
-
"@salesforce/lds-uiapi-record-utils": "^1.
|
|
32
|
+
"@salesforce/lds-adapters-uiapi": "^1.280.0",
|
|
33
|
+
"@salesforce/lds-uiapi-record-utils": "^1.280.0"
|
|
34
34
|
}
|
|
35
35
|
}
|