@azure/msal-node 1.0.0-beta.2 → 1.0.0-beta.6

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.
Files changed (70) hide show
  1. package/CHANGELOG.json +144 -0
  2. package/README.md +1 -1
  3. package/changelog.md +43 -1
  4. package/dist/cache/ITokenCache.d.ts +16 -0
  5. package/dist/cache/ITokenCache.d.ts.map +1 -0
  6. package/dist/cache/{Storage.d.ts → NodeStorage.d.ts} +55 -31
  7. package/dist/cache/NodeStorage.d.ts.map +1 -0
  8. package/dist/cache/TokenCache.d.ts +30 -13
  9. package/dist/cache/TokenCache.d.ts.map +1 -0
  10. package/dist/cache/serializer/Deserializer.d.ts +1 -0
  11. package/dist/cache/serializer/Deserializer.d.ts.map +1 -0
  12. package/dist/cache/serializer/Serializer.d.ts +1 -0
  13. package/dist/cache/serializer/Serializer.d.ts.map +1 -0
  14. package/dist/cache/serializer/SerializerTypes.d.ts +33 -0
  15. package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -0
  16. package/dist/client/ClientApplication.d.ts +36 -7
  17. package/dist/client/ClientApplication.d.ts.map +1 -0
  18. package/dist/client/ClientAssertion.d.ts +25 -1
  19. package/dist/client/ClientAssertion.d.ts.map +1 -0
  20. package/dist/client/ConfidentialClientApplication.d.ts +11 -5
  21. package/dist/client/ConfidentialClientApplication.d.ts.map +1 -0
  22. package/dist/client/IConfidentialClientApplication.d.ts +33 -0
  23. package/dist/client/IConfidentialClientApplication.d.ts.map +1 -0
  24. package/dist/client/IPublicClientApplication.d.ts +33 -0
  25. package/dist/client/IPublicClientApplication.d.ts.map +1 -0
  26. package/dist/client/PublicClientApplication.d.ts +8 -5
  27. package/dist/client/PublicClientApplication.d.ts.map +1 -0
  28. package/dist/config/Configuration.d.ts +10 -3
  29. package/dist/config/Configuration.d.ts.map +1 -0
  30. package/dist/crypto/CryptoProvider.d.ts +10 -2
  31. package/dist/crypto/CryptoProvider.d.ts.map +1 -0
  32. package/dist/crypto/GuidGenerator.d.ts +1 -0
  33. package/dist/crypto/GuidGenerator.d.ts.map +1 -0
  34. package/dist/crypto/PkceGenerator.d.ts +1 -0
  35. package/dist/crypto/PkceGenerator.d.ts.map +1 -0
  36. package/dist/index.d.ts +15 -5
  37. package/dist/index.d.ts.map +1 -0
  38. package/dist/msal-node.cjs.development.js +274 -205
  39. package/dist/msal-node.cjs.development.js.map +1 -1
  40. package/dist/msal-node.cjs.production.min.js +1 -1
  41. package/dist/msal-node.cjs.production.min.js.map +1 -1
  42. package/dist/msal-node.esm.js +273 -204
  43. package/dist/msal-node.esm.js.map +1 -1
  44. package/dist/network/HttpClient.d.ts +1 -1
  45. package/dist/network/HttpClient.d.ts.map +1 -0
  46. package/dist/packageMetadata.d.ts +3 -0
  47. package/dist/packageMetadata.d.ts.map +1 -0
  48. package/dist/request/AuthorizationCodeRequest.d.ts +3 -1
  49. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
  50. package/dist/request/AuthorizationUrlRequest.d.ts +3 -1
  51. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
  52. package/dist/request/ClientCredentialRequest.d.ts +3 -1
  53. package/dist/request/ClientCredentialRequest.d.ts.map +1 -0
  54. package/dist/request/DeviceCodeRequest.d.ts +3 -1
  55. package/dist/request/DeviceCodeRequest.d.ts.map +1 -0
  56. package/dist/request/OnBehalfOfRequest.d.ts +3 -1
  57. package/dist/request/OnBehalfOfRequest.d.ts.map +1 -0
  58. package/dist/request/RefreshTokenRequest.d.ts +3 -1
  59. package/dist/request/RefreshTokenRequest.d.ts.map +1 -0
  60. package/dist/request/SilentFlowRequest.d.ts +3 -1
  61. package/dist/request/SilentFlowRequest.d.ts.map +1 -0
  62. package/dist/request/UsernamePasswordRequest.d.ts +3 -1
  63. package/dist/request/UsernamePasswordRequest.d.ts.map +1 -0
  64. package/dist/utils/Constants.d.ts +1 -0
  65. package/dist/utils/Constants.d.ts.map +1 -0
  66. package/dist/utils/EncodingUtils.d.ts +1 -0
  67. package/dist/utils/EncodingUtils.d.ts.map +1 -0
  68. package/dist/utils/NetworkUtils.d.ts +1 -0
  69. package/dist/utils/NetworkUtils.d.ts.map +1 -0
  70. package/package.json +8 -12
