@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.1.0-nightly.20251212",
3
+ "version": "26.1.0-nightly.20251213",
4
4
  "license": "MIT",
5
5
  "description": "An API for Actual",
6
6
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.1.0-nightly.20251212",
3
+ "version": "26.1.0-nightly.20251213",
4
4
  "license": "MIT",
5
5
  "description": "An API for Actual",
6
6
  "engines": {