@appweaver/client 1.1.5 → 1.1.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.
@@ -102,7 +102,7 @@ class AccountClient extends base_module_1.BaseModule {
102
102
  * @returns A response indicating whether the 2FA verification succeeded.
103
103
  */
104
104
  async verify2FACode(request, options = {}) {
105
- return this.sendRequest('post', `${this.basePath}/account/verify-2fa-code`, {
105
+ return this.sendRequest('post', `${this.basePath}/verify-2fa-code`, {
106
106
  ...options,
107
107
  body: request
108
108
  });
@@ -99,7 +99,7 @@ export class AccountClient extends BaseModule {
99
99
  * @returns A response indicating whether the 2FA verification succeeded.
100
100
  */
101
101
  async verify2FACode(request, options = {}) {
102
- return this.sendRequest('post', `${this.basePath}/account/verify-2fa-code`, {
102
+ return this.sendRequest('post', `${this.basePath}/verify-2fa-code`, {
103
103
  ...options,
104
104
  body: request
105
105
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appweaver/client",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@client)",
5
5
  "author": "Luka Matosevic",
6
6
  "license": "MIT",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "commander": "15.0.0",
59
- "js-yaml": "5.0.0",
59
+ "js-yaml": "5.2.3",
60
60
  "openapi-fetch": "0.17.0",
61
61
  "openapi-typescript": "7.13.0",
62
62
  "openapi-typescript-helpers": "0.1.0",