@supernova-studio/client 1.6.5 → 1.6.6
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 +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -932,6 +932,15 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
932
932
|
static badRequest(message) {
|
|
933
933
|
return new _SupernovaException("BadRequest", message);
|
|
934
934
|
}
|
|
935
|
+
static codeMismatch(message) {
|
|
936
|
+
return new _SupernovaException("CodeMismatch", message);
|
|
937
|
+
}
|
|
938
|
+
static passwordMismatch(message) {
|
|
939
|
+
return new _SupernovaException("PasswordMismatch", message);
|
|
940
|
+
}
|
|
941
|
+
static passwordSameAsUsername(message) {
|
|
942
|
+
return new _SupernovaException("PasswordSameAsUsername", message);
|
|
943
|
+
}
|
|
935
944
|
};
|
|
936
945
|
function tryParseUrl(url) {
|
|
937
946
|
try {
|