dfx 0.23.1 → 0.24.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.
@@ -13,14 +13,14 @@ export declare class GlobalApplicationCommand<R, E> {
13
13
  readonly _tag = "GlobalApplicationCommand";
14
14
  constructor(command: Discord.CreateGlobalApplicationCommandParams, handle: CommandHandler<R, E>);
15
15
  }
16
- export declare const global: <R, E, A extends DeepReadonlyObject<import("../types.js").CreateGlobalApplicationCommandParams>>(command: A, handle: DescriptionMissing<A> extends true ? "command description is missing" : CommandHandler<R, E, A>) => GlobalApplicationCommand<Exclude<R, import("../types.js").Interaction | import("../types.js").ApplicationCommandDatum>, E>;
16
+ export declare const global: <R, E, const A extends DeepReadonlyObject<import("../types.js").CreateGlobalApplicationCommandParams>>(command: A, handle: DescriptionMissing<A> extends true ? "command description is missing" : CommandHandler<R, E, A>) => GlobalApplicationCommand<Exclude<R, import("../types.js").Interaction | import("../types.js").ApplicationCommandDatum>, E>;
17
17
  export declare class GuildApplicationCommand<R, E> {
18
18
  readonly command: Discord.CreateGuildApplicationCommandParams;
19
19
  readonly handle: CommandHandler<R, E>;
20
20
  readonly _tag = "GuildApplicationCommand";
21
21
  constructor(command: Discord.CreateGuildApplicationCommandParams, handle: CommandHandler<R, E>);
22
22
  }
23
- export declare const guild: <R, E, A extends DeepReadonlyObject<import("../types.js").CreateGuildApplicationCommandParams>>(command: A, handle: DescriptionMissing<A> extends true ? "command description is missing" : CommandHandler<R, E, A>) => GuildApplicationCommand<Exclude<R, import("../types.js").Interaction | import("../types.js").ApplicationCommandDatum>, E>;
23
+ export declare const guild: <R, E, const A extends DeepReadonlyObject<import("../types.js").CreateGuildApplicationCommandParams>>(command: A, handle: DescriptionMissing<A> extends true ? "command description is missing" : CommandHandler<R, E, A>) => GuildApplicationCommand<Exclude<R, import("../types.js").Interaction | import("../types.js").ApplicationCommandDatum>, E>;
24
24
  export declare class MessageComponent<R, E> {
25
25
  readonly predicate: (customId: string) => Effect<R, E, boolean>;
26
26
  readonly handle: Effect<R, E, Discord.InteractionResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfx",
3
- "version": "0.23.1",
3
+ "version": "0.24.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -52,5 +52,5 @@
52
52
  "ws": "^8.12.1"
53
53
  },
54
54
  "sideEffects": false,
55
- "gitHead": "dd848e717d2055b531b0110081c45af819ac4b2d"
55
+ "gitHead": "a99a038bd4b665ea0478d3f290371d454315733d"
56
56
  }