@azure/msal-node 2.0.2 → 2.2.0-alpha.0
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/README.md +3 -1
- package/dist/cache/ITokenCache.d.ts +15 -15
- package/dist/cache/NodeStorage.cjs +401 -401
- package/dist/cache/NodeStorage.cjs.map +1 -1
- package/dist/cache/NodeStorage.d.ts +182 -182
- package/dist/cache/NodeStorage.d.ts.map +1 -1
- package/dist/cache/NodeStorage.mjs +401 -401
- package/dist/cache/NodeStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.cjs +265 -269
- package/dist/cache/TokenCache.cjs.map +1 -1
- package/dist/cache/TokenCache.d.ts +90 -90
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +266 -270
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.cjs +26 -26
- package/dist/cache/distributed/DistributedCachePlugin.cjs.map +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.d.ts +10 -10
- package/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +26 -26
- package/dist/cache/distributed/DistributedCachePlugin.mjs.map +1 -1
- package/dist/cache/distributed/ICacheClient.d.ts +17 -17
- package/dist/cache/distributed/IPartitionManager.d.ts +28 -28
- package/dist/cache/serializer/Deserializer.cjs +173 -175
- package/dist/cache/serializer/Deserializer.cjs.map +1 -1
- package/dist/cache/serializer/Deserializer.d.ts +42 -42
- package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
- package/dist/cache/serializer/Deserializer.mjs +174 -176
- package/dist/cache/serializer/Deserializer.mjs.map +1 -1
- package/dist/cache/serializer/Serializer.cjs +134 -134
- package/dist/cache/serializer/Serializer.cjs.map +1 -1
- package/dist/cache/serializer/Serializer.d.ts +39 -39
- package/dist/cache/serializer/Serializer.d.ts.map +1 -1
- package/dist/cache/serializer/Serializer.mjs +134 -134
- package/dist/cache/serializer/Serializer.mjs.map +1 -1
- package/dist/cache/serializer/SerializerTypes.d.ts +101 -101
- package/dist/client/ClientApplication.cjs +333 -333
- package/dist/client/ClientApplication.cjs.map +1 -1
- package/dist/client/ClientApplication.d.ts +142 -142
- package/dist/client/ClientApplication.d.ts.map +1 -1
- package/dist/client/ClientApplication.mjs +334 -334
- package/dist/client/ClientApplication.mjs.map +1 -1
- package/dist/client/ClientAssertion.cjs +116 -116
- package/dist/client/ClientAssertion.cjs.map +1 -1
- package/dist/client/ClientAssertion.d.ts +46 -46
- package/dist/client/ClientAssertion.d.ts.map +1 -1
- package/dist/client/ClientAssertion.mjs +117 -117
- package/dist/client/ClientAssertion.mjs.map +1 -1
- package/dist/client/ClientCredentialClient.cjs +189 -168
- package/dist/client/ClientCredentialClient.cjs.map +1 -1
- package/dist/client/ClientCredentialClient.d.ts +33 -33
- package/dist/client/ClientCredentialClient.d.ts.map +1 -1
- package/dist/client/ClientCredentialClient.mjs +190 -169
- package/dist/client/ClientCredentialClient.mjs.map +1 -1
- package/dist/client/ConfidentialClientApplication.cjs +163 -164
- package/dist/client/ConfidentialClientApplication.cjs.map +1 -1
- package/dist/client/ConfidentialClientApplication.d.ts +58 -58
- package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +164 -165
- package/dist/client/ConfidentialClientApplication.mjs.map +1 -1
- package/dist/client/DeviceCodeClient.cjs +207 -207
- package/dist/client/DeviceCodeClient.cjs.map +1 -1
- package/dist/client/DeviceCodeClient.d.ts +53 -53
- package/dist/client/DeviceCodeClient.d.ts.map +1 -1
- package/dist/client/DeviceCodeClient.mjs +208 -208
- package/dist/client/DeviceCodeClient.mjs.map +1 -1
- package/dist/client/IConfidentialClientApplication.d.ts +39 -39
- package/dist/client/IConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/IPublicClientApplication.d.ts +42 -42
- package/dist/client/IPublicClientApplication.d.ts.map +1 -1
- package/dist/client/OnBehalfOfClient.cjs +203 -204
- package/dist/client/OnBehalfOfClient.cjs.map +1 -1
- package/dist/client/OnBehalfOfClient.d.ts +47 -47
- package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
- package/dist/client/OnBehalfOfClient.mjs +204 -205
- package/dist/client/OnBehalfOfClient.mjs.map +1 -1
- package/dist/client/PublicClientApplication.cjs +229 -175
- package/dist/client/PublicClientApplication.cjs.map +1 -1
- package/dist/client/PublicClientApplication.d.ts +71 -65
- package/dist/client/PublicClientApplication.d.ts.map +1 -1
- package/dist/client/PublicClientApplication.mjs +232 -178
- package/dist/client/PublicClientApplication.mjs.map +1 -1
- package/dist/client/UsernamePasswordClient.cjs +95 -95
- package/dist/client/UsernamePasswordClient.cjs.map +1 -1
- package/dist/client/UsernamePasswordClient.d.ts +25 -25
- package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
- package/dist/client/UsernamePasswordClient.mjs +95 -95
- package/dist/client/UsernamePasswordClient.mjs.map +1 -1
- package/dist/config/Configuration.cjs +72 -72
- package/dist/config/Configuration.cjs.map +1 -1
- package/dist/config/Configuration.d.ts +107 -107
- package/dist/config/Configuration.mjs +72 -72
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/crypto/CryptoProvider.cjs +75 -75
- package/dist/crypto/CryptoProvider.cjs.map +1 -1
- package/dist/crypto/CryptoProvider.d.ts +52 -52
- package/dist/crypto/CryptoProvider.mjs +75 -75
- package/dist/crypto/CryptoProvider.mjs.map +1 -1
- package/dist/crypto/GuidGenerator.cjs +22 -22
- package/dist/crypto/GuidGenerator.cjs.map +1 -1
- package/dist/crypto/GuidGenerator.d.ts +14 -14
- package/dist/crypto/GuidGenerator.mjs +22 -22
- package/dist/crypto/GuidGenerator.mjs.map +1 -1
- package/dist/crypto/HashUtils.cjs +13 -13
- package/dist/crypto/HashUtils.cjs.map +1 -1
- package/dist/crypto/HashUtils.d.ts +8 -8
- package/dist/crypto/HashUtils.mjs +13 -13
- package/dist/crypto/HashUtils.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.cjs +49 -49
- package/dist/crypto/PkceGenerator.cjs.map +1 -1
- package/dist/crypto/PkceGenerator.d.ts +22 -22
- package/dist/crypto/PkceGenerator.mjs +49 -49
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/error/NodeAuthError.cjs +85 -85
- package/dist/error/NodeAuthError.cjs.map +1 -1
- package/dist/error/NodeAuthError.d.ts +65 -65
- package/dist/error/NodeAuthError.mjs +85 -85
- package/dist/error/NodeAuthError.mjs.map +1 -1
- package/dist/index.cjs +17 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +42 -42
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/internals.cjs +8 -8
- package/dist/internals.cjs.map +1 -1
- package/dist/internals.d.ts +6 -6
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.mjs +8 -8
- package/dist/internals.mjs.map +1 -1
- package/dist/network/HttpClient.cjs +277 -276
- package/dist/network/HttpClient.cjs.map +1 -1
- package/dist/network/HttpClient.d.ts +25 -25
- package/dist/network/HttpClient.d.ts.map +1 -1
- package/dist/network/HttpClient.mjs +278 -277
- package/dist/network/HttpClient.mjs.map +1 -1
- package/dist/network/ILoopbackClient.d.ts +10 -10
- package/dist/network/LoopbackClient.cjs +75 -84
- package/dist/network/LoopbackClient.cjs.map +1 -1
- package/dist/network/LoopbackClient.d.ts +21 -21
- package/dist/network/LoopbackClient.d.ts.map +1 -1
- package/dist/network/LoopbackClient.mjs +77 -86
- package/dist/network/LoopbackClient.mjs.map +1 -1
- package/dist/packageMetadata.cjs +4 -4
- package/dist/packageMetadata.cjs.map +1 -1
- package/dist/packageMetadata.d.ts +2 -2
- package/dist/packageMetadata.mjs +4 -4
- package/dist/packageMetadata.mjs.map +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +21 -21
- package/dist/request/AuthorizationUrlRequest.d.ts +33 -33
- package/dist/request/ClientCredentialRequest.d.ts +14 -14
- package/dist/request/DeviceCodeRequest.d.ts +15 -15
- package/dist/request/InteractiveRequest.d.ts +22 -22
- package/dist/request/InteractiveRequest.d.ts.map +1 -1
- package/dist/request/OnBehalfOfRequest.d.ts +14 -14
- package/dist/request/RefreshTokenRequest.d.ts +17 -17
- package/dist/request/SignOutRequest.d.ts +5 -5
- package/dist/request/SilentFlowRequest.d.ts +16 -16
- package/dist/request/UsernamePasswordRequest.d.ts +19 -19
- package/dist/utils/Constants.cjs +80 -90
- package/dist/utils/Constants.cjs.map +1 -1
- package/dist/utils/Constants.d.ts +86 -96
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +81 -90
- package/dist/utils/Constants.mjs.map +1 -1
- package/dist/utils/EncodingUtils.cjs +44 -44
- package/dist/utils/EncodingUtils.cjs.map +1 -1
- package/dist/utils/EncodingUtils.d.ts +26 -26
- package/dist/utils/EncodingUtils.mjs +44 -44
- package/dist/utils/EncodingUtils.mjs.map +1 -1
- package/dist/utils/NetworkUtils.cjs +38 -38
- package/dist/utils/NetworkUtils.cjs.map +1 -1
- package/dist/utils/NetworkUtils.d.ts +5 -5
- package/dist/utils/NetworkUtils.mjs +38 -38
- package/dist/utils/NetworkUtils.mjs.map +1 -1
- package/package.json +8 -5
- package/src/cache/ITokenCache.ts +24 -0
- package/src/cache/NodeStorage.ts +533 -0
- package/src/cache/TokenCache.ts +358 -0
- package/src/cache/distributed/DistributedCachePlugin.ts +56 -0
- package/src/cache/distributed/ICacheClient.ts +23 -0
- package/src/cache/distributed/IPartitionManager.ts +35 -0
- package/src/cache/serializer/Deserializer.ts +218 -0
- package/src/cache/serializer/Serializer.ts +173 -0
- package/src/cache/serializer/SerializerTypes.ts +121 -0
- package/src/client/ClientApplication.ts +596 -0
- package/src/client/ClientAssertion.ts +165 -0
- package/src/client/ClientCredentialClient.ts +346 -0
- package/src/client/ConfidentialClientApplication.ts +268 -0
- package/src/client/DeviceCodeClient.ts +369 -0
- package/src/client/IConfidentialClientApplication.ts +72 -0
- package/src/client/IPublicClientApplication.ts +72 -0
- package/src/client/OnBehalfOfClient.ts +368 -0
- package/src/client/PublicClientApplication.ts +339 -0
- package/src/client/UsernamePasswordClient.ts +180 -0
- package/src/config/Configuration.ts +201 -0
- package/src/crypto/CryptoProvider.ts +98 -0
- package/src/crypto/GuidGenerator.ts +28 -0
- package/src/crypto/HashUtils.ts +17 -0
- package/src/crypto/PkceGenerator.ts +63 -0
- package/src/error/NodeAuthError.ts +117 -0
- package/src/index.ts +125 -0
- package/src/internals.ts +12 -0
- package/src/network/HttpClient.ts +425 -0
- package/src/network/ILoopbackClient.ts +19 -0
- package/src/network/LoopbackClient.ts +110 -0
- package/src/packageMetadata.ts +3 -0
- package/src/request/AuthorizationCodeRequest.ts +39 -0
- package/src/request/AuthorizationUrlRequest.ts +50 -0
- package/src/request/ClientCredentialRequest.ts +29 -0
- package/src/request/DeviceCodeRequest.ts +34 -0
- package/src/request/InteractiveRequest.ts +39 -0
- package/src/request/OnBehalfOfRequest.ts +30 -0
- package/src/request/RefreshTokenRequest.ts +34 -0
- package/src/request/SignOutRequest.ts +11 -0
- package/src/request/SilentFlowRequest.ts +32 -0
- package/src/request/UsernamePasswordRequest.ts +36 -0
- package/src/utils/Constants.ts +103 -0
- package/src/utils/EncodingUtils.ts +50 -0
- package/src/utils/NetworkUtils.ts +49 -0
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.0.
|
|
1
|
+
/*! @azure/msal-node v2.2.0-alpha.0 2023-09-20 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from '@azure/msal-common';
|
|
4
4
|
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
-
* Licensed under the MIT License.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
11
|
-
*/
|
|
12
|
-
const NodeAuthErrorMessage = {
|
|
13
|
-
invalidLoopbackAddressType: {
|
|
14
|
-
code: "invalid_loopback_server_address_type",
|
|
15
|
-
desc: "Loopback server address is not type string. This is unexpected.",
|
|
16
|
-
},
|
|
17
|
-
unableToLoadRedirectUri: {
|
|
18
|
-
code: "unable_to_load_redirectUrl",
|
|
19
|
-
desc: "Loopback server callback was invoked without a url. This is unexpected.",
|
|
20
|
-
},
|
|
21
|
-
noAuthCodeInResponse: {
|
|
22
|
-
code: "no_auth_code_in_response",
|
|
23
|
-
desc: "No auth code found in the server response. Please check your network trace to determine what happened.",
|
|
24
|
-
},
|
|
25
|
-
noLoopbackServerExists: {
|
|
26
|
-
code: "no_loopback_server_exists",
|
|
27
|
-
desc: "No loopback server exists yet.",
|
|
28
|
-
},
|
|
29
|
-
loopbackServerAlreadyExists: {
|
|
30
|
-
code: "loopback_server_already_exists",
|
|
31
|
-
desc: "Loopback server already exists. Cannot create another.",
|
|
32
|
-
},
|
|
33
|
-
loopbackServerTimeout: {
|
|
34
|
-
code: "loopback_server_timeout",
|
|
35
|
-
desc: "Timed out waiting for auth code listener to be registered.",
|
|
36
|
-
},
|
|
37
|
-
stateNotFoundError: {
|
|
38
|
-
code: "state_not_found",
|
|
39
|
-
desc: "State not found. Please verify that the request originated from msal.",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
class NodeAuthError extends AuthError {
|
|
43
|
-
constructor(errorCode, errorMessage) {
|
|
44
|
-
super(errorCode, errorMessage);
|
|
45
|
-
this.name = "NodeAuthError";
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Creates an error thrown if loopback server address is of type string.
|
|
49
|
-
*/
|
|
50
|
-
static createInvalidLoopbackAddressTypeError() {
|
|
51
|
-
return new NodeAuthError(NodeAuthErrorMessage.invalidLoopbackAddressType.code, `${NodeAuthErrorMessage.invalidLoopbackAddressType.desc}`);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Creates an error thrown if the loopback server is unable to get a url.
|
|
55
|
-
*/
|
|
56
|
-
static createUnableToLoadRedirectUrlError() {
|
|
57
|
-
return new NodeAuthError(NodeAuthErrorMessage.unableToLoadRedirectUri.code, `${NodeAuthErrorMessage.unableToLoadRedirectUri.desc}`);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Creates an error thrown if the server response does not contain an auth code.
|
|
61
|
-
*/
|
|
62
|
-
static createNoAuthCodeInResponseError() {
|
|
63
|
-
return new NodeAuthError(NodeAuthErrorMessage.noAuthCodeInResponse.code, `${NodeAuthErrorMessage.noAuthCodeInResponse.desc}`);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Creates an error thrown if the loopback server has not been spun up yet.
|
|
67
|
-
*/
|
|
68
|
-
static createNoLoopbackServerExistsError() {
|
|
69
|
-
return new NodeAuthError(NodeAuthErrorMessage.noLoopbackServerExists.code, `${NodeAuthErrorMessage.noLoopbackServerExists.desc}`);
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Creates an error thrown if a loopback server already exists when attempting to create another one.
|
|
73
|
-
*/
|
|
74
|
-
static createLoopbackServerAlreadyExistsError() {
|
|
75
|
-
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerAlreadyExists.code, `${NodeAuthErrorMessage.loopbackServerAlreadyExists.desc}`);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Creates an error thrown if the loopback server times out registering the auth code listener.
|
|
79
|
-
*/
|
|
80
|
-
static createLoopbackServerTimeoutError() {
|
|
81
|
-
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerTimeout.code, `${NodeAuthErrorMessage.loopbackServerTimeout.desc}`);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Creates an error thrown when the state is not present.
|
|
85
|
-
*/
|
|
86
|
-
static createStateNotFoundError() {
|
|
87
|
-
return new NodeAuthError(NodeAuthErrorMessage.stateNotFoundError.code, NodeAuthErrorMessage.stateNotFoundError.desc);
|
|
88
|
-
}
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
+
* Licensed under the MIT License.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
11
|
+
*/
|
|
12
|
+
const NodeAuthErrorMessage = {
|
|
13
|
+
invalidLoopbackAddressType: {
|
|
14
|
+
code: "invalid_loopback_server_address_type",
|
|
15
|
+
desc: "Loopback server address is not type string. This is unexpected.",
|
|
16
|
+
},
|
|
17
|
+
unableToLoadRedirectUri: {
|
|
18
|
+
code: "unable_to_load_redirectUrl",
|
|
19
|
+
desc: "Loopback server callback was invoked without a url. This is unexpected.",
|
|
20
|
+
},
|
|
21
|
+
noAuthCodeInResponse: {
|
|
22
|
+
code: "no_auth_code_in_response",
|
|
23
|
+
desc: "No auth code found in the server response. Please check your network trace to determine what happened.",
|
|
24
|
+
},
|
|
25
|
+
noLoopbackServerExists: {
|
|
26
|
+
code: "no_loopback_server_exists",
|
|
27
|
+
desc: "No loopback server exists yet.",
|
|
28
|
+
},
|
|
29
|
+
loopbackServerAlreadyExists: {
|
|
30
|
+
code: "loopback_server_already_exists",
|
|
31
|
+
desc: "Loopback server already exists. Cannot create another.",
|
|
32
|
+
},
|
|
33
|
+
loopbackServerTimeout: {
|
|
34
|
+
code: "loopback_server_timeout",
|
|
35
|
+
desc: "Timed out waiting for auth code listener to be registered.",
|
|
36
|
+
},
|
|
37
|
+
stateNotFoundError: {
|
|
38
|
+
code: "state_not_found",
|
|
39
|
+
desc: "State not found. Please verify that the request originated from msal.",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
class NodeAuthError extends AuthError {
|
|
43
|
+
constructor(errorCode, errorMessage) {
|
|
44
|
+
super(errorCode, errorMessage);
|
|
45
|
+
this.name = "NodeAuthError";
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates an error thrown if loopback server address is of type string.
|
|
49
|
+
*/
|
|
50
|
+
static createInvalidLoopbackAddressTypeError() {
|
|
51
|
+
return new NodeAuthError(NodeAuthErrorMessage.invalidLoopbackAddressType.code, `${NodeAuthErrorMessage.invalidLoopbackAddressType.desc}`);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Creates an error thrown if the loopback server is unable to get a url.
|
|
55
|
+
*/
|
|
56
|
+
static createUnableToLoadRedirectUrlError() {
|
|
57
|
+
return new NodeAuthError(NodeAuthErrorMessage.unableToLoadRedirectUri.code, `${NodeAuthErrorMessage.unableToLoadRedirectUri.desc}`);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Creates an error thrown if the server response does not contain an auth code.
|
|
61
|
+
*/
|
|
62
|
+
static createNoAuthCodeInResponseError() {
|
|
63
|
+
return new NodeAuthError(NodeAuthErrorMessage.noAuthCodeInResponse.code, `${NodeAuthErrorMessage.noAuthCodeInResponse.desc}`);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Creates an error thrown if the loopback server has not been spun up yet.
|
|
67
|
+
*/
|
|
68
|
+
static createNoLoopbackServerExistsError() {
|
|
69
|
+
return new NodeAuthError(NodeAuthErrorMessage.noLoopbackServerExists.code, `${NodeAuthErrorMessage.noLoopbackServerExists.desc}`);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Creates an error thrown if a loopback server already exists when attempting to create another one.
|
|
73
|
+
*/
|
|
74
|
+
static createLoopbackServerAlreadyExistsError() {
|
|
75
|
+
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerAlreadyExists.code, `${NodeAuthErrorMessage.loopbackServerAlreadyExists.desc}`);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Creates an error thrown if the loopback server times out registering the auth code listener.
|
|
79
|
+
*/
|
|
80
|
+
static createLoopbackServerTimeoutError() {
|
|
81
|
+
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerTimeout.code, `${NodeAuthErrorMessage.loopbackServerTimeout.desc}`);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Creates an error thrown when the state is not present.
|
|
85
|
+
*/
|
|
86
|
+
static createStateNotFoundError() {
|
|
87
|
+
return new NodeAuthError(NodeAuthErrorMessage.stateNotFoundError.code, NodeAuthErrorMessage.stateNotFoundError.desc);
|
|
88
|
+
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export { NodeAuthError, NodeAuthErrorMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeAuthError.mjs","sources":["../../src/error/NodeAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"NodeAuthError.mjs","sources":["../../src/error/NodeAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAKA;AAEA;;AAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8BD,kBAAA,EAAA;AAEF,QAAa,IAAA,EAAA,iBAAA;AACG,QAAA,IAAA,EAAA,uEAAwC;AAKpD,KAAA;;AAEG,MAAA,aAAA,SAAA,SAAA,CAAA;IACH,WAA4C,CAAA,SAAA,EAAA,YAAA,EAAA;AAO5C,QAAA,KAAA,CAAA,SAAA,EAAA,YAAA,CAAA,CAAA;;AAEG,KAAA;;AAQH;;AAEG,IAAA,OAAA,qCAAA,GAAA;QACG,OAAgC,IAAA,aAAA,CAAA,oBAAiB,CAAA,0BAAA,CAAA,IAAA,EAAA,CAAA,EAAA,oBAAA,CAAA,0BAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;AAOvD,KAAA;;AAEG;;AAQH,IAAA,OAAA,kCAAA,GAAA;;AAEG,KAAA;;AAQH;;AAEG,IAAA,OAAA,+BAAA,GAAA;QACG,OAAiC,IAAA,aAAA,CAAA,oBAAiB,CAAA,oBAAA,CAAA,IAAA,EAAA,CAAA,EAAA,oBAAA,CAAA,oBAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;AAOxD,KAAA;;AAEG;;AAON,IAAA,OAAA,iCAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.0.
|
|
1
|
+
/*! @azure/msal-node v2.2.0-alpha.0 2023-09-20 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -39,6 +39,10 @@ Object.defineProperty(exports, 'AuthError', {
|
|
|
39
39
|
enumerable: true,
|
|
40
40
|
get: function () { return msalCommon.AuthError; }
|
|
41
41
|
});
|
|
42
|
+
Object.defineProperty(exports, 'AuthErrorCodes', {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return msalCommon.AuthErrorCodes; }
|
|
45
|
+
});
|
|
42
46
|
Object.defineProperty(exports, 'AuthErrorMessage', {
|
|
43
47
|
enumerable: true,
|
|
44
48
|
get: function () { return msalCommon.AuthErrorMessage; }
|
|
@@ -51,6 +55,10 @@ Object.defineProperty(exports, 'ClientAuthError', {
|
|
|
51
55
|
enumerable: true,
|
|
52
56
|
get: function () { return msalCommon.ClientAuthError; }
|
|
53
57
|
});
|
|
58
|
+
Object.defineProperty(exports, 'ClientAuthErrorCodes', {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return msalCommon.ClientAuthErrorCodes; }
|
|
61
|
+
});
|
|
54
62
|
Object.defineProperty(exports, 'ClientAuthErrorMessage', {
|
|
55
63
|
enumerable: true,
|
|
56
64
|
get: function () { return msalCommon.ClientAuthErrorMessage; }
|
|
@@ -59,6 +67,10 @@ Object.defineProperty(exports, 'ClientConfigurationError', {
|
|
|
59
67
|
enumerable: true,
|
|
60
68
|
get: function () { return msalCommon.ClientConfigurationError; }
|
|
61
69
|
});
|
|
70
|
+
Object.defineProperty(exports, 'ClientConfigurationErrorCodes', {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return msalCommon.ClientConfigurationErrorCodes; }
|
|
73
|
+
});
|
|
62
74
|
Object.defineProperty(exports, 'ClientConfigurationErrorMessage', {
|
|
63
75
|
enumerable: true,
|
|
64
76
|
get: function () { return msalCommon.ClientConfigurationErrorMessage; }
|
|
@@ -67,6 +79,10 @@ Object.defineProperty(exports, 'InteractionRequiredAuthError', {
|
|
|
67
79
|
enumerable: true,
|
|
68
80
|
get: function () { return msalCommon.InteractionRequiredAuthError; }
|
|
69
81
|
});
|
|
82
|
+
Object.defineProperty(exports, 'InteractionRequiredAuthErrorCodes', {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return msalCommon.InteractionRequiredAuthErrorCodes; }
|
|
85
|
+
});
|
|
70
86
|
Object.defineProperty(exports, 'InteractionRequiredAuthErrorMessage', {
|
|
71
87
|
enumerable: true,
|
|
72
88
|
get: function () { return msalCommon.InteractionRequiredAuthErrorMessage; }
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
* @module @azure/msal-node
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
7
|
-
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
8
|
-
*/
|
|
9
|
-
import * as internals from "./internals";
|
|
10
|
-
export { internals };
|
|
11
|
-
export { IPublicClientApplication } from "./client/IPublicClientApplication";
|
|
12
|
-
export { IConfidentialClientApplication } from "./client/IConfidentialClientApplication";
|
|
13
|
-
export { ITokenCache } from "./cache/ITokenCache";
|
|
14
|
-
export { ICacheClient } from "./cache/distributed/ICacheClient";
|
|
15
|
-
export { IPartitionManager } from "./cache/distributed/IPartitionManager";
|
|
16
|
-
export { ILoopbackClient } from "./network/ILoopbackClient";
|
|
17
|
-
export { PublicClientApplication } from "./client/PublicClientApplication";
|
|
18
|
-
export { ConfidentialClientApplication } from "./client/ConfidentialClientApplication";
|
|
19
|
-
export { ClientApplication } from "./client/ClientApplication";
|
|
20
|
-
export { ClientCredentialClient } from "./client/ClientCredentialClient";
|
|
21
|
-
export { DeviceCodeClient } from "./client/DeviceCodeClient";
|
|
22
|
-
export { OnBehalfOfClient } from "./client/OnBehalfOfClient";
|
|
23
|
-
export { UsernamePasswordClient } from "./client/UsernamePasswordClient";
|
|
24
|
-
export { Configuration, buildAppConfiguration, NodeAuthOptions, NodeSystemOptions, BrokerOptions, NodeTelemetryOptions, CacheOptions, } from "./config/Configuration";
|
|
25
|
-
export { ClientAssertion } from "./client/ClientAssertion";
|
|
26
|
-
export { TokenCache } from "./cache/TokenCache";
|
|
27
|
-
export { NodeStorage } from "./cache/NodeStorage";
|
|
28
|
-
export { CacheKVStore, JsonCache, InMemoryCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedAppMetadataEntity, SerializedRefreshTokenEntity, } from "./cache/serializer/SerializerTypes";
|
|
29
|
-
export { DistributedCachePlugin } from "./cache/distributed/DistributedCachePlugin";
|
|
30
|
-
export { CryptoProvider } from "./crypto/CryptoProvider";
|
|
31
|
-
export type { AuthorizationCodeRequest } from "./request/AuthorizationCodeRequest";
|
|
32
|
-
export type { AuthorizationUrlRequest } from "./request/AuthorizationUrlRequest";
|
|
33
|
-
export type { ClientCredentialRequest } from "./request/ClientCredentialRequest";
|
|
34
|
-
export type { DeviceCodeRequest } from "./request/DeviceCodeRequest";
|
|
35
|
-
export type { OnBehalfOfRequest } from "./request/OnBehalfOfRequest";
|
|
36
|
-
export type { UsernamePasswordRequest } from "./request/UsernamePasswordRequest";
|
|
37
|
-
export type { RefreshTokenRequest } from "./request/RefreshTokenRequest";
|
|
38
|
-
export type { SilentFlowRequest } from "./request/SilentFlowRequest";
|
|
39
|
-
export type { InteractiveRequest } from "./request/InteractiveRequest";
|
|
40
|
-
export type { SignOutRequest } from "./request/SignOutRequest";
|
|
41
|
-
export { PromptValue, ResponseMode, AuthorizationCodePayload, AuthenticationResult, ServerAuthorizationCodeResponse, IdTokenClaims, AccountInfo, ValidCacheType, AuthError, AuthErrorMessage, ClientAuthError, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorMessage, ServerError, INetworkModule, NetworkRequestOptions, NetworkResponse, Logger, LogLevel, ProtocolMode, ICachePlugin, TokenCacheContext, ISerializableTokenCache, AzureCloudInstance, AzureCloudOptions, IAppTokenProvider, AppTokenProviderParameters, AppTokenProviderResult, } from "@azure/msal-common";
|
|
42
|
-
export { version } from "./packageMetadata";
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* @module @azure/msal-node
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
7
|
+
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
8
|
+
*/
|
|
9
|
+
import * as internals from "./internals.js";
|
|
10
|
+
export { internals };
|
|
11
|
+
export { IPublicClientApplication } from "./client/IPublicClientApplication.js";
|
|
12
|
+
export { IConfidentialClientApplication } from "./client/IConfidentialClientApplication.js";
|
|
13
|
+
export { ITokenCache } from "./cache/ITokenCache.js";
|
|
14
|
+
export { ICacheClient } from "./cache/distributed/ICacheClient.js";
|
|
15
|
+
export { IPartitionManager } from "./cache/distributed/IPartitionManager.js";
|
|
16
|
+
export { ILoopbackClient } from "./network/ILoopbackClient.js";
|
|
17
|
+
export { PublicClientApplication } from "./client/PublicClientApplication.js";
|
|
18
|
+
export { ConfidentialClientApplication } from "./client/ConfidentialClientApplication.js";
|
|
19
|
+
export { ClientApplication } from "./client/ClientApplication.js";
|
|
20
|
+
export { ClientCredentialClient } from "./client/ClientCredentialClient.js";
|
|
21
|
+
export { DeviceCodeClient } from "./client/DeviceCodeClient.js";
|
|
22
|
+
export { OnBehalfOfClient } from "./client/OnBehalfOfClient.js";
|
|
23
|
+
export { UsernamePasswordClient } from "./client/UsernamePasswordClient.js";
|
|
24
|
+
export { Configuration, buildAppConfiguration, NodeAuthOptions, NodeSystemOptions, BrokerOptions, NodeTelemetryOptions, CacheOptions, } from "./config/Configuration.js";
|
|
25
|
+
export { ClientAssertion } from "./client/ClientAssertion.js";
|
|
26
|
+
export { TokenCache } from "./cache/TokenCache.js";
|
|
27
|
+
export { NodeStorage } from "./cache/NodeStorage.js";
|
|
28
|
+
export { CacheKVStore, JsonCache, InMemoryCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedAppMetadataEntity, SerializedRefreshTokenEntity, } from "./cache/serializer/SerializerTypes.js";
|
|
29
|
+
export { DistributedCachePlugin } from "./cache/distributed/DistributedCachePlugin.js";
|
|
30
|
+
export { CryptoProvider } from "./crypto/CryptoProvider.js";
|
|
31
|
+
export type { AuthorizationCodeRequest } from "./request/AuthorizationCodeRequest.js";
|
|
32
|
+
export type { AuthorizationUrlRequest } from "./request/AuthorizationUrlRequest.js";
|
|
33
|
+
export type { ClientCredentialRequest } from "./request/ClientCredentialRequest.js";
|
|
34
|
+
export type { DeviceCodeRequest } from "./request/DeviceCodeRequest.js";
|
|
35
|
+
export type { OnBehalfOfRequest } from "./request/OnBehalfOfRequest.js";
|
|
36
|
+
export type { UsernamePasswordRequest } from "./request/UsernamePasswordRequest.js";
|
|
37
|
+
export type { RefreshTokenRequest } from "./request/RefreshTokenRequest.js";
|
|
38
|
+
export type { SilentFlowRequest } from "./request/SilentFlowRequest.js";
|
|
39
|
+
export type { InteractiveRequest } from "./request/InteractiveRequest.js";
|
|
40
|
+
export type { SignOutRequest } from "./request/SignOutRequest.js";
|
|
41
|
+
export { PromptValue, ResponseMode, AuthorizationCodePayload, AuthenticationResult, ServerAuthorizationCodeResponse, IdTokenClaims, AccountInfo, ValidCacheType, AuthError, AuthErrorMessage, AuthErrorCodes, ClientAuthError, ClientAuthErrorCodes, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorCodes, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, ServerError, INetworkModule, NetworkRequestOptions, NetworkResponse, Logger, LogLevel, ProtocolMode, ICachePlugin, TokenCacheContext, ISerializableTokenCache, AzureCloudInstance, AzureCloudOptions, IAppTokenProvider, AppTokenProviderParameters, AppTokenProviderResult, } from "@azure/msal-common";
|
|
42
|
+
export { version } from "./packageMetadata.js";
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGG;AAEH,OAAO,KAAK,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.0.
|
|
1
|
+
/*! @azure/msal-node v2.2.0-alpha.0 2023-09-20 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import * as internals from './internals.mjs';
|
|
4
4
|
export { internals };
|
|
@@ -15,6 +15,6 @@ export { TokenCache } from './cache/TokenCache.mjs';
|
|
|
15
15
|
export { NodeStorage } from './cache/NodeStorage.mjs';
|
|
16
16
|
export { DistributedCachePlugin } from './cache/distributed/DistributedCachePlugin.mjs';
|
|
17
17
|
export { CryptoProvider } from './crypto/CryptoProvider.mjs';
|
|
18
|
-
export { AuthError, AuthErrorMessage, AzureCloudInstance, ClientAuthError, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorMessage, LogLevel, Logger, PromptValue, ProtocolMode, ResponseMode, ServerError, TokenCacheContext } from '@azure/msal-common';
|
|
18
|
+
export { AuthError, AuthErrorCodes, AuthErrorMessage, AzureCloudInstance, ClientAuthError, ClientAuthErrorCodes, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorCodes, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, LogLevel, Logger, PromptValue, ProtocolMode, ResponseMode, ServerError, TokenCacheContext } from '@azure/msal-common';
|
|
19
19
|
export { version } from './packageMetadata.mjs';
|
|
20
20
|
//# sourceMappingURL=index.mjs.map
|
package/dist/internals.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.0.
|
|
1
|
+
/*! @azure/msal-node v2.2.0-alpha.0 2023-09-20 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
var Serializer = require('./cache/serializer/Serializer.cjs');
|
|
6
6
|
var Deserializer = require('./cache/serializer/Deserializer.cjs');
|
|
7
7
|
|
|
8
|
-
/*
|
|
9
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
10
|
-
* Licensed under the MIT License.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
14
|
-
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
8
|
+
/*
|
|
9
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
10
|
+
* Licensed under the MIT License.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
14
|
+
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
exports.Serializer = Serializer.Serializer;
|
package/dist/internals.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.cjs","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"internals.cjs","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAKA;;;AAGG;AAEH;AACA;;;;;;;"}
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
3
|
-
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
4
|
-
*/
|
|
5
|
-
export { Serializer } from "./cache/serializer/Serializer";
|
|
6
|
-
export { Deserializer } from "./cache/serializer/Deserializer";
|
|
1
|
+
/**
|
|
2
|
+
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
3
|
+
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
4
|
+
*/
|
|
5
|
+
export { Serializer } from "./cache/serializer/Serializer.js";
|
|
6
|
+
export { Deserializer } from "./cache/serializer/Deserializer.js";
|
|
7
7
|
//# sourceMappingURL=internals.d.ts.map
|
package/dist/internals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC"}
|
package/dist/internals.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.0.
|
|
1
|
+
/*! @azure/msal-node v2.2.0-alpha.0 2023-09-20 */
|
|
2
2
|
'use strict';
|
|
3
3
|
export { Serializer } from './cache/serializer/Serializer.mjs';
|
|
4
4
|
export { Deserializer } from './cache/serializer/Deserializer.mjs';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
|
-
* Licensed under the MIT License.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
12
|
-
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
6
|
+
/*
|
|
7
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
|
+
* Licensed under the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
|
|
12
|
+
* Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
|
|
13
13
|
*/
|
|
14
14
|
//# sourceMappingURL=internals.mjs.map
|
package/dist/internals.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.mjs","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"internals.mjs","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA;;;AAGG;AAEH;AACA;;"}
|