@rpcbase/client 0.259.0 → 0.261.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/instrument.ts +1 -4
  2. package/package.json +1 -1
package/instrument.ts CHANGED
@@ -2,14 +2,12 @@ import * as Sentry from "@sentry/react"
2
2
  import posthog from "posthog-js"
3
3
 
4
4
  const isProduction = import.meta.env.MODE === "production"
5
- console.log("MODE", import.meta, import.meta.env, import.meta.env.MODE)
6
5
 
7
6
  if (isProduction) {
8
- console.log("initializing sentry", import.meta.env.RB_PUBLIC_SENTRY_DSN)
9
7
  Sentry.init({
10
8
  dsn: import.meta.env.RB_PUBLIC_SENTRY_DSN,
11
9
  tracesSampleRate: 1.0,
12
- debug: true,
10
+ // debug: true,
13
11
  })
14
12
  } else {
15
13
  console.info("ℹ️ Not initializing sentry in development")
@@ -18,7 +16,6 @@ if (isProduction) {
18
16
 
19
17
  if (isProduction) {
20
18
  if (import.meta.env.RB_PUBLIC_POSTHOG_KEY) {
21
- console.log("initializing posthog with key", import.meta.env.RB_PUBLIC_POSTHOG_KEY)
22
19
  posthog.init(import.meta.env.RB_PUBLIC_POSTHOG_KEY, {
23
20
  api_host: "/ingest",
24
21
  // request_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.259.0",
3
+ "version": "0.261.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "scripts": {