@nizza/core 0.6.7 → 0.6.9
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/lib/utils/customFetch.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3796,8 +3796,8 @@ const ue = class ue {
|
|
|
3796
3796
|
return;
|
|
3797
3797
|
}
|
|
3798
3798
|
this.setAccount(r), this.setAccountStatus("success"), this.coreLogger.debug("Account fetched and set successfully:", r);
|
|
3799
|
-
} catch
|
|
3800
|
-
this.activeAccountFetchId === i &&
|
|
3799
|
+
} catch {
|
|
3800
|
+
this.activeAccountFetchId === i && this.setAccountStatus("error");
|
|
3801
3801
|
}
|
|
3802
3802
|
}
|
|
3803
3803
|
setAccount(e) {
|
|
@@ -3912,7 +3912,7 @@ async function Zt(t) {
|
|
|
3912
3912
|
}
|
|
3913
3913
|
return g;
|
|
3914
3914
|
} catch (u) {
|
|
3915
|
-
throw od.debug(u), u;
|
|
3915
|
+
throw typeof e == "string" && !e.includes("accounts/v2") && od.debug(u), u;
|
|
3916
3916
|
}
|
|
3917
3917
|
}
|
|
3918
3918
|
const iv = (t) => Zt({ ...t, contentTypeJson: !1, raw: !1 });
|