@agoric/store
Advanced tools
Comparing version 0.6.9-dev-4e2aef4.0 to 0.6.9-dev-598b26c.0
{ | ||
"name": "@agoric/store", | ||
"version": "0.6.9-dev-4e2aef4.0+4e2aef4", | ||
"version": "0.6.9-dev-598b26c.0+598b26c", | ||
"description": "Wrapper for JavaScript map", | ||
@@ -34,9 +34,9 @@ "type": "module", | ||
"dependencies": { | ||
"@agoric/assert": "0.3.16-dev-4e2aef4.0+4e2aef4", | ||
"@agoric/eventual-send": "0.14.1-dev-4e2aef4.0+4e2aef4", | ||
"@agoric/marshal": "0.5.1-dev-4e2aef4.0+4e2aef4", | ||
"@agoric/promise-kit": "0.2.30-dev-4e2aef4.0+4e2aef4" | ||
"@agoric/assert": "0.3.16-dev-598b26c.0+598b26c", | ||
"@agoric/eventual-send": "0.14.1-dev-598b26c.0+598b26c", | ||
"@agoric/marshal": "0.5.1-dev-598b26c.0+598b26c", | ||
"@agoric/promise-kit": "0.2.30-dev-598b26c.0+598b26c" | ||
}, | ||
"devDependencies": { | ||
"@agoric/swingset-vat": "0.24.2-dev-4e2aef4.0+4e2aef4", | ||
"@agoric/swingset-vat": "0.24.2-dev-598b26c.0+598b26c", | ||
"ava": "^3.12.1" | ||
@@ -70,3 +70,3 @@ }, | ||
}, | ||
"gitHead": "4e2aef4b3f8064b940e639c2e87fbfdced983e92" | ||
"gitHead": "598b26c78e4565ad4c99f11e35446d2c3f2333ba" | ||
} |
@@ -5,2 +5,3 @@ // @ts-check | ||
assertChecker, | ||
Far, | ||
getTag, | ||
@@ -115,6 +116,6 @@ makeTagged, | ||
const { length } = keys; | ||
return harden({ | ||
return Far('CopyMap entries iterable', { | ||
[Symbol.iterator]: () => { | ||
let i = 0; | ||
return harden({ | ||
return Far('CopyMap entries iterator', { | ||
next: () => { | ||
@@ -121,0 +122,0 @@ /** @type {IteratorResult<[K,V],void>} */ |
// @ts-check | ||
import { Far } from '@agoric/marshal'; | ||
const { details: X, quote: q } = assert; | ||
@@ -57,3 +59,3 @@ | ||
const iterableKeys = harden({ | ||
const iterableKeys = Far('Iterable of keys', { | ||
[Symbol.iterator]: () => { | ||
@@ -64,3 +66,3 @@ const generation = updateCount; | ||
let i = 0; | ||
return harden({ | ||
return Far('Iterator of keys', { | ||
next: () => { | ||
@@ -67,0 +69,0 @@ assert.equal( |
@@ -50,3 +50,3 @@ // @ts-check | ||
* | ||
* * I say "indended" above because Patterns, in order to be declarative | ||
* * I say "intended" above because Patterns, in order to be declarative | ||
* and passable, cannot have the generality of predicates written in a | ||
@@ -285,4 +285,5 @@ * Turing-universal programming language. Rather, to represent the category of | ||
* @typedef {RankCompare} FullCompare | ||
* A `FullCompare` function satisfies all the invariants stated above for | ||
* `RankCompare`. In addition, its equality is as precise as the `KeyCompare` | ||
* A `FullCompare` function satisfies all the invariants stated below for | ||
* `RankCompare`'s relation with KeyCompare. | ||
* In addition, its equality is as precise as the `KeyCompare` | ||
* comparison defined below, in that, for all Keys `x` and `y`, | ||
@@ -289,0 +290,0 @@ * `FullCompare(x, y) === 0` iff `KeyCompare(x, y) === 0`. |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
150941
3599