@dynamic-labs/utils 3.0.0-alpha.22 → 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,18 @@
|
|
|
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
|
+
|
|
2
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)
|
|
3
17
|
|
|
4
18
|
|
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",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
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 = {}) {
|
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 = {}) {
|