@dynamic-labs/utils 1.4.6 → 1.4.8

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,22 @@
1
1
 
2
+ ### [1.4.8](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.7...v1.4.8) (2024-04-18)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * copy and ui fixes ([#5382](https://github.com/dynamic-labs/DynamicAuth/issues/5382)) ([210a52c](https://github.com/dynamic-labs/DynamicAuth/commit/210a52ce85a9812fe20c41445873b3a8b8dc44c2)), closes [#5325](https://github.com/dynamic-labs/DynamicAuth/issues/5325) ([#5339](https://github.com/dynamic-labs/DynamicAuth/issues/5339)) ([c1fde6b](https://github.com/dynamic-labs/DynamicAuth/commit/c1fde6beb1fa2666d71a4ffaed84adb3302665d4))
8
+ * bitcoin connector improvements
9
+
10
+ ### [1.4.7](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.6...v1.4.7) (2024-04-12)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * ui and layout improvements ([#5269](https://github.com/dynamic-labs/DynamicAuth/issues/5269)) ([#5296](https://github.com/dynamic-labs/DynamicAuth/issues/5296)) ([a1f7204](https://github.com/dynamic-labs/DynamicAuth/commit/a1f7204e44b4ae1650f86b76663c0802530935cb)) ([#5270](https://github.com/dynamic-labs/DynamicAuth/issues/5270)) ([#5278](https://github.com/dynamic-labs/DynamicAuth/issues/5278)) ([5f262f5](https://github.com/dynamic-labs/DynamicAuth/commit/5f262f54bba8eb2fa6346040478dd0417f42d2d1))
16
+ * callback trigger fixes ([#5310](https://github.com/dynamic-labs/DynamicAuth/issues/5310)) ([e6f7720](https://github.com/dynamic-labs/DynamicAuth/commit/e6f7720781a68b9d36448e4edea834e6478e7263))
17
+ * improve bridge connect experience on mobile ([#5284](https://github.com/dynamic-labs/DynamicAuth/issues/5284)) ([c8eab02](https://github.com/dynamic-labs/DynamicAuth/commit/c8eab0243ca5752d365fd907fde36b7c08669d5e))
18
+ * improve integration with i18n ([#5267](https://github.com/dynamic-labs/DynamicAuth/issues/5267)) ([#5313](https://github.com/dynamic-labs/DynamicAuth/issues/5313)) ([5f02f72](https://github.com/dynamic-labs/DynamicAuth/commit/5f02f72fe547e93d59a2545ffcce62c20fb22dbe))
19
+
2
20
  ### [1.4.6](https://github.com/dynamic-labs/DynamicAuth/compare/v1.4.5...v1.4.6) (2024-04-09)
3
21
 
4
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/utils",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
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.6",
31
- "@dynamic-labs/types": "1.4.6"
30
+ "@dynamic-labs/logger": "1.4.8",
31
+ "@dynamic-labs/types": "1.4.8"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "viem": "^1.19.13 || ^2.2.0"
@@ -52,7 +52,7 @@ const mapChain = (network) => {
52
52
  }
53
53
  : undefined,
54
54
  id: network.chainId,
55
- name: network.vanityName || network.chainName,
55
+ name: network.vanityName || network.name || network.chainName,
56
56
  nativeCurrency: network.nativeCurrency,
57
57
  network: network.chainName,
58
58
  rpcUrls: {
@@ -28,7 +28,7 @@ const mapChain = (network) => {
28
28
  }
29
29
  : undefined,
30
30
  id: network.chainId,
31
- name: network.vanityName || network.chainName,
31
+ name: network.vanityName || network.name || network.chainName,
32
32
  nativeCurrency: network.nativeCurrency,
33
33
  network: network.chainName,
34
34
  rpcUrls: {
@@ -11,7 +11,7 @@ require('viem/chains');
11
11
  require('tldts');
12
12
 
13
13
  const FALLBACK_UNDEFINED = 'FALLBACK_UNDEFINED';
14
- const retryableFn = (fn, options = {}) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
14
+ const retryableFn = (fn_1, ...args_1) => _tslib.__awaiter(void 0, [fn_1, ...args_1], void 0, function* (fn, options = {}) {
15
15
  const { maxRetries = 3, currentRetry = 0, timeoutMs = 100, fallbackValue = new Error('Max retries reached'), retryStrategy = 'timeout-only', retryIntervalMs = 0, logger, } = options;
16
16
  logger === null || logger === void 0 ? void 0 : logger.debug('Configured retryableFn with options: ', {
17
17
  currentRetry,
@@ -7,7 +7,7 @@ import 'viem/chains';
7
7
  import 'tldts';
8
8
 
9
9
  const FALLBACK_UNDEFINED = 'FALLBACK_UNDEFINED';
10
- const retryableFn = (fn, options = {}) => __awaiter(void 0, void 0, void 0, function* () {
10
+ const retryableFn = (fn_1, ...args_1) => __awaiter(void 0, [fn_1, ...args_1], void 0, function* (fn, options = {}) {
11
11
  const { maxRetries = 3, currentRetry = 0, timeoutMs = 100, fallbackValue = new Error('Max retries reached'), retryStrategy = 'timeout-only', retryIntervalMs = 0, logger, } = options;
12
12
  logger === null || logger === void 0 ? void 0 : logger.debug('Configured retryableFn with options: ', {
13
13
  currentRetry,