@pumper/server-sdk 1.0.2 → 1.0.4

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,7 +1,7 @@
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"];
4
+ declare const bonusKinds: readonly ["admin:credit", "admin:tip", "affiliate:commission", "affiliate:leaderboard", "affiliate:reload", "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
5
  type BonusKind = (typeof bonusKinds)[number];
6
6
 
7
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")[];
@@ -25,8 +25,8 @@ declare class PumpClient {
25
25
  bonus: (data: {
26
26
  playerId: string;
27
27
  txId: string;
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";
29
- amountUSD: number;
28
+ kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "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";
29
+ amountUSD: string;
30
30
  timestamp: Date;
31
31
  }) => Promise<{
32
32
  eventId: string;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
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"];
4
+ declare const bonusKinds: readonly ["admin:credit", "admin:tip", "affiliate:commission", "affiliate:leaderboard", "affiliate:reload", "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
5
  type BonusKind = (typeof bonusKinds)[number];
6
6
 
7
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")[];
@@ -25,8 +25,8 @@ declare class PumpClient {
25
25
  bonus: (data: {
26
26
  playerId: string;
27
27
  txId: string;
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";
29
- amountUSD: number;
28
+ kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "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";
29
+ amountUSD: string;
30
30
  timestamp: Date;
31
31
  }) => Promise<{
32
32
  eventId: string;
package/dist/index.js CHANGED
@@ -97,6 +97,7 @@ var bonusKinds = [
97
97
  "admin:tip",
98
98
  "affiliate:commission",
99
99
  "affiliate:leaderboard",
100
+ "affiliate:reload",
100
101
  "community:battle",
101
102
  "community:case",
102
103
  "giveaway:discord",
@@ -128,7 +129,7 @@ var bonusSchema = createContract({
128
129
  playerId: v_exports.string(),
129
130
  txId: v_exports.string(),
130
131
  kind: v_exports.enum(bonusKinds),
131
- amountUSD: v_exports.number(),
132
+ amountUSD: v_exports.string(),
132
133
  timestamp: v_exports.date()
133
134
  }),
134
135
  res: v_exports.custom()
package/dist/index.mjs CHANGED
@@ -79,6 +79,7 @@ var bonusKinds = [
79
79
  "admin:tip",
80
80
  "affiliate:commission",
81
81
  "affiliate:leaderboard",
82
+ "affiliate:reload",
82
83
  "community:battle",
83
84
  "community:case",
84
85
  "giveaway:discord",
@@ -110,7 +111,7 @@ var bonusSchema = createContract({
110
111
  playerId: v_exports.string(),
111
112
  txId: v_exports.string(),
112
113
  kind: v_exports.enum(bonusKinds),
113
- amountUSD: v_exports.number(),
114
+ amountUSD: v_exports.string(),
114
115
  timestamp: v_exports.date()
115
116
  }),
116
117
  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.2",
4
+ "version": "1.0.4",
5
5
  "files": ["dist"],
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",