@salesforce/lds-adapters-analytics-wave-private 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$1, create: ObjectCreate$1 } = Object;
@@ -235,10 +235,9 @@ function keyBuilder(luvio, config) {
235
235
  }
236
236
  function typeCheckConfig(untrustedConfig) {
237
237
  const config = {};
238
- const untrustedConfig_query = untrustedConfig.query;
239
- if (typeof untrustedConfig_query === 'string') {
240
- config.query = untrustedConfig_query;
241
- }
238
+ typeCheckScalars(untrustedConfig, config, {
239
+ query: 0 /* String */,
240
+ });
242
241
  return config;
243
242
  }
244
243
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-wave-private",
3
- "version": "1.207.0",
3
+ "version": "1.208.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Einstein Analytics family of APIs that are not publically exposed",
6
6
  "main": "dist/es/es2018/analytics-wave-private.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;
@@ -245,10 +245,9 @@ function keyBuilder(luvio, config) {
245
245
  }
246
246
  function typeCheckConfig(untrustedConfig) {
247
247
  const config = {};
248
- const untrustedConfig_query = untrustedConfig.query;
249
- if (typeof untrustedConfig_query === 'string') {
250
- config.query = untrustedConfig_query;
251
- }
248
+ typeCheckScalars(untrustedConfig, config, {
249
+ query: 0 /* String */,
250
+ });
252
251
  return config;
253
252
  }
254
253
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -358,4 +357,4 @@ withDefaultLuvio((luvio) => {
358
357
  });
359
358
 
360
359
  export { executeSoqlQueryPost, executeSoqlQueryPost_imperative };
361
- // version: 1.207.0-d542abb81
360
+ // version: 1.208.0-027673bd6