@dynamic-labs/utils 1.4.2 → 1.4.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/CHANGELOG.md +8 -0
- package/package.json +3 -3
- package/src/errors/TooManyEmailVerificationsError.cjs +13 -0
- package/src/errors/TooManyEmailVerificationsError.d.ts +4 -0
- package/src/errors/TooManyEmailVerificationsError.js +9 -0
- package/src/errors/index.d.ts +1 -0
- package/src/index.cjs +2 -0
- package/src/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [1.4.3](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.2...v1.4.3) (2024-03-28)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* improved email verification error handling ([1aeec7b](https://github.com/dynamic-labs/DynamicAuth/commit/1aeec7bc5e5771e1b518cbde53e691fb837333e5))
|
|
8
|
+
* improved embedded wallet ux ([eaae1b5](https://github.com/dynamic-labs/DynamicAuth/commit/eaae1b5262dbb0d9a1a5ae7852a2cc64e0d07c4a))
|
|
9
|
+
|
|
2
10
|
### [1.4.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.1...v1.4.2) (2024-03-26)
|
|
3
11
|
|
|
4
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"tldts": "^6.0.16",
|
|
30
|
-
"@dynamic-labs/logger": "1.4.
|
|
31
|
-
"@dynamic-labs/types": "1.4.
|
|
30
|
+
"@dynamic-labs/logger": "1.4.3",
|
|
31
|
+
"@dynamic-labs/types": "1.4.3"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"viem": "^1.19.13 || ^2.2.0"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var DynamicError = require('./DynamicError.cjs');
|
|
6
|
+
|
|
7
|
+
class TooManyEmailVerificationsError extends DynamicError.DynamicError {
|
|
8
|
+
constructor() {
|
|
9
|
+
super('Too many email verification attempts.');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
exports.TooManyEmailVerificationsError = TooManyEmailVerificationsError;
|
package/src/errors/index.d.ts
CHANGED
package/src/index.cjs
CHANGED
|
@@ -23,6 +23,7 @@ var SocialAccountAlreadyExistsError = require('./errors/SocialAccountAlreadyExis
|
|
|
23
23
|
var TransactionGasCannotBeSponsoredError = require('./errors/TransactionGasCannotBeSponsoredError.cjs');
|
|
24
24
|
var InsufficientFundsError = require('./errors/InsufficientFundsError.cjs');
|
|
25
25
|
var MissingPublicAddressError = require('./errors/MissingPublicAddressError.cjs');
|
|
26
|
+
var TooManyEmailVerificationsError = require('./errors/TooManyEmailVerificationsError.cjs');
|
|
26
27
|
var CancellablePromise = require('./CancellablePromise/CancellablePromise.cjs');
|
|
27
28
|
var isFunction = require('./isFunction/isFunction.cjs');
|
|
28
29
|
var isMobile = require('./isMobile.cjs');
|
|
@@ -63,6 +64,7 @@ exports.SocialAccountAlreadyExistsError = SocialAccountAlreadyExistsError.Social
|
|
|
63
64
|
exports.TransactionGasCannotBeSponsoredError = TransactionGasCannotBeSponsoredError.TransactionGasCannotBeSponsoredError;
|
|
64
65
|
exports.InsufficientFundsError = InsufficientFundsError.InsufficientFundsError;
|
|
65
66
|
exports.MissingPublicAddressError = MissingPublicAddressError.MissingPublicAddressError;
|
|
67
|
+
exports.TooManyEmailVerificationsError = TooManyEmailVerificationsError.TooManyEmailVerificationsError;
|
|
66
68
|
exports.CancellablePromise = CancellablePromise.CancellablePromise;
|
|
67
69
|
exports.isFunction = isFunction.isFunction;
|
|
68
70
|
exports.getAndroidVersion = isMobile.getAndroidVersion;
|
package/src/index.js
CHANGED
|
@@ -19,6 +19,7 @@ export { SocialAccountAlreadyExistsError } from './errors/SocialAccountAlreadyEx
|
|
|
19
19
|
export { TransactionGasCannotBeSponsoredError } from './errors/TransactionGasCannotBeSponsoredError.js';
|
|
20
20
|
export { InsufficientFundsError } from './errors/InsufficientFundsError.js';
|
|
21
21
|
export { MissingPublicAddressError } from './errors/MissingPublicAddressError.js';
|
|
22
|
+
export { TooManyEmailVerificationsError } from './errors/TooManyEmailVerificationsError.js';
|
|
22
23
|
export { CancellablePromise } from './CancellablePromise/CancellablePromise.js';
|
|
23
24
|
export { isFunction } from './isFunction/isFunction.js';
|
|
24
25
|
export { getAndroidVersion, isAndroid, isIOS, isIPad, isIPhone, isIPhone8OrEarlier, isLegacySafari, isMobile, isSamsungBrowser, isWindows } from './isMobile.js';
|