@apowerb/apowerb-sdk 0.0.2 → 0.1.1
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/package.json +1 -1
- package/src/authStorage.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apowerb/apowerb-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "JavaScript SDK for the apowerb backend: agents, tools, RAG, BI, webhooks and billing. Dependency-free, runs in the browser and in Node.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/src/authStorage.js
CHANGED
|
@@ -151,7 +151,6 @@ export const realAuthApi = {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
const data = await response.json();
|
|
154
|
-
console.log("[authApi] login response:", { mfa_required: data.mfa_required, has_access_token: !!data.access_token });
|
|
155
154
|
|
|
156
155
|
// Check if MFA is required
|
|
157
156
|
if (data.mfa_required) {
|
|
@@ -185,7 +184,6 @@ export const realAuthApi = {
|
|
|
185
184
|
}
|
|
186
185
|
|
|
187
186
|
const data = await response.json();
|
|
188
|
-
console.log("[authApi] oauthLogin response:", { mfa_required: data.mfa_required, has_access_token: !!data.access_token });
|
|
189
187
|
|
|
190
188
|
// Check if MFA is required
|
|
191
189
|
if (data.mfa_required) {
|