@sonoransoftware/sonoran.js 1.0.31 → 1.0.32
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/constants.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ class CMSManager extends BaseManager_1.BaseManager {
|
|
|
83
83
|
}
|
|
84
84
|
catch (err) {
|
|
85
85
|
if (err instanceof src_1.APIError) {
|
|
86
|
-
resolve({ success: false, reason: err.response });
|
|
86
|
+
resolve({ success: false, reason: err.response, backendError: true });
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
reject(err);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonoransoftware/sonoran.js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "Sonoran.js is a library that allows you to interact with the Sonoran CAD and Sonoran CMS API. Based off of and utilizes several Discord.js library techniques for ease of use.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
package/src/constants.ts
CHANGED
|
@@ -61,7 +61,7 @@ export class CMSManager extends BaseManager {
|
|
|
61
61
|
}
|
|
62
62
|
} catch (err) {
|
|
63
63
|
if (err instanceof APIError) {
|
|
64
|
-
resolve({ success: false, reason: err.response });
|
|
64
|
+
resolve({ success: false, reason: err.response, backendError: true });
|
|
65
65
|
} else {
|
|
66
66
|
reject(err);
|
|
67
67
|
}
|