@everymatrix/player-active-bonuses 1.17.3 → 1.17.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-active-bonuses",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"main": "dist/player-active-bonuses",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "9bb18c43ff2bfc607d04dde35cedd5c861f4d483"
|
|
39
39
|
}
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
let url:any = new URL(`${endpoint}/
|
|
98
|
+
let url:any = new URL(`${endpoint}/player/${playerid}/bonusWallet`);
|
|
99
99
|
|
|
100
100
|
url.searchParams.append('filter', filter);
|
|
101
101
|
url.searchParams.append('pagination', `offset=${offset},limit=${bonusesPerPage}`);
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
const claimBonus = () => {
|
|
129
|
-
let url = new URL(`${endpoint}/
|
|
129
|
+
let url = new URL(`${endpoint}/player/${playerid}/claimbonus`);
|
|
130
130
|
|
|
131
131
|
let optionsClaimBonus = {
|
|
132
132
|
method: "POST",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
let url:any = new URL(`${endpoint}/
|
|
185
|
+
let url:any = new URL(`${endpoint}/player/${playerid}/bonusWallet`);
|
|
186
186
|
url.searchParams.append('bonusWalletID', deleteBonusWalletId);
|
|
187
187
|
|
|
188
188
|
fetch(url, optionsDeleteBonus)
|