@howone/sdk 0.1.13 → 0.1.14
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -309,7 +309,7 @@ var FloatingButton = ({
|
|
|
309
309
|
// src/services/unified-oauth.ts
|
|
310
310
|
var UnifiedAuthService = class {
|
|
311
311
|
constructor() {
|
|
312
|
-
this.API_BASE_URL = "
|
|
312
|
+
this.API_BASE_URL = "http://localhost:3000";
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
* 初始化 Google 登录流程
|
|
@@ -385,7 +385,7 @@ var UnifiedAuthService = class {
|
|
|
385
385
|
const messageHandler = (event) => {
|
|
386
386
|
const validOrigins = [
|
|
387
387
|
window.location.origin,
|
|
388
|
-
"
|
|
388
|
+
"http://localhost:3000"
|
|
389
389
|
];
|
|
390
390
|
const isValidOrigin = validOrigins.some(
|
|
391
391
|
(origin) => event.origin === origin || event.origin.includes("localhost") || event.origin.includes("127.0.0.1") || event.origin.includes("fly.dev")
|
|
@@ -1048,7 +1048,7 @@ function setupClearUrlTokenListener(opts) {
|
|
|
1048
1048
|
|
|
1049
1049
|
// src/services/index.ts
|
|
1050
1050
|
var request = new request_default({
|
|
1051
|
-
baseURL: "
|
|
1051
|
+
baseURL: "http://localhost:3000/api",
|
|
1052
1052
|
timeout: 6e4,
|
|
1053
1053
|
interceptors: {
|
|
1054
1054
|
requestInterceptor: (config) => {
|