@dynamic-labs/waas 4.52.4 → 4.53.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,34 @@
1
1
 
2
+ ## [4.53.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.5...v4.53.0) (2026-01-13)
3
+
4
+
5
+ ### Features
6
+
7
+ * add contract deployment bundle into first transaction ([#10089](https://github.com/dynamic-labs/dynamic-auth/issues/10089)) ([1291f2a](https://github.com/dynamic-labs/dynamic-auth/commit/1291f2ae2d4881c047a3e6e4e6cf4281a868f626))
8
+ * add ton balance to wallet connector ([#10186](https://github.com/dynamic-labs/dynamic-auth/issues/10186)) ([7b1bdf3](https://github.com/dynamic-labs/dynamic-auth/commit/7b1bdf38f9685cb74974de0592e0e824146d343d))
9
+ * add waas btc support in demo ([#10192](https://github.com/dynamic-labs/dynamic-auth/issues/10192)) ([36aedd6](https://github.com/dynamic-labs/dynamic-auth/commit/36aedd614b7fe781c7150efb4c1a77a5fe55a1ae))
10
+ * merge waas-bitcoin to existing bitcoin package ([#10190](https://github.com/dynamic-labs/dynamic-auth/issues/10190)) ([70dfc6b](https://github.com/dynamic-labs/dynamic-auth/commit/70dfc6baca4f69af56a10ad29faca0fb361ec17b))
11
+ * update sdk-react-core to support btc from waas ([#10191](https://github.com/dynamic-labs/dynamic-auth/issues/10191)) ([c39a99c](https://github.com/dynamic-labs/dynamic-auth/commit/c39a99c544e567a75f43e9b83d4969b70d3c01d1))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * udpate ESM compatibility issues in build scripts for iconic ([#10201](https://github.com/dynamic-labs/dynamic-auth/issues/10201)) ([55059ad](https://github.com/dynamic-labs/dynamic-auth/commit/55059ad8c874b7f04699c277467242783f5d6eff))
17
+
18
+ ### [4.52.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.4...v4.52.5) (2026-01-08)
19
+
20
+
21
+ ### Features
22
+
23
+ * add generate ton connect proof method to demo v2 ([#9989](https://github.com/dynamic-labs/dynamic-auth/issues/9989)) ([9727e2e](https://github.com/dynamic-labs/dynamic-auth/commit/9727e2e25742c4a2b0345c8c4a83159cc88892d7))
24
+ * add waas ton to demo v2 ([#9988](https://github.com/dynamic-labs/dynamic-auth/issues/9988)) ([8edda43](https://github.com/dynamic-labs/dynamic-auth/commit/8edda43aeb58b5a77aef197d6cf20c1b633d1610))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * trigger onAuthSuccess callback for passkey MFA flows ([#10174](https://github.com/dynamic-labs/dynamic-auth/issues/10174)) ([a37753a](https://github.com/dynamic-labs/dynamic-auth/commit/a37753afd6f3b814198d2acf6dc267feb11021e2))
30
+ * **wallet-book:** add mobile app IDs for Binance Wallet to fix mobile filtering ([#10176](https://github.com/dynamic-labs/dynamic-auth/issues/10176)) ([010a48f](https://github.com/dynamic-labs/dynamic-auth/commit/010a48fd28a49861a26b9188babe4a174cefeedb))
31
+
2
32
  ### [4.52.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.3...v4.52.4) (2026-01-07)
3
33
 
4
34
  ### [4.52.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.2...v4.52.3) (2026-01-06)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.52.4";
6
+ var version = "4.53.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.52.4";
2
+ var version = "4.53.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas",
3
- "version": "4.52.4",
3
+ "version": "4.53.0",
4
4
  "type": "module",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -16,15 +16,15 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "dependencies": {
19
- "@dynamic-labs/assert-package-version": "4.52.4",
19
+ "@dynamic-labs/assert-package-version": "4.53.0",
20
20
  "@dynamic-labs/sdk-api-core": "0.0.843",
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.217",
22
- "@dynamic-labs/ethereum-core": "4.52.4",
23
- "@dynamic-labs/logger": "4.52.4",
24
- "@dynamic-labs/solana-core": "4.52.4",
25
- "@dynamic-labs/sui-core": "4.52.4",
26
- "@dynamic-labs/utils": "4.52.4",
27
- "@dynamic-labs/wallet-book": "4.52.4"
21
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.237",
22
+ "@dynamic-labs/ethereum-core": "4.53.0",
23
+ "@dynamic-labs/logger": "4.53.0",
24
+ "@dynamic-labs/solana-core": "4.53.0",
25
+ "@dynamic-labs/sui-core": "4.53.0",
26
+ "@dynamic-labs/utils": "4.53.0",
27
+ "@dynamic-labs/wallet-book": "4.53.0"
28
28
  },
29
29
  "peerDependencies": {}
30
30
  }
@@ -87,6 +87,7 @@ const withDynamicWaas = (BaseClass) => {
87
87
  const { connectedChain } = this;
88
88
  // Map class names to chain names
89
89
  const chainNameMap = {
90
+ BTC: 'BTC',
90
91
  EVM: 'EVM',
91
92
  SOL: 'SVM',
92
93
  SUI: 'SUI',
@@ -137,7 +138,7 @@ const withDynamicWaas = (BaseClass) => {
137
138
  }
138
139
  // Common methods that are identical across all connectors
139
140
  createWalletAccount() {
140
- return _tslib.__awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', password, } = {}) {
141
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', password, bitcoinConfig, } = {}) {
141
142
  var _a, _b;
142
143
  const walletClient = yield this.getWaasWalletClient();
143
144
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
@@ -146,6 +147,7 @@ const withDynamicWaas = (BaseClass) => {
146
147
  }
147
148
  const createdWallet = yield walletClient.createWalletAccount({
148
149
  authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
150
+ bitcoinConfig,
149
151
  password,
150
152
  signedSessionId,
151
153
  thresholdSignatureScheme: thresholdSignatureScheme,
@@ -154,7 +156,7 @@ const withDynamicWaas = (BaseClass) => {
154
156
  });
155
157
  }
156
158
  importPrivateKey(_a) {
157
- return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
159
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, }) {
158
160
  var _b, _c;
159
161
  const walletClient = yield this.getWaasWalletClient();
160
162
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -162,6 +164,7 @@ const withDynamicWaas = (BaseClass) => {
162
164
  throw new utils.DynamicError('Signed session ID is required');
163
165
  }
164
166
  yield walletClient.importPrivateKey({
167
+ addressType,
165
168
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
166
169
  privateKey,
167
170
  publicAddressCheck,
@@ -1,4 +1,4 @@
1
- import { DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
1
+ import { BitcoinConfig, DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
2
2
  import { InstrumentOptions, Logger } from '@dynamic-labs/logger';
3
3
  import { MFAAction } from '@dynamic-labs/sdk-api-core';
4
4
  import { InstrumentationTimer, InstrumentContext, TraceContext } from '../utils/instrumentation';
@@ -43,19 +43,21 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
43
43
  }): Promise<void>;
44
44
  createDynamicWaasClient(traceContext?: TraceContext): Promise<DynamicWalletClient>;
45
45
  getWaasWalletClient(traceContext?: TraceContext): Promise<DynamicWalletClient>;
46
- createWalletAccount({ thresholdSignatureScheme, password, }?: {
46
+ createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
47
47
  thresholdSignatureScheme?: string;
48
48
  password?: string;
49
+ bitcoinConfig?: BitcoinConfig;
49
50
  }): Promise<{
50
51
  chainName: string;
51
52
  accountAddress: string;
52
53
  publicKeyHex: string;
53
54
  rawPublicKey: string | Uint8Array | undefined;
54
55
  }>;
55
- importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, }: {
56
+ importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, }: {
56
57
  privateKey: string;
57
58
  thresholdSignatureScheme?: string;
58
59
  publicAddressCheck?: string;
60
+ addressType?: string;
59
61
  }): Promise<void>;
60
62
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
61
63
  accountAddress?: string;
@@ -83,6 +83,7 @@ const withDynamicWaas = (BaseClass) => {
83
83
  const { connectedChain } = this;
84
84
  // Map class names to chain names
85
85
  const chainNameMap = {
86
+ BTC: 'BTC',
86
87
  EVM: 'EVM',
87
88
  SOL: 'SVM',
88
89
  SUI: 'SUI',
@@ -133,7 +134,7 @@ const withDynamicWaas = (BaseClass) => {
133
134
  }
134
135
  // Common methods that are identical across all connectors
135
136
  createWalletAccount() {
136
- return __awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', password, } = {}) {
137
+ return __awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', password, bitcoinConfig, } = {}) {
137
138
  var _a, _b;
138
139
  const walletClient = yield this.getWaasWalletClient();
139
140
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
@@ -142,6 +143,7 @@ const withDynamicWaas = (BaseClass) => {
142
143
  }
143
144
  const createdWallet = yield walletClient.createWalletAccount({
144
145
  authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
146
+ bitcoinConfig,
145
147
  password,
146
148
  signedSessionId,
147
149
  thresholdSignatureScheme: thresholdSignatureScheme,
@@ -150,7 +152,7 @@ const withDynamicWaas = (BaseClass) => {
150
152
  });
151
153
  }
152
154
  importPrivateKey(_a) {
153
- return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
155
+ return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, }) {
154
156
  var _b, _c;
155
157
  const walletClient = yield this.getWaasWalletClient();
156
158
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -158,6 +160,7 @@ const withDynamicWaas = (BaseClass) => {
158
160
  throw new DynamicError('Signed session ID is required');
159
161
  }
160
162
  yield walletClient.importPrivateKey({
163
+ addressType,
161
164
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
162
165
  privateKey,
163
166
  publicAddressCheck,