@@ -3,7 +3,6 @@ import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/m
3
3
  * This class implements the API for network requests.
4
4
  */
5
5
  export declare class HttpClient implements INetworkModule {
6
- constructor();
7
6
  /**
8
7
  * Http Get request
9
8
  * @param url
@@ -17,3 +16,4 @@ export declare class HttpClient implements INetworkModule {
17
16
  */
18
17
  sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
19
18
  }
19
+ //# sourceMappingURL=HttpClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../src/network/HttpClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,eAAe,EAClB,MAAM,oBAAoB,CAAC;AAI5B;;GAEG;AACH,qBAAa,UAAW,YAAW,cAAc;IAE7C;;;;OAIG;IACG,mBAAmB,CAAC,CAAC,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAgB9B;;;;OAIG;IACG,oBAAoB,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAgBjC"}
@@ -0,0 +1,3 @@
1
+ export declare const name = "@azure/msal-node";
2
+ export declare const version = "1.0.0-beta.6";
3
+ //# sourceMappingURL=packageMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AuthorizationCodeRequest as CommonAuthorizationCodeRequest } from "@azure/msal-common";
1
+ import { CommonAuthorizationCodeRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)
4
4
  *
@@ -9,9 +9,11 @@ import { AuthorizationCodeRequest as CommonAuthorizationCodeRequest } from "@azu
9
9
  * - redirectUri - The redirect URI of your app, where the authority will redirect to after the user inputs credentials and consents. It must exactly match one of the redirect URIs you registered in the portal.
10
10
  * - code - The authorization_code that the user acquired in the first leg of the flow.
11
11
  * - codeVerifier - The same code_verifier that was used to obtain the authorization_code. Required if PKCE was used in the authorization code grant request.For more information, see the PKCE RFC: https://tools.ietf.org/html/rfc7636
12
+ * @public
12
13
  */
13
14
  export declare type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "scopes" | "redirectUri" | "code" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri">> & {
14
15
  scopes: Array<string>;
15
16
  redirectUri: string;
16
17
  code: string;
17
18
  };
19
+ //# sourceMappingURL=AuthorizationCodeRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,QAAQ,GAAC,aAAa,GAAC,MAAM,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AuthorizationUrlRequest as CommonAuthorizationUrlRequest } from "@azure/msal-common";
1
+ import { CommonAuthorizationUrlRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)
4
4
  *
@@ -23,8 +23,10 @@ import { AuthorizationUrlRequest as CommonAuthorizationUrlRequest } from "@azure
23
23
  * - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
24
24
  * - extraQueryParameters - String to string map of custom query parameters.
25
25
  * - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
26
+ * @public
26
27
  */
27
28
  export declare type AuthorizationUrlRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "resourceRequestMethod" | "resourceRequestUri" | "authenticationScheme">> & {
28
29
  scopes: Array<string>;
29
30
  redirectUri: string;
30
31
  };
32
+ //# sourceMappingURL=AuthorizationUrlRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../src/request/AuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,aAAa,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,sBAAsB,CAAC,CAAC,GAAG;IAC7K,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -1,11 +1,13 @@
1
- import { ClientCredentialRequest as CommonClientCredentialRequest } from "@azure/msal-common";
1
+ import { CommonClientCredentialRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * CommonClientCredentialRequest
4
4
  * - scopes - Array of scopes the application is requesting access to.
5
5
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
6
6
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
7
  * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
+ * @public
8
9
  */
9
10
  export declare type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
10
11
  scopes: Array<string>;
11
12
  };
