js-dos 7.2.4 → 7.2.5

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.
@@ -0,0 +1,4 @@
1
+ export declare const awsRegions: {
2
+ label: string;
3
+ value: string;
4
+ }[];
@@ -0,0 +1 @@
1
+ export declare function getAutoRegion(onLatencyUpdate: (region: string) => void): Promise<string>;
@@ -0,0 +1,3 @@
1
+ export declare const endpointBase = "https://kdhkdsv558.execute-api.eu-central-1.amazonaws.com/dev";
2
+ export declare const personalPut: string;
3
+ export declare const personalAcl: string;
@@ -0,0 +1,6 @@
1
+ import { Props } from "../player-app";
2
+ interface RegionProps extends Props {
3
+ class?: string;
4
+ }
5
+ export declare function Region(props: RegionProps): import("preact").VNode<any> | import("preact").VNode<any>[];
6
+ export {};
@@ -24,6 +24,9 @@ export interface Props {
24
24
  sideBar: boolean;
25
25
  openSideBar: () => void;
26
26
  closeSideBar: () => void;
27
+ region: string | null;
28
+ estimatingRegion: string | null;
29
+ setRegion: (region: string | null) => void;
27
30
  }
28
31
  export declare function PlayerApp(playerProps: {
29
32
  player: () => DosPlayer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-dos",
3
- "version": "7.2.4",
3
+ "version": "7.2.5",
4
4
  "description": "Easiest API to run dos programs in browser",
5
5
  "main": "dist/js-dos.js",
6
6
  "types": "dist/types/src/player.d.ts",
@@ -49,7 +49,7 @@
49
49
  "core-js": "^3.17.1",
50
50
  "del": "^5.1.0",
51
51
  "emulators": "^0.72.0",
52
- "emulators-ui": "^0.72.4",
52
+ "emulators-ui": "^0.72.5",
53
53
  "eslint": "^7.32.0",
54
54
  "eslint-config-google": "^0.14.0",
55
55
  "gulp": "^4.0.2",
Binary file