@agoric/store 0.9.3-dev-03b6420.0 → 0.9.3-dev-f1638f9.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/exported.js CHANGED
@@ -1 +1 @@
1
- import './src/types.js';
1
+ // Dummy file for .d.ts twin to declare ambients
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/store",
3
- "version": "0.9.3-dev-03b6420.0+03b6420",
3
+ "version": "0.9.3-dev-f1638f9.0+f1638f9",
4
4
  "description": "Wrapper for JavaScript map",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -60,5 +60,5 @@
60
60
  "typeCoverage": {
61
61
  "atLeast": 86.12
62
62
  },
63
- "gitHead": "03b6420649be77d010bc783efc5aaee5c7ed45e7"
63
+ "gitHead": "f1638f95424a0f3851e6e1d880c2a38dd14eca3d"
64
64
  }
@@ -17,6 +17,11 @@ import { makeCurrentKeysKit } from './store-utils.js';
17
17
 
18
18
  const { quote: q } = assert;
19
19
 
20
+ /**
21
+ * @import {Passable} from '@endo/pass-style')
22
+ * @import {Key} from '@endo/patterns')
23
+ */
24
+
20
25
  /**
21
26
  * @template {Key} K
22
27
  * @template {Passable} V
@@ -8,6 +8,8 @@ import {
8
8
 
9
9
  const { quote: q, Fail } = assert;
10
10
 
11
+ /** @import {WeakSetStore} from '@agoric/store/exported.js'; */
12
+
11
13
  /**
12
14
  * @template K
13
15
  * @param {WeakSet<K & object>} jsset
package/src/types.js CHANGED
@@ -1,21 +1,14 @@
1
1
  /// <reference types="ses"/>
2
2
 
3
+ // Ensure this is a module.
4
+ export {};
5
+
3
6
  /**
4
7
  * Note TODO https://github.com/endojs/endo/issues/1488
5
8
  *
6
9
  * @import {Passable} from '@endo/pass-style'
7
- */
8
- /** @import {CopyTagged} from '@endo/pass-style' */
9
- /** @import {Pattern} from '@endo/patterns' */
10
- /** @import {Key} from '@endo/patterns' */
11
- /**
12
- * @template {Key} [K=Key]
13
- * @typedef {import('@endo/patterns').CopySet<K>} CopySet
14
- */
15
- /**
16
- * @template {Key} [K=Key]
17
- * @template {Passable} [V=Passable]
18
- * @typedef {import('@endo/patterns').CopyMap<K, V>} CopyMap
10
+ * @import {CopySet, CopyMap, Pattern} from '@endo/patterns'
11
+ * @import {Key} from '@endo/patterns'
19
12
  */
20
13
 
21
14
  /**