13
+ //# sourceMappingURL=ClientCredentialRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;GAOG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACxI,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DeviceCodeRequest as CommonDeviceCodeRequest, DeviceCodeResponse } from "@azure/msal-common";
1
+ import { CommonDeviceCodeRequest, DeviceCodeResponse } from "@azure/msal-common";
2
2
  /**
3
3
  * Parameters for Oauth2 device code flow.
4
4
  * - scopes - Array of scopes the application is requesting access to.
@@ -6,8 +6,10 @@ import { DeviceCodeRequest as CommonDeviceCodeRequest, DeviceCodeResponse } from
6
6
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
7
  * - deviceCodeCallback - Callback containing device code response. Message should be shown to end user. End user can then navigate to the verification_uri, input the user_code, and input credentials.
8
8
  * - cancel - Boolean to cancel polling of device code endpoint. While the user authenticates on a separate device, MSAL polls the the token endpoint of security token service for the interval specified in the device code response (usually 15 minutes). To stop polling and cancel the request, set cancel=true.
9
+ * @public
9
10
  */
10
11
  export declare type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri">> & {
11
12
  scopes: Array<string>;
12
13
  deviceCodeCallback: (response: DeviceCodeResponse) => void;
13
14
  };
15
+ //# sourceMappingURL=DeviceCodeRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeviceCodeRequest.d.ts","sourceRoot":"","sources":["../src/request/DeviceCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAG,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAElF;;;;;;;;GAQG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAC,oBAAoB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACjJ,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC9D,CAAC"}
@@ -1,12 +1,14 @@
1
- import { OnBehalfOfRequest as CommonOnBehalfOfRequest } from "@azure/msal-common";
1
+ import { CommonOnBehalfOfRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * - scopes - Array of scopes the application is requesting access to.
4
4
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
5
5
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
6
6
  * - oboAssertion - The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
7
7
  * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
+ * @public
8
9
  */
9
10
  export declare type OnBehalfOfRequest = Partial<Omit<CommonOnBehalfOfRequest, "oboAssertion" | "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
10
11
  oboAssertion: string;
11
12
  scopes: Array<string>;
12
13
  };
14
+ //# sourceMappingURL=OnBehalfOfRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../src/request/OnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D;;;;;;;GAOG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,cAAc,GAAC,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IAC3I,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { RefreshTokenRequest as CommonRefreshTokenRequest } from "@azure/msal-common";
1
+ import { CommonRefreshTokenRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * CommonRefreshTokenRequest
4
4
  * - scopes - Array of scopes the application is requesting access to.
@@ -6,8 +6,10 @@ import { RefreshTokenRequest as CommonRefreshTokenRequest } from "@azure/msal-co
6
6
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
7
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
8
8
  * - refreshToken - A refresh token returned from a previous request to the Identity provider.
9
+ * @public
9
10
  */
10
11
  export declare type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri">> & {
11
12
  scopes: Array<string>;
12
13
  refreshToken: string;
13
14
  };
15
+ //# sourceMappingURL=RefreshTokenRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;;;;;;;GAQG;AACH,oBAAY,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,QAAQ,GAAC,cAAc,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtK,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AccountInfo, SilentFlowRequest as CommonSilentFlowRequest } from "@azure/msal-common";
1
+ import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * SilentFlow parameters passed by the user to retrieve credentials silently
4
4
  * - scopes - Array of scopes the application is requesting access to.
@@ -7,8 +7,10 @@ import { AccountInfo, SilentFlowRequest as CommonSilentFlowRequest } from "@azur
7
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
8
8
  * - account - Account entity to lookup the credentials.
9
9
  * - forceRefresh - Forces silent requests to make network calls if true.
10
+ * @public
10
11
  */
11
12
  export declare type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
12
13
  account: AccountInfo;
13
14
  scopes: Array<string>;
14
15
  };
16
+ //# sourceMappingURL=SilentFlowRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SilentFlowRequest.d.ts","sourceRoot":"","sources":["../src/request/SilentFlowRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE1E;;;;;;;;;GASG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAC,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtI,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { UsernamePasswordRequest as CommonUsernamePasswordRequest } from "@azure/msal-common";
1
+ import { CommonUsernamePasswordRequest } from "@azure/msal-common";
2
2
  /**
3
3
  * UsernamePassword parameters passed by the user to retrieve credentials
4
4
  * Note: The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely. This flow is added for internal testing.
@@ -9,9 +9,11 @@ import { UsernamePasswordRequest as CommonUsernamePasswordRequest } from "@azure
9
9
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
10
10
  * - username - username of the client
11
11
  * - password - credentials
12
+ * @public
12
13
  */
