File tree Expand file tree Collapse file tree 4 files changed +35
-813
lines changed Expand file tree Collapse file tree 4 files changed +35
-813
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @thirdweb-dev/wallets " : patch
3
+ ---
4
+
5
+ revert prior ` Safe ` wallet library changes
Original file line number Diff line number Diff line change 501
501
"@metamask/eth-sig-util" : " ^4.0.0" ,
502
502
"@paperxyz/embedded-wallet-service-sdk" : " ^1.2.5" ,
503
503
"@paperxyz/sdk-common-utilities" : " ^0.1.0" ,
504
- "@safe-global/protocol-kit " : " 1 .3.0 " ,
504
+ "@safe-global/safe-core-sdk " : " ^3 .3.4 " ,
505
505
"@safe-global/safe-ethers-adapters" : " 0.1.0-alpha.17" ,
506
+ "@safe-global/safe-ethers-lib" : " ^1.9.4" ,
506
507
"@thirdweb-dev/chains" : " workspace:*" ,
507
508
"@thirdweb-dev/contracts-js" : " workspace:*" ,
508
509
"@thirdweb-dev/crypto" : " workspace:*" ,
576
577
"ethers-aws-kms-signer" : " ^1.3.2" ,
577
578
"hardhat" : " ^2.17.0" ,
578
579
"jest" : " ^29.6.2" ,
580
+ "rimraf" : " ^3.0.2" ,
579
581
"ts-jest" : " ^29.1.1" ,
580
582
"tweetnacl" : " ^1.0.3" ,
581
583
"typedoc-gen" : " workspace:*" ,
Original file line number Diff line number Diff line change 9
9
SafeService ,
10
10
SafeEthersSigner ,
11
11
} from "@safe-global/safe-ethers-adapters" ;
12
- import safeCoreSdk , { EthersAdapter } from "@safe-global/protocol-kit" ;
12
+ import safeCoreSdk from "@safe-global/safe-core-sdk" ;
13
+ import safeEthersLib from "@safe-global/safe-ethers-lib" ;
13
14
import { EVMWallet } from "../../interfaces" ;
14
15
import { CHAIN_ID_TO_GNOSIS_SERVER_URL } from "./constants" ;
15
16
@@ -143,7 +144,7 @@ export class SafeConnector extends Connector<SafeConnectionArgs> {
143
144
throw new Error ( "Chain not supported" ) ;
144
145
}
145
146
146
- const ethAdapter = new EthersAdapter ( {
147
+ const ethAdapter = new safeEthersLib ( {
147
148
ethers,
148
149
signerOrProvider : signer ,
149
150
} ) ;
@@ -197,7 +198,7 @@ export class SafeConnector extends Connector<SafeConnectionArgs> {
197
198
const safeTxHash = await safe . getTransactionHash ( safeTx ) ;
198
199
const safeSignature = await safe . signTransactionHash ( safeTxHash ) ;
199
200
await service . proposeTx (
200
- await safe . getAddress ( ) ,
201
+ safe . getAddress ( ) ,
201
202
safeTxHash ,
202
203
safeTx ,
203
204
safeSignature ,
You can’t perform that action at this time.
0 commit comments