@dynamic-labs/wallet-connector-core 2.1.0-alpha.0 → 2.1.0-alpha.1

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/_virtual/_tslib.cjs +1 -0
  3. package/_virtual/_tslib.js +1 -0
  4. package/package.json +7 -7
  5. package/src/index.cjs +1 -0
  6. package/src/index.js +1 -0
  7. package/src/lib/IBitcoinWalletConnector.d.ts +2 -0
  8. package/src/lib/WalletBookSingleton.cjs +1 -0
  9. package/src/lib/WalletBookSingleton.js +1 -0
  10. package/src/lib/WalletConnector.cjs +1 -0
  11. package/src/lib/WalletConnector.js +1 -0
  12. package/src/utils/ProviderLookup/ProviderLookup.cjs +1 -0
  13. package/src/utils/ProviderLookup/ProviderLookup.d.ts +1 -1
  14. package/src/utils/ProviderLookup/ProviderLookup.js +1 -0
  15. package/src/utils/encoding.cjs +1 -0
  16. package/src/utils/encoding.js +1 -0
  17. package/src/utils/eventListenerHandlers.cjs +1 -0
  18. package/src/utils/eventListenerHandlers.js +1 -0
  19. package/src/utils/getChainInfo/getChainInfo.cjs +1 -0
  20. package/src/utils/getChainInfo/getChainInfo.js +1 -0
  21. package/src/utils/getRpcUrlForChain/getRpcUrlForChain.cjs +1 -0
  22. package/src/utils/getRpcUrlForChain/getRpcUrlForChain.js +1 -0
  23. package/src/utils/getWalletConnectorByKey.cjs +1 -0
  24. package/src/utils/getWalletConnectorByKey.js +1 -0
  25. package/src/utils/isAccountAbstractionConnector/isAccountAbstractionConnector.cjs +1 -0
  26. package/src/utils/isAccountAbstractionConnector/isAccountAbstractionConnector.js +1 -0
  27. package/src/utils/isBitcoinConnector/isBitcoinConnector.cjs +1 -0
  28. package/src/utils/isBitcoinConnector/isBitcoinConnector.js +1 -0
  29. package/src/utils/isBloctoConnector/isBloctoConnector.cjs +1 -0
  30. package/src/utils/isBloctoConnector/isBloctoConnector.js +1 -0
  31. package/src/utils/isCoinbaseMpcWalletConnector/isCoinbaseMpcWalletConnector.cjs +1 -0
  32. package/src/utils/isCoinbaseMpcWalletConnector/isCoinbaseMpcWalletConnector.js +1 -0
  33. package/src/utils/isEmailOTPWalletConnector/isEmailOTPWalletConnector.cjs +1 -0
  34. package/src/utils/isEmailOTPWalletConnector/isEmailOTPWalletConnector.js +1 -0
  35. package/src/utils/isEmailWalletConnector/isEmailWalletConnector.cjs +1 -0
  36. package/src/utils/isEmailWalletConnector/isEmailWalletConnector.js +1 -0
  37. package/src/utils/isEmbeddedConnector/isEmbeddedConnector.cjs +1 -0
  38. package/src/utils/isEmbeddedConnector/isEmbeddedConnector.js +1 -0
  39. package/src/utils/isHardwareWalletConnector/isHardwareWalletConnector.cjs +1 -0
  40. package/src/utils/isHardwareWalletConnector/isHardwareWalletConnector.js +1 -0
  41. package/src/utils/isHex/isHex.cjs +1 -0
  42. package/src/utils/isHex/isHex.js +1 -0
  43. package/src/utils/isMagicConnector/isMagicConnector.cjs +1 -0
  44. package/src/utils/isMagicConnector/isMagicConnector.js +1 -0
  45. package/src/utils/isPasskeyWalletConnector/isPasskeyWalletConnector.cjs +1 -0
  46. package/src/utils/isPasskeyWalletConnector/isPasskeyWalletConnector.js +1 -0
  47. package/src/utils/isPhantomRedirectConnector/isPhantomRedirectConnector.cjs +1 -0
  48. package/src/utils/isPhantomRedirectConnector/isPhantomRedirectConnector.js +1 -0
  49. package/src/utils/isSameAddress/isSameAddress.cjs +1 -0
  50. package/src/utils/isSameAddress/isSameAddress.js +1 -0
  51. package/src/utils/isSameAddress/utils/normalizeAddress/normalizeAddress.cjs +1 -0
  52. package/src/utils/isSameAddress/utils/normalizeAddress/normalizeAddress.js +1 -0
  53. package/src/utils/isSendBalanceWalletConnector/isSendBalanceWalletConnector.cjs +1 -0
  54. package/src/utils/isSendBalanceWalletConnector/isSendBalanceWalletConnector.js +1 -0
  55. package/src/utils/isSmartWalletConnector/isSmartWalletConnector.cjs +1 -0
  56. package/src/utils/isSmartWalletConnector/isSmartWalletConnector.js +1 -0
  57. package/src/utils/isSocialWalletConnector/isSocialWalletConnector.cjs +1 -0
  58. package/src/utils/isSocialWalletConnector/isSocialWalletConnector.js +1 -0
  59. package/src/utils/isWalletConnectConnector/isWalletConnectConnector.cjs +1 -0
  60. package/src/utils/isWalletConnectConnector/isWalletConnectConnector.js +1 -0
  61. package/src/utils/logger.cjs +1 -0
  62. package/src/utils/logger.js +1 -0
  63. package/src/utils/shouldLowercaseAddress.cjs +1 -0
  64. package/src/utils/shouldLowercaseAddress.js +1 -0
  65. package/src/utils/walletConnectDeepLinks/performPlatformSpecificConnectionMethod.cjs +1 -0
  66. package/src/utils/walletConnectDeepLinks/performPlatformSpecificConnectionMethod.js +1 -0
  67. package/src/utils/walletConnectDeepLinks/walletConnectDeepLinks.cjs +1 -0
  68. package/src/utils/walletConnectDeepLinks/walletConnectDeepLinks.js +1 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,25 @@
