@agoric/swingset-liveslots 0.10.3-dev-0e76960.0 → 0.10.3-dev-07cb543.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-liveslots",
3
- "version": "0.10.3-dev-0e76960.0+0e76960",
3
+ "version": "0.10.3-dev-07cb543.0+07cb543",
4
4
  "description": "SwingSet ocap support layer",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -19,8 +19,8 @@
19
19
  "postpack": "git clean -f ':!src/types-index.d.ts' '*.d.ts*' '*.tsbuildinfo'"
20
20
  },
21
21
  "dependencies": {
22
- "@agoric/internal": "0.3.3-dev-0e76960.0+0e76960",
23
- "@agoric/store": "0.9.3-dev-0e76960.0+0e76960",
22
+ "@agoric/internal": "0.3.3-dev-07cb543.0+07cb543",
23
+ "@agoric/store": "0.9.3-dev-07cb543.0+07cb543",
24
24
  "@endo/env-options": "^1.1.8",
25
25
  "@endo/errors": "^1.2.9",
26
26
  "@endo/eventual-send": "^1.3.0",
@@ -34,7 +34,7 @@
34
34
  "@endo/promise-kit": "^1.1.9"
35
35
  },
36
36
  "devDependencies": {
37
- "@agoric/kmarshal": "0.1.1-dev-0e76960.0+0e76960",
37
+ "@agoric/kmarshal": "0.1.1-dev-07cb543.0+07cb543",
38
38
  "ava": "^5.3.0"
39
39
  },
40
40
  "files": [
@@ -68,5 +68,5 @@
68
68
  "typeCoverage": {
69
69
  "atLeast": 75.2
70
70
  },
71
- "gitHead": "0e7696000a3421a857a8e02eb6bf547e4d649b73"
71
+ "gitHead": "07cb5439061d6b66a7a6776feaf95aa50e7c2cbe"
72
72
  }
@@ -7,7 +7,7 @@
7
7
  * @param {*} vatPowers
8
8
  * @param {import('./types.js').LiveSlotsOptions} liveSlotsOptions
9
9
  * @param {*} gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent }
10
- * @param {Pick<Console, 'debug' | 'log' | 'info' | 'warn' | 'error'>} [liveSlotsConsole]
10
+ * @param {LimitedConsole} [liveSlotsConsole]
11
11
  * @param {*} [buildVatNamespace]
12
12
  *
13
13
  * @returns {*} { dispatch }
@@ -34,8 +34,9 @@
34
34
  * (using, once again, the kernel syscall interface). D(x).foo(args) will
35
35
  * perform an immediate syscall.callNow on the device node.
36
36
  */
37
- export function makeLiveSlots(syscall: any, forVatID: any | undefined, vatPowers: any | undefined, liveSlotsOptions: import("./types.js").LiveSlotsOptions, gcTools: any, liveSlotsConsole?: Pick<Console, "debug" | "log" | "info" | "warn" | "error">, buildVatNamespace?: any): any;
37
+ export function makeLiveSlots(syscall: any, forVatID: any | undefined, vatPowers: any | undefined, liveSlotsOptions: import("./types.js").LiveSlotsOptions, gcTools: any, liveSlotsConsole?: LimitedConsole, buildVatNamespace?: any): any;
38
38
  export function makeMarshaller(syscall: any, gcTools: any, vatID?: string): {
39
39
  m: any;
40
40
  };
41
+ import type { LimitedConsole } from '@agoric/internal/src/js-utils.js';
41
42
  //# sourceMappingURL=liveslots.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"liveslots.d.ts","sourceRoot":"","sources":["liveslots.js"],"names":[],"mappings":"AAi9CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uCAhCW,GAAC,YACD,GAAC,yBACD,GAAC,gCACD,OAAO,YAAY,EAAE,gBAAgB,WACrC,GAAC,qBACD,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,sBAC1D,GAAC,GAEC,GAAC,CAgDb;AAGD;;EAIC"}
1
+ {"version":3,"file":"liveslots.d.ts","sourceRoot":"","sources":["liveslots.js"],"names":[],"mappings":"AAm9CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uCAhCW,GAAC,YACD,GAAC,yBACD,GAAC,gCACD,OAAO,YAAY,EAAE,gBAAgB,WACrC,GAAC,qBACD,cAAc,sBACd,GAAC,GAEC,GAAC,CAgDb;AAGD;;EAIC;oCAtgDiC,kCAAkC"}
package/src/liveslots.js CHANGED
@@ -14,6 +14,8 @@ import { makeCollectionManager } from './collectionManager.js';
14
14
  import { makeWatchedPromiseManager } from './watchedPromises.js';
15
15
  import { makeBOYDKit } from './boyd-gc.js';
16
16
 
17
+ /** @import {LimitedConsole} from '@agoric/internal/src/js-utils.js'; */
18
+
17
19
  const SYSCALL_CAPDATA_BODY_SIZE_LIMIT = 10_000_000;
18
20
  const SYSCALL_CAPDATA_SLOTS_LENGTH_LIMIT = 10_000;
19
21
 
@@ -32,7 +34,7 @@ const SYSCALL_CAPDATA_SLOTS_LENGTH_LIMIT = 10_000;
32
34
  * @param {import('./types.js').LiveSlotsOptions} liveSlotsOptions
33
35
  * @param {*} gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent, gcAndFinalize,
34
36
  * meterControl }
35
- * @param {Pick<Console, 'debug' | 'log' | 'info' | 'warn' | 'error'>} console
37
+ * @param {LimitedConsole} console
36
38
  * @param {*} buildVatNamespace
37
39
  *
38
40
  * @returns {*} { dispatch }
@@ -1496,7 +1498,7 @@ function build(
1496
1498
  * @param {*} vatPowers
1497
1499
  * @param {import('./types.js').LiveSlotsOptions} liveSlotsOptions
1498
1500
  * @param {*} gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent }
1499
- * @param {Pick<Console, 'debug' | 'log' | 'info' | 'warn' | 'error'>} [liveSlotsConsole]
1501
+ * @param {LimitedConsole} [liveSlotsConsole]
1500
1502
  * @param {*} [buildVatNamespace]
1501
1503
  *
1502
1504
  * @returns {*} { dispatch }