@salesforce/lds-adapters-analytics-tableau-embedding 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/analytics-tableau-embedding.js +11 -25
- package/package.json +1 -1
- package/sfdc/index.js +12 -26
|
@@ -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;
|
|
@@ -456,18 +456,11 @@ function keyBuilder$1(luvio, config) {
|
|
|
456
456
|
}
|
|
457
457
|
function typeCheckConfig$1(untrustedConfig) {
|
|
458
458
|
const config = {};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
465
|
-
config.siteId = untrustedConfig_siteId;
|
|
466
|
-
}
|
|
467
|
-
const untrustedConfig_tabUrl = untrustedConfig.tabUrl;
|
|
468
|
-
if (typeof untrustedConfig_tabUrl === 'string') {
|
|
469
|
-
config.tabUrl = untrustedConfig_tabUrl;
|
|
470
|
-
}
|
|
459
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
460
|
+
cb: 0 /* String */,
|
|
461
|
+
siteId: 0 /* String */,
|
|
462
|
+
tabUrl: 0 /* String */,
|
|
463
|
+
});
|
|
471
464
|
return config;
|
|
472
465
|
}
|
|
473
466
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -730,18 +723,11 @@ function createResourceParams(config) {
|
|
|
730
723
|
}
|
|
731
724
|
function typeCheckConfig(untrustedConfig) {
|
|
732
725
|
const config = {};
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
739
|
-
config.siteId = untrustedConfig_siteId;
|
|
740
|
-
}
|
|
741
|
-
const untrustedConfig_tabUrl = untrustedConfig.tabUrl;
|
|
742
|
-
if (typeof untrustedConfig_tabUrl === 'string') {
|
|
743
|
-
config.tabUrl = untrustedConfig_tabUrl;
|
|
744
|
-
}
|
|
726
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
727
|
+
cb: 0 /* String */,
|
|
728
|
+
siteId: 0 /* String */,
|
|
729
|
+
tabUrl: 0 /* String */,
|
|
730
|
+
});
|
|
745
731
|
return config;
|
|
746
732
|
}
|
|
747
733
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-tableau-embedding",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.1",
|
|
4
4
|
"description": "The APIs in this family are supporting embedding of Tableau vizualizations into Salesforce.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/es/es2018/analytics-tableau-embedding.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;
|
|
@@ -466,18 +466,11 @@ function keyBuilder$1(luvio, config) {
|
|
|
466
466
|
}
|
|
467
467
|
function typeCheckConfig$1(untrustedConfig) {
|
|
468
468
|
const config = {};
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
475
|
-
config.siteId = untrustedConfig_siteId;
|
|
476
|
-
}
|
|
477
|
-
const untrustedConfig_tabUrl = untrustedConfig.tabUrl;
|
|
478
|
-
if (typeof untrustedConfig_tabUrl === 'string') {
|
|
479
|
-
config.tabUrl = untrustedConfig_tabUrl;
|
|
480
|
-
}
|
|
469
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
470
|
+
cb: 0 /* String */,
|
|
471
|
+
siteId: 0 /* String */,
|
|
472
|
+
tabUrl: 0 /* String */,
|
|
473
|
+
});
|
|
481
474
|
return config;
|
|
482
475
|
}
|
|
483
476
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -728,18 +721,11 @@ function createResourceParams(config) {
|
|
|
728
721
|
}
|
|
729
722
|
function typeCheckConfig(untrustedConfig) {
|
|
730
723
|
const config = {};
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
if (typeof untrustedConfig_siteId === 'string') {
|
|
737
|
-
config.siteId = untrustedConfig_siteId;
|
|
738
|
-
}
|
|
739
|
-
const untrustedConfig_tabUrl = untrustedConfig.tabUrl;
|
|
740
|
-
if (typeof untrustedConfig_tabUrl === 'string') {
|
|
741
|
-
config.tabUrl = untrustedConfig_tabUrl;
|
|
742
|
-
}
|
|
724
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
725
|
+
cb: 0 /* String */,
|
|
726
|
+
siteId: 0 /* String */,
|
|
727
|
+
tabUrl: 0 /* String */,
|
|
728
|
+
});
|
|
743
729
|
return config;
|
|
744
730
|
}
|
|
745
731
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -816,4 +802,4 @@ withDefaultLuvio((luvio) => {
|
|
|
816
802
|
});
|
|
817
803
|
|
|
818
804
|
export { getEAS, getEAS_imperative, getJWT, getJWT_imperative, postJWT };
|
|
819
|
-
// version: 1.
|
|
805
|
+
// version: 1.208.1-9aaa359ad
|