@dynamic-labs/embedded-wallet-solana 3.0.0-alpha.23 → 3.0.0-alpha.25
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,15 @@
|
|
|
1
1
|
|
|
2
|
+
## [3.0.0-alpha.25](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.24...v3.0.0-alpha.25) (2024-07-24)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add ability to specify mobileExperience on a wallet by wallet ([#6195](https://github.com/dynamic-labs/DynamicAuth/issues/6195)) ([947fd0a](https://github.com/dynamic-labs/DynamicAuth/commit/947fd0ab864d1995a1ef35a51c77a585649fd43f))
|
|
8
|
+
* global wallet new package ([#6385](https://github.com/dynamic-labs/DynamicAuth/issues/6385)) ([230a0f3](https://github.com/dynamic-labs/DynamicAuth/commit/230a0f380c2bc8c69619daed0c7f3280da8b8bb9))
|
|
9
|
+
* solana send balance modal for injected ([#6405](https://github.com/dynamic-labs/DynamicAuth/issues/6405)) ([b8aa84b](https://github.com/dynamic-labs/DynamicAuth/commit/b8aa84b58eb71791405bf68b6c46c40bebb170f8))
|
|
10
|
+
|
|
11
|
+
## [3.0.0-alpha.24](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.23...v3.0.0-alpha.24) (2024-07-20)
|
|
12
|
+
|
|
2
13
|
## [3.0.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.22...v3.0.0-alpha.23) (2024-07-19)
|
|
3
14
|
|
|
4
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/embedded-wallet-solana",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.25",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@turnkey/iframe-stamper": "2.0.0",
|
|
34
34
|
"@turnkey/solana": "0.3.1",
|
|
35
35
|
"@turnkey/webauthn-stamper": "0.5.0",
|
|
36
|
-
"@dynamic-labs/embedded-wallet": "3.0.0-alpha.
|
|
37
|
-
"@dynamic-labs/rpc-provider-solana": "3.0.0-alpha.
|
|
38
|
-
"@dynamic-labs/rpc-providers": "3.0.0-alpha.
|
|
39
|
-
"@dynamic-labs/solana-utils": "3.0.0-alpha.
|
|
40
|
-
"@dynamic-labs/types": "3.0.0-alpha.
|
|
41
|
-
"@dynamic-labs/utils": "3.0.0-alpha.
|
|
42
|
-
"@dynamic-labs/wallet-book": "3.0.0-alpha.
|
|
43
|
-
"@dynamic-labs/wallet-connector-core": "3.0.0-alpha.
|
|
36
|
+
"@dynamic-labs/embedded-wallet": "3.0.0-alpha.25",
|
|
37
|
+
"@dynamic-labs/rpc-provider-solana": "3.0.0-alpha.25",
|
|
38
|
+
"@dynamic-labs/rpc-providers": "3.0.0-alpha.25",
|
|
39
|
+
"@dynamic-labs/solana-utils": "3.0.0-alpha.25",
|
|
40
|
+
"@dynamic-labs/types": "3.0.0-alpha.25",
|
|
41
|
+
"@dynamic-labs/utils": "3.0.0-alpha.25",
|
|
42
|
+
"@dynamic-labs/wallet-book": "3.0.0-alpha.25",
|
|
43
|
+
"@dynamic-labs/wallet-connector-core": "3.0.0-alpha.25",
|
|
44
44
|
"viem": "2.9.25"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {}
|
|
@@ -163,6 +163,7 @@ class TurnkeySolanaWalletConnector extends embeddedWallet.TurnkeyWalletConnector
|
|
|
163
163
|
this._turnkeyAccount = yield this.createTurnkeyAccount({
|
|
164
164
|
organizationId: turnkeySubOrganizationId,
|
|
165
165
|
});
|
|
166
|
+
this.setLoggerMetadata();
|
|
166
167
|
return this._turnkeyAccount;
|
|
167
168
|
});
|
|
168
169
|
}
|
|
@@ -222,7 +223,6 @@ class TurnkeySolanaWalletConnector extends embeddedWallet.TurnkeyWalletConnector
|
|
|
222
223
|
}
|
|
223
224
|
signTransaction(transaction) {
|
|
224
225
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
225
|
-
var _a;
|
|
226
226
|
yield this.createOrRestoreSession();
|
|
227
227
|
let account = yield this.getTurnkeyAccount();
|
|
228
228
|
const address = this.turnkeyAddress;
|
|
@@ -243,7 +243,7 @@ class TurnkeySolanaWalletConnector extends embeddedWallet.TurnkeyWalletConnector
|
|
|
243
243
|
yield account.addSignature(transaction, address);
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
246
|
-
walletConnectorCore.logger.error(
|
|
246
|
+
walletConnectorCore.logger.error('[TK] failed to perform activity', err);
|
|
247
247
|
throw err;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
@@ -159,6 +159,7 @@ class TurnkeySolanaWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
159
159
|
this._turnkeyAccount = yield this.createTurnkeyAccount({
|
|
160
160
|
organizationId: turnkeySubOrganizationId,
|
|
161
161
|
});
|
|
162
|
+
this.setLoggerMetadata();
|
|
162
163
|
return this._turnkeyAccount;
|
|
163
164
|
});
|
|
164
165
|
}
|
|
@@ -218,7 +219,6 @@ class TurnkeySolanaWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
218
219
|
}
|
|
219
220
|
signTransaction(transaction) {
|
|
220
221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
-
var _a;
|
|
222
222
|
yield this.createOrRestoreSession();
|
|
223
223
|
let account = yield this.getTurnkeyAccount();
|
|
224
224
|
const address = this.turnkeyAddress;
|
|
@@ -239,7 +239,7 @@ class TurnkeySolanaWalletConnector extends TurnkeyWalletConnectorBase {
|
|
|
239
239
|
yield account.addSignature(transaction, address);
|
|
240
240
|
}
|
|
241
241
|
else {
|
|
242
|
-
logger.error(
|
|
242
|
+
logger.error('[TK] failed to perform activity', err);
|
|
243
243
|
throw err;
|
|
244
244
|
}
|
|
245
245
|
}
|