From f353cb2fc9e8d836b6816f4a54358ca97229ad3e Mon Sep 17 00:00:00 2001 From: huanniangstudio <891863891@qq.com> Date: Fri, 21 Apr 2023 10:54:57 +0800 Subject: [PATCH] update version to v1.1.17 --- package.json | 2 +- release-notes.md | 9 +++++++++ src/content-script/pageProvider/index.ts | 14 +++++++------- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index b52d4f23..d33cc65e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unisat-extension", - "version": "1.1.16", + "version": "1.1.17", "private": true, "homepage": "https://github.com/unisat-wallet/extension#readme", "bugs": { diff --git a/release-notes.md b/release-notes.md index 796959dc..4b998006 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,6 +1,15 @@ # UniSat Wallet Release Notes +## v1.1.17 +**Major changes** +- Feature + - Add API unisat.inscribeTransfer(ticker:string, amount:string) + +**Minor changes** +- Add sentry to trace bugs + + ## v1.1.16 **Major changes** - Feature diff --git a/src/content-script/pageProvider/index.ts b/src/content-script/pageProvider/index.ts index 22c16a2e..ffae7c91 100644 --- a/src/content-script/pageProvider/index.ts +++ b/src/content-script/pageProvider/index.ts @@ -10,13 +10,13 @@ import ReadyPromise from './readyPromise'; import { $, domReadyCall } from './utils'; const log = (event, ...args) => { - // if (process.env.NODE_ENV !== 'production') { - // console.log( - // `%c [unisat] (${new Date().toTimeString().slice(0, 8)}) ${event}`, - // 'font-weight: 600; background-color: #7d6ef9; color: white;', - // ...args - // ); - // } + if (process.env.NODE_ENV !== 'production') { + console.log( + `%c [unisat] (${new Date().toTimeString().slice(0, 8)}) ${event}`, + 'font-weight: 600; background-color: #7d6ef9; color: white;', + ...args + ); + } }; const script = document.currentScript; const channelName = script?.getAttribute('channel') || 'UNISAT';