dfx 0.83.0 → 0.83.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/DiscordGateway/Shard.d.ts +2 -2
- package/Interactions/context.d.ts +1 -1
- package/mjs/version.mjs +1 -1
- package/package.json +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,7 +5,7 @@ import { DiscordConfig } from "dfx/DiscordConfig";
|
|
|
5
5
|
import type { Message } from "dfx/DiscordGateway/DiscordWS";
|
|
6
6
|
import { DiscordWS } from "dfx/DiscordGateway/DiscordWS";
|
|
7
7
|
import { RateLimiter } from "dfx/RateLimit";
|
|
8
|
-
export declare const make: Effect.Effect<
|
|
8
|
+
export declare const make: Effect.Effect<RateLimiter | DiscordConfig | import("dfx/DiscordGateway/Messaging").Messsaging | DiscordWS, never, {
|
|
9
9
|
readonly connect: (shard: [id: number, count: number]) => Effect.Effect<import("effect/Scope").Scope, never, {
|
|
10
10
|
readonly id: [id: number, count: number];
|
|
11
11
|
readonly send: (p: Message) => Effect.Effect<never, never, boolean>;
|
|
@@ -21,7 +21,7 @@ export declare const Shard: Tag<Shard, {
|
|
|
21
21
|
readonly send: (p: Message) => Effect.Effect<never, never, boolean>;
|
|
22
22
|
}>;
|
|
23
23
|
}>;
|
|
24
|
-
export declare const ShardLive: Layer.Layer<
|
|
24
|
+
export declare const ShardLive: Layer.Layer<import("dfx/RateLimit").RateLimitStore | DiscordConfig | import("dfx/DiscordGateway/DiscordWS").DiscordWSCodec, never, Shard>;
|
|
25
25
|
export interface RunningShard extends Effect.Effect.Success<ReturnType<ShardService["connect"]>> {
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -47,7 +47,7 @@ export declare class SubCommandNotFound {
|
|
|
47
47
|
readonly _tag = "SubCommandNotFound";
|
|
48
48
|
constructor(data: Discord.ApplicationCommandDatum);
|
|
49
49
|
}
|
|
50
|
-
export declare const handleSubCommands: <NER extends Record<string, Effect.Effect<any, any, Discord.InteractionResponse>>>(commands: NER) => Effect.Effect<Discord.
|
|
50
|
+
export declare const handleSubCommands: <NER extends Record<string, Effect.Effect<any, any, Discord.InteractionResponse>>>(commands: NER) => Effect.Effect<Discord.ApplicationCommandDatum | Discord.Interaction | Exclude<[NER[keyof NER]] extends [{
|
|
51
51
|
[Effect.EffectTypeId]: {
|
|
52
52
|
_R: (_: never) => infer R;
|
|
53
53
|
};
|
package/mjs/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.83.
|
|
1
|
+
export const LIB_VERSION = "0.83.1";
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dfx",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.1",
|
|
4
4
|
"description": "Effect-TS discord library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"author": "Tim Smart <hello@timsmart.co>",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"isomorphic-ws": "^5.0.0",
|
|
39
|
-
"ws": "^8.
|
|
39
|
+
"ws": "^8.16.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@effect/platform": "^0.
|
|
42
|
+
"@effect/platform": "^0.41.0",
|
|
43
43
|
"effect": "^2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"utf-8-validate": "^6.0.3",
|
|
49
49
|
"zlib-sync": "^0.1.9"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "006d92a2054a6848fb273c4f0fa1af79d9b8ae56",
|
|
52
52
|
"main": "./index.js"
|
|
53
53
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = "0.83.
|
|
1
|
+
export const LIB_VERSION = "0.83.1";
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.83.
|
|
1
|
+
export declare const LIB_VERSION = "0.83.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED