@leaningtech/cheerpx 0.8.7 → 0.9.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +11 -2
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -7,7 +7,9 @@
7
7
  CheerpX enables running X86 binary applications and libraries in the browser within a secure WebAssembly sandbox.
8
8
 
9
9
  [Documentation](https://cheerpx.io/docs)
10
+
10
11
  [Issues](https://github.com/leaningtech/cheerpx-meta/issues)
12
+
11
13
  [Discord server](https://discord.leaningtech.com)
12
14
 
13
15
  ## What is CheerpX?
package/index.js CHANGED
@@ -1,2 +1,11 @@
1
- const version="0.8.7"
2
- export default (await import(`https://cxrtnc.leaningtech.com/${version}/cx.esm.js`)).default;
1
+ const version="0.9.0"
2
+ const CheerpX = await import(`https://cxrtnc.leaningtech.com/${version}/cx.esm.js`);
3
+ export const Linux = CheerpX.Linux;
4
+ export const HttpBytesDevice = CheerpX.HttpBytesDevice;
5
+ export const CloudDevice = CheerpX.CloudDevice;
6
+ export const GitHubDevice = CheerpX.GitHubDevice;
7
+ export const IDBDevice = CheerpX.IDBDevice;
8
+ export const WebDevice = CheerpX.WebDevice;
9
+ export const DataDevice = CheerpX.DataDevice;
10
+ export const OverlayDevice = CheerpX.OverlayDevice;
11
+ export const System = CheerpX.System;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@leaningtech/cheerpx",
3
- "version": "0.8.7",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
+ "types": "index.d.ts",
6
7
  "description": "Run X86 binary applications and libraries in the browser",
7
8
  "repository": {
8
9
  "type": "git",
@@ -11,7 +12,8 @@
11
12
  "files": [
12
13
  "LICENSE.txt",
13
14
  "README.md",
14
- "index.js"
15
+ "index.js",
16
+ "index.d.ts"
15
17
  ],
16
18
  "keywords": [
17
19
  "webassembly",