@dynamic-labs/solana 5.4.1 → 5.5.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 +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +12 -12
- package/src/injected/InjectedWalletBase/InjectedWalletBase.cjs +5 -0
- package/src/injected/InjectedWalletBase/InjectedWalletBase.js +6 -1
- package/src/walletConnect/SolanaWalletConnectConnector/SolanaWalletConnectConnector.cjs +5 -0
- package/src/walletConnect/SolanaWalletConnectConnector/SolanaWalletConnectConnector.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.1...v5.5.0) (2026-08-31)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **waas-evm:** route embedded EVM sends through gas sponsorship when enabled ([#12306](https://github.com/dynamic-labs/dynamic-auth/issues/12306)) ([6046ff3](https://github.com/dynamic-labs/dynamic-auth/commit/6046ff362d8de9402793bdaa7319fda645ff4c04))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **bitcoin:** resolve the active BTC wallet and network correctly across the widget ([#12308](https://github.com/dynamic-labs/dynamic-auth/issues/12308)) ([13e9eae](https://github.com/dynamic-labs/dynamic-auth/commit/13e9eaec19b3925db507c878988cfd82da5a6de6))
|
|
13
|
+
* **btc:** unbreak BTC transaction confirmation, testnet balances and taproot testnet switching ([#12305](https://github.com/dynamic-labs/dynamic-auth/issues/12305)) ([5fd999c](https://github.com/dynamic-labs/dynamic-auth/commit/5fd999c4c819d3a74e967c0cfa77c5877a74906b))
|
|
14
|
+
* **react-native-extension:** stop leaking expo-secure-store into consumer autolinking ([#12296](https://github.com/dynamic-labs/dynamic-auth/issues/12296)) ([1e0396a](https://github.com/dynamic-labs/dynamic-auth/commit/1e0396ab00c79aa0b2f45b6d7b1d339c1dac1203)), closes [#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)
|
|
15
|
+
* **screening:** wire connected-wallet screening into the Send Balance UI (DYNT-1663) ([#12303](https://github.com/dynamic-labs/dynamic-auth/issues/12303)) ([5d26ff3](https://github.com/dynamic-labs/dynamic-auth/commit/5d26ff375118302522c39bd2f1fa9e04f7378eaf))
|
|
16
|
+
|
|
2
17
|
### [5.4.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.0...v5.4.1) (2026-08-26)
|
|
3
18
|
|
|
4
19
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/solana",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/wallet-connect": "5.
|
|
21
|
+
"@dynamic-labs/wallet-connect": "5.5.0",
|
|
22
22
|
"@dynamic-labs-connectors/metamask-solana": "4.6.16",
|
|
23
23
|
"@solana/web3.js": "1.98.1",
|
|
24
24
|
"@wallet-standard/app": "1.0.1",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"@walletconnect/sign-client": "2.21.5",
|
|
31
31
|
"@walletconnect/utils": "2.21.5",
|
|
32
32
|
"@walletconnect/types": "2.21.5",
|
|
33
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
34
|
-
"@dynamic-labs/embedded-wallet-solana": "5.
|
|
35
|
-
"@dynamic-labs/logger": "5.
|
|
36
|
-
"@dynamic-labs/rpc-providers": "5.
|
|
33
|
+
"@dynamic-labs/assert-package-version": "5.5.0",
|
|
34
|
+
"@dynamic-labs/embedded-wallet-solana": "5.5.0",
|
|
35
|
+
"@dynamic-labs/logger": "5.5.0",
|
|
36
|
+
"@dynamic-labs/rpc-providers": "5.5.0",
|
|
37
37
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
38
|
-
"@dynamic-labs/solana-core": "5.
|
|
39
|
-
"@dynamic-labs/types": "5.
|
|
40
|
-
"@dynamic-labs/utils": "5.
|
|
41
|
-
"@dynamic-labs/waas-svm": "5.
|
|
42
|
-
"@dynamic-labs/wallet-book": "5.
|
|
43
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
38
|
+
"@dynamic-labs/solana-core": "5.5.0",
|
|
39
|
+
"@dynamic-labs/types": "5.5.0",
|
|
40
|
+
"@dynamic-labs/utils": "5.5.0",
|
|
41
|
+
"@dynamic-labs/waas-svm": "5.5.0",
|
|
42
|
+
"@dynamic-labs/wallet-book": "5.5.0",
|
|
43
|
+
"@dynamic-labs/wallet-connector-core": "5.5.0",
|
|
44
44
|
"eventemitter3": "5.0.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {}
|
|
@@ -111,6 +111,11 @@ class InjectedWalletBase extends solanaCore.SolanaWalletConnector {
|
|
|
111
111
|
transaction.feePayer =
|
|
112
112
|
(_a = transaction.feePayer) !== null && _a !== void 0 ? _a : new web3_js.PublicKey(userAddress);
|
|
113
113
|
}
|
|
114
|
+
yield solanaCore.screenSolanaTransactions({
|
|
115
|
+
senderAddress: from,
|
|
116
|
+
transactionScreening: this.transactionScreening,
|
|
117
|
+
transactions: [transaction],
|
|
118
|
+
});
|
|
114
119
|
return (yield signer.signAndSendTransaction(transaction)).signature;
|
|
115
120
|
}),
|
|
116
121
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { __awaiter } from '../../../_virtual/_tslib.js';
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
|
4
|
-
import { SolanaWalletConnector, SolanaUiTransaction } from '@dynamic-labs/solana-core';
|
|
4
|
+
import { SolanaWalletConnector, SolanaUiTransaction, screenSolanaTransactions } from '@dynamic-labs/solana-core';
|
|
5
5
|
import { isMobile, WalletRequiresInAppBrowserError } from '@dynamic-labs/utils';
|
|
6
6
|
import { getWalletMetadataFromWalletBook } from '@dynamic-labs/wallet-connector-core';
|
|
7
7
|
import { SolProviderHelper } from '../../SolProviderHelper/SolProviderHelper.js';
|
|
@@ -107,6 +107,11 @@ class InjectedWalletBase extends SolanaWalletConnector {
|
|
|
107
107
|
transaction.feePayer =
|
|
108
108
|
(_a = transaction.feePayer) !== null && _a !== void 0 ? _a : new PublicKey(userAddress);
|
|
109
109
|
}
|
|
110
|
+
yield screenSolanaTransactions({
|
|
111
|
+
senderAddress: from,
|
|
112
|
+
transactionScreening: this.transactionScreening,
|
|
113
|
+
transactions: [transaction],
|
|
114
|
+
});
|
|
110
115
|
return (yield signer.signAndSendTransaction(transaction)).signature;
|
|
111
116
|
}),
|
|
112
117
|
});
|
|
@@ -139,6 +139,11 @@ class SolanaWalletConnectConnector extends solanaCore.SolanaWalletConnector {
|
|
|
139
139
|
transaction.feePayer =
|
|
140
140
|
(_a = transaction.feePayer) !== null && _a !== void 0 ? _a : new web3_js.PublicKey(from);
|
|
141
141
|
}
|
|
142
|
+
yield solanaCore.screenSolanaTransactions({
|
|
143
|
+
senderAddress: from,
|
|
144
|
+
transactionScreening: this.transactionScreening,
|
|
145
|
+
transactions: [transaction],
|
|
146
|
+
});
|
|
142
147
|
return yield this.signAndSendTransaction(transaction);
|
|
143
148
|
}),
|
|
144
149
|
});
|
|
@@ -4,7 +4,7 @@ import { PublicKey, VersionedTransaction, Transaction } from '@solana/web3.js';
|
|
|
4
4
|
import { SDK_ERRORS } from '@walletconnect/utils';
|
|
5
5
|
import bs58 from 'bs58';
|
|
6
6
|
import EventEmitter from 'eventemitter3';
|
|
7
|
-
import { SolanaWalletConnector, SolanaUiTransaction, isVersionedTransaction, isTxAlreadySigned } from '@dynamic-labs/solana-core';
|
|
7
|
+
import { SolanaWalletConnector, SolanaUiTransaction, screenSolanaTransactions, isVersionedTransaction, isTxAlreadySigned } from '@dynamic-labs/solana-core';
|
|
8
8
|
import { StorageService, DynamicError, filterDuplicates, isMobile, PlatformService, walletReturnRoute, bufferToBase64 } from '@dynamic-labs/utils';
|
|
9
9
|
import { getSignClientSingleton } from '@dynamic-labs/wallet-connect';
|
|
10
10
|
import { getDeepLink, performPlatformSpecificConnectionMethod, isSameAddress } from '@dynamic-labs/wallet-connector-core';
|
|
@@ -130,6 +130,11 @@ class SolanaWalletConnectConnector extends SolanaWalletConnector {
|
|
|
130
130
|
transaction.feePayer =
|
|
131
131
|
(_a = transaction.feePayer) !== null && _a !== void 0 ? _a : new PublicKey(from);
|
|
132
132
|
}
|
|
133
|
+
yield screenSolanaTransactions({
|
|
134
|
+
senderAddress: from,
|
|
135
|
+
transactionScreening: this.transactionScreening,
|
|
136
|
+
transactions: [transaction],
|
|
137
|
+
});
|
|
133
138
|
return yield this.signAndSendTransaction(transaction);
|
|
134
139
|
}),
|
|
135
140
|
});
|