@rian8337/osu-droid-utilities 4.0.0-beta.97 → 4.0.0-beta.98
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.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ class Score {
|
|
|
114
114
|
}
|
|
115
115
|
const result = yield apiRequestBuilder.sendRequest();
|
|
116
116
|
if (result.statusCode !== 200) {
|
|
117
|
-
throw new Error(
|
|
117
|
+
throw new Error(`Error retrieving score data: ${result.describeFailure()}`);
|
|
118
118
|
}
|
|
119
119
|
let response;
|
|
120
120
|
try {
|
|
@@ -209,7 +209,7 @@ class Player {
|
|
|
209
209
|
.addParameter(typeof uidOrUsername === "number" ? "uid" : "username", uidOrUsername);
|
|
210
210
|
const result = yield apiRequestBuilder.sendRequest();
|
|
211
211
|
if (result.statusCode !== 200) {
|
|
212
|
-
throw new Error(
|
|
212
|
+
throw new Error(`Error retrieving player data: ${result.describeFailure()}`);
|
|
213
213
|
}
|
|
214
214
|
let response;
|
|
215
215
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rian8337/osu-droid-utilities",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.98",
|
|
4
4
|
"description": "A module containing utilities for osu!droid.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"osu",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"url": "https://github.com/Rian8337/osu-droid-module/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@rian8337/osu-base": "4.0.0-beta.
|
|
36
|
+
"@rian8337/osu-base": "4.0.0-beta.98"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "0d1f9256f0caee5123379cf5a8b3c92d1dcfa7bf"
|
|
42
42
|
}
|