@pumper/server-sdk 1.0.10 → 1.0.11
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/index.mjs +5 -4
- package/package.json +2 -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", "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")[];
|
|
@@ -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<{
|
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", "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")[];
|
|
@@ -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<{
|
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
|
});
|
|
@@ -232,7 +233,7 @@ var gameSchema = createContract({
|
|
|
232
233
|
wagerUSD: v_exports.string(),
|
|
233
234
|
wonUSD: v_exports.string(),
|
|
234
235
|
evUSD: v_exports.string(),
|
|
235
|
-
timestamp: v_exports.date()
|
|
236
|
+
timestamp: v_exports.coerce.date()
|
|
236
237
|
}),
|
|
237
238
|
res: v_exports.custom()
|
|
238
239
|
});
|
|
@@ -253,7 +254,7 @@ var withdrawSchema = createContract({
|
|
|
253
254
|
txId: v_exports.string(),
|
|
254
255
|
kind: v_exports.enum(withdrawKinds),
|
|
255
256
|
amountUSD: v_exports.string(),
|
|
256
|
-
timestamp: v_exports.date()
|
|
257
|
+
timestamp: v_exports.coerce.date()
|
|
257
258
|
}),
|
|
258
259
|
res: v_exports.custom()
|
|
259
260
|
});
|
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
|
});
|
|
@@ -214,7 +215,7 @@ var gameSchema = createContract({
|
|
|
214
215
|
wagerUSD: v_exports.string(),
|
|
215
216
|
wonUSD: v_exports.string(),
|
|
216
217
|
evUSD: v_exports.string(),
|
|
217
|
-
timestamp: v_exports.date()
|
|
218
|
+
timestamp: v_exports.coerce.date()
|
|
218
219
|
}),
|
|
219
220
|
res: v_exports.custom()
|
|
220
221
|
});
|
|
@@ -235,7 +236,7 @@ var withdrawSchema = createContract({
|
|
|
235
236
|
txId: v_exports.string(),
|
|
236
237
|
kind: v_exports.enum(withdrawKinds),
|
|
237
238
|
amountUSD: v_exports.string(),
|
|
238
|
-
timestamp: v_exports.date()
|
|
239
|
+
timestamp: v_exports.coerce.date()
|
|
239
240
|
}),
|
|
240
241
|
res: v_exports.custom()
|
|
241
242
|
});
|
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.11",
|
|
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
|
],
|