diff --git a/_firstparty/auth-firstparty/proxy/longpoll/index.ts b/_firstparty/auth-firstparty/proxy/longpoll/index.ts index 96cfe86..6788619 100644 --- a/_firstparty/auth-firstparty/proxy/longpoll/index.ts +++ b/_firstparty/auth-firstparty/proxy/longpoll/index.ts @@ -12,9 +12,9 @@ class LongPollingSource { onmessage: (ev: MessageEvent) => void; } -const _DEFAULT_POLLING_INTERVAL = 10000; // 10 sec -const _DEFAULT_POLLING_TIMEOUT = 60000 * 5; // 5 min -const _DEFAULT_POLLING_INITIAL_DELAY = 15000; // 15 sec +const _DEFAULT_POLLING_INTERVAL = 3000; // 3 sec +const _DEFAULT_POLLING_TIMEOUT = 60000 * 10; // 10 min +const _DEFAULT_POLLING_INITIAL_DELAY = 10000; // 10 sec export class LogPollingAuthProxyProc extends AuthProxyProcBase { resolve: (result: ProxyAuthResult) => void; reject: (reason?: any) => void; diff --git a/build/flutter/index.ts b/build/flutter/index.ts index bac430d..5e6b23d 100644 --- a/build/flutter/index.ts +++ b/build/flutter/index.ts @@ -15,7 +15,7 @@ export async function compileFlutterApp(props: { }): Promise { // compile dart source to js const compiled = await compileComplete(props.dart); - if (!compiled.sucess) { + if (!compiled.success) { throw `compile failed with error ${JSON.stringify( compiled.error, null, diff --git a/core/package.json b/core/package.json index aae9969..53e4588 100644 --- a/core/package.json +++ b/core/package.json @@ -10,7 +10,7 @@ "axios": "^0.21.0" }, "peerDependencies": { - "@reflect-ui/core": "^0.0.2-rc.7-local" + "@reflect-ui/core": "*" }, "devDependencies": { "@types/node": "^15.6.0", @@ -24,4 +24,4 @@ "LICENSE", "README.md" ] -} \ No newline at end of file +} diff --git a/hosting/upload/index.ts b/hosting/upload/index.ts index d2d09e0..99db386 100644 --- a/hosting/upload/index.ts +++ b/hosting/upload/index.ts @@ -1,6 +1,7 @@ import { FileHostingRequest, FileHostingResult } from "../types"; import { __HOSTS } from "@base-sdk/core"; try { + // @ts-ignore global.FormData = require("form-data"); } catch (_) {}