@napuketto/adapter 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/{core-C7Nnl45P.mjs → core-4PwF_pJB.mjs} +7 -2
- package/dist/core-4PwF_pJB.mjs.map +1 -0
- package/dist/{index-B-HpCes-.d.mts → index-CKH8uaU-.d.mts} +2 -2
- package/dist/{index-B-HpCes-.d.mts.map → index-CKH8uaU-.d.mts.map} +1 -1
- package/dist/{index-d_RSpWyb.d.mts → index-CiitTshy.d.mts} +2 -2
- package/dist/{index-d_RSpWyb.d.mts.map → index-CiitTshy.d.mts.map} +1 -1
- package/dist/{index-DBjlR2dn.d.mts → index-D9Nwf0_4.d.mts} +5 -2
- package/dist/index-D9Nwf0_4.d.mts.map +1 -0
- package/dist/{index-dsurF2t_.d.mts → index-DAsCCf9S.d.mts} +2 -2
- package/dist/{index-dsurF2t_.d.mts.map → index-DAsCCf9S.d.mts.map} +1 -1
- package/dist/{index-B2Hf9yzT.d.mts → index-lKqnKSwo.d.mts} +2 -2
- package/dist/{index-B2Hf9yzT.d.mts.map → index-lKqnKSwo.d.mts.map} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/kurobot/index.d.mts +1 -1
- package/dist/kurobot/index.mjs +1 -1
- package/dist/{kurobot-B3por6f4.mjs → kurobot-CG2qGU9G.mjs} +2 -2
- package/dist/{kurobot-B3por6f4.mjs.map → kurobot-CG2qGU9G.mjs.map} +1 -1
- package/dist/milky/index.d.mts +1 -1
- package/dist/milky/index.mjs +1 -1
- package/dist/{milky-Dpk2r5RV.mjs → milky-DMmeotN9.mjs} +2 -2
- package/dist/{milky-Dpk2r5RV.mjs.map → milky-DMmeotN9.mjs.map} +1 -1
- package/dist/onebot11/index.d.mts +1 -1
- package/dist/onebot11/index.mjs +1 -1
- package/dist/{onebot11-D_JlAsjy.mjs → onebot11-CAf9fBoJ.mjs} +2 -2
- package/dist/{onebot11-D_JlAsjy.mjs.map → onebot11-CAf9fBoJ.mjs.map} +1 -1
- package/dist/satori/index.d.mts +1 -1
- package/dist/satori/index.mjs +1 -1
- package/dist/{satori-Deamai7y.mjs → satori-D5lM6S3L.mjs} +2 -2
- package/dist/{satori-Deamai7y.mjs.map → satori-D5lM6S3L.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/core-C7Nnl45P.mjs.map +0 -1
- package/dist/index-DBjlR2dn.d.mts.map +0 -1
package/dist/satori/index.d.mts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Satori 协议适配器
|
|
3
3
|
* 公共面:类型 + 动作注册表 + 配置 schema + 传输装配 + 适配器。
|
|
4
4
|
*/
|
|
5
|
-
import { A as Message, B as SatoriActionDeps, C as Emoji, D as GuildRole, E as GuildMember, F as Order, G as SatoriToCanonicalDeps, H as SatoriActionError, I as HTTP_STATUS, J as renderElements, K as SatoriElement, L as satoriHttpStatusMap, M as BidiList, N as Direction, O as Login, P as List, R as SatoriConfig, S as ChannelType, T as Guild, U as SatoriApi, V as createSatoriActionRegistry, W as SatoriApiOptions, _ as MetaBody, a as parseContentToCanonical, b as Signal, c as canonicalToSatoriElements, d as NapukettoSatoriAdapter, f as SatoriAdapterOptions, g as IdentifyBody, h as Event, i as toEventSignal, j as User, k as LoginStatus, l as SatoriEventContent, m as Button, n as SatoriTransportSet, o as satoriToCanonicalElements, p as Argv, q as parseElements, r as assembleSatoriTransports, s as CanonicalToSatoriDeps, t as AssembleSatoriTransportsOptions, u as SatoriEventDeps, v as Opcode, w as Friend, x as Channel, y as ReadyBody, z as satoriConfigSchema } from "../index-
|
|
5
|
+
import { A as Message, B as SatoriActionDeps, C as Emoji, D as GuildRole, E as GuildMember, F as Order, G as SatoriToCanonicalDeps, H as SatoriActionError, I as HTTP_STATUS, J as renderElements, K as SatoriElement, L as satoriHttpStatusMap, M as BidiList, N as Direction, O as Login, P as List, R as SatoriConfig, S as ChannelType, T as Guild, U as SatoriApi, V as createSatoriActionRegistry, W as SatoriApiOptions, _ as MetaBody, a as parseContentToCanonical, b as Signal, c as canonicalToSatoriElements, d as NapukettoSatoriAdapter, f as SatoriAdapterOptions, g as IdentifyBody, h as Event, i as toEventSignal, j as User, k as LoginStatus, l as SatoriEventContent, m as Button, n as SatoriTransportSet, o as satoriToCanonicalElements, p as Argv, q as parseElements, r as assembleSatoriTransports, s as CanonicalToSatoriDeps, t as AssembleSatoriTransportsOptions, u as SatoriEventDeps, v as Opcode, w as Friend, x as Channel, y as ReadyBody, z as satoriConfigSchema } from "../index-DAsCCf9S.mjs";
|
|
6
6
|
export { type Argv, type AssembleSatoriTransportsOptions, type BidiList, type Button, type CanonicalToSatoriDeps, type Channel, type ChannelType, type Direction, type Emoji, type Event, type Friend, type Guild, type GuildMember, type GuildRole, HTTP_STATUS, type IdentifyBody, type List, type Login, type LoginStatus, type Message, type MetaBody, NapukettoSatoriAdapter, type Opcode, type Order, type ReadyBody, type SatoriActionDeps, SatoriActionError, type SatoriAdapterOptions, SatoriApi, type SatoriApiOptions, type SatoriConfig, type SatoriElement, type SatoriEventContent, type SatoriEventDeps, type SatoriToCanonicalDeps, type SatoriTransportSet, type Signal, type User, assembleSatoriTransports, canonicalToSatoriElements, createSatoriActionRegistry, parseContentToCanonical, parseElements, renderElements, satoriConfigSchema, satoriHttpStatusMap, satoriToCanonicalElements, toEventSignal };
|
package/dist/satori/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { f as HTTP_STATUS, t as NapukettoSatoriAdapter, c as SatoriActionError, i as SatoriApi, n as assembleSatoriTransports, d as canonicalToSatoriElements, a as createSatoriActionRegistry, o as parseContentToCanonical, l as parseElements, u as renderElements, m as satoriConfigSchema, p as satoriHttpStatusMap, s as satoriToCanonicalElements, r as toEventSignal } from "../satori-
|
|
1
|
+
export { f as HTTP_STATUS, t as NapukettoSatoriAdapter, c as SatoriActionError, i as SatoriApi, n as assembleSatoriTransports, d as canonicalToSatoriElements, a as createSatoriActionRegistry, o as parseContentToCanonical, l as parseElements, u as renderElements, m as satoriConfigSchema, p as satoriHttpStatusMap, s as satoriToCanonicalElements, r as toEventSignal } from "../satori-D5lM6S3L.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveProtocolConfig, i as BaseProtocolAdapter, o as ActionRegistry, r as createServerSchema, s as runAction } from "./core-
|
|
1
|
+
import { a as resolveProtocolConfig, i as BaseProtocolAdapter, o as ActionRegistry, r as createServerSchema, s as runAction } from "./core-4PwF_pJB.mjs";
|
|
2
2
|
import { c as MS_TO_SEC, i as toUnixSeconds, p as toUinString, r as subscribeRawMessages } from "./raw-message-Cs4vDKUU.mjs";
|
|
3
3
|
import { a as logEventFailure, c as downloadBufferToFile, l as ensureSilk, t as collectGrayTipUids } from "./gray-tip-DmZmdtjP.mjs";
|
|
4
4
|
import { ChatType, GrayTipSubType, NTGroupRequestOperateTypes, TipGroupElementType, isRecord, kernelError, toCanonicalElements } from "@napuketto/kernel";
|
|
@@ -1776,4 +1776,4 @@ function pickEventResources(content) {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
export { createSatoriActionRegistry as a, SatoriActionError as c, canonicalToSatoriElements as d, HTTP_STATUS as f, SatoriApi as i, parseElements as l, satoriConfigSchema as m, assembleSatoriTransports as n, parseContentToCanonical as o, satoriHttpStatusMap as p, toEventSignal as r, satoriToCanonicalElements as s, NapukettoSatoriAdapter as t, renderElements as u };
|
|
1778
1778
|
|
|
1779
|
-
//# sourceMappingURL=satori-
|
|
1779
|
+
//# sourceMappingURL=satori-D5lM6S3L.mjs.map
|