Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Apr 26, 2024
1 parent fc7b6a4 commit f89d6c3
Show file tree
Hide file tree
Showing 38 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ await ctx.start()

```ts
import { Context } from '@satorijs/satori'
import router from '@cordisjs/server'
import router from '@cordisjs/plugin-server'
import telegram from '@satorijs/adapter-telegram'

// your application will be listening http://localhost:8080
Expand Down
6 changes: 3 additions & 3 deletions adapters/dingtalk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8",
"@cordisjs/server-temp": "^0.3.0"
"@cordisjs/plugin-server": "^0.2.0",
"@cordisjs/plugin-server-temp": "^0.4.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/dingtalk/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context, Logger } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { DingtalkBot } from './bot'
import crypto from 'node:crypto'
import { Message } from './types'
Expand Down
2 changes: 1 addition & 1 deletion adapters/dingtalk/src/message.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Context, Dict, h, MessageEncoder } from '@satorijs/satori'
import { DingtalkBot } from './bot'
import { SendMessageData } from './types'
import { Entry } from '@cordisjs/server-temp'
import { Entry } from '@cordisjs/plugin-server-temp'

export const escape = (val: string) =>
val
Expand Down
2 changes: 1 addition & 1 deletion adapters/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"chat"
],
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
4 changes: 2 additions & 2 deletions adapters/kook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/kook/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context, Logger, sanitize, Schema } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { KookBot } from './bot'
import { adaptSession } from './utils'

Expand Down
4 changes: 2 additions & 2 deletions adapters/lark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/lark/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Readable } from 'node:stream'
import { ReadableStream } from 'node:stream/web'
import { Adapter, Context, Logger, Schema } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'

import { FeishuBot } from './bot'
import { AllEvents } from './types'
Expand Down
4 changes: 2 additions & 2 deletions adapters/line/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/line/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import crypto from 'node:crypto'
import { LineBot } from './bot'
import { WebhookRequestBody } from './types'
Expand Down
2 changes: 1 addition & 1 deletion adapters/mail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"chat"
],
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"@types/mailparser": "^3.4.4",
Expand Down
4 changes: 2 additions & 2 deletions adapters/matrix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"html5parser": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion adapters/matrix/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Adapter, Context } from '@satorijs/satori'
import { Context as KoaContext } from 'koa'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { MatrixBot } from './bot'
import { dispatchSession } from './utils'
import { ClientEvent, M_ROOM_MEMBER } from './types'
Expand Down
2 changes: 1 addition & 1 deletion adapters/qq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"chat"
],
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/satori/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"chat"
],
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
4 changes: 2 additions & 2 deletions adapters/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"@slack/types": "^2.11.0"
Expand Down
2 changes: 1 addition & 1 deletion adapters/slack/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context, Schema } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { SlackBot } from './bot'
import crypto from 'node:crypto'
import { EnvelopedEvent, SlackEvent, SocketEvent } from './types'
Expand Down
6 changes: 3 additions & 3 deletions adapters/telegram/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@satorijs/adapter-telegram",
"description": "Telegram Adapter for Satorijs",
"version": "4.4.0",
"version": "4.4.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -33,10 +33,10 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"file-type": "^16.5.4"
Expand Down
2 changes: 1 addition & 1 deletion adapters/telegram/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context, sanitize, Schema, trimSlash } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { TelegramBot } from './bot'
import { handleUpdate } from './utils'
import * as Telegram from './types'
Expand Down
4 changes: 2 additions & 2 deletions adapters/wechat-official/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8",
"@cordisjs/plugin-server": "^0.2.0",
"@types/xml2js": "^0.4.14"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"@wecom/crypto": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion adapters/wechat-official/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { WechatOfficialBot } from './bot'
import xml2js from 'xml2js'
import { Message } from './types'
Expand Down
4 changes: 2 additions & 2 deletions adapters/wecom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"chat"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8",
"@cordisjs/plugin-server": "^0.2.0",
"@types/xml2js": "^0.4.14"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"@wecom/crypto": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion adapters/wecom/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { WecomBot } from './bot'
import xml2js from 'xml2js'
import { Message } from './types'
Expand Down
4 changes: 2 additions & 2 deletions adapters/whatsapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"satori"
],
"devDependencies": {
"@cordisjs/server": "^0.1.8"
"@cordisjs/plugin-server": "^0.2.0"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
}
}
2 changes: 1 addition & 1 deletion adapters/whatsapp/src/adapter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Context, Logger, Quester, remove, Schema } from '@satorijs/satori'
import {} from '@cordisjs/server'
import {} from '@cordisjs/plugin-server'
import { Internal } from './internal'
import { WhatsAppBot } from './bot'
import { WebhookBody } from './types'
Expand Down
2 changes: 1 addition & 1 deletion adapters/zulip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"chat"
],
"peerDependencies": {
"@satorijs/satori": "^3.6.6"
"@satorijs/satori": "^3.7.0"
},
"dependencies": {
"marked": "^9.1.6"
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"workspaces": [
"docs",
"external/*",
"external/*/external/*",
"external/*/external/*/external/*",
"external/*/external/*/packages/*",
"external/*/packages/*",
"adapters/*",
"packages/*"
],
Expand All @@ -23,7 +27,7 @@
},
"license": "MIT",
"devDependencies": {
"@cordisjs/eslint-config": "^1.0.4",
"@cordisjs/eslint-config": "^1.1.1",
"@types/chai": "^4.3.14",
"@types/node": "^20.11.30",
"c8": "^7.14.0",
Expand Down
11 changes: 5 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@satorijs/core",
"description": "Core components of Satorijs",
"version": "3.6.6",
"version": "3.7.0",
"type": "module",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
Expand Down Expand Up @@ -44,12 +44,11 @@
"@types/ws": "^8.5.10"
},
"dependencies": {
"@satorijs/element": "^3.1.6",
"@satorijs/protocol": "^1.3.0",
"cordis": "^3.13.4",
"@cordisjs/plugin-http": "^0.4.0",
"@satorijs/element": "^3.1.7",
"@satorijs/protocol": "^1.3.1",
"cordis": "^3.14.0",
"cosmokit": "^1.6.2",
"undios": "^0.3.2",
"undios-file": "^0.1.3",
"ws": "^8.16.0"
}
}
7 changes: 2 additions & 5 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { Awaitable, defineProperty, Dict } from 'cosmokit'
import { Bot } from './bot'
import { Session } from './session'
import { z } from 'cordis'
import { HTTP } from 'undios'
import * as file from 'undios-file'
import { HTTP } from '@cordisjs/plugin-http'
import { Event, SendOptions } from '@satorijs/protocol'
import h from '@satorijs/element'

Expand All @@ -17,7 +16,6 @@ export type { Fragment, Render } from '@satorijs/element'
export { h, h as Element, h as segment, HTTP, HTTP as Quester }

export * from 'cordis'
export * as file from 'undios-file'

export * as Universal from '@satorijs/protocol'

Expand All @@ -26,7 +24,7 @@ export * from './adapter'
export * from './message'
export * from './session'

declare module 'undios' {
declare module '@cordisjs/plugin-http' {
namespace HTTP {
export const Config: z<Config>
export function createConfig(this: typeof HTTP, endpoint?: string | boolean): z<Config>
Expand Down Expand Up @@ -116,7 +114,6 @@ export class Context extends cordis.Context {
this.provide('http', undefined, true)
this.provide('satori', undefined, true)
this.plugin(HTTP, config.request)
this.plugin(file)
this.plugin(Satori)
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@satorijs/server-satori": "^2.4.3"
},
"peerDependencies": {
"@satorijs/satori": "^3.6.6",
"minato": "^3.1.1"
"@satorijs/satori": "^3.7.0",
"minato": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/element/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@satorijs/element",
"description": "Element Manipulation",
"version": "3.1.6",
"version": "3.1.7",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@satorijs/protocol",
"description": "Protocol types for Satori protocol",
"version": "1.3.0",
"version": "1.3.1",
"type": "module",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
Expand Down Expand Up @@ -38,7 +38,7 @@
"api"
],
"dependencies": {
"@satorijs/element": "^3.1.6",
"@satorijs/element": "^3.1.7",
"cosmokit": "^1.6.2"
}
}
Loading

0 comments on commit f89d6c3

Please sign in to comment.