wao 0.19.8 → 0.20.1
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/workspace/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npx wao proxy
|
|
|
12
12
|
|
|
13
13
|
#### 3. Connect the Browser to the Proxy
|
|
14
14
|
|
|
15
|
-
Go to [the web app](https://wao
|
|
15
|
+
Go to [the web app](https://preview.wao.eco) and open `Networks`, then click `Proxy`.
|
|
16
16
|
|
|
17
17
|
#### 4. Run Test
|
|
18
18
|
|
|
@@ -17,6 +17,7 @@ describe("WAO", function () {
|
|
|
17
17
|
const ao = await new AO().init(acc[0])
|
|
18
18
|
const { p, pid } = await ao.deploy({ src_data, scheduler: acc[0].addr })
|
|
19
19
|
|
|
20
|
+
assert.equal(await p.d("Hello", false), "Hello, World!")
|
|
20
21
|
assert.equal(await p.m("Inc", false), "Incremented!")
|
|
21
22
|
assert.equal(await p.d("Get", false), "1")
|
|
22
23
|
})
|
|
@@ -35,6 +36,7 @@ describe("WAO", function () {
|
|
|
35
36
|
module: "WASM32-D8q2OmZ4Mok00sD2Y_6SYEQ7Hjx-6VZ_jl3g", // use wasm32 module
|
|
36
37
|
})
|
|
37
38
|
|
|
39
|
+
assert.equal(await p.d("Hello", false), "Hello, World!")
|
|
38
40
|
assert.equal(await p.m("Inc", false), "Incremented!")
|
|
39
41
|
assert.equal(await p.d("Get", false), "1")
|
|
40
42
|
})
|
package/esm/workspace/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npx wao proxy
|
|
|
12
12
|
|
|
13
13
|
#### 3. Connect the Browser to the Proxy
|
|
14
14
|
|
|
15
|
-
Go to [the web app](https://wao
|
|
15
|
+
Go to [the web app](https://preview.wao.eco) and open `Networks`, then click `Proxy`.
|
|
16
16
|
|
|
17
17
|
#### 4. Run Test
|
|
18
18
|
|
|
@@ -17,6 +17,7 @@ describe("WAO", function () {
|
|
|
17
17
|
const ao = await new AO().init(acc[0])
|
|
18
18
|
const { p, pid } = await ao.deploy({ src_data, scheduler: acc[0].addr })
|
|
19
19
|
|
|
20
|
+
assert.equal(await p.d("Hello", false), "Hello, World!")
|
|
20
21
|
assert.equal(await p.m("Inc", false), "Incremented!")
|
|
21
22
|
assert.equal(await p.d("Get", false), "1")
|
|
22
23
|
})
|
|
@@ -35,6 +36,7 @@ describe("WAO", function () {
|
|
|
35
36
|
module: "WASM32-D8q2OmZ4Mok00sD2Y_6SYEQ7Hjx-6VZ_jl3g", // use wasm32 module
|
|
36
37
|
})
|
|
37
38
|
|
|
39
|
+
assert.equal(await p.d("Hello", false), "Hello, World!")
|
|
38
40
|
assert.equal(await p.m("Inc", false), "Incremented!")
|
|
39
41
|
assert.equal(await p.d("Get", false), "1")
|
|
40
42
|
})
|