@salesforce/lds-ads-bridge 1.130.9 → 1.131.0-dev10
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 +36 -36
- package/dist/adsBridge.js +1 -1
- package/package.json +3 -3
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -321,7 +321,7 @@ var FragmentReadResultState;
|
|
|
321
321
|
({
|
|
322
322
|
state: FragmentReadResultState.Missing,
|
|
323
323
|
});
|
|
324
|
-
// engine version: 0.138.8-
|
|
324
|
+
// engine version: 0.138.8-244.1-492a715e
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -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.131.0-dev10-b950ecbb3
|
|
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$1U = "d1e589a127fb1060c89070cdb6f500b2";
|
|
5421
|
-
function validate$
|
|
5421
|
+
function validate$1z(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$Z(existing, incoming) {
|
|
|
5510
5510
|
}
|
|
5511
5511
|
|
|
5512
5512
|
const VERSION$1T = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5513
|
-
function validate$
|
|
5513
|
+
function validate$1y(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$1v = (luvio, input, _fullPathFactory) => {
|
|
|
5691
5691
|
|
|
5692
5692
|
const TTL$B = 120000;
|
|
5693
5693
|
const VERSION$1S = "79cb5ac9f44542f683d00245fdfe500d";
|
|
5694
|
-
function validate$
|
|
5694
|
+
function validate$1x(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$X(existing, incoming) {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
const ingest$1s = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5966
5966
|
if (process.env.NODE_ENV !== 'production') {
|
|
5967
|
-
const validateError = validate$
|
|
5967
|
+
const validateError = validate$1x(input);
|
|
5968
5968
|
if (validateError !== null) {
|
|
5969
5969
|
throw validateError;
|
|
5970
5970
|
}
|
|
@@ -6020,7 +6020,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
6020
6020
|
|
|
6021
6021
|
const TTL$A = 30000;
|
|
6022
6022
|
const VERSION$1R = "98c5b18512e48ca8d28727549507e4ba";
|
|
6023
|
-
function validate$
|
|
6023
|
+
function validate$1w(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$1v(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$1z(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$K(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$1y(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$1w(input);
|
|
8649
8649
|
if (validateError !== null) {
|
|
8650
8650
|
throw validateError;
|
|
8651
8651
|
}
|
|
@@ -9403,12 +9403,12 @@ ObjectCreate$1(null);
|
|
|
9403
9403
|
|
|
9404
9404
|
ObjectCreate$1(null);
|
|
9405
9405
|
|
|
9406
|
-
const VERSION$
|
|
9407
|
-
const select$
|
|
9408
|
-
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$
|
|
9406
|
+
const VERSION$J = "53893a219bc0888951863f2c44317cac";
|
|
9407
|
+
const select$W = function LeadStatusPicklistValueAttributesRepresentationSelect() {
|
|
9408
|
+
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$T();
|
|
9409
9409
|
return {
|
|
9410
9410
|
kind: 'Fragment',
|
|
9411
|
-
version: VERSION$
|
|
9411
|
+
version: VERSION$J,
|
|
9412
9412
|
private: [],
|
|
9413
9413
|
selections: [
|
|
9414
9414
|
...AbstractPicklistValueAttributesRepresentationSelections,
|
|
@@ -9420,12 +9420,12 @@ const select$1C = function LeadStatusPicklistValueAttributesRepresentationSelect
|
|
|
9420
9420
|
};
|
|
9421
9421
|
};
|
|
9422
9422
|
|
|
9423
|
-
const VERSION$
|
|
9424
|
-
const select$
|
|
9425
|
-
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$
|
|
9423
|
+
const VERSION$I = "4818ec07c499784571c1012ead048c88";
|
|
9424
|
+
const select$V = function CaseStatusPicklistValueAttributesRepresentationSelect() {
|
|
9425
|
+
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$T();
|
|
9426
9426
|
return {
|
|
9427
9427
|
kind: 'Fragment',
|
|
9428
|
-
version: VERSION$
|
|
9428
|
+
version: VERSION$I,
|
|
9429
9429
|
private: [],
|
|
9430
9430
|
selections: [
|
|
9431
9431
|
...AbstractPicklistValueAttributesRepresentationSelections,
|
|
@@ -9437,12 +9437,12 @@ const select$1B = function CaseStatusPicklistValueAttributesRepresentationSelect
|
|
|
9437
9437
|
};
|
|
9438
9438
|
};
|
|
9439
9439
|
|
|
9440
|
-
const VERSION$
|
|
9441
|
-
const select$
|
|
9442
|
-
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$
|
|
9440
|
+
const VERSION$H = "950a3a962acbd2b128f937d4c055a9d6";
|
|
9441
|
+
const select$U = function OpportunityStagePicklistValueAttributesRepresentationSelect() {
|
|
9442
|
+
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$T();
|
|
9443
9443
|
return {
|
|
9444
9444
|
kind: 'Fragment',
|
|
9445
|
-
version: VERSION$
|
|
9445
|
+
version: VERSION$H,
|
|
9446
9446
|
private: [],
|
|
9447
9447
|
selections: [
|
|
9448
9448
|
...AbstractPicklistValueAttributesRepresentationSelections,
|
|
@@ -9472,11 +9472,11 @@ var DiscriminatorValues$3;
|
|
|
9472
9472
|
DiscriminatorValues["CaseStatus"] = "CaseStatus";
|
|
9473
9473
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
9474
9474
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
9475
|
-
const VERSION$
|
|
9475
|
+
const VERSION$G = "bd523b2343366edfc25a2dbee2c4e986";
|
|
9476
9476
|
const selectChildren$3 = function AbstractPicklistValueAttributesRepresentationSelectChildren() {
|
|
9477
|
-
const leadStatusPicklistValueAttributesRepresentationSelections = select$
|
|
9478
|
-
const caseStatusPicklistValueAttributesRepresentationSelections = select$
|
|
9479
|
-
const opportunityStagePicklistValueAttributesRepresentationSelections = select$
|
|
9477
|
+
const leadStatusPicklistValueAttributesRepresentationSelections = select$W();
|
|
9478
|
+
const caseStatusPicklistValueAttributesRepresentationSelections = select$V();
|
|
9479
|
+
const opportunityStagePicklistValueAttributesRepresentationSelections = select$U();
|
|
9480
9480
|
return {
|
|
9481
9481
|
kind: 'Fragment',
|
|
9482
9482
|
union: true,
|
|
@@ -9488,10 +9488,10 @@ const selectChildren$3 = function AbstractPicklistValueAttributesRepresentationS
|
|
|
9488
9488
|
}
|
|
9489
9489
|
};
|
|
9490
9490
|
};
|
|
9491
|
-
const select$
|
|
9491
|
+
const select$T = function AbstractPicklistValueAttributesRepresentationSelect() {
|
|
9492
9492
|
return {
|
|
9493
9493
|
kind: 'Fragment',
|
|
9494
|
-
version: VERSION$
|
|
9494
|
+
version: VERSION$G,
|
|
9495
9495
|
private: [],
|
|
9496
9496
|
selections: [
|
|
9497
9497
|
{
|
|
@@ -9502,12 +9502,12 @@ const select$1z = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
9502
9502
|
};
|
|
9503
9503
|
};
|
|
9504
9504
|
|
|
9505
|
-
const VERSION$
|
|
9506
|
-
const select$
|
|
9505
|
+
const VERSION$F = "9e2a16a80378487f557124c771201cf9";
|
|
9506
|
+
const select$S = function PicklistValueRepresentationSelect() {
|
|
9507
9507
|
const AbstractPicklistValueAttributesRepresentation__unionSelections = selectChildren$3();
|
|
9508
9508
|
return {
|
|
9509
9509
|
kind: 'Fragment',
|
|
9510
|
-
version: VERSION$
|
|
9510
|
+
version: VERSION$F,
|
|
9511
9511
|
private: [],
|
|
9512
9512
|
selections: [
|
|
9513
9513
|
{
|
|
@@ -9534,12 +9534,12 @@ const select$1y = function PicklistValueRepresentationSelect() {
|
|
|
9534
9534
|
]
|
|
9535
9535
|
};
|
|
9536
9536
|
};
|
|
9537
|
-
const VERSION$
|
|
9538
|
-
const select$
|
|
9539
|
-
const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$
|
|
9537
|
+
const VERSION$E = "0a361a49370acb4c6a31721a2057649a";
|
|
9538
|
+
const select$R = function PicklistValuesRepresentationSelect() {
|
|
9539
|
+
const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$S();
|
|
9540
9540
|
return {
|
|
9541
9541
|
kind: 'Fragment',
|
|
9542
|
-
version: VERSION$
|
|
9542
|
+
version: VERSION$E,
|
|
9543
9543
|
private: [
|
|
9544
9544
|
'eTag'
|
|
9545
9545
|
],
|
|
@@ -9569,7 +9569,7 @@ const select$1x = function PicklistValuesRepresentationSelect() {
|
|
|
9569
9569
|
};
|
|
9570
9570
|
};
|
|
9571
9571
|
|
|
9572
|
-
select$
|
|
9572
|
+
select$R().selections;
|
|
9573
9573
|
|
|
9574
9574
|
var DiscriminatorValues$2;
|
|
9575
9575
|
(function (DiscriminatorValues) {
|
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.131.0-dev10",
|
|
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": "
|
|
33
|
-
"@salesforce/lds-uiapi-record-utils": "
|
|
32
|
+
"@salesforce/lds-adapters-uiapi": "1.131.0-dev10",
|
|
33
|
+
"@salesforce/lds-uiapi-record-utils": "1.131.0-dev10"
|
|
34
34
|
}
|
|
35
35
|
}
|