@salesforce/lds-adapters-experience-marketing-integration 1.206.0 → 1.208.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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -437,10 +437,9 @@ function createResourceParams$2(config) {
|
|
|
437
437
|
}
|
|
438
438
|
function typeCheckConfig$2(untrustedConfig) {
|
|
439
439
|
const config = {};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
440
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
441
|
+
siteId: 0 /* String */,
|
|
442
|
+
});
|
|
444
443
|
const untrustedConfig_formInput = untrustedConfig.formInput;
|
|
445
444
|
const referenceFormInputRepresentationValidationError = validate$7(untrustedConfig_formInput);
|
|
446
445
|
if (referenceFormInputRepresentationValidationError === null) {
|
|
@@ -565,14 +564,10 @@ function keyBuilder$1(luvio, config) {
|
|
|
565
564
|
}
|
|
566
565
|
function typeCheckConfig$1(untrustedConfig) {
|
|
567
566
|
const config = {};
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
const untrustedConfig_siteId = untrustedConfig.siteId;
|
|
573
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
574
|
-
config.siteId = untrustedConfig_siteId;
|
|
575
|
-
}
|
|
567
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
568
|
+
formId: 0 /* String */,
|
|
569
|
+
siteId: 0 /* String */,
|
|
570
|
+
});
|
|
576
571
|
return config;
|
|
577
572
|
}
|
|
578
573
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -866,14 +861,10 @@ function createResourceParams(config) {
|
|
|
866
861
|
}
|
|
867
862
|
function typeCheckConfig(untrustedConfig) {
|
|
868
863
|
const config = {};
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
}
|
|
873
|
-
const untrustedConfig_siteId = untrustedConfig.siteId;
|
|
874
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
875
|
-
config.siteId = untrustedConfig_siteId;
|
|
876
|
-
}
|
|
864
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
865
|
+
formId: 0 /* String */,
|
|
866
|
+
siteId: 0 /* String */,
|
|
867
|
+
});
|
|
877
868
|
const untrustedConfig_formSubmissionInput = untrustedConfig.formSubmissionInput;
|
|
878
869
|
const referenceFormSubmissionInputRepresentationValidationError = validate$1(untrustedConfig_formSubmissionInput);
|
|
879
870
|
if (referenceFormSubmissionInputRepresentationValidationError === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-experience-marketing-integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "With this API, you can CRUD data in Marketing Cloud's storage, Data Extensions.",
|
|
6
6
|
"main": "dist/es/es2018/experience-marketing-integration.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -402,14 +402,10 @@ function keyBuilder$1(luvio, config) {
|
|
|
402
402
|
}
|
|
403
403
|
function typeCheckConfig$2(untrustedConfig) {
|
|
404
404
|
const config = {};
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
const untrustedConfig_siteId = untrustedConfig.siteId;
|
|
410
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
411
|
-
config.siteId = untrustedConfig_siteId;
|
|
412
|
-
}
|
|
405
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
406
|
+
formId: 0 /* String */,
|
|
407
|
+
siteId: 0 /* String */,
|
|
408
|
+
});
|
|
413
409
|
return config;
|
|
414
410
|
}
|
|
415
411
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -658,10 +654,9 @@ function createResourceParams$1(config) {
|
|
|
658
654
|
}
|
|
659
655
|
function typeCheckConfig$1(untrustedConfig) {
|
|
660
656
|
const config = {};
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
}
|
|
657
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
658
|
+
siteId: 0 /* String */,
|
|
659
|
+
});
|
|
665
660
|
const untrustedConfig_formInput = untrustedConfig.formInput;
|
|
666
661
|
const referenceFormInputRepresentationValidationError = validate$4(untrustedConfig_formInput);
|
|
667
662
|
if (referenceFormInputRepresentationValidationError === null) {
|
|
@@ -917,14 +912,10 @@ function createResourceParams(config) {
|
|
|
917
912
|
}
|
|
918
913
|
function typeCheckConfig(untrustedConfig) {
|
|
919
914
|
const config = {};
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
const untrustedConfig_siteId = untrustedConfig.siteId;
|
|
925
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
926
|
-
config.siteId = untrustedConfig_siteId;
|
|
927
|
-
}
|
|
915
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
916
|
+
formId: 0 /* String */,
|
|
917
|
+
siteId: 0 /* String */,
|
|
918
|
+
});
|
|
928
919
|
const untrustedConfig_formSubmissionInput = untrustedConfig.formSubmissionInput;
|
|
929
920
|
const referenceFormSubmissionInputRepresentationValidationError = validate$1(untrustedConfig_formSubmissionInput);
|
|
930
921
|
if (referenceFormSubmissionInputRepresentationValidationError === null) {
|
|
@@ -1009,4 +1000,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1009
1000
|
});
|
|
1010
1001
|
|
|
1011
1002
|
export { getForm, getFormNotifyChange, getForm_imperative, saveForm, submitForm };
|
|
1012
|
-
// version: 1.
|
|
1003
|
+
// version: 1.208.0-027673bd6
|