dfx 0.59.0 → 0.60.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/RateLimit.d.ts +2 -2
- 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: ({ onConnecting, outbound, url, version, }: 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
|
package/RateLimit.d.ts
CHANGED
|
@@ -19,12 +19,12 @@ export interface RateLimitStore {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const RateLimitStore: Tag<RateLimitStore, RateLimitStore>;
|
|
21
21
|
export declare const LiveMemoryRateLimitStore: Layer.Layer<never, never, RateLimitStore>;
|
|
22
|
-
declare const makeLimiter: Effect.Effect<
|
|
22
|
+
declare const makeLimiter: Effect.Effect<Log | RateLimitStore, never, {
|
|
23
23
|
maybeWait: (key: string, window: Duration.Duration, limit: number, multiplier?: number) => Effect.Effect<never, never, void>;
|
|
24
24
|
}>;
|
|
25
25
|
export interface RateLimiter extends Effect.Effect.Success<typeof makeLimiter> {
|
|
26
26
|
}
|
|
27
27
|
export declare const RateLimiter: Tag<RateLimiter, RateLimiter>;
|
|
28
|
-
export declare const LiveRateLimiter: Layer.Layer<
|
|
28
|
+
export declare const LiveRateLimiter: Layer.Layer<Log | RateLimitStore, never, RateLimiter>;
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=RateLimit.d.ts.map
|
package/mjs/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.
|
|
1
|
+
export const LIB_VERSION = "0.60.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.60.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.17.
|
|
12
|
-
"@effect/io": "~0.
|
|
13
|
-
"@effect/stream": "~0.
|
|
10
|
+
"@effect-http/client": "^0.39.0",
|
|
11
|
+
"@effect/data": "^0.17.1",
|
|
12
|
+
"@effect/io": "~0.37.0",
|
|
13
|
+
"@effect/stream": "~0.33.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": "574836202683be90edcb7506b2171fbf38e33f8f",
|
|
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.60.0";
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.
|
|
1
|
+
export declare const LIB_VERSION = "0.60.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|