@salesforce/lds-adapters-sales-enablement-program 1.207.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;
@@ -1496,10 +1496,9 @@ function keyBuilder(luvio, config) {
1496
1496
  }
1497
1497
  function typeCheckConfig(untrustedConfig) {
1498
1498
  const config = {};
1499
- const untrustedConfig_programTemplateName = untrustedConfig.programTemplateName;
1500
- if (typeof untrustedConfig_programTemplateName === 'string') {
1501
- config.programTemplateName = untrustedConfig_programTemplateName;
1502
- }
1499
+ typeCheckScalars(untrustedConfig, config, {
1500
+ programTemplateName: 0 /* String */,
1501
+ });
1503
1502
  return config;
1504
1503
  }
1505
1504
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-sales-enablement-program",
3
- "version": "1.207.0",
3
+ "version": "1.208.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "This set of adapters are used to interface and communicate with the connect-api for specific operations on sales enablement program.",
6
6
  "main": "dist/es/es2018/sales-enablement-program.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, typeCheckScalars, StoreKeyMap } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -1190,10 +1190,9 @@ function keyBuilder$2(luvio, config) {
1190
1190
  }
1191
1191
  function typeCheckConfig$1(untrustedConfig) {
1192
1192
  const config = {};
1193
- const untrustedConfig_programTemplateName = untrustedConfig.programTemplateName;
1194
- if (typeof untrustedConfig_programTemplateName === 'string') {
1195
- config.programTemplateName = untrustedConfig_programTemplateName;
1196
- }
1193
+ typeCheckScalars(untrustedConfig, config, {
1194
+ programTemplateName: 0 /* String */,
1195
+ });
1197
1196
  return config;
1198
1197
  }
1199
1198
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -1627,4 +1626,4 @@ withDefaultLuvio((luvio) => {
1627
1626
  });
1628
1627
 
1629
1628
  export { getProgramTemplate, getProgramTemplate_imperative, getProgramTemplates, getProgramTemplates_imperative };
1630
- // version: 1.207.0-d542abb81
1629
+ // version: 1.208.0-027673bd6