@dynamic-labs/utils 1.4.2 → 1.4.4

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 CHANGED
@@ -1,4 +1,24 @@
1
1
 
2
+ ### [1.4.4](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.3...v1.4.4) (2024-04-01)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * Multiple WC bug fixes ([#5132](https://github.com/dynamic-labs/DynamicAuth/issues/5132)) ([#5133](https://github.com/dynamic-labs/DynamicAuth/issues/5133)) ([88affaf](https://github.com/dynamic-labs/DynamicAuth/commit/88affaff291391f5f633f7f3bb1ecd5219705117))
8
+ * apply network validation in mobile auth flow ([#5142](https://github.com/dynamic-labs/DynamicAuth/issues/5142)) ([#5159](https://github.com/dynamic-labs/DynamicAuth/issues/5159)) ([f8a6202](https://github.com/dynamic-labs/DynamicAuth/commit/f8a6202f9af8f234c723cfd05f4438536eb30fd0))
9
+ * Better handling of empty callback queue ([#5147](https://github.com/dynamic-labs/DynamicAuth/issues/5147)) ([#5149](https://github.com/dynamic-labs/DynamicAuth/issues/5149)) ([f520f25](https://github.com/dynamic-labs/DynamicAuth/commit/f520f25f2a0faf12567db29f6712cc2f8e421cff))
10
+ * multiple improvements to the wallet list ([#5155](https://github.com/dynamic-labs/DynamicAuth/issues/5155)) ([582ac0e](https://github.com/dynamic-labs/DynamicAuth/commit/582ac0e8baf0fd0eec1246219a5eda730c99f290)), closes [#5112](https://github.com/dynamic-labs/DynamicAuth/issues/5112)
11
+ * Improved scroll experience on ios [48873da](https://github.com/dynamic-labs/DynamicAuth/commit/48873da25bafd07104cebf3bcbb8e2a787c8092c))
12
+ * better handling of multiwallet state ([#5146](https://github.com/dynamic-labs/DynamicAuth/issues/5146)) ([#5148](https://github.com/dynamic-labs/DynamicAuth/issues/5148)) ([dabb780](https://github.com/dynamic-labs/DynamicAuth/commit/dabb7808c94cfa4da7d0c7a058f04d69ffdb301a))
13
+
14
+ ### [1.4.3](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.2...v1.4.3) (2024-03-28)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * improved email verification error handling ([1aeec7b](https://github.com/dynamic-labs/DynamicAuth/commit/1aeec7bc5e5771e1b518cbde53e691fb837333e5))
20
+ * improved embedded wallet ux ([eaae1b5](https://github.com/dynamic-labs/DynamicAuth/commit/eaae1b5262dbb0d9a1a5ae7852a2cc64e0d07c4a))
21
+
2
22
  ### [1.4.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.1...v1.4.2) (2024-03-26)
3
23
 
4
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/utils",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
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.2",
31
- "@dynamic-labs/types": "1.4.2"
30
+ "@dynamic-labs/logger": "1.4.4",
31
+ "@dynamic-labs/types": "1.4.4"
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;
@@ -0,0 +1,4 @@
1
+ import { DynamicError } from './DynamicError';
2
+ export declare class TooManyEmailVerificationsError extends DynamicError {
3
+ constructor();
4
+ }
@@ -0,0 +1,9 @@
1
+ import { DynamicError } from './DynamicError.js';
2
+
3
+ class TooManyEmailVerificationsError extends DynamicError {
4
+ constructor() {
5
+ super('Too many email verification attempts.');
6
+ }
7
+ }
8
+
9
+ export { TooManyEmailVerificationsError };
@@ -18,3 +18,4 @@ export * from './TransactionGasCannotBeSponsoredError';
18
18
  export * from './InsufficientFundsError';
19
19
  export * from './PasskeyError';
20
20
  export * from './MissingPublicAddressError';
21
+ export * from './TooManyEmailVerificationsError';
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';