@nsshunt/stsutils 1.9.2 → 1.9.3

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/index.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  const sleep = require('./sleep.js');
2
2
  const AuthUtilsBrowser = require('./authutilsbrowser.js');
3
- //const STSOptionsBase = require('./stsoptionsbase.js');
4
3
  const { AddSchema, Validate } = require('./validate.js');
5
4
  const GetErrorPayload = require('./errorhandling.js');
6
5
  const { OAuth2ParameterType, OIDCStandardClaim, OIDCAddressClaim, compareParameterTypes } = require('./oauth2terms.js');
@@ -17,7 +16,9 @@ export declare class status {
17
16
  static readonly SERVER_ERROR_MALFORMED = 520;
18
17
  }
19
18
 
19
+ import { STSOptionsBase } from './stsoptionsbase.js'
20
+
20
21
  module.exports = {
21
- sleep, AuthUtilsBrowser, AddSchema, Validate, GetErrorPayload,
22
+ sleep, STSOptionsBase, AuthUtilsBrowser, AddSchema, Validate, GetErrorPayload,
22
23
  OAuth2ParameterType, OIDCStandardClaim, OIDCAddressClaim, compareParameterTypes
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsutils",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,10 +1,10 @@
1
1
  export = AuthUtilsBrowser;
2
2
  declare class AuthUtilsBrowser {
3
- LoginBrowser: (options: any) => Promise<{
3
+ LoginBrowser: (options: any) => Promise<{
4
4
  accessToken: any;
5
5
  duration: number;
6
6
  }>;
7
- RefreshAuthTokenBrowser: (options: any) => Promise<{
7
+ RefreshAuthTokenBrowser: (options: any) => Promise<{
8
8
  accessToken: any;
9
9
  duration: number;
10
10
  }>;
package/types/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  export declare class status {
2
- static readonly SUCCESS = 200;
3
- static readonly CREATED = 201;
4
- static readonly NO_CONTENT = 204;
5
- static readonly BAD = 400;
6
- static readonly UNAUTHORIZED = 401;
7
- static readonly NOTFOUND = 404;
8
- static readonly CONFLICT = 409;
9
- static readonly ERROR = 500;
10
- static readonly SERVER_ERROR_MALFORMED = 520;
2
+ static readonly SUCCESS = 200;
3
+ static readonly CREATED = 201;
4
+ static readonly NO_CONTENT = 204;
5
+ static readonly BAD = 400;
6
+ static readonly UNAUTHORIZED = 401;
7
+ static readonly NOTFOUND = 404;
8
+ static readonly CONFLICT = 409;
9
+ static readonly ERROR = 500;
10
+ static readonly SERVER_ERROR_MALFORMED = 520;
11
11
  }
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,OAAO,MAAM;IAC1B,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,MAAM,CAAC,QAAQ,CAAC,UAAU,OAAO;IACjC,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO;IAC1B,MAAM,CAAC,QAAQ,CAAC,YAAY,OAAO;IACnC,MAAM,CAAC,QAAQ,CAAC,QAAQ,OAAO;IAC/B,MAAM,CAAC,QAAQ,CAAC,QAAQ,OAAO;IAC/B,MAAM,CAAC,QAAQ,CAAC,KAAK,OAAO;IAC5B,MAAM,CAAC,QAAQ,CAAC,sBAAsB,OAAO;CAC7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,OAAO,MAAM;IAC1B,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,MAAM,CAAC,QAAQ,CAAC,UAAU,OAAO;IACjC,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO;IAC1B,MAAM,CAAC,QAAQ,CAAC,YAAY,OAAO;IACnC,MAAM,CAAC,QAAQ,CAAC,QAAQ,OAAO;IAC/B,MAAM,CAAC,QAAQ,CAAC,QAAQ,OAAO;IAC/B,MAAM,CAAC,QAAQ,CAAC,KAAK,OAAO;IAC5B,MAAM,CAAC,QAAQ,CAAC,sBAAsB,OAAO;CAC7C"}
@@ -1,6 +1,6 @@
1
1
  export declare class STSOptionsBase {
2
- private _options;
3
- constructor(options?: any);
4
- get options(): any;
2
+ private _options;
3
+ constructor(options?: any);
4
+ get options(): any;
5
5
  }
6
6
  //# sourceMappingURL=stsoptionsbase.d.ts.map
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export declare class STSOptionsBase {
2
- private _options;
3
- constructor(options?: any);
4
- get options(): any;
5
- }