@nsshunt/stsoauth2plugin 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsoauth2plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "STS OAuth2 VUE Plugin",
5
5
  "files": [
6
6
  "dist",
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ import { STSOAuth2Manager } from './stsoauth2manager'
2
2
 
3
3
  export * from './stsoauth2types'
4
4
  export * from './stsoauth2manager'
5
+ export * from './stsoauth2worker'
5
6
 
6
7
  export const STSOAuth2ManagerPlugin = {
7
8
  install: (app, router) => {
@@ -28,7 +28,7 @@ const CreateRandomString = (size = 43) => {
28
28
  }
29
29
 
30
30
  // STS Client SDK for SPAs
31
- class STSOAuth2Worker {
31
+ export class STSOAuth2Worker {
32
32
  //#storageManager = null;
33
33
  #clientSessionStore: IStsStorage<ITokenResponse> = null; // In memory tokens while the client is logged in
34
34
  #cUtils = new CryptoUtils();
package/types/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './stsoauth2types';
2
2
  export * from './stsoauth2manager';
3
+ export * from './stsoauth2worker';
3
4
  export declare const STSOAuth2ManagerPlugin: {
4
5
  install: (app: any, router: any) => void;
5
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAElC,eAAO,MAAM,sBAAsB;;CAKlC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AAEjC,eAAO,MAAM,sBAAsB;;CAKlC,CAAA"}
@@ -1,2 +1,6 @@
1
- export {};
1
+ export declare class STSOAuth2Worker {
2
+ #private;
3
+ constructor(workerPort: MessagePort);
4
+ SetupListener: () => void;
5
+ }
2
6
  //# sourceMappingURL=stsoauth2worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stsoauth2worker.d.ts","sourceRoot":"","sources":["../src/stsoauth2worker.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"stsoauth2worker.d.ts","sourceRoot":"","sources":["../src/stsoauth2worker.ts"],"names":[],"mappings":"AA8BA,qBAAa,eAAe;;gBAcf,UAAU,EAAE,WAAW;IA6DnC,aAAa,aAoBZ;CAwZD"}