@dynamic-labs/wallet-connector-core
Advanced tools
Comparing version 4.0.0-alpha.48 to 4.0.0-alpha.49
'use client' | ||
var version = "4.0.0-alpha.48"; | ||
var version = "4.0.0-alpha.49"; | ||
export { version }; |
{ | ||
"name": "@dynamic-labs/wallet-connector-core", | ||
"version": "4.0.0-alpha.48", | ||
"version": "4.0.0-alpha.49", | ||
"description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK", | ||
@@ -21,13 +21,13 @@ "author": "Dynamic Labs, Inc.", | ||
"dependencies": { | ||
"@dynamic-labs/sdk-api-core": "0.0.576" | ||
"@dynamic-labs/sdk-api-core": "0.0.578" | ||
}, | ||
"peerDependencies": { | ||
"@dynamic-labs/assert-package-version": "4.0.0-alpha.48", | ||
"@dynamic-labs/logger": "4.0.0-alpha.48", | ||
"@dynamic-labs/rpc-providers": "4.0.0-alpha.48", | ||
"@dynamic-labs/types": "4.0.0-alpha.48", | ||
"@dynamic-labs/utils": "4.0.0-alpha.48", | ||
"@dynamic-labs/wallet-book": "4.0.0-alpha.48", | ||
"@dynamic-labs/assert-package-version": "4.0.0-alpha.49", | ||
"@dynamic-labs/logger": "4.0.0-alpha.49", | ||
"@dynamic-labs/rpc-providers": "4.0.0-alpha.49", | ||
"@dynamic-labs/types": "4.0.0-alpha.49", | ||
"@dynamic-labs/utils": "4.0.0-alpha.49", | ||
"@dynamic-labs/wallet-book": "4.0.0-alpha.49", | ||
"eventemitter3": "5.0.1" | ||
} | ||
} |
export { walletConnectorEvents } from './events'; | ||
export { type Attestation, type AuthenticatorRecoveryHandler, type AuthenticatorType, type BitcoinSignPsbtRequest, type BitcoinSignPsbtRequestSignature, type BitcoinSignPsbtResponse, type ExportHandler, type ExtendedPrivateKey, type IAccountAbstractionWalletConnector, type IBitcoinWalletConnector, type ICoinbaseMPCWalletConnector, type IEmailOTPWalletConnector, type IEmailWalletConnector, type IHardwareWalletConnector, type IPasskeyWalletConnector, type IPhantomRedirectConnector, type IPhantomRedirectConnectorWithEvents, type ISendBalanceWalletConnector, type ISessionKeyCompatibleWalletConnector, type ISMSWalletConnector, type ITurnkeyWalletConnector, type ITurnkeyWalletConnectorStamper, type IWalletConnectConnector, type RawPrivateKey, type RecoveryEmailParams, type RecoveryWebAuthnAttestation, type SignAllTransactionsListener, type SignAndSendTransactionListener, type SignMessageListener, type SignTransactionListener, type WebAuthnAttestation, } from './interfaces'; | ||
export type { AccountChangeEventHandler, ChainChangeEventHandler, DisconnectEventHandler, WalletConnectorCore, WalletMetadata, WalletDeepLinks, WalletDownloadLinks, WalletLimitations, WalletLinks, } from './types'; | ||
export { addHexPrefix, bufferToHex, eventListenerHandlers, getChainInfo, getChainInfoWithOverrides, getDeepLink, getMobileExperience, getRpcUrlForChain, getWalletConnectorByKey, isAccountAbstractionConnector, isBitcoinConnector, isBloctoConnector, isCoinbaseMpcWalletConnector, isEmailOTPWalletConnector, isEmailWalletConnector, isEmbeddedConnector, isHardwareWalletConnector, isHex, isMagicConnector, isPasskeyWalletConnector, isPhantomRedirectConnector, isSameAddress, isSendBalanceWalletConnector, isSessionKeyCompatibleWallet, isSessionKeyCompatibleWalletConnector, isSocialWalletConnector, isTurnkeyWalletConnector, isWalletConnectConnector, isConnectorMethodSupported, isConnectorEventSupported, getWalletMetadataFromWalletBook, getWalletLinks, logger, performPlatformSpecificConnectionMethod, ProviderLookup, setChainInfoOverrides, shouldLowercaseAddress, utf8ToHex, type ChainDisplayOverrides, type DeepLinkVariant, type ProviderCondition, } from './utils'; | ||
export { addHexPrefix, bufferToHex, eventListenerHandlers, getChainInfo, getChainInfoWithOverrides, getDeepLink, getMobileExperience, getRpcUrlForChain, getWalletConnectorByKey, isAccountAbstractionConnector, isBitcoinConnector, isBloctoConnector, isCoinbaseMpcWalletConnector, isEmailOTPWalletConnector, isEmailWalletConnector, isEmbeddedConnector, isHardwareWalletConnector, isHex, isMagicConnector, isPasskeyWalletConnector, isPhantomRedirectConnector, isSameAddress, isSendBalanceWalletConnector, isSessionKeyCompatibleWallet, isSessionKeyCompatibleWalletConnector, isSocialWalletConnector, isTurnkeyWalletConnector, isWalletConnectConnector, isConnectorMethodSupported, isConnectorEventSupported, getWalletMetadataFromWalletBook, getWalletLinks, logger, performPlatformSpecificConnectionMethod, ProviderLookup, setChainInfoOverrides, shouldLowercaseAddress, utf8ToHex, convertWalletToBaseWallet, convertWalletToBaseWalletPartial, type ChainDisplayOverrides, type DeepLinkVariant, type ProviderCondition, } from './utils'; | ||
export { Wallet, type WalletConstructor, type WalletProps } from './Wallet'; | ||
export { Chains, socialProviders, WalletConnectorBase, type Chain, type ChainInfo, type GetAddressOpts, type InternalWalletConnector, type NameServiceData, type PayloadParams, type SocialProvider, type WalletConnector, type WalletConnectorConstructor, type WalletConnectorEventTypes, type WalletConnectorExtension, type WalletConnectorsMethod, } from './WalletConnectorBase'; | ||
export { WalletBookSingleton } from './WalletBookSingleton'; |
@@ -39,2 +39,3 @@ 'use client' | ||
export { getWalletLinks } from './utils/getWalletLinks/getWalletLinks.js'; | ||
export { convertWalletToBaseWallet, convertWalletToBaseWalletPartial } from './utils/convertWalletToBaseWallet/convertWalletToBaseWallet.js'; | ||
export { Wallet } from './Wallet/Wallet.js'; | ||
@@ -41,0 +42,0 @@ export { WalletConnectorBase } from './WalletConnectorBase/WalletConnectorBase.js'; |
@@ -33,1 +33,2 @@ export * from './logger'; | ||
export * from './getWalletLinks'; | ||
export * from './convertWalletToBaseWallet'; |
@@ -87,3 +87,5 @@ 'use client' | ||
yield this.sync(); | ||
return this._connector.signMessage(messageToSign, this.address); | ||
return this._connector.signMessage(messageToSign, { | ||
address: this.address, | ||
}); | ||
}); | ||
@@ -90,0 +92,0 @@ } |
@@ -263,3 +263,5 @@ import EventEmitter from 'eventemitter3'; | ||
*/ | ||
signMessage(messageToSign: string, withAddress?: string): Promise<string | undefined>; | ||
signMessage(messageToSign: string, options?: { | ||
address?: string; | ||
}): Promise<string | undefined>; | ||
/** | ||
@@ -266,0 +268,0 @@ * List of supported chains for this wallet |
@@ -321,3 +321,3 @@ 'use client' | ||
*/ | ||
signMessage(messageToSign, withAddress) { | ||
signMessage(messageToSign, options) { | ||
return Promise.resolve(undefined); | ||
@@ -324,0 +324,0 @@ } |
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
545490
207
3809
+ Added@dynamic-labs/assert-package-version@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/iconic@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/logger@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/rpc-providers@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/sdk-api-core@0.0.578(transitive)
+ Added@dynamic-labs/types@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/utils@4.0.0-alpha.49(transitive)
+ Added@dynamic-labs/wallet-book@4.0.0-alpha.49(transitive)
- Removed@dynamic-labs/assert-package-version@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/iconic@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/logger@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/rpc-providers@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/sdk-api-core@0.0.576(transitive)
- Removed@dynamic-labs/types@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/utils@4.0.0-alpha.48(transitive)
- Removed@dynamic-labs/wallet-book@4.0.0-alpha.48(transitive)