@agoric/kmarshal 0.1.1-orchestration-dev-096c4e8.0 → 0.1.1-upgrade-16-dev-8879538.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/kmarshal",
3
- "version": "0.1.1-orchestration-dev-096c4e8.0+096c4e8",
3
+ "version": "0.1.1-upgrade-16-dev-8879538.0+8879538",
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-orchestration-dev-096c4e8.0+096c4e8",
25
- "@endo/far": "^1.0.4",
26
- "@endo/marshal": "^1.3.0"
24
+ "@agoric/assert": "0.6.1-upgrade-16-dev-8879538.0+8879538",
25
+ "@endo/far": "^1.1.2",
26
+ "@endo/marshal": "^1.5.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "ava": "^5.3.0"
@@ -33,12 +33,12 @@
33
33
  },
34
34
  "ava": {
35
35
  "files": [
36
- "test/**/test-*.js"
36
+ "test/**/*.test.*"
37
37
  ],
38
38
  "require": [
39
39
  "@endo/init/debug.js"
40
40
  ],
41
41
  "timeout": "2m"
42
42
  },
43
- "gitHead": "096c4e8fce80e9a509b0e1a30fda11736c4570e1"
43
+ "gitHead": "8879538cd1d125a08346f02dd5701d0d70c90bb8"
44
44
  }
package/src/kmarshal.js CHANGED
@@ -2,6 +2,11 @@ import { Far, passStyleOf } from '@endo/far';
2
2
  import { makeMarshal } from '@endo/marshal';
3
3
  import { assert, Fail } from '@agoric/assert';
4
4
 
5
+ /**
6
+ * @import { ERef } from '@endo/far';
7
+ * @import {ConvertSlotToVal} from '@endo/marshal';
8
+ */
9
+
5
10
  // Simple wrapper for serializing and unserializing marshalled values inside the
6
11
  // kernel, where we don't actually want to use clists nor actually allocate real
7
12
  // objects, but instead to stay entirely within the domain of krefs. This is
@@ -96,9 +101,7 @@ export { makeStandinPromise };
96
101
  harden(makeStandinPromise);
97
102
 
98
103
  /**
99
- * @param {string} kref
100
- * @param {string} [iface]
101
- * @returns {import('@endo/eventual-send').ERef<KCap>}
104
+ * @type {ConvertSlotToVal<string>}
102
105
  */
103
106
  export const kslot = (kref, iface = 'undefined') => {
104
107
  assert.typeof(kref, 'string');
package/tsconfig.json CHANGED
@@ -1,10 +1,7 @@
1
1
  // This file can contain .js-specific Typescript compiler config.
2
2
  {
3
3
  "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "allowSyntheticDefaultImports": true,
6
- "maxNodeModuleJsDepth": 2,
7
- },
4
+ "compilerOptions": {},
8
5
  "include": [
9
6
  "src/**/*.js",
10
7
  "test/**/*.js"
File without changes