From 1f27df26dcbd3581c4ddc690533f81533f336f8f Mon Sep 17 00:00:00 2001 From: softmarshmallow Date: Thu, 3 Mar 2022 00:09:16 +0900 Subject: [PATCH 1/5] add ts dom typings safety --- hosting/upload/index.ts | 1 + 1 file changed, 1 insertion(+) 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 (_) {} From 730e218a7d83d97ba884999d4d500d4470973c71 Mon Sep 17 00:00:00 2001 From: softmarshmallow Date: Sat, 23 Jul 2022 16:31:26 +0900 Subject: [PATCH 2/5] update deps --- core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/package.json b/core/package.json index aae9969..0bdeec5 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": "^0.0.3" }, "devDependencies": { "@types/node": "^15.6.0", From cd45724b7fadcad9d085148d753f9216f51911b2 Mon Sep 17 00:00:00 2001 From: Universe Date: Sat, 11 Mar 2023 20:53:46 +0900 Subject: [PATCH 3/5] fix typo --- build/flutter/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 42e77b0755053f0c0a98ce6137c706c16cbd11e9 Mon Sep 17 00:00:00 2001 From: Universe Date: Sat, 11 Mar 2023 20:57:29 +0900 Subject: [PATCH 4/5] udpate dependency --- core/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/package.json b/core/package.json index 0bdeec5..53e4588 100644 --- a/core/package.json +++ b/core/package.json @@ -10,7 +10,7 @@ "axios": "^0.21.0" }, "peerDependencies": { - "@reflect-ui/core": "^0.0.3" + "@reflect-ui/core": "*" }, "devDependencies": { "@types/node": "^15.6.0", @@ -24,4 +24,4 @@ "LICENSE", "README.md" ] -} \ No newline at end of file +} From 9b2bb811b8ef1f8e02e5a50d46811df0dc2ca486 Mon Sep 17 00:00:00 2001 From: softmarshmallow Date: Mon, 5 Jun 2023 09:48:17 +0900 Subject: [PATCH 5/5] update interval --- _firstparty/auth-firstparty/proxy/longpoll/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;