@agoric/kmarshal 0.1.1-dev-8e87d58.0 → 0.1.1-dev-3c1b9a2.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 (2) hide show
  1. package/package.json +3 -3
  2. package/src/kmarshal.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/kmarshal",
3
- "version": "0.1.1-dev-8e87d58.0+8e87d58",
3
+ "version": "0.1.1-dev-3c1b9a2.0+3c1b9a2",
4
4
  "description": "Token-only marshaller for kernel and tests",
5
5
  "type": "module",
6
6
  "main": "./src/kmarshal.js",
@@ -21,7 +21,7 @@
21
21
  "lint:eslint": "eslint ."
22
22
  },
23
23
  "dependencies": {
24
- "@agoric/assert": "0.6.1-dev-8e87d58.0+8e87d58",
24
+ "@agoric/assert": "0.6.1-dev-3c1b9a2.0+3c1b9a2",
25
25
  "@endo/far": "^1.1.0",
26
26
  "@endo/marshal": "^1.4.0"
27
27
  },
@@ -40,5 +40,5 @@
40
40
  ],
41
41
  "timeout": "2m"
42
42
  },
43
- "gitHead": "8e87d58b5aec8cdec10257ade3a6d8261f39bf07"
43
+ "gitHead": "3c1b9a228963557eda54de21ef1db9cecff08c6f"
44
44
  }
package/src/kmarshal.js CHANGED
@@ -2,6 +2,8 @@ import { Far, passStyleOf } from '@endo/far';
2
2
  import { makeMarshal } from '@endo/marshal';
3
3
  import { assert, Fail } from '@agoric/assert';
4
4
 
5
+ /** @import { ERef } from '@endo/far' */
6
+
5
7
  // Simple wrapper for serializing and unserializing marshalled values inside the
6
8
  // kernel, where we don't actually want to use clists nor actually allocate real
7
9
  // objects, but instead to stay entirely within the domain of krefs. This is
@@ -98,7 +100,7 @@ harden(makeStandinPromise);
98
100
  /**
99
101
  * @param {string} kref
100
102
  * @param {string} [iface]
101
- * @returns {import('@endo/eventual-send').ERef<KCap>}
103
+ * @returns {ERef<KCap>}
102
104
  */
103
105
  export const kslot = (kref, iface = 'undefined') => {
104
106
  assert.typeof(kref, 'string');