@zennify/sdk-js 1.32.0 → 1.33.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zennify/sdk-js",
3
- "version": "1.32.0",
3
+ "version": "1.33.0",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -32,9 +32,9 @@ export interface FullStore {
32
32
  >
33
33
  >,
34
34
  discord_bot: {
35
- id: string,
36
- app_id: string | null,
35
+ id: string
37
36
  token: string | null
37
+ cluster: string | null
38
38
  },
39
39
  discord_bot_guilds: Record<string, DiscordGuild>
40
40
  }
@@ -22,6 +22,8 @@ type DiscordOrder = {
22
22
  discord_guild_id: string,
23
23
  discord_channel_id: string,
24
24
  discord_channel_message_id: string
25
+ discord_sale_channel_id?: string | null,
26
+ discord_sale_message_id?: string | null,
25
27
  }
26
28
 
27
29
  type SaleTransaction = {
@@ -24,8 +24,8 @@ export interface FullStore {
24
24
  discord_channels: Record<string /** guild id */, Record<'sale' | 'voice' | 'feedback' | 'carts', string | null | void /** channel id */>>;
25
25
  discord_bot: {
26
26
  id: string;
27
- app_id: string | null;
28
27
  token: string | null;
28
+ cluster: string | null;
29
29
  };
30
30
  discord_bot_guilds: Record<string, DiscordGuild>;
31
31
  }
@@ -21,6 +21,8 @@ type DiscordOrder = {
21
21
  discord_guild_id: string;
22
22
  discord_channel_id: string;
23
23
  discord_channel_message_id: string;
24
+ discord_sale_channel_id?: string | null;
25
+ discord_sale_message_id?: string | null;
24
26
  };
25
27
  type SaleTransaction = {
26
28
  type: 'sale';