From bd2c707a6fe83f7a080b9206ed2668e4340ccbd5 Mon Sep 17 00:00:00 2001 From: tbxark Date: Thu, 20 Jun 2024 14:07:12 +0800 Subject: [PATCH] chore: build 1.7.0 --- dist/buildinfo.json | 2 +- dist/index.js | 6 +++--- dist/timestamp | 2 +- package.json | 6 ++---- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/dist/buildinfo.json b/dist/buildinfo.json index 1d41c229..ad292a03 100644 --- a/dist/buildinfo.json +++ b/dist/buildinfo.json @@ -1 +1 @@ -{"sha": "90cf7c6", "timestamp": 1715873504} +{"sha": "17ebf29", "timestamp": 1718863608} diff --git a/dist/index.js b/dist/index.js index a5fc1db4..84ff2ea1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3,9 +3,9 @@ var Environment = class { // -- 版本数据 -- // // 当前版本 - BUILD_TIMESTAMP = 1715873504; + BUILD_TIMESTAMP = 1718863608; // 当前版本 commit id - BUILD_VERSION = "90cf7c6"; + BUILD_VERSION = "17ebf29"; // -- 基础配置 -- /** * @type {I18n | null} @@ -1090,7 +1090,7 @@ var LineDecoder = class { if (typeof TextDecoder !== "undefined") { if (bytes instanceof Uint8Array || bytes instanceof ArrayBuffer) { (_a = this.textDecoder) !== null && _a !== void 0 ? _a : this.textDecoder = new TextDecoder("utf8"); - return this.textDecoder.decode(bytes); + return this.textDecoder.decode(bytes, { stream: true }); } throw new Error(`Unexpected: received non-Uint8Array/ArrayBuffer (${bytes.constructor.name}) in a web platform. Please report this error.`); } diff --git a/dist/timestamp b/dist/timestamp index 579c705d..46ce2f1a 100644 --- a/dist/timestamp +++ b/dist/timestamp @@ -1 +1 @@ -1715873504 +1718863608 diff --git a/package.json b/package.json index 25a5e6ef..d721281a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatgpt-telegram-workers", - "version": "1.5.1", + "version": "1.7.0", "description": "最简单快捷部署属于自己的ChatGPT Telegram机器人的方法,单文件,直接复制粘贴一把梭,无需任何依赖,无需配置本地开发环境,不用域名,免服务器。", "main": "main.js", "type": "module", @@ -24,9 +24,7 @@ }, "files": [ "main.js", - "src/**/*", - "package.json", - "package-lock.json" + "src/**/*" ], "author": "TBXark", "license": "MIT",