wao 0.4.10 → 0.5.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/cjs/ao.js +4 -3
- package/cjs/aoconnect.js +223 -136
- package/cjs/ar.js +299 -211
- package/cjs/armem.js +102 -41
- package/cjs/run.js +26 -0
- package/cjs/server.js +632 -0
- package/cjs/tao.js +4 -8
- package/cjs/tar.js +161 -65
- package/cjs/test.js +22 -1
- package/esm/ao.js +1 -1
- package/esm/aoconnect.js +94 -35
- package/esm/ar.js +42 -2
- package/esm/armem.js +53 -8
- package/esm/run.js +7 -0
- package/esm/server.js +375 -0
- package/esm/tao.js +2 -2
- package/esm/tar.js +56 -31
- package/esm/test.js +8 -1
- package/esm/tgql.js +0 -1
- package/package.json +11 -1
package/esm/test.js
CHANGED
|
@@ -4,14 +4,21 @@ import { acc, mu, su, cu } from "./accounts.js"
|
|
|
4
4
|
import { connect } from "./aoconnect.js"
|
|
5
5
|
import AO from "./tao.js"
|
|
6
6
|
import AR from "./tar.js"
|
|
7
|
+
import GQL from "./tgql.js"
|
|
8
|
+
import ArMem from "./armem.js"
|
|
7
9
|
import { dirname } from "./utils.js"
|
|
8
10
|
import { Src, setup, ok, fail } from "./helpers.js"
|
|
11
|
+
import Server from "./server.js"
|
|
12
|
+
|
|
9
13
|
const blueprint = async pkg => {
|
|
10
14
|
return readFileSync(resolve(await dirname(), `lua/${pkg}.lua`), "utf8")
|
|
11
15
|
}
|
|
12
|
-
const scheduler = "
|
|
16
|
+
const scheduler = "_GQ33BkPtZrqxA84vM8Zk-N2aO0toNNu_C-l-rawrBA"
|
|
13
17
|
|
|
14
18
|
export {
|
|
19
|
+
Server,
|
|
20
|
+
GQL,
|
|
21
|
+
ArMem,
|
|
15
22
|
AO,
|
|
16
23
|
AR,
|
|
17
24
|
connect,
|
package/esm/tgql.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wao",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
"arbundles": "^0.11.1",
|
|
28
28
|
"arweave": "^1.15.1",
|
|
29
29
|
"base64url": "^3.0.1",
|
|
30
|
+
"body-parser": "^1.20.3",
|
|
31
|
+
"express": "^4.21.2",
|
|
32
|
+
"graphql": "^16.10.0",
|
|
30
33
|
"ramda": "^0.30.1"
|
|
34
|
+
},
|
|
35
|
+
"bin": {
|
|
36
|
+
"wao": "./cjs/run.js",
|
|
37
|
+
"wao-esm": "./esm/run.js"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"server": "node --experimental-wasm-memory64 cjs/run.js"
|
|
31
41
|
}
|
|
32
42
|
}
|