@dynamic-labs/ethereum
Advanced tools
Comparing version 4.8.0 to 4.8.1
'use client' | ||
var version = "4.8.0"; | ||
var version = "4.8.1"; | ||
export { version }; |
{ | ||
"name": "@dynamic-labs/ethereum", | ||
"version": "4.8.0", | ||
"version": "4.8.1", | ||
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.", | ||
@@ -27,10 +27,10 @@ "author": "Dynamic Labs, Inc.", | ||
"@metamask/sdk": "0.32.0", | ||
"@dynamic-labs/assert-package-version": "4.8.0", | ||
"@dynamic-labs/embedded-wallet-evm": "4.8.0", | ||
"@dynamic-labs/ethereum-core": "4.8.0", | ||
"@dynamic-labs/logger": "4.8.0", | ||
"@dynamic-labs/types": "4.8.0", | ||
"@dynamic-labs/utils": "4.8.0", | ||
"@dynamic-labs/wallet-book": "4.8.0", | ||
"@dynamic-labs/wallet-connector-core": "4.8.0" | ||
"@dynamic-labs/assert-package-version": "4.8.1", | ||
"@dynamic-labs/embedded-wallet-evm": "4.8.1", | ||
"@dynamic-labs/ethereum-core": "4.8.1", | ||
"@dynamic-labs/logger": "4.8.1", | ||
"@dynamic-labs/types": "4.8.1", | ||
"@dynamic-labs/utils": "4.8.1", | ||
"@dynamic-labs/wallet-book": "4.8.1", | ||
"@dynamic-labs/wallet-connector-core": "4.8.1" | ||
}, | ||
@@ -37,0 +37,0 @@ "peerDependencies": { |
@@ -132,3 +132,3 @@ 'use client' | ||
// Redirect to the in-app browser and append the current url | ||
window.location.href = `${this.metadata.inAppBrowserUrl}/${window.location.href}`; | ||
PlatformService.openURL(`${this.metadata.inAppBrowserUrl}/${window.location.href}`); | ||
resolve(undefined); | ||
@@ -135,0 +135,0 @@ return; |
'use client' | ||
import { __awaiter } from '../../../_virtual/_tslib.js'; | ||
import { PlatformService } from '@dynamic-labs/utils'; | ||
import { InjectedWalletBase } from '../../injected/InjectedWalletBase.js'; | ||
@@ -33,3 +34,3 @@ import { logger } from '../logger.js'; | ||
} | ||
window.location.href = `${inAppBrowserBase}/${window.location.href}`; | ||
PlatformService.openURL(`${inAppBrowserBase}/${window.location.href}`); | ||
return undefined; | ||
@@ -36,0 +37,0 @@ }); |
@@ -6,5 +6,5 @@ 'use client' | ||
import { createWalletClient, custom } from 'viem'; | ||
import { EthereumWalletConnector, chainsMap } from '@dynamic-labs/ethereum-core'; | ||
import { parseIntSafe, sleep, DynamicError, isMobile, PlatformService } from '@dynamic-labs/utils'; | ||
import { logger, performPlatformSpecificConnectionMethod, getDeepLink } from '@dynamic-labs/wallet-connector-core'; | ||
import { parseIntSafe, sleep, DynamicError, isMobile } from '@dynamic-labs/utils'; | ||
import { EthereumWalletConnector, chainsMap } from '@dynamic-labs/ethereum-core'; | ||
@@ -367,3 +367,3 @@ const activeAccountKey = (walletName) => `dynamic-wc2-active-account-${walletName}`; | ||
if (isMobile() && deepLink) { | ||
window.location.href = deepLink; | ||
PlatformService.openURL(deepLink); | ||
} | ||
@@ -370,0 +370,0 @@ const signMessageFn = (messageToSign) => __awaiter(this, void 0, void 0, function* () { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1000440
11740
+ Added@dynamic-labs/assert-package-version@4.8.1(transitive)
+ Added@dynamic-labs/embedded-wallet@4.8.1(transitive)
+ Added@dynamic-labs/embedded-wallet-evm@4.8.1(transitive)
+ Added@dynamic-labs/ethereum-core@4.8.1(transitive)
+ Added@dynamic-labs/iconic@4.8.1(transitive)
+ Added@dynamic-labs/logger@4.8.1(transitive)
+ Added@dynamic-labs/rpc-providers@4.8.1(transitive)
+ Added@dynamic-labs/types@4.8.1(transitive)
+ Added@dynamic-labs/utils@4.8.1(transitive)
+ Added@dynamic-labs/wallet-book@4.8.1(transitive)
+ Added@dynamic-labs/wallet-connector-core@4.8.1(transitive)
+ Added@dynamic-labs/webauthn@4.8.1(transitive)
- Removed@dynamic-labs/assert-package-version@4.8.0(transitive)
- Removed@dynamic-labs/embedded-wallet@4.8.0(transitive)
- Removed@dynamic-labs/embedded-wallet-evm@4.8.0(transitive)
- Removed@dynamic-labs/ethereum-core@4.8.0(transitive)
- Removed@dynamic-labs/iconic@4.8.0(transitive)
- Removed@dynamic-labs/logger@4.8.0(transitive)
- Removed@dynamic-labs/rpc-providers@4.8.0(transitive)
- Removed@dynamic-labs/types@4.8.0(transitive)
- Removed@dynamic-labs/utils@4.8.0(transitive)
- Removed@dynamic-labs/wallet-book@4.8.0(transitive)
- Removed@dynamic-labs/wallet-connector-core@4.8.0(transitive)
- Removed@dynamic-labs/webauthn@4.8.0(transitive)
Updated@dynamic-labs/logger@4.8.1
Updated@dynamic-labs/types@4.8.1
Updated@dynamic-labs/utils@4.8.1