@salesforce/lds-adapters-sales-people-api 1.207.0 → 1.208.1
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/es/es2018/sales-people-api.js +4 -12
- package/package.json +1 -1
- package/sfdc/index.js +5 -13
|
@@ -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, typeCheckArrayOfScalars, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -486,17 +486,9 @@ function keyBuilder(luvio, config) {
|
|
|
486
486
|
}
|
|
487
487
|
function typeCheckConfig(untrustedConfig) {
|
|
488
488
|
const config = {};
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
for (let i = 0, arrayLength = untrustedConfig_emailAddresses.length; i < arrayLength; i++) {
|
|
493
|
-
const untrustedConfig_emailAddresses_item = untrustedConfig_emailAddresses[i];
|
|
494
|
-
if (typeof untrustedConfig_emailAddresses_item === 'string') {
|
|
495
|
-
untrustedConfig_emailAddresses_array.push(untrustedConfig_emailAddresses_item);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
config.emailAddresses = untrustedConfig_emailAddresses_array;
|
|
499
|
-
}
|
|
489
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
490
|
+
emailAddresses: 0 /* String */,
|
|
491
|
+
});
|
|
500
492
|
return config;
|
|
501
493
|
}
|
|
502
494
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
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, typeCheckArrayOfScalars, StoreKeyMap } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -496,17 +496,9 @@ function keyBuilder(luvio, config) {
|
|
|
496
496
|
}
|
|
497
497
|
function typeCheckConfig(untrustedConfig) {
|
|
498
498
|
const config = {};
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
for (let i = 0, arrayLength = untrustedConfig_emailAddresses.length; i < arrayLength; i++) {
|
|
503
|
-
const untrustedConfig_emailAddresses_item = untrustedConfig_emailAddresses[i];
|
|
504
|
-
if (typeof untrustedConfig_emailAddresses_item === 'string') {
|
|
505
|
-
untrustedConfig_emailAddresses_array.push(untrustedConfig_emailAddresses_item);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
config.emailAddresses = untrustedConfig_emailAddresses_array;
|
|
509
|
-
}
|
|
499
|
+
typeCheckArrayOfScalars(untrustedConfig, config, {
|
|
500
|
+
emailAddresses: 0 /* String */,
|
|
501
|
+
});
|
|
510
502
|
return config;
|
|
511
503
|
}
|
|
512
504
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -616,4 +608,4 @@ withDefaultLuvio((luvio) => {
|
|
|
616
608
|
});
|
|
617
609
|
|
|
618
610
|
export { getParsedSignatureData, getParsedSignatureData_imperative };
|
|
619
|
-
// version: 1.
|
|
611
|
+
// version: 1.208.1-9aaa359ad
|