@dynamic-labs/wallet-book 4.0.1 → 4.2.0

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
+ ## [4.2.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.1.0...v4.2.0) (2025-01-14)
3
+
4
+
5
+ ### Features
6
+
7
+ * add EthereumWalletConnectorsWithConfig ([#7796](https://github.com/dynamic-labs/dynamic-auth/issues/7796)) ([52146c3](https://github.com/dynamic-labs/dynamic-auth/commit/52146c38acbbe9ad31d5f047527b06ea44846065))
8
+ * add new userWalletsChanged event that aggregates all user wallet events ([#7797](https://github.com/dynamic-labs/dynamic-auth/issues/7797)) ([058e629](https://github.com/dynamic-labs/dynamic-auth/commit/058e629f0e760ad9dff2b03f86354355c6f8bffe))
9
+ * add support for connect with OKX Wallet on Eclipse ([#7793](https://github.com/dynamic-labs/dynamic-auth/issues/7793)) ([b6cd047](https://github.com/dynamic-labs/dynamic-auth/commit/b6cd04781402868443b02cbce269dd3c02c358b5))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * getWalletClient method not returning client with chain for Coinbase ([#7799](https://github.com/dynamic-labs/dynamic-auth/issues/7799)) ([e075493](https://github.com/dynamic-labs/dynamic-auth/commit/e0754936582c19850c905fc3d62c3621df7c274c))
15
+
16
+ ## [4.1.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.1...v4.1.0) (2025-01-14)
17
+
18
+
19
+ ### Features
20
+
21
+ * add hook for upgrading embedded wallets ([#7743](https://github.com/dynamic-labs/dynamic-auth/issues/7743)) ([f0f49b3](https://github.com/dynamic-labs/dynamic-auth/commit/f0f49b335fcf99402fcd8722ae0af137d6f313d1))
22
+ * add setting to require transaction confirmation ([#7770](https://github.com/dynamic-labs/dynamic-auth/issues/7770)) ([0a92485](https://github.com/dynamic-labs/dynamic-auth/commit/0a924852b241e786ad608c55e593d7363c1661c1))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * correctly detect MetaMask installation in the browser ([#7789](https://github.com/dynamic-labs/dynamic-auth/issues/7789)) ([d499497](https://github.com/dynamic-labs/dynamic-auth/commit/d499497c0b9e052962b3f16fc418a7de99e3bb34))
28
+
2
29
  ### [4.0.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0...v4.0.1) (2025-01-10)
3
30
 
4
31
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.0.1";
6
+ var version = "4.2.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.0.1";
2
+ var version = "4.2.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "4.0.1",
3
+ "version": "4.2.0",
4
4
  "author": "Dynamic Labs, Inc.",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.cjs",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "zod": "3.22.4",
20
- "@dynamic-labs/assert-package-version": "4.0.1",
21
- "@dynamic-labs/iconic": "4.0.1",
22
- "@dynamic-labs/logger": "4.0.1",
23
- "@dynamic-labs/utils": "4.0.1",
20
+ "@dynamic-labs/assert-package-version": "4.2.0",
21
+ "@dynamic-labs/iconic": "4.2.0",
22
+ "@dynamic-labs/logger": "4.2.0",
23
+ "@dynamic-labs/utils": "4.2.0",
24
24
  "eventemitter3": "5.0.1",
25
25
  "util": "0.12.5"
26
26
  },
@@ -1475,6 +1475,42 @@ var wallets = {
1475
1475
  }
1476
1476
  ],
1477
1477
  name: "Intersend"
1478
+ },
1479
+ okxeclipse: {
1480
+ brand: {
1481
+ alt: "OKX Wallet",
1482
+ primaryColor: "#FABB38",
1483
+ spriteId: "okx"
1484
+ },
1485
+ chainGroup: "okxwallet",
1486
+ desktop: {
1487
+ chromeId: "mcohilncbfahbmgdjkbpemcciiolgcge"
1488
+ },
1489
+ group: "okxwallet",
1490
+ injectedConfig: [
1491
+ {
1492
+ chain: "eclipse",
1493
+ extensionLocators: [
1494
+ {
1495
+ flag: "isOKExWallet",
1496
+ value: true
1497
+ },
1498
+ {
1499
+ flag: "isOkxWallet",
1500
+ value: true
1501
+ }
1502
+ ],
1503
+ windowLocations: [
1504
+ "okxwallet.solana"
1505
+ ]
1506
+ }
1507
+ ],
1508
+ mobile: {
1509
+ androidId: "com.okinc.okex.gp",
1510
+ inAppBrowser: "okx://wallet/dapp/url?dappUrl={{encodedDappURI}}",
1511
+ iosId: "id1327268470"
1512
+ },
1513
+ name: "OKX Wallet"
1478
1514
  }
1479
1515
  };
1480
1516
  var walletBookFallbacks = {
@@ -1471,6 +1471,42 @@ var wallets = {
1471
1471
  }
1472
1472
  ],
1473
1473
  name: "Intersend"
1474
+ },
1475
+ okxeclipse: {
1476
+ brand: {
1477
+ alt: "OKX Wallet",
1478
+ primaryColor: "#FABB38",
1479
+ spriteId: "okx"
1480
+ },
1481
+ chainGroup: "okxwallet",
1482
+ desktop: {
1483
+ chromeId: "mcohilncbfahbmgdjkbpemcciiolgcge"
1484
+ },
1485
+ group: "okxwallet",
1486
+ injectedConfig: [
1487
+ {
1488
+ chain: "eclipse",
1489
+ extensionLocators: [
1490
+ {
1491
+ flag: "isOKExWallet",
1492
+ value: true
1493
+ },
1494
+ {
1495
+ flag: "isOkxWallet",
1496
+ value: true
1497
+ }
1498
+ ],
1499
+ windowLocations: [
1500
+ "okxwallet.solana"
1501
+ ]
1502
+ }
1503
+ ],
1504
+ mobile: {
1505
+ androidId: "com.okinc.okex.gp",
1506
+ inAppBrowser: "okx://wallet/dapp/url?dappUrl={{encodedDappURI}}",
1507
+ iosId: "id1327268470"
1508
+ },
1509
+ name: "OKX Wallet"
1474
1510
  }
1475
1511
  };
1476
1512
  var walletBookFallbacks = {