From a3ea0c828810f38d9509250c9b890f1a8a61b994 Mon Sep 17 00:00:00 2001 From: Shigma Date: Tue, 29 Aug 2023 01:55:03 +0800 Subject: [PATCH] chore: bump versions --- adapters/dingtalk/package.json | 2 +- adapters/dingtalk/src/message.ts | 2 +- adapters/discord/package.json | 4 ++-- adapters/kook/package.json | 2 +- adapters/lark/package.json | 2 +- adapters/line/package.json | 2 +- adapters/mail/package.json | 2 +- adapters/matrix/package.json | 2 +- adapters/onebot/package.json | 4 ++-- adapters/qqguild/package.json | 2 +- adapters/slack/package.json | 2 +- adapters/slack/src/bot.ts | 4 ++-- adapters/telegram/package.json | 2 +- adapters/wechat-official/package.json | 2 +- adapters/wecom/package.json | 2 +- adapters/whatsapp/package.json | 2 +- packages/axios/package.json | 2 +- packages/core/package.json | 4 ++-- packages/satori/package.json | 4 ++-- 19 files changed, 24 insertions(+), 24 deletions(-) diff --git a/adapters/dingtalk/package.json b/adapters/dingtalk/package.json index ceae7d9b..4cacaaa3 100644 --- a/adapters/dingtalk/package.json +++ b/adapters/dingtalk/package.json @@ -26,6 +26,6 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" } } diff --git a/adapters/dingtalk/src/message.ts b/adapters/dingtalk/src/message.ts index 8ca36f8c..5197b287 100644 --- a/adapters/dingtalk/src/message.ts +++ b/adapters/dingtalk/src/message.ts @@ -65,7 +65,7 @@ export class DingtalkMessageEncoder extends MessageEncoder { const value = process.env.KOISHI_ENV === 'browser' ? new Blob([data], { type: mime }) : Buffer.from(data) - let type + let type: string if (mime.startsWith('image/') || mime.startsWith('video/')) { type = mime.split('/')[0] } else if (mime.startsWith('audio/')) { diff --git a/adapters/discord/package.json b/adapters/discord/package.json index 9c913e36..a8cdcbce 100644 --- a/adapters/discord/package.json +++ b/adapters/discord/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-discord", "description": "Discord Adapter for Satorijs", - "version": "3.8.7", + "version": "3.8.8", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -29,7 +29,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "form-data": "^4.0.0" diff --git a/adapters/kook/package.json b/adapters/kook/package.json index 917a7293..db7c8373 100644 --- a/adapters/kook/package.json +++ b/adapters/kook/package.json @@ -26,7 +26,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "form-data": "^4.0.0" diff --git a/adapters/lark/package.json b/adapters/lark/package.json index 7d73df99..09417e9e 100644 --- a/adapters/lark/package.json +++ b/adapters/lark/package.json @@ -30,7 +30,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "form-data": "^4.0.0" diff --git a/adapters/line/package.json b/adapters/line/package.json index f3d6191e..42c64d98 100644 --- a/adapters/line/package.json +++ b/adapters/line/package.json @@ -26,6 +26,6 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" } } diff --git a/adapters/mail/package.json b/adapters/mail/package.json index 4fc73a26..76aec32f 100644 --- a/adapters/mail/package.json +++ b/adapters/mail/package.json @@ -25,7 +25,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "@types/mailparser": "^3.4.0", diff --git a/adapters/matrix/package.json b/adapters/matrix/package.json index 6a61a6ea..90dc7657 100644 --- a/adapters/matrix/package.json +++ b/adapters/matrix/package.json @@ -24,7 +24,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "image-size": "^1.0.2", diff --git a/adapters/onebot/package.json b/adapters/onebot/package.json index 9ab5dd3b..587baa9d 100644 --- a/adapters/onebot/package.json +++ b/adapters/onebot/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-onebot", "description": "OneBot Adapter for Satorijs", - "version": "5.7.4", + "version": "5.7.5", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -25,7 +25,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "qface": "^1.4.1" diff --git a/adapters/qqguild/package.json b/adapters/qqguild/package.json index 06002d84..8bf36857 100644 --- a/adapters/qqguild/package.json +++ b/adapters/qqguild/package.json @@ -26,7 +26,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "@qq-guild-sdk/core": "^2.2.2", diff --git a/adapters/slack/package.json b/adapters/slack/package.json index d67609e9..8122e499 100644 --- a/adapters/slack/package.json +++ b/adapters/slack/package.json @@ -26,7 +26,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "@slack/types": "^2.8.0", diff --git a/adapters/slack/src/bot.ts b/adapters/slack/src/bot.ts index 12e49855..cfc13af5 100644 --- a/adapters/slack/src/bot.ts +++ b/adapters/slack/src/bot.ts @@ -184,8 +184,8 @@ export namespace SlackBot { export const Config: Schema = Schema.intersect([ Schema.object({ protocol: Schema.union(['http', 'ws']).description('选择要使用的协议。').required(), - token: Schema.string().description('App-Level Tokens').role('secret').required(), - botToken: Schema.string().description('OAuth Tokens(Bot Tokens)').role('secret').required(), + token: Schema.string().description('App-Level Token.').role('secret').required(), + botToken: Schema.string().description('OAuth Token.').role('secret').required(), }), Schema.union([ WsClient.Config, diff --git a/adapters/telegram/package.json b/adapters/telegram/package.json index c060ae71..a2de40f9 100644 --- a/adapters/telegram/package.json +++ b/adapters/telegram/package.json @@ -30,7 +30,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "file-type": "^16.5.4", diff --git a/adapters/wechat-official/package.json b/adapters/wechat-official/package.json index 84c6a8ff..a170d363 100644 --- a/adapters/wechat-official/package.json +++ b/adapters/wechat-official/package.json @@ -25,7 +25,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.0" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "@wecom/crypto": "^1.0.1", diff --git a/adapters/wecom/package.json b/adapters/wecom/package.json index 5b8ac3a3..b8196862 100644 --- a/adapters/wecom/package.json +++ b/adapters/wecom/package.json @@ -25,7 +25,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.0" + "@satorijs/satori": "^2.6.3" }, "dependencies": { "@wecom/crypto": "^1.0.1", diff --git a/adapters/whatsapp/package.json b/adapters/whatsapp/package.json index e498f3ef..7a0befc1 100644 --- a/adapters/whatsapp/package.json +++ b/adapters/whatsapp/package.json @@ -26,7 +26,7 @@ "satori" ], "peerDependencies": { - "@satorijs/satori": "^2.6.2" + "@satorijs/satori": "^2.6.3" }, "dependencies": {}, "devDependencies": {} diff --git a/packages/axios/package.json b/packages/axios/package.json index 4cb8a02c..98903bde 100644 --- a/packages/axios/package.json +++ b/packages/axios/package.json @@ -1,7 +1,7 @@ { "name": "cordis-axios", "description": "Axios service for cordis", - "version": "3.2.0", + "version": "3.2.1", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { diff --git a/packages/core/package.json b/packages/core/package.json index 389e1230..dff94254 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/core", "description": "Core components of Satorijs", - "version": "2.6.2", + "version": "2.6.3", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -36,7 +36,7 @@ "dependencies": { "@satorijs/element": "^2.4.2", "cordis": "^2.8.7", - "cordis-axios": "^3.2.0", + "cordis-axios": "^3.2.1", "cosmokit": "^1.4.5", "ws": "^8.13.0", "reggol": "^1.4.4", diff --git a/packages/satori/package.json b/packages/satori/package.json index fe7e9309..a2ea52d1 100644 --- a/packages/satori/package.json +++ b/packages/satori/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/satori", "description": "Core components of Satorijs", - "version": "2.6.2", + "version": "2.6.3", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -29,7 +29,7 @@ }, "dependencies": { "@koa/router": "^10.1.1", - "@satorijs/core": "2.6.2", + "@satorijs/core": "2.6.3", "@types/koa": "*", "@types/koa__router": "*", "@types/ws": "^8.5.5",