@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.
- package/dist/stsoauth2manager.js +1 -1
- package/package.json +1 -1
- package/src/stsoauth2manager.ts +1 -1
- package/tsconfig.json +2 -1
package/dist/stsoauth2manager.js
CHANGED
|
@@ -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.
|
|
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
package/src/stsoauth2manager.ts
CHANGED
|
@@ -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.
|
|
49
|
+
this.#worker = new Worker(new URL('./stsoauth2worker.js', import.meta.url), {
|
|
50
50
|
type: 'module'
|
|
51
51
|
});
|
|
52
52
|
|