@dynamic-labs/utils 4.21.1 → 4.22.1
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/CHANGELOG.md +10 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +5 -5
- package/src/errors/index.d.ts +18 -20
- package/src/index.cjs +36 -40
- package/src/index.js +18 -20
- package/src/errors/MfaInvalidOtpError.cjs +0 -14
- package/src/errors/MfaInvalidOtpError.d.ts +0 -4
- package/src/errors/MfaInvalidOtpError.js +0 -10
- package/src/errors/MfaRateLimitedError.cjs +0 -14
- package/src/errors/MfaRateLimitedError.d.ts +0 -4
- package/src/errors/MfaRateLimitedError.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.22.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.22.0...v4.22.1) (2025-07-08)
|
|
3
|
+
|
|
4
|
+
## [4.22.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.21.1...v4.22.0) (2025-07-07)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* add authtoken to sign messsage and transaction ([#9106](https://github.com/dynamic-labs/dynamic-auth/issues/9106)) ([fe49a6b](https://github.com/dynamic-labs/dynamic-auth/commit/fe49a6b9dcf1121e3cc128835481107edaeb522a))
|
|
10
|
+
* bump waas wallet sdk to 0.0.110 to fix esmodule inference with node 20 and earlier versions ([#9108](https://github.com/dynamic-labs/dynamic-auth/issues/9108)) ([fa54fe6](https://github.com/dynamic-labs/dynamic-auth/commit/fa54fe610d885fcc826e3dff1c57e50b6b7f2934))
|
|
11
|
+
|
|
2
12
|
### [4.21.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.21.0...v4.21.1) (2025-07-04)
|
|
3
13
|
|
|
4
14
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.1",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.706",
|
|
22
22
|
"tldts": "6.0.16",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
-
"@dynamic-labs/logger": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.22.1",
|
|
24
|
+
"@dynamic-labs/logger": "4.22.1",
|
|
25
|
+
"@dynamic-labs/types": "4.22.1",
|
|
26
26
|
"buffer": "6.0.3",
|
|
27
27
|
"eventemitter3": "5.0.1"
|
|
28
28
|
},
|
package/src/errors/index.d.ts
CHANGED
|
@@ -1,44 +1,42 @@
|
|
|
1
|
+
export * from './AccessBlockedError';
|
|
1
2
|
export * from './AccountExistsError';
|
|
2
3
|
export * from './ChainalysisError';
|
|
3
|
-
export * from './
|
|
4
|
+
export * from './CookieInvalidError';
|
|
4
5
|
export * from './CustomError';
|
|
6
|
+
export * from './CustomFieldNotUniqueError';
|
|
5
7
|
export * from './DynamicError';
|
|
6
8
|
export * from './EmailAlreadyExistsError';
|
|
7
9
|
export * from './EmailProviderError';
|
|
8
10
|
export * from './EmailVerificationError';
|
|
11
|
+
export * from './EmbeddedWalletException';
|
|
12
|
+
export * from './EmbeddedWalletExistsError';
|
|
9
13
|
export * from './ErrorCode';
|
|
14
|
+
export * from './ExternalAuthError';
|
|
10
15
|
export * from './GateBlockedError';
|
|
16
|
+
export * from './GetAddressCancelledError';
|
|
11
17
|
export * from './InsufficientFundsError';
|
|
18
|
+
export * from './InvalidEmbeddedWalletSessionKeyError';
|
|
19
|
+
export * from './InvalidPhoneNumberError';
|
|
20
|
+
export * from './MergeAccountsConfirmationError';
|
|
12
21
|
export * from './MetaMaskError';
|
|
13
22
|
export * from './MissingEnvironmentIdError';
|
|
14
23
|
export * from './MissingPublicAddressError';
|
|
15
24
|
export * from './NoAccessError';
|
|
16
25
|
export * from './NotSupportedError';
|
|
17
26
|
export * from './PasskeyError';
|
|
27
|
+
export * from './RequestChannelNotHandledError';
|
|
28
|
+
export * from './ResponseError';
|
|
29
|
+
export * from './SandboxMaximumThresholdReachedError';
|
|
30
|
+
export * from './SeiNotEnabledInKeplrWalletError';
|
|
18
31
|
export * from './SmsVerificationError';
|
|
19
32
|
export * from './SocialAccountAlreadyExistsError';
|
|
33
|
+
export * from './TooManyEmailVerificationsError';
|
|
20
34
|
export * from './TransactionGasCannotBeSponsoredError';
|
|
21
35
|
export * from './UserHasAccountWithEmailError';
|
|
22
36
|
export * from './UsernameAlreadyExistsError';
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './WalletUsedError';
|
|
37
|
+
export * from './UserRejectedRequestError';
|
|
25
38
|
export * from './UserRejectedTransactionError';
|
|
26
|
-
export * from './TooManyEmailVerificationsError';
|
|
27
39
|
export * from './VerificationDataCollectionError';
|
|
28
|
-
export * from './InvalidPhoneNumberError';
|
|
29
|
-
export * from './MergeAccountsConfirmationError';
|
|
30
|
-
export * from './CustomFieldNotUniqueError';
|
|
31
|
-
export * from './CookieInvalidError';
|
|
32
|
-
export * from './RequestChannelNotHandledError';
|
|
33
|
-
export * from './AccessBlockedError';
|
|
34
|
-
export * from './EmbeddedWalletException';
|
|
35
|
-
export * from './MfaInvalidOtpError';
|
|
36
|
-
export * from './MfaRateLimitedError';
|
|
37
|
-
export * from './ExternalAuthError';
|
|
38
40
|
export * from './WalletAddressMismatchError';
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './EmbeddedWalletExistsError';
|
|
42
|
-
export * from './GetAddressCancelledError';
|
|
43
|
-
export * from './SeiNotEnabledInKeplrWalletError';
|
|
44
|
-
export * from './ResponseError';
|
|
41
|
+
export * from './WalletNotDeployedError';
|
|
42
|
+
export * from './WalletUsedError';
|
package/src/index.cjs
CHANGED
|
@@ -10,49 +10,47 @@ var CancellablePromise = require('./CancellablePromise/CancellablePromise.cjs');
|
|
|
10
10
|
var ceil = require('./ceil/ceil.cjs');
|
|
11
11
|
var DeferredPromise = require('./DeferredPromise/DeferredPromise.cjs');
|
|
12
12
|
var eip6963Provider = require('./eip6963/eip6963Provider.cjs');
|
|
13
|
+
var AccessBlockedError = require('./errors/AccessBlockedError.cjs');
|
|
13
14
|
var AccountExistsError = require('./errors/AccountExistsError.cjs');
|
|
14
15
|
var ChainalysisError = require('./errors/ChainalysisError.cjs');
|
|
15
|
-
var
|
|
16
|
+
var CookieInvalidError = require('./errors/CookieInvalidError.cjs');
|
|
16
17
|
var CustomError = require('./errors/CustomError.cjs');
|
|
18
|
+
var CustomFieldNotUniqueError = require('./errors/CustomFieldNotUniqueError.cjs');
|
|
17
19
|
var DynamicError = require('./errors/DynamicError.cjs');
|
|
18
20
|
var EmailAlreadyExistsError = require('./errors/EmailAlreadyExistsError.cjs');
|
|
19
21
|
var EmailProviderError = require('./errors/EmailProviderError.cjs');
|
|
20
22
|
var EmailVerificationError = require('./errors/EmailVerificationError.cjs');
|
|
23
|
+
var EmbeddedWalletException = require('./errors/EmbeddedWalletException.cjs');
|
|
24
|
+
var EmbeddedWalletExistsError = require('./errors/EmbeddedWalletExistsError.cjs');
|
|
21
25
|
var ErrorCode = require('./errors/ErrorCode.cjs');
|
|
26
|
+
var ExternalAuthError = require('./errors/ExternalAuthError.cjs');
|
|
22
27
|
var GateBlockedError = require('./errors/GateBlockedError.cjs');
|
|
28
|
+
var GetAddressCancelledError = require('./errors/GetAddressCancelledError.cjs');
|
|
23
29
|
var InsufficientFundsError = require('./errors/InsufficientFundsError.cjs');
|
|
30
|
+
var InvalidEmbeddedWalletSessionKeyError = require('./errors/InvalidEmbeddedWalletSessionKeyError.cjs');
|
|
31
|
+
var InvalidPhoneNumberError = require('./errors/InvalidPhoneNumberError.cjs');
|
|
32
|
+
var MergeAccountsConfirmationError = require('./errors/MergeAccountsConfirmationError.cjs');
|
|
24
33
|
var MetaMaskError = require('./errors/MetaMaskError.cjs');
|
|
25
34
|
var MissingEnvironmentIdError = require('./errors/MissingEnvironmentIdError.cjs');
|
|
26
35
|
var MissingPublicAddressError = require('./errors/MissingPublicAddressError.cjs');
|
|
27
36
|
var NoAccessError = require('./errors/NoAccessError.cjs');
|
|
28
37
|
var NotSupportedError = require('./errors/NotSupportedError.cjs');
|
|
38
|
+
var RequestChannelNotHandledError = require('./errors/RequestChannelNotHandledError.cjs');
|
|
39
|
+
var ResponseError = require('./errors/ResponseError.cjs');
|
|
40
|
+
var SandboxMaximumThresholdReachedError = require('./errors/SandboxMaximumThresholdReachedError.cjs');
|
|
41
|
+
var SeiNotEnabledInKeplrWalletError = require('./errors/SeiNotEnabledInKeplrWalletError.cjs');
|
|
29
42
|
var SmsVerificationError = require('./errors/SmsVerificationError.cjs');
|
|
30
43
|
var SocialAccountAlreadyExistsError = require('./errors/SocialAccountAlreadyExistsError.cjs');
|
|
44
|
+
var TooManyEmailVerificationsError = require('./errors/TooManyEmailVerificationsError.cjs');
|
|
31
45
|
var TransactionGasCannotBeSponsoredError = require('./errors/TransactionGasCannotBeSponsoredError.cjs');
|
|
32
46
|
var UserHasAccountWithEmailError = require('./errors/UserHasAccountWithEmailError.cjs');
|
|
33
47
|
var UsernameAlreadyExistsError = require('./errors/UsernameAlreadyExistsError.cjs');
|
|
34
|
-
var
|
|
35
|
-
var WalletUsedError = require('./errors/WalletUsedError.cjs');
|
|
48
|
+
var UserRejectedRequestError = require('./errors/UserRejectedRequestError.cjs');
|
|
36
49
|
var UserRejectedTransactionError = require('./errors/UserRejectedTransactionError.cjs');
|
|
37
|
-
var TooManyEmailVerificationsError = require('./errors/TooManyEmailVerificationsError.cjs');
|
|
38
50
|
var VerificationDataCollectionError = require('./errors/VerificationDataCollectionError.cjs');
|
|
39
|
-
var InvalidPhoneNumberError = require('./errors/InvalidPhoneNumberError.cjs');
|
|
40
|
-
var MergeAccountsConfirmationError = require('./errors/MergeAccountsConfirmationError.cjs');
|
|
41
|
-
var CustomFieldNotUniqueError = require('./errors/CustomFieldNotUniqueError.cjs');
|
|
42
|
-
var CookieInvalidError = require('./errors/CookieInvalidError.cjs');
|
|
43
|
-
var RequestChannelNotHandledError = require('./errors/RequestChannelNotHandledError.cjs');
|
|
44
|
-
var AccessBlockedError = require('./errors/AccessBlockedError.cjs');
|
|
45
|
-
var EmbeddedWalletException = require('./errors/EmbeddedWalletException.cjs');
|
|
46
|
-
var MfaInvalidOtpError = require('./errors/MfaInvalidOtpError.cjs');
|
|
47
|
-
var MfaRateLimitedError = require('./errors/MfaRateLimitedError.cjs');
|
|
48
|
-
var ExternalAuthError = require('./errors/ExternalAuthError.cjs');
|
|
49
51
|
var WalletAddressMismatchError = require('./errors/WalletAddressMismatchError.cjs');
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var EmbeddedWalletExistsError = require('./errors/EmbeddedWalletExistsError.cjs');
|
|
53
|
-
var GetAddressCancelledError = require('./errors/GetAddressCancelledError.cjs');
|
|
54
|
-
var SeiNotEnabledInKeplrWalletError = require('./errors/SeiNotEnabledInKeplrWalletError.cjs');
|
|
55
|
-
var ResponseError = require('./errors/ResponseError.cjs');
|
|
52
|
+
var WalletNotDeployedError = require('./errors/WalletNotDeployedError.cjs');
|
|
53
|
+
var WalletUsedError = require('./errors/WalletUsedError.cjs');
|
|
56
54
|
var eventTimeline = require('./eventTimeline/eventTimeline.cjs');
|
|
57
55
|
var formatNumberText = require('./formatNumberText/formatNumberText.cjs');
|
|
58
56
|
var getProvidersFromWindow = require('./getProvidersFromWindow/getProvidersFromWindow.cjs');
|
|
@@ -118,53 +116,51 @@ exports.Eip6963Provider = eip6963Provider.Eip6963Provider;
|
|
|
118
116
|
exports.Eip6963ProviderSingleton = eip6963Provider.Eip6963ProviderSingleton;
|
|
119
117
|
exports.isEip9693Event = eip6963Provider.isEip9693Event;
|
|
120
118
|
exports.listenToEip6963Events = eip6963Provider.listenToEip6963Events;
|
|
119
|
+
exports.AccessBlockedError = AccessBlockedError.AccessBlockedError;
|
|
121
120
|
exports.AccountExistsError = AccountExistsError.AccountExistsError;
|
|
122
121
|
exports.ChainalysisError = ChainalysisError.ChainalysisError;
|
|
123
|
-
exports.
|
|
122
|
+
exports.CookieInvalidError = CookieInvalidError.CookieInvalidError;
|
|
124
123
|
exports.CustomError = CustomError.CustomError;
|
|
124
|
+
exports.CustomFieldNotUniqueError = CustomFieldNotUniqueError.CustomFieldNotUniqueError;
|
|
125
125
|
exports.DynamicError = DynamicError.DynamicError;
|
|
126
126
|
exports.EmailAlreadyExistsError = EmailAlreadyExistsError.EmailAlreadyExistsError;
|
|
127
127
|
exports.EmailProviderError = EmailProviderError.EmailProviderError;
|
|
128
128
|
exports.EmailVerificationError = EmailVerificationError.EmailVerificationError;
|
|
129
|
+
exports.EmbeddedWalletException = EmbeddedWalletException.EmbeddedWalletException;
|
|
130
|
+
exports.EmbeddedWalletExistsError = EmbeddedWalletExistsError.EmbeddedWalletExistsError;
|
|
129
131
|
Object.defineProperty(exports, 'ErrorCode', {
|
|
130
132
|
enumerable: true,
|
|
131
133
|
get: function () { return ErrorCode.ErrorCode; }
|
|
132
134
|
});
|
|
135
|
+
exports.ExternalAuthError = ExternalAuthError.ExternalAuthError;
|
|
133
136
|
exports.GateBlockedError = GateBlockedError.GateBlockedError;
|
|
137
|
+
exports.GetAddressCancelledError = GetAddressCancelledError.GetAddressCancelledError;
|
|
134
138
|
exports.InsufficientFundsError = InsufficientFundsError.InsufficientFundsError;
|
|
139
|
+
exports.InvalidEmbeddedWalletSessionKeyError = InvalidEmbeddedWalletSessionKeyError.InvalidEmbeddedWalletSessionKeyError;
|
|
140
|
+
exports.InvalidPhoneNumberError = InvalidPhoneNumberError.InvalidPhoneNumberError;
|
|
141
|
+
exports.MergeAccountsConfirmationError = MergeAccountsConfirmationError.MergeAccountsConfirmationError;
|
|
135
142
|
exports.MetaMaskError = MetaMaskError.MetaMaskError;
|
|
136
143
|
exports.metaMaskErrorMap = MetaMaskError.metaMaskErrorMap;
|
|
137
144
|
exports.MissingEnvironmentIdError = MissingEnvironmentIdError.MissingEnvironmentIdError;
|
|
138
145
|
exports.MissingPublicAddressError = MissingPublicAddressError.MissingPublicAddressError;
|
|
139
146
|
exports.NoAccessError = NoAccessError.NoAccessError;
|
|
140
147
|
exports.NotSupportedError = NotSupportedError.NotSupportedError;
|
|
148
|
+
exports.RequestChannelNotHandledError = RequestChannelNotHandledError.RequestChannelNotHandledError;
|
|
149
|
+
exports.ResponseError = ResponseError.ResponseError;
|
|
150
|
+
exports.SandboxMaximumThresholdReachedError = SandboxMaximumThresholdReachedError.SandboxMaximumThresholdReachedError;
|
|
151
|
+
exports.SeiNotEnabledInKeplrWalletError = SeiNotEnabledInKeplrWalletError.SeiNotEnabledInKeplrWalletError;
|
|
141
152
|
exports.SmsVerificationError = SmsVerificationError.SmsVerificationError;
|
|
142
153
|
exports.SocialAccountAlreadyExistsError = SocialAccountAlreadyExistsError.SocialAccountAlreadyExistsError;
|
|
154
|
+
exports.TooManyEmailVerificationsError = TooManyEmailVerificationsError.TooManyEmailVerificationsError;
|
|
143
155
|
exports.TransactionGasCannotBeSponsoredError = TransactionGasCannotBeSponsoredError.TransactionGasCannotBeSponsoredError;
|
|
144
156
|
exports.UserHasAccountWithEmailError = UserHasAccountWithEmailError.UserHasAccountWithEmailError;
|
|
145
157
|
exports.UsernameAlreadyExistsError = UsernameAlreadyExistsError.UsernameAlreadyExistsError;
|
|
146
|
-
exports.
|
|
147
|
-
exports.WalletUsedError = WalletUsedError.WalletUsedError;
|
|
158
|
+
exports.UserRejectedRequestError = UserRejectedRequestError.UserRejectedRequestError;
|
|
148
159
|
exports.UserRejectedTransactionError = UserRejectedTransactionError.UserRejectedTransactionError;
|
|
149
|
-
exports.TooManyEmailVerificationsError = TooManyEmailVerificationsError.TooManyEmailVerificationsError;
|
|
150
160
|
exports.VerificationDataCollectionError = VerificationDataCollectionError.VerificationDataCollectionError;
|
|
151
|
-
exports.InvalidPhoneNumberError = InvalidPhoneNumberError.InvalidPhoneNumberError;
|
|
152
|
-
exports.MergeAccountsConfirmationError = MergeAccountsConfirmationError.MergeAccountsConfirmationError;
|
|
153
|
-
exports.CustomFieldNotUniqueError = CustomFieldNotUniqueError.CustomFieldNotUniqueError;
|
|
154
|
-
exports.CookieInvalidError = CookieInvalidError.CookieInvalidError;
|
|
155
|
-
exports.RequestChannelNotHandledError = RequestChannelNotHandledError.RequestChannelNotHandledError;
|
|
156
|
-
exports.AccessBlockedError = AccessBlockedError.AccessBlockedError;
|
|
157
|
-
exports.EmbeddedWalletException = EmbeddedWalletException.EmbeddedWalletException;
|
|
158
|
-
exports.MfaInvalidOtpError = MfaInvalidOtpError.MfaInvalidOtpError;
|
|
159
|
-
exports.MfaRateLimitedError = MfaRateLimitedError.MfaRateLimitedError;
|
|
160
|
-
exports.ExternalAuthError = ExternalAuthError.ExternalAuthError;
|
|
161
161
|
exports.WalletAddressMismatchError = WalletAddressMismatchError.WalletAddressMismatchError;
|
|
162
|
-
exports.
|
|
163
|
-
exports.
|
|
164
|
-
exports.EmbeddedWalletExistsError = EmbeddedWalletExistsError.EmbeddedWalletExistsError;
|
|
165
|
-
exports.GetAddressCancelledError = GetAddressCancelledError.GetAddressCancelledError;
|
|
166
|
-
exports.SeiNotEnabledInKeplrWalletError = SeiNotEnabledInKeplrWalletError.SeiNotEnabledInKeplrWalletError;
|
|
167
|
-
exports.ResponseError = ResponseError.ResponseError;
|
|
162
|
+
exports.WalletNotDeployedError = WalletNotDeployedError.WalletNotDeployedError;
|
|
163
|
+
exports.WalletUsedError = WalletUsedError.WalletUsedError;
|
|
168
164
|
exports.createEventTimeline = eventTimeline.createEventTimeline;
|
|
169
165
|
exports.formatNumberText = formatNumberText.formatNumberText;
|
|
170
166
|
exports.getProvidersFromWindow = getProvidersFromWindow.getProvidersFromWindow;
|
package/src/index.js
CHANGED
|
@@ -6,49 +6,47 @@ export { CancellablePromise } from './CancellablePromise/CancellablePromise.js';
|
|
|
6
6
|
export { ceil } from './ceil/ceil.js';
|
|
7
7
|
export { DeferredPromise } from './DeferredPromise/DeferredPromise.js';
|
|
8
8
|
export { Eip6963Provider, Eip6963ProviderSingleton, isEip9693Event, listenToEip6963Events } from './eip6963/eip6963Provider.js';
|
|
9
|
+
export { AccessBlockedError } from './errors/AccessBlockedError.js';
|
|
9
10
|
export { AccountExistsError } from './errors/AccountExistsError.js';
|
|
10
11
|
export { ChainalysisError } from './errors/ChainalysisError.js';
|
|
11
|
-
export {
|
|
12
|
+
export { CookieInvalidError } from './errors/CookieInvalidError.js';
|
|
12
13
|
export { CustomError } from './errors/CustomError.js';
|
|
14
|
+
export { CustomFieldNotUniqueError } from './errors/CustomFieldNotUniqueError.js';
|
|
13
15
|
export { DynamicError } from './errors/DynamicError.js';
|
|
14
16
|
export { EmailAlreadyExistsError } from './errors/EmailAlreadyExistsError.js';
|
|
15
17
|
export { EmailProviderError } from './errors/EmailProviderError.js';
|
|
16
18
|
export { EmailVerificationError } from './errors/EmailVerificationError.js';
|
|
19
|
+
export { EmbeddedWalletException } from './errors/EmbeddedWalletException.js';
|
|
20
|
+
export { EmbeddedWalletExistsError } from './errors/EmbeddedWalletExistsError.js';
|
|
17
21
|
export { ErrorCode } from './errors/ErrorCode.js';
|
|
22
|
+
export { ExternalAuthError } from './errors/ExternalAuthError.js';
|
|
18
23
|
export { GateBlockedError } from './errors/GateBlockedError.js';
|
|
24
|
+
export { GetAddressCancelledError } from './errors/GetAddressCancelledError.js';
|
|
19
25
|
export { InsufficientFundsError } from './errors/InsufficientFundsError.js';
|
|
26
|
+
export { InvalidEmbeddedWalletSessionKeyError } from './errors/InvalidEmbeddedWalletSessionKeyError.js';
|
|
27
|
+
export { InvalidPhoneNumberError } from './errors/InvalidPhoneNumberError.js';
|
|
28
|
+
export { MergeAccountsConfirmationError } from './errors/MergeAccountsConfirmationError.js';
|
|
20
29
|
export { MetaMaskError, metaMaskErrorMap } from './errors/MetaMaskError.js';
|
|
21
30
|
export { MissingEnvironmentIdError } from './errors/MissingEnvironmentIdError.js';
|
|
22
31
|
export { MissingPublicAddressError } from './errors/MissingPublicAddressError.js';
|
|
23
32
|
export { NoAccessError } from './errors/NoAccessError.js';
|
|
24
33
|
export { NotSupportedError } from './errors/NotSupportedError.js';
|
|
34
|
+
export { RequestChannelNotHandledError } from './errors/RequestChannelNotHandledError.js';
|
|
35
|
+
export { ResponseError } from './errors/ResponseError.js';
|
|
36
|
+
export { SandboxMaximumThresholdReachedError } from './errors/SandboxMaximumThresholdReachedError.js';
|
|
37
|
+
export { SeiNotEnabledInKeplrWalletError } from './errors/SeiNotEnabledInKeplrWalletError.js';
|
|
25
38
|
export { SmsVerificationError } from './errors/SmsVerificationError.js';
|
|
26
39
|
export { SocialAccountAlreadyExistsError } from './errors/SocialAccountAlreadyExistsError.js';
|
|
40
|
+
export { TooManyEmailVerificationsError } from './errors/TooManyEmailVerificationsError.js';
|
|
27
41
|
export { TransactionGasCannotBeSponsoredError } from './errors/TransactionGasCannotBeSponsoredError.js';
|
|
28
42
|
export { UserHasAccountWithEmailError } from './errors/UserHasAccountWithEmailError.js';
|
|
29
43
|
export { UsernameAlreadyExistsError } from './errors/UsernameAlreadyExistsError.js';
|
|
30
|
-
export {
|
|
31
|
-
export { WalletUsedError } from './errors/WalletUsedError.js';
|
|
44
|
+
export { UserRejectedRequestError } from './errors/UserRejectedRequestError.js';
|
|
32
45
|
export { UserRejectedTransactionError } from './errors/UserRejectedTransactionError.js';
|
|
33
|
-
export { TooManyEmailVerificationsError } from './errors/TooManyEmailVerificationsError.js';
|
|
34
46
|
export { VerificationDataCollectionError } from './errors/VerificationDataCollectionError.js';
|
|
35
|
-
export { InvalidPhoneNumberError } from './errors/InvalidPhoneNumberError.js';
|
|
36
|
-
export { MergeAccountsConfirmationError } from './errors/MergeAccountsConfirmationError.js';
|
|
37
|
-
export { CustomFieldNotUniqueError } from './errors/CustomFieldNotUniqueError.js';
|
|
38
|
-
export { CookieInvalidError } from './errors/CookieInvalidError.js';
|
|
39
|
-
export { RequestChannelNotHandledError } from './errors/RequestChannelNotHandledError.js';
|
|
40
|
-
export { AccessBlockedError } from './errors/AccessBlockedError.js';
|
|
41
|
-
export { EmbeddedWalletException } from './errors/EmbeddedWalletException.js';
|
|
42
|
-
export { MfaInvalidOtpError } from './errors/MfaInvalidOtpError.js';
|
|
43
|
-
export { MfaRateLimitedError } from './errors/MfaRateLimitedError.js';
|
|
44
|
-
export { ExternalAuthError } from './errors/ExternalAuthError.js';
|
|
45
47
|
export { WalletAddressMismatchError } from './errors/WalletAddressMismatchError.js';
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export { EmbeddedWalletExistsError } from './errors/EmbeddedWalletExistsError.js';
|
|
49
|
-
export { GetAddressCancelledError } from './errors/GetAddressCancelledError.js';
|
|
50
|
-
export { SeiNotEnabledInKeplrWalletError } from './errors/SeiNotEnabledInKeplrWalletError.js';
|
|
51
|
-
export { ResponseError } from './errors/ResponseError.js';
|
|
48
|
+
export { WalletNotDeployedError } from './errors/WalletNotDeployedError.js';
|
|
49
|
+
export { WalletUsedError } from './errors/WalletUsedError.js';
|
|
52
50
|
export { createEventTimeline } from './eventTimeline/eventTimeline.js';
|
|
53
51
|
export { formatNumberText } from './formatNumberText/formatNumberText.js';
|
|
54
52
|
export { getProvidersFromWindow } from './getProvidersFromWindow/getProvidersFromWindow.js';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var DynamicError = require('./DynamicError.cjs');
|
|
7
|
-
|
|
8
|
-
class MfaInvalidOtpError extends DynamicError.DynamicError {
|
|
9
|
-
constructor() {
|
|
10
|
-
super('Invalid code');
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.MfaInvalidOtpError = MfaInvalidOtpError;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var DynamicError = require('./DynamicError.cjs');
|
|
7
|
-
|
|
8
|
-
class MfaRateLimitedError extends DynamicError.DynamicError {
|
|
9
|
-
constructor() {
|
|
10
|
-
super('Rate limit reached');
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.MfaRateLimitedError = MfaRateLimitedError;
|