Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _firstparty/auth-firstparty/proxy/longpoll/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LongPollingSource> {
resolve: (result: ProxyAuthResult) => void;
reject: (reason?: any) => void;
Expand Down
2 changes: 1 addition & 1 deletion build/flutter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function compileFlutterApp(props: {
}): Promise<AppBuildResult> {
// 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,
Expand Down
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -24,4 +24,4 @@
"LICENSE",
"README.md"
]
}
}
1 change: 1 addition & 0 deletions hosting/upload/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { FileHostingRequest, FileHostingResult } from "../types";
import { __HOSTS } from "@base-sdk/core";
try {
// @ts-ignore
global.FormData = require("form-data");
} catch (_) {}

Expand Down