@nsshunt/stsoauth2plugin 0.0.4 → 0.0.5

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.
@@ -295,7 +295,7 @@ export class STSOAuth2Manager {
295
295
  __classPrivateFieldSet(this, _STSOAuth2Manager_router, app.config.globalProperties.$router, "f");
296
296
  // Use session storage for the transient nature of the OAuth2 authorize handshake. Once completed, the storage will be removed.
297
297
  __classPrivateFieldSet(this, _STSOAuth2Manager_transactionStore, new ClientStorageFactory({ clientStorageType: ClientStorageType.SESSION_STORAGE }).GetStorage(), "f");
298
- __classPrivateFieldSet(this, _STSOAuth2Manager_worker, new Worker(new URL('./stsoauth2worker.ts', import.meta.url), {
298
+ __classPrivateFieldSet(this, _STSOAuth2Manager_worker, new Worker(new URL('./stsoauth2worker.js', import.meta.url), {
299
299
  type: 'module'
300
300
  }), "f");
301
301
  __classPrivateFieldGet(this, _STSOAuth2Manager_worker, "f").onmessage = (data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsoauth2plugin",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "STS OAuth2 Plugin for Vue",
5
5
  "main": "dist/index.js",
6
6
  "types": "./types/index.d.ts",
@@ -46,7 +46,7 @@ export class STSOAuth2Manager {
46
46
  // Use session storage for the transient nature of the OAuth2 authorize handshake. Once completed, the storage will be removed.
47
47
  this.#transactionStore = new ClientStorageFactory<IAuthorizeOptions>({clientStorageType: ClientStorageType.SESSION_STORAGE}).GetStorage();
48
48
 
49
- this.#worker = new Worker(new URL('./stsoauth2worker.ts', import.meta.url), {
49
+ this.#worker = new Worker(new URL('./stsoauth2worker.js', import.meta.url), {
50
50
  type: 'module'
51
51
  });
52
52
 
package/tsconfig.json CHANGED
@@ -24,7 +24,8 @@
24
24
  // - or the project has properly included the necessary polyfills.
25
25
  "ES2016",
26
26
  "DOM",
27
- "DOM.Iterable"
27
+ "DOM.Iterable",
28
+ "webworker"
28
29
  // No `ScriptHost` because Vue 3 dropped support for IE
29
30
  ],
30
31
  }