@actual-app/api 26.1.0-nightly.20251212 → 26.1.0-nightly.20251213
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/app/bundle.api.js +4 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/app/bundle.api.js
CHANGED
|
@@ -134148,9 +134148,12 @@ async function init(config2) {
|
|
|
134148
134148
|
if (serverURL) {
|
|
134149
134149
|
setServer(serverURL);
|
|
134150
134150
|
if (config2.password) {
|
|
134151
|
-
await runHandler(exports.handlers["subscribe-sign-in"], {
|
|
134151
|
+
const result = await runHandler(exports.handlers["subscribe-sign-in"], {
|
|
134152
134152
|
password: config2.password
|
|
134153
134153
|
});
|
|
134154
|
+
if (result?.error) {
|
|
134155
|
+
throw new Error(`Authentication failed: ${result.error}`);
|
|
134156
|
+
}
|
|
134154
134157
|
}
|
|
134155
134158
|
}
|
|
134156
134159
|
else {
|
package/dist/package.json
CHANGED