Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/honest-papayas-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Tracks transaction chain IDs
1 change: 1 addition & 0 deletions packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@

trackTransaction({
client: client,
chainId: tx.chainId,

Check warning on line 310 in packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts#L310

Added line #L310 was not covered by tests
walletAddress: getAddress(address),
walletType: COINBASE,
transactionHash,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export class EnclaveWallet implements IWebWallet {
trackTransaction({
client,
ecosystem,
chainId: tx.chainId,
walletAddress: address,
walletType: "inApp",
transactionHash,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export class IFrameWallet implements IWebWallet {

trackTransaction({
client,
chainId: tx.chainId,
walletAddress: address,
walletType: "inApp",
transactionHash,
Expand Down
1 change: 1 addition & 0 deletions packages/thirdweb/src/wallets/injected/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@

trackTransaction({
client,
chainId: tx.chainId,

Check warning on line 165 in packages/thirdweb/src/wallets/injected/index.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/injected/index.ts#L165

Added line #L165 was not covered by tests
walletAddress: getAddress(address),
walletType: id,
transactionHash,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
walletAddress: getAddress(address),
walletType: "walletConnect",
transactionHash,
chainId: tx.chainId,

Check warning on line 354 in packages/thirdweb/src/wallets/wallet-connect/controller.ts

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/wallets/wallet-connect/controller.ts#L354

Added line #L354 was not covered by tests
contractAddress: tx.to ?? undefined,
gasPrice: tx.gasPrice,
});
Expand Down
Loading