@agoric/base-zone 0.1.1-dev-9380cfe.0 → 0.1.1-dev-4f72580.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/package.json +8 -8
- package/tools/greeter.js +0 -2
- package/tools/testers.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/base-zone",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-4f72580.0+4f72580",
|
|
4
4
|
"description": "Allocation zone abstraction library and heap implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"author": "Agoric",
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@agoric/store": "0.9.3-dev-
|
|
30
|
-
"@endo/exo": "^0.
|
|
31
|
-
"@endo/far": "^0.
|
|
32
|
-
"@endo/pass-style": "^0.1
|
|
33
|
-
"@endo/patterns": "^0.
|
|
29
|
+
"@agoric/store": "0.9.3-dev-4f72580.0+4f72580",
|
|
30
|
+
"@endo/exo": "^1.0.1",
|
|
31
|
+
"@endo/far": "^1.0.1",
|
|
32
|
+
"@endo/pass-style": "^1.0.1",
|
|
33
|
+
"@endo/patterns": "^1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@endo/init": "^0.
|
|
36
|
+
"@endo/init": "^1.0.1",
|
|
37
37
|
"ava": "^5.3.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"typeCoverage": {
|
|
56
56
|
"atLeast": 86.48
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "4f7258043c55cb9d60e1d50cbdddb712910950f4"
|
|
59
59
|
}
|
package/tools/greeter.js
CHANGED
|
@@ -44,7 +44,6 @@ export const GreeterWithAdminI = M.interface('GreeterWithAdmin', {
|
|
|
44
44
|
*/
|
|
45
45
|
export const prepareGreeterSingleton = (zone, label, nick) => {
|
|
46
46
|
const myThis = Object.freeze({ state: { nick } });
|
|
47
|
-
// @ts-expect-error Until https://github.com/endojs/endo/pull/1771
|
|
48
47
|
return zone.exo(label, GreeterWithAdminI, {
|
|
49
48
|
...bindAllMethodsTo(greetFacet, myThis),
|
|
50
49
|
...bindAllMethodsTo(adminFacet, myThis),
|
|
@@ -55,7 +54,6 @@ export const prepareGreeterSingleton = (zone, label, nick) => {
|
|
|
55
54
|
* @param {import('../src/types.js').Zone} zone
|
|
56
55
|
*/
|
|
57
56
|
export const prepareGreeter = zone =>
|
|
58
|
-
// @ts-expect-error Until https://github.com/endojs/endo/pull/1771
|
|
59
57
|
zone.exoClass('Greeter', GreeterWithAdminI, nick => ({ nick }), {
|
|
60
58
|
...greetFacet,
|
|
61
59
|
...adminFacet,
|
package/tools/testers.js
CHANGED
|
@@ -65,7 +65,7 @@ const secondThrows = (t, fn, spec = alreadyExceptionSpec) => {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* @param {import('ava').Assertions} t
|
|
68
|
-
* @param {import('../src/index').Zone} rootZone
|
|
68
|
+
* @param {import('../src/index.js').Zone} rootZone
|
|
69
69
|
*/
|
|
70
70
|
export const testFirstZoneIncarnation = (t, rootZone) => {
|
|
71
71
|
const subZone = secondThrows(t, () => rootZone.subZone('sub'));
|
|
@@ -94,7 +94,7 @@ export const testFirstZoneIncarnation = (t, rootZone) => {
|
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* @param {import('ava').Assertions} t
|
|
97
|
-
* @param {import('../src/index').Zone} rootZone
|
|
97
|
+
* @param {import('../src/index.js').Zone} rootZone
|
|
98
98
|
*/
|
|
99
99
|
export const testSecondZoneIncarnation = (t, rootZone) => {
|
|
100
100
|
const subZone = secondThrows(t, () => rootZone.subZone('sub'));
|