@salesforce/lds-adapters-industries-fieldset 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, typeCheckScalars, StoreKeyMap } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -254,10 +254,9 @@ function keyBuilder(luvio, config) {
254
254
  }
255
255
  function typeCheckConfig(untrustedConfig) {
256
256
  const config = {};
257
- const untrustedConfig_objectName = untrustedConfig.objectName;
258
- if (typeof untrustedConfig_objectName === 'string') {
259
- config.objectName = untrustedConfig_objectName;
260
- }
257
+ typeCheckScalars(untrustedConfig, config, {
258
+ objectName: 0 /* String */,
259
+ });
261
260
  return config;
262
261
  }
263
262
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-fieldset",
3
- "version": "1.207.0",
3
+ "version": "1.208.0",
4
4
  "description": "Field Set",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-fieldset.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;
@@ -271,10 +271,9 @@ function keyBuilder(luvio, config) {
271
271
  }
272
272
  function typeCheckConfig(untrustedConfig) {
273
273
  const config = {};
274
- const untrustedConfig_objectName = untrustedConfig.objectName;
275
- if (typeof untrustedConfig_objectName === 'string') {
276
- config.objectName = untrustedConfig_objectName;
277
- }
274
+ typeCheckScalars(untrustedConfig, config, {
275
+ objectName: 0 /* String */,
276
+ });
278
277
  return config;
279
278
  }
280
279
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -421,4 +420,4 @@ withDefaultLuvio((luvio) => {
421
420
  });
422
421
 
423
422
  export { getFieldSets, getFieldSetsNotifyChange, getFieldSets_imperative };
424
- // version: 1.207.0-d542abb81
423
+ // version: 1.208.0-027673bd6