@nsshunt/stsoauth2plugin 0.1.48 → 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.
@@ -7219,11 +7219,8 @@ function o(e2, r2) {
7219
7219
  }
7220
7220
  n.prototype = new Error(), n.prototype.name = "InvalidTokenError";
7221
7221
  const debug$1 = Debug(`proc:${{}.pid}:stsoauth2manager.ts`);
7222
- const StsOauth2LauncherFactor = () => {
7223
- return new Worker("/assets/stsoauth2launcher.d4f1da70.js", {
7224
- type: "module"
7225
- });
7226
- };
7222
+ const fstr = "import { STSOAuth2Worker } from './stsoauth2worker';onmessage = function(d){new STSOAuth2Worker(d.data.workerPort, d.data.options);}";
7223
+ new Blob([fstr], { type: "application/javascript" });
7227
7224
  class STSOAuth2Manager {
7228
7225
  constructor(app, options) {
7229
7226
  __privateAdd(this, _storageManager, void 0);
@@ -7488,7 +7485,7 @@ class STSOAuth2Manager {
7488
7485
  __privateSet(this, _aic, app.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController);
7489
7486
  __privateSet(this, _router, app.config.globalProperties.$router);
7490
7487
  __privateSet(this, _transactionStore, new ClientStorageFactory({ clientStorageType: ClientStorageType.SESSION_STORAGE }).GetStorage());
7491
- __privateSet(this, _worker, StsOauth2LauncherFactor());
7488
+ __privateSet(this, _worker, __privateGet(this, _options).workerFactory());
7492
7489
  __privateGet(this, _worker).onmessage = (data2) => {
7493
7490
  console.log(`this.#worker.onmessage = [${data2}]`);
7494
7491
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsoauth2plugin",
3
- "version": "0.1.48",
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;AAmBlG,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"}