@pumper/server-sdk 1.0.1 → 1.0.3

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/dist/index.d.mts CHANGED
@@ -1,6 +1,18 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import { ZodType, output } from 'zod';
3
3
 
4
+ declare const bonusKinds: readonly ["admin:credit", "admin:tip", "affiliate:commission", "affiliate:leaderboard", "community:battle", "community:case", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payouts", "raffle:payouts", "rain:base", "rain:tips", "rain:tax", "rakeback:daily-case", "rakeback:daily", "rakeback:level", "rakeback:monthly", "rakeback:weekly", "vip:bonus", "vip:lossback"];
5
+ type BonusKind = (typeof bonusKinds)[number];
6
+
7
+ declare const depositKinds: readonly ("crypto:ADA" | "crypto:BCH" | "crypto:BNB" | "crypto:BTC" | "crypto:DOGE" | "crypto:ETH" | "crypto:LTC" | "crypto:POL" | "crypto:SOL" | "crypto:TON" | "crypto:TRX" | "crypto:XRP" | "crypto:ZEC" | "crypto:DAI_ERC-20" | "crypto:ETH_BASE" | "crypto:LINK_ERC-20" | "crypto:PYUSD_ERC-20" | "crypto:SHIB_ERC-20" | "crypto:USDC_ERC-20" | "crypto:USDC_SPL" | "crypto:USDT_BEP-20" | "crypto:USDT_ERC-20" | "crypto:USDT_SPL" | "crypto:USDT_TRC-20" | "fiat:meld" | "fiat:softkeys" | "fiat:swapped" | "fiat:zen" | "giftcard:difmark" | "giftcard:g2a" | "giftcard:kinguin" | "giftcard:pulse" | "item:skindeck" | "item:skinify" | "item:skinsback")[];
8
+ type DepositKind = (typeof depositKinds)[number];
9
+
10
+ declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
11
+ type GameKind = (typeof gameKinds)[number];
12
+
13
+ declare const withdrawKinds: readonly ("crypto:ADA" | "crypto:BCH" | "crypto:BNB" | "crypto:BTC" | "crypto:DOGE" | "crypto:ETH" | "crypto:LTC" | "crypto:POL" | "crypto:SOL" | "crypto:TON" | "crypto:TRX" | "crypto:XRP" | "crypto:ZEC" | "crypto:DAI_ERC-20" | "crypto:ETH_BASE" | "crypto:LINK_ERC-20" | "crypto:PYUSD_ERC-20" | "crypto:SHIB_ERC-20" | "crypto:USDC_ERC-20" | "crypto:USDC_SPL" | "crypto:USDT_BEP-20" | "crypto:USDT_ERC-20" | "crypto:USDT_SPL" | "crypto:USDT_TRC-20" | "item:skindeck" | "item:skinify" | "item:skinsback")[];
14
+ type WithdrawKind = (typeof withdrawKinds)[number];
15
+
4
16
  interface ClientOptions {
5
17
  apiSitekey: string;
6
18
  apiSecret: string;
@@ -14,7 +26,7 @@ declare class PumpClient {
14
26
  playerId: string;
15
27
  txId: string;
16
28
  kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "community:battle" | "community:case" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payouts" | "raffle:payouts" | "rain:base" | "rain:tips" | "rain:tax" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
17
- amountUSD: number;
29
+ amountUSD: string;
18
30
  timestamp: Date;
19
31
  }) => Promise<{
20
32
  eventId: string;
@@ -61,4 +73,4 @@ declare class PumpClient {
61
73
  private getRequestError;
62
74
  }
63
75
 
64
- export { type ClientOptions, PumpClient };
76
+ export { type BonusKind, type ClientOptions, type DepositKind, type GameKind, PumpClient, type WithdrawKind };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,18 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import { ZodType, output } from 'zod';
3
3
 
4
+ declare const bonusKinds: readonly ["admin:credit", "admin:tip", "affiliate:commission", "affiliate:leaderboard", "community:battle", "community:case", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payouts", "raffle:payouts", "rain:base", "rain:tips", "rain:tax", "rakeback:daily-case", "rakeback:daily", "rakeback:level", "rakeback:monthly", "rakeback:weekly", "vip:bonus", "vip:lossback"];
5
+ type BonusKind = (typeof bonusKinds)[number];
6
+
7
+ declare const depositKinds: readonly ("crypto:ADA" | "crypto:BCH" | "crypto:BNB" | "crypto:BTC" | "crypto:DOGE" | "crypto:ETH" | "crypto:LTC" | "crypto:POL" | "crypto:SOL" | "crypto:TON" | "crypto:TRX" | "crypto:XRP" | "crypto:ZEC" | "crypto:DAI_ERC-20" | "crypto:ETH_BASE" | "crypto:LINK_ERC-20" | "crypto:PYUSD_ERC-20" | "crypto:SHIB_ERC-20" | "crypto:USDC_ERC-20" | "crypto:USDC_SPL" | "crypto:USDT_BEP-20" | "crypto:USDT_ERC-20" | "crypto:USDT_SPL" | "crypto:USDT_TRC-20" | "fiat:meld" | "fiat:softkeys" | "fiat:swapped" | "fiat:zen" | "giftcard:difmark" | "giftcard:g2a" | "giftcard:kinguin" | "giftcard:pulse" | "item:skindeck" | "item:skinify" | "item:skinsback")[];
8
+ type DepositKind = (typeof depositKinds)[number];
9
+
10
+ declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
11
+ type GameKind = (typeof gameKinds)[number];
12
+
13
+ declare const withdrawKinds: readonly ("crypto:ADA" | "crypto:BCH" | "crypto:BNB" | "crypto:BTC" | "crypto:DOGE" | "crypto:ETH" | "crypto:LTC" | "crypto:POL" | "crypto:SOL" | "crypto:TON" | "crypto:TRX" | "crypto:XRP" | "crypto:ZEC" | "crypto:DAI_ERC-20" | "crypto:ETH_BASE" | "crypto:LINK_ERC-20" | "crypto:PYUSD_ERC-20" | "crypto:SHIB_ERC-20" | "crypto:USDC_ERC-20" | "crypto:USDC_SPL" | "crypto:USDT_BEP-20" | "crypto:USDT_ERC-20" | "crypto:USDT_SPL" | "crypto:USDT_TRC-20" | "item:skindeck" | "item:skinify" | "item:skinsback")[];
14
+ type WithdrawKind = (typeof withdrawKinds)[number];
15
+
4
16
  interface ClientOptions {
5
17
  apiSitekey: string;
6
18
  apiSecret: string;
@@ -14,7 +26,7 @@ declare class PumpClient {
14
26
  playerId: string;
15
27
  txId: string;
16
28
  kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "community:battle" | "community:case" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payouts" | "raffle:payouts" | "rain:base" | "rain:tips" | "rain:tax" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
17
- amountUSD: number;
29
+ amountUSD: string;
18
30
  timestamp: Date;
19
31
  }) => Promise<{
20
32
  eventId: string;
@@ -61,4 +73,4 @@ declare class PumpClient {
61
73
  private getRequestError;
62
74
  }
63
75
 
64
- export { type ClientOptions, PumpClient };
76
+ export { type BonusKind, type ClientOptions, type DepositKind, type GameKind, PumpClient, type WithdrawKind };
package/dist/index.js CHANGED
@@ -128,7 +128,7 @@ var bonusSchema = createContract({
128
128
  playerId: v_exports.string(),
129
129
  txId: v_exports.string(),
130
130
  kind: v_exports.enum(bonusKinds),
131
- amountUSD: v_exports.number(),
131
+ amountUSD: v_exports.string(),
132
132
  timestamp: v_exports.date()
133
133
  }),
134
134
  res: v_exports.custom()
package/dist/index.mjs CHANGED
@@ -110,7 +110,7 @@ var bonusSchema = createContract({
110
110
  playerId: v_exports.string(),
111
111
  txId: v_exports.string(),
112
112
  kind: v_exports.enum(bonusKinds),
113
- amountUSD: v_exports.number(),
113
+ amountUSD: v_exports.string(),
114
114
  timestamp: v_exports.date()
115
115
  }),
116
116
  res: v_exports.custom()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pumper/server-sdk",
3
3
  "description": "The Official TypeScript SDK for PumpTech",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "files": ["dist"],
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",