@agoric/kmarshal 0.1.1-dev-aa68d8f.0 → 0.1.1-dev-651b051.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 +5 -5
  2. package/src/kmarshal.js +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/kmarshal",
3
- "version": "0.1.1-dev-aa68d8f.0+aa68d8f",
3
+ "version": "0.1.1-dev-651b051.0+651b051",
4
4
  "description": "Token-only marshaller for kernel and tests",
5
5
  "type": "module",
6
6
  "main": "./src/kmarshal.js",
@@ -21,9 +21,9 @@
21
21
  "lint:eslint": "eslint ."
22
22
  },
23
23
  "dependencies": {
24
- "@agoric/assert": "0.6.1-dev-aa68d8f.0+aa68d8f",
25
- "@endo/far": "^1.1.1",
26
- "@endo/marshal": "^1.4.1"
24
+ "@agoric/assert": "0.6.1-dev-651b051.0+651b051",
25
+ "@endo/far": "^1.1.2",
26
+ "@endo/marshal": "^1.5.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "ava": "^5.3.0"
@@ -40,5 +40,5 @@
40
40
  ],
41
41
  "timeout": "2m"
42
42
  },
43
- "gitHead": "aa68d8fba19087b3a2c72bd59f6f9e47e34ffe1b"
43
+ "gitHead": "651b05136f236230c67c8b40224540c585beaa54"
44
44
  }
package/src/kmarshal.js CHANGED
@@ -2,7 +2,10 @@ 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' */
5
+ /**
6
+ * @import { ERef } from '@endo/far';
7
+ * @import {ConvertSlotToVal} from '@endo/marshal';
8
+ */
6
9
 
7
10
  // Simple wrapper for serializing and unserializing marshalled values inside the
8
11
  // kernel, where we don't actually want to use clists nor actually allocate real
@@ -98,9 +101,7 @@ export { makeStandinPromise };
98
101
  harden(makeStandinPromise);
99
102
 
100
103
  /**
101
- * @param {string} kref
102
- * @param {string} [iface]
103
- * @returns {ERef<KCap>}
104
+ * @type {ConvertSlotToVal<string>}
104
105
  */
105
106
  export const kslot = (kref, iface = 'undefined') => {
106
107
  assert.typeof(kref, 'string');