dfx 0.57.0 → 0.58.0
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/DiscordGateway/DiscordWS.d.ts +1 -1
- package/DiscordGateway/Shard.d.ts +2 -2
- package/Interactions/webhook.d.ts +1 -1
- package/mjs/version.mjs +1 -1
- package/package.json +6 -6
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -20,7 +20,7 @@ export interface DiscordWSCodec {
|
|
|
20
20
|
}
|
|
21
21
|
export declare const DiscordWSCodec: Tag<DiscordWSCodec, DiscordWSCodec>;
|
|
22
22
|
export declare const LiveJsonDiscordWSCodec: Layer.Layer<never, never, DiscordWSCodec>;
|
|
23
|
-
declare const make: Effect.Effect<
|
|
23
|
+
declare const make: Effect.Effect<WS | DiscordWSCodec, never, {
|
|
24
24
|
readonly connect: ({ url, version, outbound, onConnecting, }: OpenOpts) => Effect.Effect<never, never, {
|
|
25
25
|
readonly run: Effect.Effect<never, import("dfx/DiscordGateway/WS").WebSocketError | import("dfx/DiscordGateway/WS").WebSocketCloseError, void>;
|
|
26
26
|
readonly take: Effect.Effect<never, never, Discord.GatewayPayload<any>>;
|
|
@@ -9,7 +9,7 @@ import * as Layer from "@effect/io/Layer";
|
|
|
9
9
|
import { Tag } from "@effect/data/Context";
|
|
10
10
|
import * as Hub from "@effect/io/Hub";
|
|
11
11
|
import * as Queue from "@effect/io/Queue";
|
|
12
|
-
export declare const make: Effect.Effect<
|
|
12
|
+
export declare const make: Effect.Effect<Log | RateLimiter | DiscordConfig | DiscordWS, never, {
|
|
13
13
|
readonly connect: (shard: [id: number, count: number], hub: Hub.Hub<Discord.GatewayPayload<Discord.ReceiveEvent>>, sendQueue: Queue.Dequeue<Discord.GatewayPayload<Discord.SendEvent>>) => Effect.Effect<never, never, {
|
|
14
14
|
readonly id: [id: number, count: number];
|
|
15
15
|
readonly send: (p: Message) => Effect.Effect<never, never, boolean>;
|
|
@@ -19,7 +19,7 @@ export declare const make: Effect.Effect<RateLimiter | Log | DiscordConfig | Dis
|
|
|
19
19
|
export interface Shard extends Effect.Effect.Success<typeof make> {
|
|
20
20
|
}
|
|
21
21
|
export declare const Shard: Tag<Shard, Shard>;
|
|
22
|
-
export declare const LiveShard: Layer.Layer<import("dfx/RateLimit").RateLimitStore |
|
|
22
|
+
export declare const LiveShard: Layer.Layer<Log | import("dfx/RateLimit").RateLimitStore | DiscordConfig | import("dfx/DiscordGateway/DiscordWS").DiscordWSCodec, never, Shard>;
|
|
23
23
|
export interface RunningShard extends Effect.Effect.Success<ReturnType<Shard["connect"]>> {
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=Shard.d.ts.map
|
|
@@ -59,7 +59,7 @@ export interface HandleWebhookOpts<E> {
|
|
|
59
59
|
/**
|
|
60
60
|
* @tsplus getter dfx/InteractionBuilder webhookHandler
|
|
61
61
|
*/
|
|
62
|
-
export declare const makeHandler: <R, E, TE>(ix: InteractionBuilder<R, E, TE>) => ({ headers, body, success, error, }: HandleWebhookOpts<BadWebhookSignature | WebhookParseError | E
|
|
62
|
+
export declare const makeHandler: <R, E, TE>(ix: InteractionBuilder<R, E, TE>) => ({ headers, body, success, error, }: HandleWebhookOpts<DefinitionNotFound | BadWebhookSignature | WebhookParseError | E>) => Effect.Effect<WebhookConfig, never, void>;
|
|
63
63
|
/**
|
|
64
64
|
* @tsplus getter dfx/InteractionBuilder simpleWebhookHandler
|
|
65
65
|
*/
|
package/mjs/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.
|
|
1
|
+
export const LIB_VERSION = "0.58.0";
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dfx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/tim-smart/dfx.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@effect-http/client": "^0.
|
|
11
|
-
"@effect/data": "^0.16.
|
|
12
|
-
"@effect/io": "~0.35.
|
|
13
|
-
"@effect/stream": "~0.
|
|
10
|
+
"@effect-http/client": "^0.37.0",
|
|
11
|
+
"@effect/data": "^0.16.3",
|
|
12
|
+
"@effect/io": "~0.35.3",
|
|
13
|
+
"@effect/stream": "~0.31.0",
|
|
14
14
|
"bufferutil": "^4.0.7",
|
|
15
15
|
"discord-verify": "^1.2.0",
|
|
16
16
|
"isomorphic-ws": "^5.0.0",
|
|
17
17
|
"utf-8-validate": "^6.0.3",
|
|
18
18
|
"ws": "^8.13.0"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "0fb8c6646133b288927f4d5167315539b80ce789",
|
|
21
21
|
"main": "./index.js",
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.
|
|
1
|
+
export const LIB_VERSION = "0.58.0";
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.
|
|
1
|
+
export declare const LIB_VERSION = "0.58.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|