From 6d7065ebb2fb96ef3a51d21df3666a28e67ab068 Mon Sep 17 00:00:00 2001 From: woohm402 Date: Fri, 4 Apr 2025 23:16:22 +0900 Subject: [PATCH] fix --- packages/truffle-bunjs/package.json | 2 +- packages/truffle-bunjs/src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/truffle-bunjs/package.json b/packages/truffle-bunjs/package.json index 65582b9..82db46d 100644 --- a/packages/truffle-bunjs/package.json +++ b/packages/truffle-bunjs/package.json @@ -1,6 +1,6 @@ { "name": "@wafflestudio/truffle-bunjs", - "version": "0.2.1", + "version": "0.2.2", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", diff --git a/packages/truffle-bunjs/src/index.ts b/packages/truffle-bunjs/src/index.ts index a280789..4fa3ba9 100644 --- a/packages/truffle-bunjs/src/index.ts +++ b/packages/truffle-bunjs/src/index.ts @@ -20,7 +20,6 @@ export const getTruffleClient = ({ enabled = true, app, apiKey }: TruffleConfig) if (!enabled) return; const message = error.message; - const description = window.location.href; const fallbackNumber = 99999; const elements = ErrorStackParser.parse(error).map((e) => ({ className: '', @@ -32,7 +31,7 @@ export const getTruffleClient = ({ enabled = true, app, apiKey }: TruffleConfig) const body = { app, - description, + description: '', exception: { className: error.name, message, elements }, runtime, version: 'v1',