@salesforce/lds-adapters-industries-serviceprocess 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, typeCheckScalars, StoreKeyMap } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -339,10 +339,9 @@ function keyBuilder(luvio, config) {
339
339
  }
340
340
  function typeCheckConfig(untrustedConfig) {
341
341
  const config = {};
342
- const untrustedConfig_Id = untrustedConfig.Id;
343
- if (typeof untrustedConfig_Id === 'string') {
344
- config.Id = untrustedConfig_Id;
345
- }
342
+ typeCheckScalars(untrustedConfig, config, {
343
+ Id: 0 /* String */,
344
+ });
346
345
  return config;
347
346
  }
348
347
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-serviceprocess",
3
- "version": "1.206.0",
3
+ "version": "1.208.0",
4
4
  "description": "Connect apis for fetching and updating service processes",
5
5
  "license": "MIT",
6
6
  "main": "dist/es/es2018/industries-serviceprocess.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$1, create: ObjectCreate$1 } = Object;
@@ -349,10 +349,9 @@ function keyBuilder(luvio, config) {
349
349
  }
350
350
  function typeCheckConfig(untrustedConfig) {
351
351
  const config = {};
352
- const untrustedConfig_Id = untrustedConfig.Id;
353
- if (typeof untrustedConfig_Id === 'string') {
354
- config.Id = untrustedConfig_Id;
355
- }
352
+ typeCheckScalars(untrustedConfig, config, {
353
+ Id: 0 /* String */,
354
+ });
356
355
  return config;
357
356
  }
358
357
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -462,4 +461,4 @@ withDefaultLuvio((luvio) => {
462
461
  });
463
462
 
464
463
  export { getCaseServiceProcessLayoutData, getCaseServiceProcessLayoutData_imperative };
465
- // version: 1.206.0-56fe82b41
464
+ // version: 1.208.0-027673bd6