Skip to content

Commit 5560698

Browse files
authored
chore: change sentry reported data (#1704)
1 parent be181de commit 5560698

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.changeset/neat-tables-stare.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuels-wallet": patch
3+
---
4+
5+
chore: reduce reported data to sentry

.changeset/two-ligers-behave.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuels/playwright-utils": patch
3+
---
4+
5+
chore: update wallet version

packages/app/src/systems/Account/services/account.ts

+4-6
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,12 @@ export class AccountService {
257257
} = await AccountService.fetchRecoveryState();
258258

259259
if (needsRecovery) {
260-
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
261-
const dataToLog: any = {
262-
backupAccounts: JSON.stringify(backupAccounts),
263-
backupNetworks: JSON.stringify(backupNetworks),
264-
};
265-
266260
(async () => {
261+
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
262+
const dataToLog: any = {};
267263
try {
264+
dataToLog.backupAccounts = JSON.stringify(backupAccounts?.map((account) => account?.data?.address) || []);
265+
dataToLog.backupNetworks = JSON.stringify(backupNetworks || []);
268266
// try getting data from indexedDB (outside of dexie) to check if it's also corrupted
269267
const testNoDexieDbData = await getTestNoDexieDbData();
270268
dataToLog.testNoDexieDbData = testNoDexieDbData;

packages/playwright-utils/src/fixtures/fixtures.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const test = base.extend<{
99
pathToExtension: string;
1010
fuelWalletVersion: string;
1111
}>({
12-
fuelWalletVersion: '0.21.0',
12+
fuelWalletVersion: '0.42.3',
1313
pathToExtension: async ({ fuelWalletVersion }, use) => {
1414
const fuelPath = await downloadFuel(fuelWalletVersion);
1515
await use(fuelPath);

0 commit comments

Comments
 (0)