@agoric/store 0.9.3-dev-d15cb41.0 → 0.9.3-dev-e456308.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/store",
3
- "version": "0.9.3-dev-d15cb41.0+d15cb41",
3
+ "version": "0.9.3-dev-e456308.0+e456308",
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.34
62
62
  },
63
- "gitHead": "d15cb41b5dc7d3c47a1bc4c034ae74adfc7f838a"
63
+ "gitHead": "e4563081e57304520ee75f85aff490fcdb640c20"
64
64
  }
package/src/index.js CHANGED
@@ -67,3 +67,5 @@ export {
67
67
 
68
68
  export { makeLegacyMap } from './legacy/legacyMap.js';
69
69
  export { makeLegacyWeakMap } from './legacy/legacyWeakMap.js';
70
+ // eslint-disable-next-line import/export
71
+ export * from './types.js';
@@ -1,4 +1,4 @@
1
- import '../types.js';
1
+ /** @import {LegacyMap, LegacyWeakMap} from '../types.js'; */
2
2
 
3
3
  // TODO, once migrated to endo, import from @endo/errors instead
4
4
  const { Fail, quote: q } = assert;
@@ -1,4 +1,4 @@
1
- import '../types.js';
1
+ /** @import {LegacyWeakMap} from '../types.js'; */
2
2
 
3
3
  // TODO, once migrated to endo, import from @endo/errors instead
4
4
  const { Fail, quote: q } = assert;
@@ -15,13 +15,14 @@ import {
15
15
  import { makeWeakMapStoreMethods } from './scalarWeakMapStore.js';
16
16
  import { makeCurrentKeysKit } from './store-utils.js';
17
17
 
18
- const { quote: q } = assert;
19
-
20
18
  /**
21
- * @import {Passable} from '@endo/pass-style')
22
- * @import {Key} from '@endo/patterns')
19
+ * @import {Passable} from '@endo/pass-style');
20
+ * @import {Key, Pattern} from '@endo/patterns');
21
+ * @import {MapStore, StoreOptions} from '../types.js';
23
22
  */
24
23
 
24
+ const { quote: q } = assert;
25
+
25
26
  /**
26
27
  * @template {Key} K
27
28
  * @template {Passable} V
@@ -10,6 +10,11 @@ import {
10
10
  import { makeWeakSetStoreMethods } from './scalarWeakSetStore.js';
11
11
  import { makeCurrentKeysKit } from './store-utils.js';
12
12
 
13
+ /**
14
+ * @import {Key, Pattern} from '@endo/patterns');
15
+ * @import {SetStore, StoreOptions} from '../types.js';
16
+ */
17
+
13
18
  const { quote: q } = assert;
14
19
 
15
20
  /**
@@ -6,6 +6,8 @@ import {
6
6
  isCopyMap,
7
7
  } from '@endo/patterns';
8
8
 
9
+ /** @import {WeakMapStore, StoreOptions} from '../types.js'; */
10
+
9
11
  const { quote: q, Fail } = assert;
10
12
 
11
13
  /**
@@ -8,7 +8,7 @@ import {
8
8
 
9
9
  const { quote: q, Fail } = assert;
10
10
 
11
- /** @import {WeakSetStore} from '@agoric/store/exported.js'; */
11
+ /** @import {StoreOptions, WeakSetStore} from '@agoric/store'; */
12
12
 
13
13
  /**
14
14
  * @template K
@@ -1,6 +1,9 @@
1
1
  import { Far } from '@endo/marshal';
2
2
 
3
- /** @import {RankCompare} from '@endo/marshal' */
3
+ /**
4
+ * @import {RankCompare} from '@endo/marshal';
5
+ * @import {MapStore, WeakMapStore} from '../types.js';
6
+ */
4
7
 
5
8
  const { Fail, quote: q } = assert;
6
9