@thoughtspot/visual-embed-sdk 1.36.1 → 1.36.2
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/cjs/package.json +1 -1
- package/cjs/src/auth.d.ts.map +1 -1
- package/cjs/src/auth.js +2 -1
- package/cjs/src/auth.js.map +1 -1
- package/cjs/src/embed/base.d.ts.map +1 -1
- package/cjs/src/embed/base.js +2 -2
- package/cjs/src/embed/base.js.map +1 -1
- package/cjs/src/embed/base.spec.js +24 -0
- package/cjs/src/embed/base.spec.js.map +1 -1
- package/cjs/src/utils/resetServices.d.ts +8 -0
- package/cjs/src/utils/resetServices.d.ts.map +1 -0
- package/cjs/src/utils/resetServices.js +18 -0
- package/cjs/src/utils/resetServices.js.map +1 -0
- package/cjs/src/utils/resetServices.spec.d.ts +2 -0
- package/cjs/src/utils/resetServices.spec.d.ts.map +1 -0
- package/cjs/src/utils/resetServices.spec.js +18 -0
- package/cjs/src/utils/resetServices.spec.js.map +1 -0
- package/cjs/src/utils/sessionInfoService.d.ts +14 -2
- package/cjs/src/utils/sessionInfoService.d.ts.map +1 -1
- package/cjs/src/utils/sessionInfoService.js +18 -3
- package/cjs/src/utils/sessionInfoService.js.map +1 -1
- package/dist/index-DpuhnTj2.js +7370 -0
- package/dist/src/auth.d.ts.map +1 -1
- package/dist/src/embed/base.d.ts.map +1 -1
- package/dist/src/utils/resetServices.d.ts +8 -0
- package/dist/src/utils/resetServices.d.ts.map +1 -0
- package/dist/src/utils/resetServices.spec.d.ts +2 -0
- package/dist/src/utils/resetServices.spec.d.ts.map +1 -0
- package/dist/src/utils/sessionInfoService.d.ts +14 -2
- package/dist/src/utils/sessionInfoService.d.ts.map +1 -1
- package/dist/tsembed-react.es.js +5 -4
- package/dist/tsembed-react.js +4 -3
- package/dist/tsembed.es.js +46 -7
- package/dist/tsembed.js +45 -6
- package/dist/visual-embed-sdk-react-full.d.ts +14 -2
- package/dist/visual-embed-sdk-react.d.ts +14 -2
- package/dist/visual-embed-sdk.d.ts +14 -2
- package/lib/package.json +1 -1
- package/lib/src/auth.d.ts.map +1 -1
- package/lib/src/auth.js +3 -2
- package/lib/src/auth.js.map +1 -1
- package/lib/src/embed/base.d.ts.map +1 -1
- package/lib/src/embed/base.js +2 -2
- package/lib/src/embed/base.js.map +1 -1
- package/lib/src/embed/base.spec.js +24 -0
- package/lib/src/embed/base.spec.js.map +1 -1
- package/lib/src/utils/resetServices.d.ts +8 -0
- package/lib/src/utils/resetServices.d.ts.map +1 -0
- package/lib/src/utils/resetServices.js +14 -0
- package/lib/src/utils/resetServices.js.map +1 -0
- package/lib/src/utils/resetServices.spec.d.ts +2 -0
- package/lib/src/utils/resetServices.spec.d.ts.map +1 -0
- package/lib/src/utils/resetServices.spec.js +15 -0
- package/lib/src/utils/resetServices.spec.js.map +1 -0
- package/lib/src/utils/sessionInfoService.d.ts +14 -2
- package/lib/src/utils/sessionInfoService.d.ts.map +1 -1
- package/lib/src/utils/sessionInfoService.js +16 -2
- package/lib/src/utils/sessionInfoService.js.map +1 -1
- package/lib/src/visual-embed-sdk.d.ts +14 -2
- package/package.json +1 -1
- package/src/auth.ts +3 -2
- package/src/embed/base.spec.ts +26 -0
- package/src/embed/base.ts +2 -2
- package/src/utils/resetServices.spec.ts +15 -0
- package/src/utils/resetServices.ts +14 -0
- package/src/utils/sessionInfoService.ts +17 -2
package/dist/src/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["auth.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAIzC,OAAO,EACoB,WAAW,EACrC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["auth.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAIzC,OAAO,EACoB,WAAW,EACrC,MAAM,SAAS,CAAC;AAgBjB,eA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5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED,eAAO,IAAI,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAEzC,eAAO,MAAM,cAAc,QAAO,QAAQ,OAAO,CAAgB,CAAC;AAElE,OAAO,EACH,iBAAiB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,YAAY,GAC3E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,QAAO,QAAQ,OAAO,CAiB5C,CAAC;AASF;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,SACX,MAAM,qBACO,gBAAgB,EAAE;;MAEtC,IAiCF,CAAC;AA6BF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,IAAI,gBAAiB,WAAW,KAAG,gBAiC/C,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,uCAAoC,QAAQ,OAAO,CAQrE,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,aAAa,sBAAuB,GAAG,KAAK,IAAI,KAAK,QAAQ,GAAG,CAAC,KAAG,QAAQ,GAAG,CAQ3F,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,UAAU,SAAgB,eAAe,KAAG,QAAQ,GAAG,CAmCnE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,SAAS,SAAgB,cAAc,KAAG,QAAQ,GAAG,CAoCjE,CAAC;AAGF;;GAEG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAI5B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function resets all the services that are cached in the SDK.
|
|
3
|
+
* This is to be called when the user logs out of the application and also
|
|
4
|
+
* when init is called again.
|
|
5
|
+
* @version SDK: 1.30.2 | ThoughtSpot: *
|
|
6
|
+
*/
|
|
7
|
+
export declare function resetAllCachedServices(): void;
|
|
8
|
+
//# sourceMappingURL=resetServices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetServices.d.ts","sourceRoot":"","sources":["resetServices.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAI7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetServices.spec.d.ts","sourceRoot":"","sources":["resetServices.spec.ts"],"names":[],"mappings":""}
|
|
@@ -40,9 +40,10 @@ export declare const formatPreauthInfo: (preauthInfoResp: any) => Promise<Preaut
|
|
|
40
40
|
*/
|
|
41
41
|
export declare function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
|
|
42
42
|
/**
|
|
43
|
-
* Returns the session info object and caches it for future use.
|
|
43
|
+
* Returns the cached session info object and caches it for future use.
|
|
44
44
|
* Once fetched the session info object is cached and returned from the cache on
|
|
45
45
|
* subsequent calls.
|
|
46
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
46
47
|
* @example ```js
|
|
47
48
|
* const sessionInfo = await getSessionInfo();
|
|
48
49
|
* console.log(sessionInfo);
|
|
@@ -85,8 +86,19 @@ export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
|
85
86
|
* const sessionInfo = await getSessionInfo();
|
|
86
87
|
* console.log(sessionInfo);
|
|
87
88
|
* ```
|
|
88
|
-
* @version SDK: 1.28.3 | ThoughtSpot
|
|
89
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
89
90
|
* @returns {void}
|
|
90
91
|
*/
|
|
91
92
|
export declare function resetCachedSessionInfo(): void;
|
|
93
|
+
/**
|
|
94
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
95
|
+
* @example ```js
|
|
96
|
+
* resetCachedPreauthInfo();
|
|
97
|
+
* const preauthInfo = await getPreauthInfo();
|
|
98
|
+
* console.log(preauthInfo);
|
|
99
|
+
* ```
|
|
100
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
101
|
+
* @returns {void}
|
|
102
|
+
*/
|
|
103
|
+
export declare function resetCachedPreauthInfo(): void;
|
|
92
104
|
//# sourceMappingURL=sessionInfoService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionInfoService.d.ts","sourceRoot":"","sources":["sessionInfoService.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAKF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,oBAA2B,GAAG,KAAG,QAAQ,WAAW,CAgBjF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CAAC,UAAU,UAAO,GAAG,OAAO,CAAC,WAAW,CAAC,CAa5E;AAED
|
|
1
|
+
{"version":3,"file":"sessionInfoService.d.ts","sourceRoot":"","sources":["sessionInfoService.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAKF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,oBAA2B,GAAG,KAAG,QAAQ,WAAW,CAgBjF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CAAC,UAAU,UAAO,GAAG,OAAO,CAAC,WAAW,CAAC,CAa5E;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC,CAQ3D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,IAAI,WAAW,GAAG,IAAI,CAEzD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,oBAAqB,GAAG,KAAG,WAexD,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C"}
|
package/dist/tsembed-react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.36.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.36.2 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
|
|
@@ -7403,7 +7403,7 @@ class AnswerService {
|
|
|
7403
7403
|
async getTML() {
|
|
7404
7404
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7405
7405
|
const edoc = object[0].edoc;
|
|
7406
|
-
const YAML = await import('./index-
|
|
7406
|
+
const YAML = await import('./index-DpuhnTj2.js');
|
|
7407
7407
|
const parsedDoc = YAML.parse(edoc);
|
|
7408
7408
|
return {
|
|
7409
7409
|
answer: {
|
|
@@ -14263,9 +14263,10 @@ async function getPreauthInfo(allowCache = true) {
|
|
|
14263
14263
|
return preauthInfo;
|
|
14264
14264
|
}
|
|
14265
14265
|
/**
|
|
14266
|
-
* Returns the session info object and caches it for future use.
|
|
14266
|
+
* Returns the cached session info object and caches it for future use.
|
|
14267
14267
|
* Once fetched the session info object is cached and returned from the cache on
|
|
14268
14268
|
* subsequent calls.
|
|
14269
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
14269
14270
|
* @example ```js
|
|
14270
14271
|
* const sessionInfo = await getSessionInfo();
|
|
14271
14272
|
* console.log(sessionInfo);
|
|
@@ -14842,7 +14843,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
14842
14843
|
return e;
|
|
14843
14844
|
}
|
|
14844
14845
|
|
|
14845
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.
|
|
14846
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14846
14847
|
|
|
14847
14848
|
/**
|
|
14848
14849
|
* Reloads the ThoughtSpot iframe.
|
package/dist/tsembed-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.36.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.36.2 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
@@ -14285,9 +14285,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14285
14285
|
return preauthInfo;
|
|
14286
14286
|
}
|
|
14287
14287
|
/**
|
|
14288
|
-
* Returns the session info object and caches it for future use.
|
|
14288
|
+
* Returns the cached session info object and caches it for future use.
|
|
14289
14289
|
* Once fetched the session info object is cached and returned from the cache on
|
|
14290
14290
|
* subsequent calls.
|
|
14291
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
14291
14292
|
* @example ```js
|
|
14292
14293
|
* const sessionInfo = await getSessionInfo();
|
|
14293
14294
|
* console.log(sessionInfo);
|
|
@@ -14864,7 +14865,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14864
14865
|
return e;
|
|
14865
14866
|
}
|
|
14866
14867
|
|
|
14867
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.
|
|
14868
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
14868
14869
|
|
|
14869
14870
|
/**
|
|
14870
14871
|
* Reloads the ThoughtSpot iframe.
|
package/dist/tsembed.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.36.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.36.2 */
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
m.forEach(function (e) {
|
|
4
4
|
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
@@ -7302,7 +7302,7 @@ class AnswerService {
|
|
|
7302
7302
|
async getTML() {
|
|
7303
7303
|
const { object } = await this.executeQuery(getAnswerTML, {});
|
|
7304
7304
|
const edoc = object[0].edoc;
|
|
7305
|
-
const YAML = await import('./index-
|
|
7305
|
+
const YAML = await import('./index-DpuhnTj2.js');
|
|
7306
7306
|
const parsedDoc = YAML.parse(edoc);
|
|
7307
7307
|
return {
|
|
7308
7308
|
answer: {
|
|
@@ -14220,9 +14220,10 @@ async function getPreauthInfo(allowCache = true) {
|
|
|
14220
14220
|
return preauthInfo;
|
|
14221
14221
|
}
|
|
14222
14222
|
/**
|
|
14223
|
-
* Returns the session info object and caches it for future use.
|
|
14223
|
+
* Returns the cached session info object and caches it for future use.
|
|
14224
14224
|
* Once fetched the session info object is cached and returned from the cache on
|
|
14225
14225
|
* subsequent calls.
|
|
14226
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
14226
14227
|
* @example ```js
|
|
14227
14228
|
* const sessionInfo = await getSessionInfo();
|
|
14228
14229
|
* console.log(sessionInfo);
|
|
@@ -14265,7 +14266,45 @@ const getSessionDetails = (sessionInfoResp) => {
|
|
|
14265
14266
|
clusterName: sessionInfoResp.configInfo.selfClusterName,
|
|
14266
14267
|
...sessionInfoResp,
|
|
14267
14268
|
};
|
|
14268
|
-
};
|
|
14269
|
+
};
|
|
14270
|
+
/**
|
|
14271
|
+
* Resets the cached session info object and forces a new fetch on the next call.
|
|
14272
|
+
* @example ```js
|
|
14273
|
+
* resetCachedSessionInfo();
|
|
14274
|
+
* const sessionInfo = await getSessionInfo();
|
|
14275
|
+
* console.log(sessionInfo);
|
|
14276
|
+
* ```
|
|
14277
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
14278
|
+
* @returns {void}
|
|
14279
|
+
*/
|
|
14280
|
+
function resetCachedSessionInfo() {
|
|
14281
|
+
sessionInfo = null;
|
|
14282
|
+
}
|
|
14283
|
+
/**
|
|
14284
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
14285
|
+
* @example ```js
|
|
14286
|
+
* resetCachedPreauthInfo();
|
|
14287
|
+
* const preauthInfo = await getPreauthInfo();
|
|
14288
|
+
* console.log(preauthInfo);
|
|
14289
|
+
* ```
|
|
14290
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
14291
|
+
* @returns {void}
|
|
14292
|
+
*/
|
|
14293
|
+
function resetCachedPreauthInfo() {
|
|
14294
|
+
preauthInfo = null;
|
|
14295
|
+
}
|
|
14296
|
+
|
|
14297
|
+
/**
|
|
14298
|
+
* This function resets all the services that are cached in the SDK.
|
|
14299
|
+
* This is to be called when the user logs out of the application and also
|
|
14300
|
+
* when init is called again.
|
|
14301
|
+
* @version SDK: 1.30.2 | ThoughtSpot: *
|
|
14302
|
+
*/
|
|
14303
|
+
function resetAllCachedServices() {
|
|
14304
|
+
resetCachedAuthToken();
|
|
14305
|
+
resetCachedSessionInfo();
|
|
14306
|
+
resetCachedPreauthInfo();
|
|
14307
|
+
}
|
|
14269
14308
|
|
|
14270
14309
|
// eslint-disable-next-line import/no-mutable-exports
|
|
14271
14310
|
let loggedInStatus = false;
|
|
@@ -14627,7 +14666,7 @@ const doOIDCAuth = async (embedConfig) => {
|
|
|
14627
14666
|
const logout$1 = async (embedConfig) => {
|
|
14628
14667
|
const { thoughtSpotHost } = embedConfig;
|
|
14629
14668
|
await fetchLogoutService(thoughtSpotHost);
|
|
14630
|
-
|
|
14669
|
+
resetAllCachedServices();
|
|
14631
14670
|
const thoughtspotIframes = document.querySelectorAll("[data-ts-iframe='true']");
|
|
14632
14671
|
if (thoughtspotIframes === null || thoughtspotIframes === void 0 ? void 0 : thoughtspotIframes.length) {
|
|
14633
14672
|
thoughtspotIframes.forEach((el) => {
|
|
@@ -14792,7 +14831,7 @@ function backwardCompat(embedConfig) {
|
|
|
14792
14831
|
const init = (embedConfig) => {
|
|
14793
14832
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
14794
14833
|
sanity(embedConfig);
|
|
14795
|
-
|
|
14834
|
+
resetAllCachedServices();
|
|
14796
14835
|
embedConfig = setEmbedConfig(backwardCompat({
|
|
14797
14836
|
...CONFIG_DEFAULTS,
|
|
14798
14837
|
...embedConfig,
|
|
@@ -15085,7 +15124,7 @@ function processEventData(type, e, thoughtSpotHost, containerEl) {
|
|
|
15085
15124
|
return e;
|
|
15086
15125
|
}
|
|
15087
15126
|
|
|
15088
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.
|
|
15127
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
15089
15128
|
|
|
15090
15129
|
/**
|
|
15091
15130
|
* Reloads the ThoughtSpot iframe.
|
package/dist/tsembed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @thoughtspot/visual-embed-sdk version 1.36.
|
|
1
|
+
/* @thoughtspot/visual-embed-sdk version 1.36.2 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -14226,9 +14226,10 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14226
14226
|
return preauthInfo;
|
|
14227
14227
|
}
|
|
14228
14228
|
/**
|
|
14229
|
-
* Returns the session info object and caches it for future use.
|
|
14229
|
+
* Returns the cached session info object and caches it for future use.
|
|
14230
14230
|
* Once fetched the session info object is cached and returned from the cache on
|
|
14231
14231
|
* subsequent calls.
|
|
14232
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
14232
14233
|
* @example ```js
|
|
14233
14234
|
* const sessionInfo = await getSessionInfo();
|
|
14234
14235
|
* console.log(sessionInfo);
|
|
@@ -14271,7 +14272,45 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14271
14272
|
clusterName: sessionInfoResp.configInfo.selfClusterName,
|
|
14272
14273
|
...sessionInfoResp,
|
|
14273
14274
|
};
|
|
14274
|
-
};
|
|
14275
|
+
};
|
|
14276
|
+
/**
|
|
14277
|
+
* Resets the cached session info object and forces a new fetch on the next call.
|
|
14278
|
+
* @example ```js
|
|
14279
|
+
* resetCachedSessionInfo();
|
|
14280
|
+
* const sessionInfo = await getSessionInfo();
|
|
14281
|
+
* console.log(sessionInfo);
|
|
14282
|
+
* ```
|
|
14283
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
14284
|
+
* @returns {void}
|
|
14285
|
+
*/
|
|
14286
|
+
function resetCachedSessionInfo() {
|
|
14287
|
+
sessionInfo = null;
|
|
14288
|
+
}
|
|
14289
|
+
/**
|
|
14290
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
14291
|
+
* @example ```js
|
|
14292
|
+
* resetCachedPreauthInfo();
|
|
14293
|
+
* const preauthInfo = await getPreauthInfo();
|
|
14294
|
+
* console.log(preauthInfo);
|
|
14295
|
+
* ```
|
|
14296
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
14297
|
+
* @returns {void}
|
|
14298
|
+
*/
|
|
14299
|
+
function resetCachedPreauthInfo() {
|
|
14300
|
+
preauthInfo = null;
|
|
14301
|
+
}
|
|
14302
|
+
|
|
14303
|
+
/**
|
|
14304
|
+
* This function resets all the services that are cached in the SDK.
|
|
14305
|
+
* This is to be called when the user logs out of the application and also
|
|
14306
|
+
* when init is called again.
|
|
14307
|
+
* @version SDK: 1.30.2 | ThoughtSpot: *
|
|
14308
|
+
*/
|
|
14309
|
+
function resetAllCachedServices() {
|
|
14310
|
+
resetCachedAuthToken();
|
|
14311
|
+
resetCachedSessionInfo();
|
|
14312
|
+
resetCachedPreauthInfo();
|
|
14313
|
+
}
|
|
14275
14314
|
|
|
14276
14315
|
// eslint-disable-next-line import/no-mutable-exports
|
|
14277
14316
|
let loggedInStatus = false;
|
|
@@ -14633,7 +14672,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14633
14672
|
const logout$1 = async (embedConfig) => {
|
|
14634
14673
|
const { thoughtSpotHost } = embedConfig;
|
|
14635
14674
|
await fetchLogoutService(thoughtSpotHost);
|
|
14636
|
-
|
|
14675
|
+
resetAllCachedServices();
|
|
14637
14676
|
const thoughtspotIframes = document.querySelectorAll("[data-ts-iframe='true']");
|
|
14638
14677
|
if (thoughtspotIframes === null || thoughtspotIframes === void 0 ? void 0 : thoughtspotIframes.length) {
|
|
14639
14678
|
thoughtspotIframes.forEach((el) => {
|
|
@@ -14798,7 +14837,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
14798
14837
|
const init = (embedConfig) => {
|
|
14799
14838
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
14800
14839
|
sanity(embedConfig);
|
|
14801
|
-
|
|
14840
|
+
resetAllCachedServices();
|
|
14802
14841
|
embedConfig = setEmbedConfig(backwardCompat({
|
|
14803
14842
|
...CONFIG_DEFAULTS,
|
|
14804
14843
|
...embedConfig,
|
|
@@ -15091,7 +15130,7 @@ mutation GetUnsavedAnswerTML($session: BachSessionIdInput!, $exportDependencies:
|
|
|
15091
15130
|
return e;
|
|
15092
15131
|
}
|
|
15093
15132
|
|
|
15094
|
-
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.
|
|
15133
|
+
var name="@thoughtspot/visual-embed-sdk";var version$1="1.36.2";var description="ThoughtSpot Embed SDK";var module="lib/src/index.js";var main="dist/tsembed.js";var types="lib/src/index.d.ts";var files=["dist/**","lib/**","src/**","cjs/**"];var exports$1={".":{"import":"./lib/src/index.js",require:"./cjs/src/index.js",types:"./lib/src/index.d.ts"},"./react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"},"./lib/src/react":{"import":"./lib/src/react/all-types-export.js",require:"./cjs/src/react/all-types-export.js",types:"./lib/src/react/all-types-export.d.ts"}};var typesVersions={"*":{react:["./lib/src/react/all-types-export.d.ts"]}};var scripts={lint:"eslint 'src/**'","lint:fix":"eslint 'src/**/*.*' --fix",tsc:"tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs","build-and-publish":"npm run build:gatsby && npm run publish","bundle-dts-file":"dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts","bundle-dts":"dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true","bundle-dts-react":"dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true","bundle-dts-react-full":"dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true",build:"rollup -c",watch:"rollup -cw",docgen:"typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck","test-sdk":"jest -c jest.config.sdk.js --runInBand",test:"npm run test-sdk",posttest:"cat ./coverage/sdk/lcov.info | coveralls","is-publish-allowed":"node scripts/is-publish-allowed.js",prepublishOnly:"npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build","check-size":"npm run build && size-limit","publish-dev":"npm publish --tag dev","publish-prod":"npm publish --tag latest",dev:"vite -c vite.local.config.ts"};var peerDependencies={react:"> 16.8.0","react-dom":"> 16.8.0"};var dependencies={algoliasearch:"^4.10.5",classnames:"^2.3.1",eventemitter3:"^4.0.7","gatsby-plugin-vercel":"^1.0.3",lodash:"^4.17.21","mixpanel-browser":"2.47.0","ts-deepmerge":"^6.0.2",tslib:"^2.5.3","use-deep-compare-effect":"^1.8.1",yaml:"^2.5.1"};var devDependencies={"@mdx-js/mdx":"^1.6.22","@mdx-js/react":"^1.6.22","@react-icons/all-files":"^4.1.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^5.0.2","@size-limit/preset-big-lib":"^8.2.6","@testing-library/dom":"^7.31.0","@testing-library/jest-dom":"^5.14.1","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.8","@types/jest":"^22.2.3","@types/lodash":"^4.17.0","@types/mixpanel-browser":"^2.35.6","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0",asciidoctor:"^2.2.1","babel-jest":"^26.6.3","babel-preset-gatsby":"^1.10.0","command-line-args":"^5.1.1",coveralls:"^3.1.0",crypto:"^1.0.1","current-git-branch":"^1.1.0","dts-bundle":"^0.7.3",eslint:"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.15.0","eslint-import-resolver-typescript":"^2.3.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-comment-length":"1.7.3","eslint-plugin-jsdoc":"^46.9.0","fs-extra":"^10.0.0","gh-pages":"6.3.0","highlight.js":"^10.6.0","html-to-text":"^8.0.0","identity-obj-proxy":"^3.0.0","istanbul-merge":"^1.1.1",jest:"^26.6.3","jest-fetch-mock":"^3.0.3",jsdom:"^17.0.0","node-sass":"^8.0.0",prettier:"2.1.2",react:"^16.14.0","react-dom":"^16.14.0","react-resizable":"^1.11.0","react-resize-detector":"^6.6.0","react-test-renderer":"^17.0.2","react-use-flexsearch":"^0.1.1",rollup:"4.24.0","rollup-plugin-typescript2":"0.27.3","ts-jest":"^26.5.5","ts-loader":"8.0.4",typedoc:"0.21.6","typedoc-plugin-toc-group":"thoughtspot/typedoc-plugin-toc-group",typescript:"^4.9.4","url-search-params-polyfill":"^8.1.0",util:"^0.12.4",vite:"^5.3.4"};var author="ThoughtSpot";var email="support@thoughtspot.com";var license="ThoughtSpot Development Tools End User License Agreement";var directories={lib:"lib"};var repository={type:"git",url:"git+https://github.com/thoughtspot/visual-embed-sdk.git"};var publishConfig={registry:"https://registry.npmjs.org"};var keywords=["thoughtspot","everywhere","embedded","embed","sdk","analytics"];var bugs={url:"https://github.com/thoughtspot/visual-embed-sdk/issues"};var homepage="https://github.com/thoughtspot/visual-embed-sdk#readme";var globals={window:{}};var pkgInfo = {name:name,version:version$1,description:description,module:module,main:main,types:types,files:files,exports:exports$1,typesVersions:typesVersions,"size-limit":[{path:"dist/tsembed.es.js",limit:"31 kB"}],scripts:scripts,peerDependencies:peerDependencies,dependencies:dependencies,devDependencies:devDependencies,author:author,email:email,license:license,directories:directories,repository:repository,publishConfig:publishConfig,keywords:keywords,bugs:bugs,homepage:homepage,globals:globals};
|
|
15095
15134
|
|
|
15096
15135
|
/**
|
|
15097
15136
|
* Reloads the ThoughtSpot iframe.
|
|
@@ -2245,9 +2245,10 @@ export declare const formatPreauthInfo: (preauthInfoResp: any) => Promise<Preaut
|
|
|
2245
2245
|
*/
|
|
2246
2246
|
export declare function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
|
|
2247
2247
|
/**
|
|
2248
|
-
* Returns the session info object and caches it for future use.
|
|
2248
|
+
* Returns the cached session info object and caches it for future use.
|
|
2249
2249
|
* Once fetched the session info object is cached and returned from the cache on
|
|
2250
2250
|
* subsequent calls.
|
|
2251
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
2251
2252
|
* @example ```js
|
|
2252
2253
|
* const sessionInfo = await getSessionInfo();
|
|
2253
2254
|
* console.log(sessionInfo);
|
|
@@ -2290,10 +2291,21 @@ export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
|
2290
2291
|
* const sessionInfo = await getSessionInfo();
|
|
2291
2292
|
* console.log(sessionInfo);
|
|
2292
2293
|
* ```
|
|
2293
|
-
* @version SDK: 1.28.3 | ThoughtSpot
|
|
2294
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
2294
2295
|
* @returns {void}
|
|
2295
2296
|
*/
|
|
2296
2297
|
export declare function resetCachedSessionInfo(): void;
|
|
2298
|
+
/**
|
|
2299
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
2300
|
+
* @example ```js
|
|
2301
|
+
* resetCachedPreauthInfo();
|
|
2302
|
+
* const preauthInfo = await getPreauthInfo();
|
|
2303
|
+
* console.log(preauthInfo);
|
|
2304
|
+
* ```
|
|
2305
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
2306
|
+
* @returns {void}
|
|
2307
|
+
*/
|
|
2308
|
+
export declare function resetCachedPreauthInfo(): void;
|
|
2297
2309
|
|
|
2298
2310
|
/**
|
|
2299
2311
|
* Copyright (c) 2023
|
|
@@ -7414,9 +7414,10 @@ export declare const formatPreauthInfo: (preauthInfoResp: any) => Promise<Preaut
|
|
|
7414
7414
|
*/
|
|
7415
7415
|
export declare function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
|
|
7416
7416
|
/**
|
|
7417
|
-
* Returns the session info object and caches it for future use.
|
|
7417
|
+
* Returns the cached session info object and caches it for future use.
|
|
7418
7418
|
* Once fetched the session info object is cached and returned from the cache on
|
|
7419
7419
|
* subsequent calls.
|
|
7420
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
7420
7421
|
* @example ```js
|
|
7421
7422
|
* const sessionInfo = await getSessionInfo();
|
|
7422
7423
|
* console.log(sessionInfo);
|
|
@@ -7459,10 +7460,21 @@ export declare const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
|
7459
7460
|
* const sessionInfo = await getSessionInfo();
|
|
7460
7461
|
* console.log(sessionInfo);
|
|
7461
7462
|
* ```
|
|
7462
|
-
* @version SDK: 1.28.3 | ThoughtSpot
|
|
7463
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
7463
7464
|
* @returns {void}
|
|
7464
7465
|
*/
|
|
7465
7466
|
export declare function resetCachedSessionInfo(): void;
|
|
7467
|
+
/**
|
|
7468
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
7469
|
+
* @example ```js
|
|
7470
|
+
* resetCachedPreauthInfo();
|
|
7471
|
+
* const preauthInfo = await getPreauthInfo();
|
|
7472
|
+
* console.log(preauthInfo);
|
|
7473
|
+
* ```
|
|
7474
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
7475
|
+
* @returns {void}
|
|
7476
|
+
*/
|
|
7477
|
+
export declare function resetCachedPreauthInfo(): void;
|
|
7466
7478
|
|
|
7467
7479
|
/**
|
|
7468
7480
|
* The list of customization css variables. These
|
|
@@ -1834,9 +1834,10 @@ export const formatPreauthInfo: (preauthInfoResp: any) => Promise<PreauthInfo>;
|
|
|
1834
1834
|
*/
|
|
1835
1835
|
export function getPreauthInfo(allowCache?: boolean): Promise<PreauthInfo>;
|
|
1836
1836
|
/**
|
|
1837
|
-
* Returns the session info object and caches it for future use.
|
|
1837
|
+
* Returns the cached session info object and caches it for future use.
|
|
1838
1838
|
* Once fetched the session info object is cached and returned from the cache on
|
|
1839
1839
|
* subsequent calls.
|
|
1840
|
+
* This cache is cleared when inti is called OR resetCachedSessionInfo is called.
|
|
1840
1841
|
* @example ```js
|
|
1841
1842
|
* const sessionInfo = await getSessionInfo();
|
|
1842
1843
|
* console.log(sessionInfo);
|
|
@@ -1879,10 +1880,21 @@ export const getSessionDetails: (sessionInfoResp: any) => SessionInfo;
|
|
|
1879
1880
|
* const sessionInfo = await getSessionInfo();
|
|
1880
1881
|
* console.log(sessionInfo);
|
|
1881
1882
|
* ```
|
|
1882
|
-
* @version SDK: 1.28.3 | ThoughtSpot
|
|
1883
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
1883
1884
|
* @returns {void}
|
|
1884
1885
|
*/
|
|
1885
1886
|
export function resetCachedSessionInfo(): void;
|
|
1887
|
+
/**
|
|
1888
|
+
* Resets the cached preauth info object and forces a new fetch on the next call.
|
|
1889
|
+
* @example ```js
|
|
1890
|
+
* resetCachedPreauthInfo();
|
|
1891
|
+
* const preauthInfo = await getPreauthInfo();
|
|
1892
|
+
* console.log(preauthInfo);
|
|
1893
|
+
* ```
|
|
1894
|
+
* @version SDK: 1.28.3 | ThoughtSpot: *
|
|
1895
|
+
* @returns {void}
|
|
1896
|
+
*/
|
|
1897
|
+
export function resetCachedPreauthInfo(): void;
|
|
1886
1898
|
|
|
1887
1899
|
/**
|
|
1888
1900
|
* Copyright (c) 2023
|
package/lib/package.json
CHANGED
package/lib/src/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,YAA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