13
14
  export declare type UsernamePasswordRequest = Partial<Omit<CommonUsernamePasswordRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "username" | "password">> & {
14
15
  scopes: Array<string>;
15
16
  username: string;
16
17
  password: string;
17
18
  };
19
+ //# sourceMappingURL=UsernamePasswordRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../src/request/UsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;GAWG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,UAAU,GAAC,UAAU,CAAC,CAAC,GAAG;IAC9J,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC"}
@@ -65,3 +65,4 @@ export declare const JwtConstants: {
65
65
  NOT_BEFORE: string;
66
66
  JWT_ID: string;
67
67
  };
68
+ //# sourceMappingURL=Constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../src/utils/Constants.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,UAAU;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,IAAI;;CAEhB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO;;CAGnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK;;;CAGjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF;;;;;;GAMG;AACH,oBAAY,KAAK;IACb,kBAAkB,KAAK;IACvB,8BAA8B,MAAM;IACpC,wBAAwB,MAAM;IAC9B,8BAA8B,MAAM;IACpC,kBAAkB,MAAM;IACxB,0BAA0B,MAAM;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAC"}
@@ -24,3 +24,4 @@ export declare class EncodingUtils {
24
24
  */
25
25
  static base64DecodeUrl(base64Str: string): string;
26
26
  }
27
+ //# sourceMappingURL=EncodingUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EncodingUtils.d.ts","sourceRoot":"","sources":["../src/utils/EncodingUtils.ts"],"names":[],"mappings":";AAKA,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAInE;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAOtE;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAI9C;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAOpD"}
@@ -5,3 +5,4 @@ export declare class NetworkUtils {
5
5
  */
6
6
  static getNetworkClient(): INetworkModule;
7
7
  }
8
+ //# sourceMappingURL=NetworkUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkUtils.d.ts","sourceRoot":"","sources":["../src/utils/NetworkUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,YAAY;IACrB;;OAEG;IACH,MAAM,CAAC,gBAAgB,IAAI,cAAc;CAG5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/msal-node",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.6",
4
4
  "author": {
5
5
  "name": "Microsoft",
6
6
  "email": "nugetaad@microsoft.com",
@@ -26,12 +26,9 @@
26
26
  "dist"
27
27
  ],
28
28
  "scripts": {
29
- "start": "tsdx watch",
30
- "build": "tsdx build",
29
+ "start": "tsdx watch --tsconfig ./tsconfig.build.json",
30
+ "build": "tsdx build --tsconfig ./tsconfig.build.json",
31
31
  "build:modules:watch": "tsdx watch --verbose",
32
- "doc": "npm run doc:generate && npm run doc:deploy",
33
- "doc:generate": "typedoc --mode modules --excludePrivate --excludeProtected --excludeNotExported --out ./ref ./src/ --gitRevision dev",
34
- "doc:deploy": "gh-pages -d ref -a -e ref/msal-node",
35
32
  "test": "tsdx test .*.spec.*",
36
33
  "test:watch": "tsdx test .*.spec.* --watch",
37
34
  "test:coverage": "tsdx test .*.spec.* --coverage",
@@ -62,16 +59,15 @@
62
59
  "@types/jsonwebtoken": "^8.5.0",
63
60
  "@types/node": "^13.13.4",
64
61
  "@types/uuid": "^7.0.0",
65
- "gh-pages": "^3.1.0",
66
62
  "husky": "^4.2.3",
67
- "tsdx": "^0.14.0",
63
+ "tsdx": "^0.14.1",
68
64
  "tslib": "^1.10.0",
69
- "typedoc": "^0.17.7",
70
- "typescript": "^3.8.3"
65
+ "typescript": "^3.8.3",
66
+ "@microsoft/api-extractor": "^7.13.0"
71
67
  },
72
68
  "dependencies": {
73
- "@azure/msal-common": "^2.0.0",
74
- "axios": "^0.19.2",
69
+ "@azure/msal-common": "^4.0.0",
70
+ "axios": "^0.21.1",
75
71
  "jsonwebtoken": "^8.5.1",
76
72
  "uuid": "^8.3.0"
77
73
  }