@nsshunt/stsoauth2plugin 0.1.50 → 0.1.51

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.
@@ -7220,12 +7220,7 @@ function o(e2, r2) {
7220
7220
  n.prototype = new Error(), n.prototype.name = "InvalidTokenError";
7221
7221
  const debug$1 = Debug(`proc:${{}.pid}:stsoauth2manager.ts`);
7222
7222
  const fstr = "import { STSOAuth2Worker } from './stsoauth2worker';onmessage = function(d){new STSOAuth2Worker(d.data.workerPort, d.data.options);}";
7223
- const blob = new Blob([fstr], { type: "application/javascript" });
7224
- const StsOauth2LauncherFactor = () => {
7225
- return new Worker(URL.createObjectURL(blob), {
7226
- type: "module"
7227
- });
7228
- };
7223
+ new Blob([fstr], { type: "application/javascript" });
7229
7224
  class STSOAuth2Manager {
7230
7225
  constructor(app, options) {
7231
7226
  __privateAdd(this, _storageManager, void 0);
@@ -7490,7 +7485,7 @@ class STSOAuth2Manager {
7490
7485
  __privateSet(this, _aic, app.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController);
7491
7486
  __privateSet(this, _router, app.config.globalProperties.$router);
7492
7487
  __privateSet(this, _transactionStore, new ClientStorageFactory({ clientStorageType: ClientStorageType.SESSION_STORAGE }).GetStorage());
7493
- __privateSet(this, _worker, StsOauth2LauncherFactor());
7488
+ __privateSet(this, _worker, __privateGet(this, _options).workerFactory());
7494
7489
  __privateGet(this, _worker).onmessage = (data2) => {
7495
7490
  console.log(`this.#worker.onmessage = [${data2}]`);
7496
7491
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsoauth2plugin",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "STS OAuth2 VUE Plugin",
5
5
  "files": [
6
6
  "dist",
@@ -1 +1 @@
1
- {"version":3,"file":"stsoauth2manager.d.ts","sourceRoot":"","sources":["../src/stsoauth2manager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAuB,MAAM,mBAAmB,CAAC;AAKpE,OAAO,EACN,wBAAwB,EACiD,MAAM,kBAAkB,CAAA;AA+BlG,qBAAa,gBAAgB;;gBAkBhB,GAAG,KAAA,EAAE,OAAO,EAAE,wBAAwB;IA+RlD,cAAc,QAAY,QAAQ,OAAO,CAAC,CAQzC;IAED,SAAS,QAAa,QAAQ,IAAI,CAAC,CASlC;IAED,cAAc,cAAqB,UAAU,KAAG,QAAQ,OAAO,CAAC,CAoB/D;IAED,MAAM,QAAa,QAAQ,OAAO,CAAC,CAQlC;CACD"}
1
+ {"version":3,"file":"stsoauth2manager.d.ts","sourceRoot":"","sources":["../src/stsoauth2manager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAuB,MAAM,mBAAmB,CAAC;AAKpE,OAAO,EACN,wBAAwB,EACiD,MAAM,kBAAkB,CAAA;AA+BlG,qBAAa,gBAAgB;;gBAkBhB,GAAG,KAAA,EAAE,OAAO,EAAE,wBAAwB;IA8RlD,cAAc,QAAY,QAAQ,OAAO,CAAC,CAQzC;IAED,SAAS,QAAa,QAAQ,IAAI,CAAC,CASlC;IAED,cAAc,cAAqB,UAAU,KAAG,QAAQ,OAAO,CAAC,CAoB/D;IAED,MAAM,QAAa,QAAQ,OAAO,CAAC,CAQlC;CACD"}