@agoric/store 0.9.3-dev-e96a12a.0 → 0.9.3-dev-6f740a4.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-
|
|
3
|
+
"version": "0.9.3-dev-6f740a4.0+6f740a4",
|
|
4
4
|
"description": "Wrapper for JavaScript map",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@agoric/assert": "0.6.1-dev-
|
|
33
|
+
"@agoric/assert": "0.6.1-dev-6f740a4.0+6f740a4",
|
|
34
34
|
"@endo/exo": "^0.2.2",
|
|
35
35
|
"@endo/marshal": "^0.8.5",
|
|
36
36
|
"@endo/pass-style": "^0.1.3",
|
|
37
37
|
"@endo/patterns": "^0.2.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
41
|
-
"@agoric/time": "0.3.3-dev-
|
|
40
|
+
"@agoric/swingset-vat": "0.32.3-dev-6f740a4.0+6f740a4",
|
|
41
|
+
"@agoric/time": "0.3.3-dev-6f740a4.0+6f740a4",
|
|
42
42
|
"@endo/init": "^0.5.56",
|
|
43
43
|
"@endo/ses-ava": "^0.2.40",
|
|
44
44
|
"ava": "^5.3.0"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
],
|
|
58
58
|
"timeout": "2m"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "6f740a40710dd9f1cff8ea8dddc88cf9d6601486"
|
|
61
61
|
}
|
package/src/legacy/legacyMap.js
CHANGED
|
@@ -30,7 +30,7 @@ import '../types.js';
|
|
|
30
30
|
*
|
|
31
31
|
* @deprecated switch to ScalarMap if possible, Map otherwise
|
|
32
32
|
* @template K,V
|
|
33
|
-
* @param {string} [tag
|
|
33
|
+
* @param {string} [tag] - tag for debugging
|
|
34
34
|
* @returns {LegacyMap<K,V>}
|
|
35
35
|
*/
|
|
36
36
|
export const makeLegacyMap = (tag = 'key') => {
|
|
@@ -6,7 +6,7 @@ import '../types.js';
|
|
|
6
6
|
*
|
|
7
7
|
* @deprecated switch to ScalarWeakMap if possible, WeakMap otherwise
|
|
8
8
|
* @template K,V
|
|
9
|
-
* @param {string} [tag
|
|
9
|
+
* @param {string} [tag] - tag for debugging
|
|
10
10
|
* @returns {LegacyWeakMap<K,V>}
|
|
11
11
|
*/
|
|
12
12
|
export const makeLegacyWeakMap = (tag = 'key') => {
|
|
@@ -129,7 +129,7 @@ export const makeMapStoreMethods = (
|
|
|
129
129
|
*
|
|
130
130
|
* @template {Key} K
|
|
131
131
|
* @template {Passable} V
|
|
132
|
-
* @param {string} [tag
|
|
132
|
+
* @param {string} [tag] - the column name for the key
|
|
133
133
|
* @param {StoreOptions} [options]
|
|
134
134
|
* @returns {MapStore<K,V>}
|
|
135
135
|
*/
|
|
@@ -85,7 +85,7 @@ export const makeSetStoreMethods = (
|
|
|
85
85
|
* copyRecords, as keys and look them up based on equality of their contents.
|
|
86
86
|
*
|
|
87
87
|
* @template K
|
|
88
|
-
* @param {string} [tag
|
|
88
|
+
* @param {string} [tag] - tag for debugging
|
|
89
89
|
* @param {StoreOptions} [options]
|
|
90
90
|
* @returns {SetStore<K>}
|
|
91
91
|
*/
|
|
@@ -88,7 +88,7 @@ export const makeWeakMapStoreMethods = (
|
|
|
88
88
|
* remotables, since the other primitives may always reappear.
|
|
89
89
|
*
|
|
90
90
|
* @template K,V
|
|
91
|
-
* @param {string} [tag
|
|
91
|
+
* @param {string} [tag] - tag for debugging
|
|
92
92
|
* @param {StoreOptions} [options]
|
|
93
93
|
* @returns {WeakMapStore<K,V>}
|
|
94
94
|
*/
|
|
@@ -70,7 +70,7 @@ export const makeWeakSetStoreMethods = (
|
|
|
70
70
|
* remotables, since the other primitives may always appear.
|
|
71
71
|
*
|
|
72
72
|
* @template K
|
|
73
|
-
* @param {string} [tag
|
|
73
|
+
* @param {string} [tag] - tag for debugging
|
|
74
74
|
* @param {StoreOptions} [options]
|
|
75
75
|
* @returns {WeakSetStore<K>}
|
|
76
76
|
*/
|