js-dos 7.2.7 → 7.3.0
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/3rdparty/zip.js/zip-no-worker-inflate.min.js +1 -0
- package/README.md +74 -13
- package/dist/js-dos.css +71 -8
- package/dist/js-dos.js +2 -2
- package/dist/js-dos.js.map +1 -1
- package/dist/types/src/backend/{jj → v7}/latency.d.ts +0 -0
- package/dist/types/src/backend/v7/v7-config.d.ts +12 -4
- package/dist/types/src/components/action-save-or-exit.d.ts +2 -0
- package/dist/types/src/components/sidebar/token/token-add-time.d.ts +2 -0
- package/dist/types/src/components/sidebar/token/token-select.d.ts +2 -0
- package/dist/types/src/components/sidebar/token/token.d.ts +15 -0
- package/dist/types/src/icons.d.ts +3 -0
- package/dist/types/src/player-app.d.ts +3 -4
- package/dist/types/src/request.d.ts +1 -0
- package/dist/wdosbox.js +2 -2
- package/dist/wdosbox.js.symbols +3129 -3133
- package/dist/wdosbox.wasm +0 -0
- package/examples/digger/index.html +1 -0
- package/package.json +2 -2
- package/.github/workflows/codeql-analysis.yml +0 -70
- package/.github/workflows/yarn-gulp.yml +0 -30
- package/dist/types/src/backend/jj/jj-config.d.ts +0 -6
- package/dist/types/src/components/action-exit.d.ts +0 -2
- package/dist/types/src/components/sidebar/active-token.d.ts +0 -2
- package/dist/types/src/components/sidebar/create-token.d.ts +0 -2
- package/v7-services/.env +0 -6
- package/v7-services/ok.yaml +0 -24
- package/v7-services/package.json +0 -17
- package/v7-services/redeploy-ok.sh +0 -25
- package/v7-services/serverless.yml +0 -140
- package/v7-services/src/networking/day.ts +0 -5
- package/v7-services/src/networking/get-free-token.ts +0 -33
- package/v7-services/src/networking/get-token-cost.ts +0 -31
- package/v7-services/src/networking/get-token-info.ts +0 -16
- package/v7-services/src/networking/ipx/put-ipx-ip.ts +0 -20
- package/v7-services/src/networking/ipx/start-ipx.ts +0 -16
- package/v7-services/src/networking/ipx/stop-ipx.ts +0 -19
- package/v7-services/src/networking/limits.ts +0 -3
- package/v7-services/src/networking/token.ts +0 -238
- package/v7-services/src/ok.ts +0 -7
- package/v7-services/src/personal-acl.ts +0 -33
- package/v7-services/src/personal-put.ts +0 -35
- package/v7-services/src/personal.ts +0 -18
- package/v7-services/src/responses.ts +0 -28
- package/v7-services/src/user.ts +0 -3
- package/v7-services/yarn.lock +0 -4400
|
File without changes
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
export declare const endpointBase = "https://kdhkdsv558.execute-api.eu-central-1.amazonaws.com/dev";
|
|
2
2
|
export declare const personalPut: string;
|
|
3
3
|
export declare const personalAcl: string;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const createTokenEndpoint: string;
|
|
5
|
+
export declare const tokeInfoGetEndpoint: string;
|
|
6
|
+
export declare const addFreeTimeTierEndpoint: string;
|
|
7
7
|
export declare const startIpx: string;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const stopIpx: string;
|
|
9
|
+
export declare const checkoutCreateTokenEndpoint: string;
|
|
10
|
+
export declare const checkoutEndpoint = "https://js-dos.com/checkout/index.html";
|
|
11
|
+
export interface AwsRegion {
|
|
12
|
+
label: string;
|
|
13
|
+
name: string;
|
|
14
|
+
ok: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const awsRegions: AwsRegion[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Props } from "../../../player-app";
|
|
2
|
+
interface IpxProps {
|
|
3
|
+
ipxArn: string | null;
|
|
4
|
+
setIpxArn: (ipxArn: string | null) => void;
|
|
5
|
+
ipxAddress: string | null;
|
|
6
|
+
setIpxAddress: (ipxAddress: string | null) => void;
|
|
7
|
+
awaitingIpxAddress: boolean;
|
|
8
|
+
setAwaitingIpxAddress: (waitingIpx: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface TokenProps extends Props {
|
|
11
|
+
ipx: IpxProps;
|
|
12
|
+
update: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function TokenConfiguration(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
|
|
15
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClientId, DosPlayer, DosPlayerOptions } from "./player";
|
|
2
|
-
import { LatencyInfo } from "./backend/
|
|
2
|
+
import { LatencyInfo } from "./backend/v7/latency";
|
|
3
3
|
export declare type SidebarPage = "main" | "latency-info" | "networking";
|
|
4
4
|
export interface Props {
|
|
5
5
|
player: () => DosPlayer;
|
|
@@ -30,16 +30,15 @@ export interface Props {
|
|
|
30
30
|
openSideBar: () => void;
|
|
31
31
|
closeSideBar: () => void;
|
|
32
32
|
region: string | null;
|
|
33
|
-
estimatingRegion: string | null;
|
|
34
33
|
setRegion: (region: string | null) => void;
|
|
34
|
+
estimatingRegion: string | null;
|
|
35
|
+
setEstimatingRegion: (region: string | null) => void;
|
|
35
36
|
latencyInfo: LatencyInfo | null;
|
|
36
37
|
setLatencyInfo: (latencyInfo: LatencyInfo) => void;
|
|
37
38
|
showTips: boolean;
|
|
38
39
|
setShowTips: (showTips: boolean) => void;
|
|
39
40
|
sideBarPage: SidebarPage;
|
|
40
41
|
setSideBarPage: (page: SidebarPage) => void;
|
|
41
|
-
showNewInstance: boolean;
|
|
42
|
-
setShowNewInstance: (showNewInstance: boolean) => void;
|
|
43
42
|
ipxConnected: boolean;
|
|
44
43
|
setIpxConnected: (ipxConnected: boolean) => void;
|
|
45
44
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function request(endpoint: string, method?: string, body?: BodyInit | null): Promise<any>;
|