@dynamic-labs/utils 3.0.0-alpha.21 → 3.0.0-alpha.23
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,31 @@
|
|
|
1
1
|
|
|
2
|
+
## [3.0.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.22...v3.0.0-alpha.23) (2024-07-19)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* show custom labels in the sdk ([#6352](https://github.com/dynamic-labs/DynamicAuth/issues/6352)) ([6eec9b2](https://github.com/dynamic-labs/DynamicAuth/commit/6eec9b26dbfd25c5138378aa92de8379a5cd0ddc))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* add missing await to viem controller ([#6354](https://github.com/dynamic-labs/DynamicAuth/issues/6354)) ([32c7362](https://github.com/dynamic-labs/DynamicAuth/commit/32c73625c5575f9134edd541c7221aba08a741b5))
|
|
13
|
+
* allow for react-native 0.74.x ([#6371](https://github.com/dynamic-labs/DynamicAuth/issues/6371)) ([37e08b6](https://github.com/dynamic-labs/DynamicAuth/commit/37e08b6b32bcaef7b7f6a4dedc45b2321f3f64a6))
|
|
14
|
+
* not able to switch to secondary wallet ([#6373](https://github.com/dynamic-labs/DynamicAuth/issues/6373)) ([f85ed10](https://github.com/dynamic-labs/DynamicAuth/commit/f85ed10aca8bf41658eb1418cd87e1c5061d4b1b))
|
|
15
|
+
|
|
16
|
+
## [3.0.0-alpha.22](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.21...v3.0.0-alpha.22) (2024-07-18)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* add support for aa kernel 3.1 ([#6333](https://github.com/dynamic-labs/DynamicAuth/issues/6333)) ([93c743a](https://github.com/dynamic-labs/DynamicAuth/commit/93c743a74d1af79f15baec343d15212a2feeac39))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* ensure retryableFn props are passed through ([#6357](https://github.com/dynamic-labs/DynamicAuth/issues/6357)) ([246da78](https://github.com/dynamic-labs/DynamicAuth/commit/246da78ebaa0e623843d93fc990d8a0f3298af54))
|
|
27
|
+
* removes wallet connect qr code from magic eden ([#6360](https://github.com/dynamic-labs/DynamicAuth/issues/6360)) ([5968c2e](https://github.com/dynamic-labs/DynamicAuth/commit/5968c2e220f98b0995a2067e6f5397f27da4dfb0))
|
|
28
|
+
|
|
2
29
|
## [3.0.0-alpha.21](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.20...v3.0.0-alpha.21) (2024-07-17)
|
|
3
30
|
|
|
4
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.23",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
29
|
+
"@dynamic-labs/sdk-api-core": "0.0.489",
|
|
30
30
|
"tldts": "6.0.16",
|
|
31
|
-
"@dynamic-labs/logger": "3.0.0-alpha.
|
|
32
|
-
"@dynamic-labs/types": "3.0.0-alpha.
|
|
31
|
+
"@dynamic-labs/logger": "3.0.0-alpha.23",
|
|
32
|
+
"@dynamic-labs/types": "3.0.0-alpha.23",
|
|
33
33
|
"buffer": "6.0.3",
|
|
34
34
|
"stream": "0.0.2"
|
|
35
35
|
},
|
|
@@ -3,18 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
require('../errors/InsufficientFundsError.cjs');
|
|
7
|
-
require('../errors/TransactionGasCannotBeSponsoredError.cjs');
|
|
8
|
-
require('../logger/logger.cjs');
|
|
9
6
|
var isMobile = require('../isMobile.cjs');
|
|
10
|
-
require('../../_virtual/_tslib.cjs');
|
|
11
|
-
require('../bufferPolyfill.cjs');
|
|
12
|
-
require('../services/PlatformService/PlatformService.cjs');
|
|
13
|
-
require('tldts');
|
|
14
|
-
require('../services/FetchService/FetchService.cjs');
|
|
15
|
-
require('../services/Oauth2Service/Oauth2Service.cjs');
|
|
16
|
-
require('@dynamic-labs/types');
|
|
17
|
-
require('@dynamic-labs/sdk-api-core');
|
|
18
7
|
|
|
19
8
|
const handleMobileWalletRedirect = ({ nativeLink, universalLink, }) => {
|
|
20
9
|
const url = encodeURIComponent(window.location.toString());
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
'use client'
|
|
2
|
-
import '../errors/InsufficientFundsError.js';
|
|
3
|
-
import '../errors/TransactionGasCannotBeSponsoredError.js';
|
|
4
|
-
import '../logger/logger.js';
|
|
5
2
|
import { isSamsungBrowser } from '../isMobile.js';
|
|
6
|
-
import '../../_virtual/_tslib.js';
|
|
7
|
-
import '../bufferPolyfill.js';
|
|
8
|
-
import '../services/PlatformService/PlatformService.js';
|
|
9
|
-
import 'tldts';
|
|
10
|
-
import '../services/FetchService/FetchService.js';
|
|
11
|
-
import '../services/Oauth2Service/Oauth2Service.js';
|
|
12
|
-
import '@dynamic-labs/types';
|
|
13
|
-
import '@dynamic-labs/sdk-api-core';
|
|
14
3
|
|
|
15
4
|
const handleMobileWalletRedirect = ({ nativeLink, universalLink, }) => {
|
|
16
5
|
const url = encodeURIComponent(window.location.toString());
|
package/src/retryableFn.cjs
CHANGED
|
@@ -4,17 +4,7 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var _tslib = require('../_virtual/_tslib.cjs');
|
|
7
|
-
require('./errors/InsufficientFundsError.cjs');
|
|
8
|
-
require('./errors/TransactionGasCannotBeSponsoredError.cjs');
|
|
9
|
-
require('./logger/logger.cjs');
|
|
10
|
-
require('./bufferPolyfill.cjs');
|
|
11
7
|
var sleep = require('./sleep/sleep.cjs');
|
|
12
|
-
require('./services/PlatformService/PlatformService.cjs');
|
|
13
|
-
require('tldts');
|
|
14
|
-
require('./services/FetchService/FetchService.cjs');
|
|
15
|
-
require('./services/Oauth2Service/Oauth2Service.cjs');
|
|
16
|
-
require('@dynamic-labs/types');
|
|
17
|
-
require('@dynamic-labs/sdk-api-core');
|
|
18
8
|
|
|
19
9
|
const FALLBACK_UNDEFINED = 'FALLBACK_UNDEFINED';
|
|
20
10
|
const retryableFn = (fn_1, ...args_1) => _tslib.__awaiter(void 0, [fn_1, ...args_1], void 0, function* (fn, options = {}) {
|
|
@@ -72,6 +62,7 @@ const retryableFn = (fn_1, ...args_1) => _tslib.__awaiter(void 0, [fn_1, ...args
|
|
|
72
62
|
fallbackValue,
|
|
73
63
|
logger,
|
|
74
64
|
maxRetries,
|
|
65
|
+
retryIntervalMs,
|
|
75
66
|
retryStrategy,
|
|
76
67
|
timeoutMs,
|
|
77
68
|
});
|
package/src/retryableFn.js
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { __awaiter } from '../_virtual/_tslib.js';
|
|
3
|
-
import './errors/InsufficientFundsError.js';
|
|
4
|
-
import './errors/TransactionGasCannotBeSponsoredError.js';
|
|
5
|
-
import './logger/logger.js';
|
|
6
|
-
import './bufferPolyfill.js';
|
|
7
3
|
import { sleep } from './sleep/sleep.js';
|
|
8
|
-
import './services/PlatformService/PlatformService.js';
|
|
9
|
-
import 'tldts';
|
|
10
|
-
import './services/FetchService/FetchService.js';
|
|
11
|
-
import './services/Oauth2Service/Oauth2Service.js';
|
|
12
|
-
import '@dynamic-labs/types';
|
|
13
|
-
import '@dynamic-labs/sdk-api-core';
|
|
14
4
|
|
|
15
5
|
const FALLBACK_UNDEFINED = 'FALLBACK_UNDEFINED';
|
|
16
6
|
const retryableFn = (fn_1, ...args_1) => __awaiter(void 0, [fn_1, ...args_1], void 0, function* (fn, options = {}) {
|
|
@@ -68,6 +58,7 @@ const retryableFn = (fn_1, ...args_1) => __awaiter(void 0, [fn_1, ...args_1], vo
|
|
|
68
58
|
fallbackValue,
|
|
69
59
|
logger,
|
|
70
60
|
maxRetries,
|
|
61
|
+
retryIntervalMs,
|
|
71
62
|
retryStrategy,
|
|
72
63
|
timeoutMs,
|
|
73
64
|
});
|