Skip to content

Commit bcfbab4

Browse files
committed
refactor: update API Kit and Protocol Kit initialization to use default exports
1 parent f311f20 commit bcfbab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

safe-transaction/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ async function run() {
3535
core.info(`🔑 Proposer Address: ${wallet.address}`);
3636

3737
// Initialize API Kit
38-
const apiKit = new SafeApiKit({
38+
const apiKit = new SafeApiKit.default({
3939
chainId: 42161n, // Arbitrum
4040
apiKey: safeApiKey,
4141
});
4242

4343
// Initialize Protocol Kit
44-
const protocolKit = await Safe.create({
44+
const protocolKit = await Safe.default.init({
4545
provider: rpcUrl,
4646
signer: proposerPrivateKey,
4747
safeAddress: safeAddress,

0 commit comments

Comments
 (0)