js-dos 7.2.7 → 7.3.3

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.
Files changed (46) hide show
  1. package/README.md +74 -13
  2. package/dist/js-dos.css +80 -8
  3. package/dist/js-dos.js +2 -2
  4. package/dist/js-dos.js.map +1 -1
  5. package/dist/types/src/backend/{jj → v7}/latency.d.ts +0 -0
  6. package/dist/types/src/backend/v7/v7-config.d.ts +12 -4
  7. package/dist/types/src/components/action-save-or-exit.d.ts +2 -0
  8. package/dist/types/src/components/sidebar/token/token-add-time.d.ts +2 -0
  9. package/dist/types/src/components/sidebar/token/token-select.d.ts +2 -0
  10. package/dist/types/src/components/sidebar/token/token.d.ts +15 -0
  11. package/dist/types/src/icons.d.ts +3 -0
  12. package/dist/types/src/player-app.d.ts +3 -4
  13. package/dist/types/src/request.d.ts +1 -0
  14. package/dist/wdosbox.js +2 -2
  15. package/dist/wdosbox.js.symbols +3128 -3132
  16. package/dist/wdosbox.wasm +0 -0
  17. package/examples/digger/index.html +2 -1
  18. package/package.json +2 -2
  19. package/.github/workflows/codeql-analysis.yml +0 -70
  20. package/.github/workflows/yarn-gulp.yml +0 -30
  21. package/dist/types/src/backend/jj/jj-config.d.ts +0 -6
  22. package/dist/types/src/components/action-exit.d.ts +0 -2
  23. package/dist/types/src/components/sidebar/active-token.d.ts +0 -2
  24. package/dist/types/src/components/sidebar/create-token.d.ts +0 -2
  25. package/v7-services/.env +0 -6
  26. package/v7-services/ok.yaml +0 -24
  27. package/v7-services/package.json +0 -17
  28. package/v7-services/redeploy-ok.sh +0 -25
  29. package/v7-services/serverless.yml +0 -140
  30. package/v7-services/src/networking/day.ts +0 -5
  31. package/v7-services/src/networking/get-free-token.ts +0 -33
  32. package/v7-services/src/networking/get-token-cost.ts +0 -31
  33. package/v7-services/src/networking/get-token-info.ts +0 -16
  34. package/v7-services/src/networking/ipx/put-ipx-ip.ts +0 -20
  35. package/v7-services/src/networking/ipx/start-ipx.ts +0 -16
  36. package/v7-services/src/networking/ipx/stop-ipx.ts +0 -19
  37. package/v7-services/src/networking/limits.ts +0 -3
  38. package/v7-services/src/networking/token.ts +0 -238
  39. package/v7-services/src/ok.ts +0 -7
  40. package/v7-services/src/personal-acl.ts +0 -33
  41. package/v7-services/src/personal-put.ts +0 -35
  42. package/v7-services/src/personal.ts +0 -18
  43. package/v7-services/src/responses.ts +0 -28
  44. package/v7-services/src/user.ts +0 -3
  45. package/v7-services/yarn.lock +0 -4400
  46. package/yarn-error.log +0 -6344
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 tokenCostGet: string;
5
- export declare const freeTokenGet: string;
6
- export declare const tokeInfoGet: string;
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 stopIox: string;
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,2 @@
1
+ import { Props } from "../player-app";
2
+ export declare function ActionSaveOrExit(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,2 @@
1
+ import { TokenProps } from "./token";
2
+ export declare function TokenAddTime(props: TokenProps): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,2 @@
1
+ import { TokenProps } from "./token";
2
+ export declare function TokenSelect(props: TokenProps): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -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 {};
@@ -80,4 +80,7 @@ export declare const Icons: {
80
80
  Twitter: (props: {
81
81
  class: string;
82
82
  }) => import("preact").VNode<any> | import("preact").VNode<any>[];
83
+ FloppyDisk: (props: {
84
+ class: string;
85
+ }) => import("preact").VNode<any> | import("preact").VNode<any>[];
83
86
  };
@@ -1,5 +1,5 @@
1
1
  import { ClientId, DosPlayer, DosPlayerOptions } from "./player";
2
- import { LatencyInfo } from "./backend/jj/latency";
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>;