From cd3249f78f0fff1d5f3b226f8ba841efe06aab64 Mon Sep 17 00:00:00 2001 From: Zygimantas Date: Tue, 1 Oct 2024 15:05:52 -0400 Subject: [PATCH 1/2] chore: delete sentry Signed-off-by: Zygimantas --- next.config.js | 28 ---------------------------- package.json | 1 - sentry.client.config.ts | 30 ------------------------------ sentry.edge.config.ts | 16 ---------------- sentry.server.config.ts | 15 --------------- 5 files changed, 90 deletions(-) delete mode 100644 sentry.client.config.ts delete mode 100644 sentry.edge.config.ts delete mode 100644 sentry.server.config.ts diff --git a/next.config.js b/next.config.js index 3ed2aca4..31826913 100644 --- a/next.config.js +++ b/next.config.js @@ -79,34 +79,6 @@ let nextConfig = { }, }; -/** @see https://docs.sentry.io/platforms/javascript/guides/nextjs */ -const { withSentryConfig } = require("@sentry/nextjs"); - -/** - * @type {Partial} - * @see https://github.com/getsentry/sentry-webpack-plugin#options - */ -const sentryWebpackConfig = { - org: "skip-protocol", - project: "ibc-dot-fun", - silent: true, -}; - -/** - * @type {import('@sentry/nextjs/types/config/types').UserSentryOptions} - * @see https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup - */ -const sentryOptions = { - disableLogger: true, - hideSourceMaps: false, - transpileClientSDK: true, - tunnelRoute: "/monitoring", - widenClientFileUpload: true, -}; - -/** @see https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup */ -nextConfig = withSentryConfig(nextConfig, sentryWebpackConfig, sentryOptions); - module.exports = nextConfig; function checkEnv() { diff --git a/package.json b/package.json index 832a5a1a..c2f6671c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-tooltip": "^1.0.7", - "@sentry/nextjs": "^7.99.0", "@skip-go/widget": "^2.5.1", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", diff --git a/sentry.client.config.ts b/sentry.client.config.ts deleted file mode 100644 index 77f4997b..00000000 --- a/sentry.client.config.ts +++ /dev/null @@ -1,30 +0,0 @@ -// This file configures the initialization of Sentry on the client. -// The config you add here will be used whenever a users loads a page in their browser. -// https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -import * as Sentry from "@sentry/nextjs"; - -Sentry.init({ - dsn: process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN, - - // Adjust this value in production, or use tracesSampler for greater control - tracesSampleRate: 1, - - // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, - - replaysOnErrorSampleRate: 1.0, - - // This sets the sample rate to be 10%. You may want this to be 100% while - // in development and sample at a lower rate in production - replaysSessionSampleRate: 0.1, - - // You can remove this option if you're not planning to use the Sentry Session Replay feature: - integrations: [ - new Sentry.Replay({ - // Additional Replay configuration goes in here, for example: - maskAllText: false, - blockAllMedia: false, - }), - ], -}); diff --git a/sentry.edge.config.ts b/sentry.edge.config.ts deleted file mode 100644 index c2245080..00000000 --- a/sentry.edge.config.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file configures the initialization of Sentry for edge features (middleware, edge routes, and so on). -// The config you add here will be used whenever one of the edge features is loaded. -// Note that this config is unrelated to the Vercel Edge Runtime and is also required when running locally. -// https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -import * as Sentry from "@sentry/nextjs"; - -Sentry.init({ - dsn: process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN, - - // Adjust this value in production, or use tracesSampler for greater control - tracesSampleRate: 1, - - // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, -}); diff --git a/sentry.server.config.ts b/sentry.server.config.ts deleted file mode 100644 index 3c9937ad..00000000 --- a/sentry.server.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file configures the initialization of Sentry on the server. -// The config you add here will be used whenever the server handles a request. -// https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -import * as Sentry from "@sentry/nextjs"; - -Sentry.init({ - dsn: process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN, - - // Adjust this value in production, or use tracesSampler for greater control - tracesSampleRate: 1, - - // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, -}); From ffe6d3a21a65d7bab7bf2d49aa24b4149b9ae4cf Mon Sep 17 00:00:00 2001 From: Nur Fikri Date: Thu, 3 Oct 2024 06:06:50 +0700 Subject: [PATCH 2/2] bump widget --- chain-registry | 2 +- initia-registry | 2 +- package-lock.json | 16 ++++++++-------- package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/chain-registry b/chain-registry index adc14a13..ff0918fd 160000 --- a/chain-registry +++ b/chain-registry @@ -1 +1 @@ -Subproject commit adc14a130f8f7c06082d8319c08880c248c8343e +Subproject commit ff0918fd9e4270990e8a3ffd6e29e0a80bdf6cbf diff --git a/initia-registry b/initia-registry index 5abbf775..c3f97878 160000 --- a/initia-registry +++ b/initia-registry @@ -1 +1 @@ -Subproject commit 5abbf77506d19c5ae2b7f8e18d5f1c4282255262 +Subproject commit c3f97878ec864778b32187aac64b100246b7f98d diff --git a/package-lock.json b/package-lock.json index 29b06a25..a6aafc9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-tooltip": "^1.0.7", "@sentry/nextjs": "^7.99.0", - "@skip-go/widget": "^2.5.1", + "@skip-go/widget": "^2.5.2", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31", @@ -11524,9 +11524,9 @@ } }, "node_modules/@skip-go/client": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/@skip-go/client/-/client-0.9.3.tgz", - "integrity": "sha512-IfdNuH194fPA3pErtrCsofHzTB7+1ETIwcBLD4XvSeFkhcNbqJiwyYLXkfgDAbTedUBojaIP8f/veH7ZjFId/Q==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@skip-go/client/-/client-0.10.0.tgz", + "integrity": "sha512-Io4VLJdXc5aD52HuHQ89yDOmQiaAi0v4ExyF37DAgQyd3WEJLZyzwox9tx6OQCZ7F4beDMYEAtAKYhwB8jpslQ==", "dependencies": { "@cosmjs/amino": "0.32.4", "@cosmjs/cosmwasm-stargate": "0.32.4", @@ -11608,9 +11608,9 @@ } }, "node_modules/@skip-go/widget": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@skip-go/widget/-/widget-2.5.1.tgz", - "integrity": "sha512-u0vaIp+JuFWTBFXnIH+Y5vpGm4sJUxBDZzMkWHCHHy6VoX8iR+fnwSclFQDdyJ/eb+6ATCXpKaiaBimel+KUNA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@skip-go/widget/-/widget-2.5.2.tgz", + "integrity": "sha512-DaQVE2nltO253pCgfQhpA3gBYxN/MwMofttKONRr9Sr1fgNhCrd/UrIi2e5DK1AYb/zkA4sUKGlSHuihFd62Aw==", "dependencies": { "@cosmos-kit/cosmostation-extension": "^2.7.10", "@cosmos-kit/keplr-extension": "^2.7.9", @@ -11636,7 +11636,7 @@ "@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", - "@skip-go/client": "0.9.3", + "@skip-go/client": "0.10.0", "@solana/spl-token": "^0.4.6", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.32", diff --git a/package.json b/package.json index c2f6671c..12355d49 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-tooltip": "^1.0.7", - "@skip-go/widget": "^2.5.1", + "@skip-go/widget": "^2.5.2", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31",