@pumper/server-sdk 1.0.3 → 1.0.5
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
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,7 +25,7 @@ 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";
|
|
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
29
|
amountUSD: string;
|
|
30
30
|
timestamp: Date;
|
|
31
31
|
}) => Promise<{
|
|
@@ -47,7 +47,7 @@ declare class PumpClient {
|
|
|
47
47
|
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
48
48
|
wagerUSD: string;
|
|
49
49
|
wonUSD: string;
|
|
50
|
-
|
|
50
|
+
evUSD: string;
|
|
51
51
|
timestamp: Date;
|
|
52
52
|
}) => Promise<{
|
|
53
53
|
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,7 +25,7 @@ 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";
|
|
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
29
|
amountUSD: string;
|
|
30
30
|
timestamp: Date;
|
|
31
31
|
}) => Promise<{
|
|
@@ -47,7 +47,7 @@ declare class PumpClient {
|
|
|
47
47
|
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
48
48
|
wagerUSD: string;
|
|
49
49
|
wonUSD: string;
|
|
50
|
-
|
|
50
|
+
evUSD: string;
|
|
51
51
|
timestamp: Date;
|
|
52
52
|
}) => Promise<{
|
|
53
53
|
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",
|
|
@@ -224,7 +225,7 @@ var gameSchema = createContract({
|
|
|
224
225
|
kind: v_exports.enum(gameKinds),
|
|
225
226
|
wagerUSD: v_exports.string(),
|
|
226
227
|
wonUSD: v_exports.string(),
|
|
227
|
-
|
|
228
|
+
evUSD: v_exports.string(),
|
|
228
229
|
timestamp: v_exports.date()
|
|
229
230
|
}),
|
|
230
231
|
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",
|
|
@@ -206,7 +207,7 @@ var gameSchema = createContract({
|
|
|
206
207
|
kind: v_exports.enum(gameKinds),
|
|
207
208
|
wagerUSD: v_exports.string(),
|
|
208
209
|
wonUSD: v_exports.string(),
|
|
209
|
-
|
|
210
|
+
evUSD: v_exports.string(),
|
|
210
211
|
timestamp: v_exports.date()
|
|
211
212
|
}),
|
|
212
213
|
res: v_exports.custom()
|