1
1
 
2
+ ## [2.1.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.0...v2.1.0-alpha.1) (2024-04-18)
3
+
4
+
5
+ ### Features
6
+
7
+ * add frame metadata to demo index page ([#5327](https://github.com/dynamic-labs/DynamicAuth/issues/5327)) ([34a071a](https://github.com/dynamic-labs/DynamicAuth/commit/34a071af8faa8a867ad747ec2a607056a883568d))
8
+ * add MfaChooseDeviceView and MfaSecureDeviceView ([#5343](https://github.com/dynamic-labs/DynamicAuth/issues/5343)) ([4c39b1c](https://github.com/dynamic-labs/DynamicAuth/commit/4c39b1c34b5091190b095770e95a733c8f458ca2)), closes [#5356](https://github.com/dynamic-labs/DynamicAuth/issues/5356)
9
+ * add redirectUri to farcaster connect ([#5373](https://github.com/dynamic-labs/DynamicAuth/issues/5373)) ([ed13fc2](https://github.com/dynamic-labs/DynamicAuth/commit/ed13fc2948e06df0017ac122db54aca44f264a6d))
10
+ * add useMfa hook ([#5337](https://github.com/dynamic-labs/DynamicAuth/issues/5337)) ([a7682ba](https://github.com/dynamic-labs/DynamicAuth/commit/a7682ba10fd0f0809af802e0172154726f1bd857))
11
+ * headless create session and is session active ([#5346](https://github.com/dynamic-labs/DynamicAuth/issues/5346)) ([a787bbc](https://github.com/dynamic-labs/DynamicAuth/commit/a787bbcbb44104d2d0bd263579bd87a78453681d))
12
+ * secure enclave wallet generate one-time code headless ([#5329](https://github.com/dynamic-labs/DynamicAuth/issues/5329)) ([cab80a2](https://github.com/dynamic-labs/DynamicAuth/commit/cab80a2bfa77e48263d47cdcb813c54ef5b831d5))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * always stringify the message before signing a message using walletUiUtils ([#5325](https://github.com/dynamic-labs/DynamicAuth/issues/5325)) ([7abf094](https://github.com/dynamic-labs/DynamicAuth/commit/7abf09456e30ad0657892e9ba58d7391f0f430e6))
18
+ * bitcoin network connector sendBitcoin methods updates ([#5369](https://github.com/dynamic-labs/DynamicAuth/issues/5369)) ([e9bf444](https://github.com/dynamic-labs/DynamicAuth/commit/e9bf444122ee86030d85b84ede96bdfb9772425e))
19
+ * buffer missing when using buffer util function ([#5360](https://github.com/dynamic-labs/DynamicAuth/issues/5360)) ([e998e46](https://github.com/dynamic-labs/DynamicAuth/commit/e998e464bd2671a82aa271b407a7d8fc49a16bd0))
20
+ * embedded solana send transaction shouldn't sign a signed transaction ([#5357](https://github.com/dynamic-labs/DynamicAuth/issues/5357)) ([c2ae2fa](https://github.com/dynamic-labs/DynamicAuth/commit/c2ae2faa509b62fc5ceb345fbc0f0b47217bf4b0))
21
+ * use network.name if vanity name is missing ([#5338](https://github.com/dynamic-labs/DynamicAuth/issues/5338)) ([34ec2ae](https://github.com/dynamic-labs/DynamicAuth/commit/34ec2ae5c4dad5376a3b9c5a07221f68a2f7756c))
22
+
2
23
  ## [2.1.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.32...v2.1.0-alpha.0) (2024-04-15)
3
24
 
4
25
  ## [2.0.0-alpha.32](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-04-15)
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  /******************************************************************************
2
3
  Copyright (c) Microsoft Corporation.
3
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "2.1.0-alpha.0",
3
+ "version": "2.1.0-alpha.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,14 +26,14 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api-core": "0.0.418"
29
+ "@dynamic-labs/sdk-api-core": "0.0.422"
30
30
  },
31
31
  "peerDependencies": {
32
- "@dynamic-labs/logger": "2.1.0-alpha.0",
33
- "@dynamic-labs/rpc-providers": "2.1.0-alpha.0",
34
- "@dynamic-labs/types": "2.1.0-alpha.0",
35
- "@dynamic-labs/utils": "2.1.0-alpha.0",
36
- "@dynamic-labs/wallet-book": "2.1.0-alpha.0",
32
+ "@dynamic-labs/logger": "2.1.0-alpha.1",
33
+ "@dynamic-labs/rpc-providers": "2.1.0-alpha.1",
34
+ "@dynamic-labs/types": "2.1.0-alpha.1",
35
+ "@dynamic-labs/utils": "2.1.0-alpha.1",
36
+ "@dynamic-labs/wallet-book": "2.1.0-alpha.1",
37
37
  "eventemitter3": "5.0.1"
38
38
  }
39
39
  }
package/src/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
package/src/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  export { Chains, WalletConnectorBase, socialProviders } from './lib/WalletConnector.js';
2
3
  export { logger } from './utils/logger.js';
3
4
  export { ProviderLookup } from './utils/ProviderLookup/ProviderLookup.js';
@@ -20,5 +20,7 @@ export interface IBitcoinWalletConnector extends WalletConnectorBase {
20
20
  sendBitcoin(transaction: BitcoinTransaction): Promise<string | undefined>;
21
21
  sendRawTransaction(transactionHex: string): Promise<string | undefined>;
22
22
  signPsbt(request: BitcoinSignPsbtRequest): Promise<BitcoinSignPsbtResponse | undefined>;
23
+ isHardwareWalletEnabled: boolean;
24
+ isLedgerAddress(address: string): boolean;
23
25
  }
24
26
  export {};
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  class WalletBookSingleton {
2
3
  constructor(walletBook) {
3
4
  this.walletBook = walletBook;
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { __classPrivateFieldGet, __awaiter } from '../../_virtual/_tslib.js';
2
3
  import EventEmitter from 'eventemitter3';
3
4
  import { getWalletBookWallet } from '@dynamic-labs/wallet-book';
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -2,4 +2,4 @@ export type ProviderCondition<T = unknown> = {
2
2
  flag: T;
3
3
  value: boolean;
4
4
  };
5
- export declare const ProviderLookup: <T extends { [key in Flag]: boolean; }, Flag extends string>(installedProviders: T[], providerFlags: ProviderCondition<Flag>[]) => T | undefined;
5
+ export declare const ProviderLookup: <T extends { [key in Flag]: boolean; }, Flag extends string>(installedProviders: T[], providerFlags: Array<ProviderCondition<Flag>>) => T | undefined;
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const ProviderLookup = (installedProviders, providerFlags) => {
2
3
  if (providerFlags.length === 0) {
3
4
  return undefined;
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  // taken from https://github.com/WalletConnect/walletconnect-utils/blob/master/misc/encoding/src/index.ts
2
3
  const ENC_HEX = 'hex';
3
4
  const ENC_UTF8 = 'utf8';
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { __awaiter } from '../../_virtual/_tslib.js';
2
3
  import { isHex } from './isHex/isHex.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const chainsInfo = [
2
3
  {
3
4
  blockchainName: 'Algorand',
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const getRpcUrlForChain = ({ networks, chainId, }) => {
2
3
  var _a;
3
4
  const network = networks.find((network) => network.chainId === chainId);
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const filterWalletsByKey = (wallets, keys) => keys
2
3
  .flatMap((key) => wallets.find((w) => walletHasKey(w, key)))
3
4
  .filter(isWalletConnector);
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isAccountAbstractionConnector = (walletConnector) => walletConnector !== undefined &&
2
3
  walletConnector !== null &&
3
4
  typeof walletConnector === 'object' &&
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isBitcoinConnector = (connector) => Boolean(connector === null || connector === void 0 ? void 0 : connector.sendBitcoin);
2
3
 
3
4
  export { isBitcoinConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isBloctoConnector = (connector) => ['bloctoemail', 'bloctoevm', 'Blocto'].includes(connector.key);
2
3
 
3
4
  export { isBloctoConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isCoinbaseMpcWalletConnector = (connector) => Boolean(connector) &&
2
3
  connector.key === 'coinbasempc' &&
3
4
  connector.generateWallet !== undefined &&
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isEmailOTPWalletConnector = (walletConnector) => Boolean(walletConnector.verifyOneTimePassword);
2
3
 
3
4
  export { isEmailOTPWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isEmailWalletConnector = (walletConnector) => Boolean(walletConnector.clearEmail);
2
3
 
3
4
  export { isEmailWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isEmbeddedConnector = (connector) => Boolean(connector.isEmbeddedWallet);
2
3
 
3
4
  export { isEmbeddedConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isHardwareWalletConnector = (connector) => 'canConnectWithHardwareWallet' in connector;
2
3
 
3
4
  export { isHardwareWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isHex = (value) => {
2
3
  if (!value)
3
4
  return false;
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isMagicConnector = (connector) => ['magicemailotp', 'magicsocial'].includes(connector.key);
2
3
 
3
4
  export { isMagicConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isPasskeyWalletConnector = (walletConnector) => Boolean(walletConnector.getWebAuthnAttestation);
2
3
 
3
4
  export { isPasskeyWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isPhantomRedirectConnector = (connector) => connector.key === 'phantom' &&
2
3
  connector.extractSignature !==
3
4
  undefined;
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { normalizeAddress } from './utils/normalizeAddress/normalizeAddress.js';
2
3
 
3
4
  const isSameAddress = (left, right, chain) => normalizeAddress(left, chain) === normalizeAddress(right, chain);
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { shouldLowercaseAddress } from '../../../shouldLowercaseAddress.js';
2
3
 
3
4
  const normalizeAddress = (rawAddress, chain) => {
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isSendBalanceWalletConnector = (walletConnector) => 'createUiTransaction' in walletConnector &&
2
3
  typeof walletConnector.createUiTransaction === 'function';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isSmartWalletConnector = (walletConnector) => Boolean(walletConnector.setEoaConnector);
2
3
 
3
4
  export { isSmartWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isSocialWalletConnector = (walletConnector) => Boolean(walletConnector.canConnectViaSocial);
2
3
 
3
4
  export { isSocialWalletConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const isWalletConnectConnector = (connector) => Boolean(connector === null || connector === void 0 ? void 0 : connector.isWalletConnect);
2
3
 
3
4
  export { isWalletConnectConnector };
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { Logger } from '@dynamic-labs/logger';
2
3
 
3
4
  const logger = new Logger('WalletConnector');
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  const shouldLowercaseAddress = (chain) =>
2
3
  // these are standard from CAIP-2: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-2.md
3
4
  // see also: https://github.com/ChainAgnostic/namespaces
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { isMobile } from '@dynamic-labs/utils';
2
3
  import { getDeepLink } from './walletConnectDeepLinks.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client'
1
2
  import { isAndroid, isMobile } from '@dynamic-labs/utils';
2
3
 
3
4
  const getConnectionDeepLink = (uri, metadata, preference) => {