@pumper/server-sdk 1.0.10 → 1.0.12
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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", "affiliate:reload", "community:battle", "community:case", "game:double-jackpot", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payout", "raffle:payout", "rain:payout", "rakeback:daily-case", "rakeback:daily", "rakeback:quick", "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", "faucet:claim", "game:double-jackpot", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payout", "raffle:payout", "rain:payout", "rakeback:daily-case", "rakeback:daily", "rakeback:quick", "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_BASE" | "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
8
|
type DepositKind = (typeof depositKinds)[number];
|
|
9
9
|
|
|
10
|
-
declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
|
|
10
|
+
declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "hacksaw-og", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
|
|
11
11
|
type GameKind = (typeof gameKinds)[number];
|
|
12
12
|
|
|
13
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_BASE" | "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")[];
|
|
@@ -26,7 +26,7 @@ declare class PumpClient {
|
|
|
26
26
|
playerId: string;
|
|
27
27
|
role: "user" | "influencer" | "staff";
|
|
28
28
|
txId: string;
|
|
29
|
-
kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "community:battle" | "community:case" | "game:double-jackpot" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payout" | "raffle:payout" | "rain:payout" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:quick" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
|
|
29
|
+
kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "community:battle" | "community:case" | "faucet:claim" | "game:double-jackpot" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payout" | "raffle:payout" | "rain:payout" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:quick" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
|
|
30
30
|
amountUSD: string;
|
|
31
31
|
timestamp: Date;
|
|
32
32
|
}) => Promise<{
|
|
@@ -46,7 +46,7 @@ declare class PumpClient {
|
|
|
46
46
|
playerId: string;
|
|
47
47
|
role: "user" | "influencer" | "staff";
|
|
48
48
|
txId: string;
|
|
49
|
-
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
49
|
+
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "hacksaw-og" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
50
50
|
wagerUSD: string;
|
|
51
51
|
wonUSD: string;
|
|
52
52
|
evUSD: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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", "affiliate:reload", "community:battle", "community:case", "game:double-jackpot", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payout", "raffle:payout", "rain:payout", "rakeback:daily-case", "rakeback:daily", "rakeback:quick", "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", "faucet:claim", "game:double-jackpot", "giveaway:discord", "giveaway:kick", "giveaway:telegram", "giveaway:twitter", "offer:signup-cases", "promocode:discord", "promocode:kick", "race:payout", "raffle:payout", "rain:payout", "rakeback:daily-case", "rakeback:daily", "rakeback:quick", "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_BASE" | "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
8
|
type DepositKind = (typeof depositKinds)[number];
|
|
9
9
|
|
|
10
|
-
declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
|
|
10
|
+
declare const gameKinds: readonly ["battles", "blackjack", "cases", "dice", "double", "hacksaw-og", "keno", "limbo", "mines", "plinko", "slots", "upgrader"];
|
|
11
11
|
type GameKind = (typeof gameKinds)[number];
|
|
12
12
|
|
|
13
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_BASE" | "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")[];
|
|
@@ -26,7 +26,7 @@ declare class PumpClient {
|
|
|
26
26
|
playerId: string;
|
|
27
27
|
role: "user" | "influencer" | "staff";
|
|
28
28
|
txId: string;
|
|
29
|
-
kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "community:battle" | "community:case" | "game:double-jackpot" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payout" | "raffle:payout" | "rain:payout" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:quick" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
|
|
29
|
+
kind: "admin:credit" | "admin:tip" | "affiliate:commission" | "affiliate:leaderboard" | "affiliate:reload" | "community:battle" | "community:case" | "faucet:claim" | "game:double-jackpot" | "giveaway:discord" | "giveaway:kick" | "giveaway:telegram" | "giveaway:twitter" | "offer:signup-cases" | "promocode:discord" | "promocode:kick" | "race:payout" | "raffle:payout" | "rain:payout" | "rakeback:daily-case" | "rakeback:daily" | "rakeback:quick" | "rakeback:level" | "rakeback:monthly" | "rakeback:weekly" | "vip:bonus" | "vip:lossback";
|
|
30
30
|
amountUSD: string;
|
|
31
31
|
timestamp: Date;
|
|
32
32
|
}) => Promise<{
|
|
@@ -46,7 +46,7 @@ declare class PumpClient {
|
|
|
46
46
|
playerId: string;
|
|
47
47
|
role: "user" | "influencer" | "staff";
|
|
48
48
|
txId: string;
|
|
49
|
-
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
49
|
+
kind: "battles" | "blackjack" | "cases" | "dice" | "double" | "hacksaw-og" | "keno" | "limbo" | "mines" | "plinko" | "slots" | "upgrader";
|
|
50
50
|
wagerUSD: string;
|
|
51
51
|
wonUSD: string;
|
|
52
52
|
evUSD: string;
|
package/dist/index.js
CHANGED
|
@@ -100,6 +100,7 @@ var bonusKinds = [
|
|
|
100
100
|
"affiliate:reload",
|
|
101
101
|
"community:battle",
|
|
102
102
|
"community:case",
|
|
103
|
+
"faucet:claim",
|
|
103
104
|
"game:double-jackpot",
|
|
104
105
|
"giveaway:discord",
|
|
105
106
|
"giveaway:kick",
|
|
@@ -134,7 +135,7 @@ var bonusSchema = createContract({
|
|
|
134
135
|
txId: v_exports.string(),
|
|
135
136
|
kind: v_exports.enum(bonusKinds),
|
|
136
137
|
amountUSD: v_exports.string(),
|
|
137
|
-
timestamp: v_exports.date()
|
|
138
|
+
timestamp: v_exports.coerce.date()
|
|
138
139
|
}),
|
|
139
140
|
res: v_exports.custom()
|
|
140
141
|
});
|
|
@@ -200,7 +201,7 @@ var depositSchema = createContract({
|
|
|
200
201
|
txId: v_exports.string(),
|
|
201
202
|
kind: v_exports.enum(depositKinds),
|
|
202
203
|
amountUSD: v_exports.string(),
|
|
203
|
-
timestamp: v_exports.date()
|
|
204
|
+
timestamp: v_exports.coerce.date()
|
|
204
205
|
}),
|
|
205
206
|
res: v_exports.custom()
|
|
206
207
|
});
|
|
@@ -212,6 +213,7 @@ var gameKinds = [
|
|
|
212
213
|
"cases",
|
|
213
214
|
"dice",
|
|
214
215
|
"double",
|
|
216
|
+
"hacksaw-og",
|
|
215
217
|
"keno",
|
|
216
218
|
"limbo",
|
|
217
219
|
"mines",
|
|
@@ -232,7 +234,7 @@ var gameSchema = createContract({
|
|
|
232
234
|
wagerUSD: v_exports.string(),
|
|
233
235
|
wonUSD: v_exports.string(),
|
|
234
236
|
evUSD: v_exports.string(),
|
|
235
|
-
timestamp: v_exports.date()
|
|
237
|
+
timestamp: v_exports.coerce.date()
|
|
236
238
|
}),
|
|
237
239
|
res: v_exports.custom()
|
|
238
240
|
});
|
|
@@ -253,7 +255,7 @@ var withdrawSchema = createContract({
|
|
|
253
255
|
txId: v_exports.string(),
|
|
254
256
|
kind: v_exports.enum(withdrawKinds),
|
|
255
257
|
amountUSD: v_exports.string(),
|
|
256
|
-
timestamp: v_exports.date()
|
|
258
|
+
timestamp: v_exports.coerce.date()
|
|
257
259
|
}),
|
|
258
260
|
res: v_exports.custom()
|
|
259
261
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -82,6 +82,7 @@ var bonusKinds = [
|
|
|
82
82
|
"affiliate:reload",
|
|
83
83
|
"community:battle",
|
|
84
84
|
"community:case",
|
|
85
|
+
"faucet:claim",
|
|
85
86
|
"game:double-jackpot",
|
|
86
87
|
"giveaway:discord",
|
|
87
88
|
"giveaway:kick",
|
|
@@ -116,7 +117,7 @@ var bonusSchema = createContract({
|
|
|
116
117
|
txId: v_exports.string(),
|
|
117
118
|
kind: v_exports.enum(bonusKinds),
|
|
118
119
|
amountUSD: v_exports.string(),
|
|
119
|
-
timestamp: v_exports.date()
|
|
120
|
+
timestamp: v_exports.coerce.date()
|
|
120
121
|
}),
|
|
121
122
|
res: v_exports.custom()
|
|
122
123
|
});
|
|
@@ -182,7 +183,7 @@ var depositSchema = createContract({
|
|
|
182
183
|
txId: v_exports.string(),
|
|
183
184
|
kind: v_exports.enum(depositKinds),
|
|
184
185
|
amountUSD: v_exports.string(),
|
|
185
|
-
timestamp: v_exports.date()
|
|
186
|
+
timestamp: v_exports.coerce.date()
|
|
186
187
|
}),
|
|
187
188
|
res: v_exports.custom()
|
|
188
189
|
});
|
|
@@ -194,6 +195,7 @@ var gameKinds = [
|
|
|
194
195
|
"cases",
|
|
195
196
|
"dice",
|
|
196
197
|
"double",
|
|
198
|
+
"hacksaw-og",
|
|
197
199
|
"keno",
|
|
198
200
|
"limbo",
|
|
199
201
|
"mines",
|
|
@@ -214,7 +216,7 @@ var gameSchema = createContract({
|
|
|
214
216
|
wagerUSD: v_exports.string(),
|
|
215
217
|
wonUSD: v_exports.string(),
|
|
216
218
|
evUSD: v_exports.string(),
|
|
217
|
-
timestamp: v_exports.date()
|
|
219
|
+
timestamp: v_exports.coerce.date()
|
|
218
220
|
}),
|
|
219
221
|
res: v_exports.custom()
|
|
220
222
|
});
|
|
@@ -235,7 +237,7 @@ var withdrawSchema = createContract({
|
|
|
235
237
|
txId: v_exports.string(),
|
|
236
238
|
kind: v_exports.enum(withdrawKinds),
|
|
237
239
|
amountUSD: v_exports.string(),
|
|
238
|
-
timestamp: v_exports.date()
|
|
240
|
+
timestamp: v_exports.coerce.date()
|
|
239
241
|
}),
|
|
240
242
|
res: v_exports.custom()
|
|
241
243
|
});
|
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.
|
|
4
|
+
"version": "1.0.12",
|
|
5
5
|
"files": ["dist"],
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"keywords": [
|
|
38
38
|
"pumptech",
|
|
39
39
|
"sdk",
|
|
40
|
+
|
|
40
41
|
"typescript",
|
|
41
42
|
"node"
|
|
42
43
|
],
|