dfx 0.97.6 → 0.97.7
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/Sharder.d.ts +1 -1
- package/DiscordGateway.d.ts +1 -1
- package/DiscordREST.d.ts +1 -1
- package/gateway.d.ts +2 -2
- package/mjs/version.mjs +1 -1
- package/package.json +3 -3
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/webhooks.d.ts +1 -1
|
@@ -10,5 +10,5 @@ export interface Sharder {
|
|
|
10
10
|
export declare const Sharder: import("effect/Context").Tag<Sharder, {
|
|
11
11
|
readonly shards: Effect.Effect<HashSet.HashSet<RunningShard>, never, never>;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const SharderLive: Layer.Layer<Sharder, never, DiscordConfig | import("dfx/RateLimit").RateLimitStore | ShardStore | import("./DiscordWS").DiscordWSCodec | import("./Shard/StateStore").ShardStateStore | import("@effect/platform/Socket").WebSocketConstructor
|
|
13
|
+
export declare const SharderLive: Layer.Layer<Sharder, never, DiscordConfig | import("@effect/platform/Http/Client").Client.Default | import("dfx/RateLimit").RateLimitStore | ShardStore | import("./DiscordWS").DiscordWSCodec | import("./Shard/StateStore").ShardStateStore | import("@effect/platform/Socket").WebSocketConstructor>;
|
|
14
14
|
//# sourceMappingURL=Sharder.d.ts.map
|
package/DiscordGateway.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export interface DiscordGateway {
|
|
|
17
17
|
}
|
|
18
18
|
export declare const DiscordGateway: import("effect/Context").Tag<DiscordGateway, DiscordGateway>;
|
|
19
19
|
export declare const make: Effect.Effect<DiscordGateway, never, import("dfx/DiscordGateway/Messaging").Messsaging | Sharder>;
|
|
20
|
-
export declare const DiscordGatewayLive: Layer.Layer<DiscordGateway, never, import("./DiscordConfig").DiscordConfig | import("./RateLimit").RateLimitStore | import("./DiscordGateway/ShardStore").ShardStore | import("./DiscordGateway/DiscordWS").DiscordWSCodec | import("./DiscordGateway/Shard/StateStore").ShardStateStore | import("@effect/platform/Socket").WebSocketConstructor
|
|
20
|
+
export declare const DiscordGatewayLive: Layer.Layer<DiscordGateway, never, import("./DiscordConfig").DiscordConfig | import("@effect/platform/Http/Client").Client.Default | import("./RateLimit").RateLimitStore | import("./DiscordGateway/ShardStore").ShardStore | import("./DiscordGateway/DiscordWS").DiscordWSCodec | import("./DiscordGateway/Shard/StateStore").ShardStateStore | import("@effect/platform/Socket").WebSocketConstructor>;
|
|
21
21
|
//# sourceMappingURL=DiscordGateway.d.ts.map
|
package/DiscordREST.d.ts
CHANGED
|
@@ -23,6 +23,6 @@ export interface DiscordRESTService extends Discord.Endpoints<Partial<Http.reque
|
|
|
23
23
|
readonly executor: <A = unknown>(request: Http.request.ClientRequest) => Effect.Effect<ResponseWithData<A>, DiscordRESTError, Scope>;
|
|
24
24
|
}
|
|
25
25
|
export declare const DiscordREST: import("effect/Context").Tag<DiscordREST, DiscordRESTService>;
|
|
26
|
-
export declare const DiscordRESTLive: Layer.Layer<DiscordREST, never, DiscordConfig |
|
|
26
|
+
export declare const DiscordRESTLive: Layer.Layer<DiscordREST, never, DiscordConfig | Http.client.Client.Default | RateLimitStore>;
|
|
27
27
|
export {};
|
|
28
28
|
//# sourceMappingURL=DiscordREST.d.ts.map
|
package/gateway.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ import * as Layer from "effect/Layer";
|
|
|
7
7
|
export { DiscordGateway, DiscordGatewayLive } from "dfx/DiscordGateway";
|
|
8
8
|
export { InteractionsRegistry, InteractionsRegistryLive, interactionsSync, run as runIx, setInteractionsSync, } from "dfx/Interactions/gateway";
|
|
9
9
|
export { CachePrelude, DiscordWS, SendEvent, Shard, ShardStore };
|
|
10
|
-
export declare const DiscordLive: Layer.Layer<import("dfx/
|
|
11
|
-
export declare const DiscordIxLive: Layer.Layer<import("dfx/
|
|
10
|
+
export declare const DiscordLive: Layer.Layer<import("dfx/RateLimit").RateLimiter | import("dfx/DiscordREST").DiscordREST | import("dfx/DiscordGateway").DiscordGateway, never, import("./DiscordConfig").DiscordConfig | import("@effect/platform/Http/Client").Client.Default | import("@effect/platform/Socket").WebSocketConstructor>;
|
|
11
|
+
export declare const DiscordIxLive: Layer.Layer<import("dfx/RateLimit").RateLimiter | import("dfx/DiscordREST").DiscordREST | import("dfx/DiscordGateway").DiscordGateway | import("dfx/Interactions/gateway").InteractionsRegistry, never, import("./DiscordConfig").DiscordConfig | import("@effect/platform/Http/Client").Client.Default | import("@effect/platform/Socket").WebSocketConstructor>;
|
|
12
12
|
//# sourceMappingURL=gateway.d.ts.map
|
package/mjs/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.97.
|
|
1
|
+
export const LIB_VERSION = "0.97.7";
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dfx",
|
|
3
|
-
"version": "0.97.
|
|
3
|
+
"version": "0.97.7",
|
|
4
4
|
"description": "Effect-TS discord library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"sideEffects": [],
|
|
36
36
|
"author": "Tim Smart <hello@timsmart.co>",
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@effect/platform": "^0.
|
|
38
|
+
"@effect/platform": "^0.57.0",
|
|
39
39
|
"effect": "^3.2.1"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
42
|
"discord-verify": "^1.2.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9a9b64e0fabeaa42a8867bae36c8e84590aac47b",
|
|
45
45
|
"main": "./index.js"
|
|
46
46
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.97.
|
|
1
|
+
export const LIB_VERSION = "0.97.7";
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.97.
|
|
1
|
+
export declare const LIB_VERSION = "0.97.7";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/webhooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Layer from "effect/Layer";
|
|
2
2
|
export { BadWebhookSignature, WebhookConfig, WebhookParseError, makeHandler, makeSimpleHandler, layer as webhookLayer, layerConfig as webhookLayerConfig, } from "dfx/Interactions/webhook";
|
|
3
|
-
export declare const DiscordLive: Layer.Layer<import("dfx/
|
|
3
|
+
export declare const DiscordLive: Layer.Layer<import("dfx/RateLimit").RateLimiter | import("dfx/DiscordREST").DiscordREST, never, import("./DiscordConfig").DiscordConfig | import("@effect/platform/Http/Client").Client.Default>;
|
|
4
4
|
//# sourceMappingURL=webhooks.d.ts.map
|