@agoric/vat-data
Advanced tools
Comparing version 0.5.3-dev-d708d81.0 to 0.5.3-dev-d718eac.0
{ | ||
"name": "@agoric/vat-data", | ||
"version": "0.5.3-dev-d708d81.0+d708d81", | ||
"version": "0.5.3-dev-d718eac.0+d718eac", | ||
"description": "Safe access to VatData global", | ||
@@ -11,3 +11,2 @@ "type": "module", | ||
"test": "ava", | ||
"test:c8": "exit 0", | ||
"test:xs": "exit 0", | ||
@@ -23,12 +22,15 @@ "lint-fix": "yarn lint:eslint --fix", | ||
"dependencies": { | ||
"@agoric/assert": "0.6.1-dev-d708d81.0+d708d81", | ||
"@agoric/internal": "0.3.3-dev-d708d81.0+d708d81", | ||
"@agoric/store": "0.9.3-dev-d708d81.0+d708d81", | ||
"@agoric/swingset-liveslots": "0.10.3-dev-d708d81.0+d708d81" | ||
"@agoric/base-zone": "0.1.1-dev-d718eac.0+d718eac", | ||
"@agoric/store": "0.9.3-dev-d718eac.0+d718eac", | ||
"@agoric/swingset-liveslots": "0.10.3-dev-d718eac.0+d718eac", | ||
"@endo/errors": "^1.2.9", | ||
"@endo/exo": "^1.5.8", | ||
"@endo/patterns": "^1.4.8" | ||
}, | ||
"devDependencies": { | ||
"@endo/init": "^0.5.59", | ||
"@endo/ses-ava": "^0.2.43", | ||
"@endo/far": "^1.1.10", | ||
"@endo/init": "^1.1.8", | ||
"@endo/ses-ava": "^1.2.9", | ||
"ava": "^5.3.0", | ||
"tsd": "^0.28.1" | ||
"tsd": "^0.31.1" | ||
}, | ||
@@ -40,3 +42,3 @@ "ava": { | ||
"files": [ | ||
"test/**/test-*.js" | ||
"test/**/*.test.*" | ||
] | ||
@@ -48,8 +50,8 @@ }, | ||
"engines": { | ||
"node": ">=14.15.0" | ||
"node": "^18.12 || ^20.9" | ||
}, | ||
"typeCoverage": { | ||
"atLeast": 98.23 | ||
"atLeast": 99.33 | ||
}, | ||
"gitHead": "d708d81ab9cee46fe0c2dfa9555cbabd6f6f44f5" | ||
"gitHead": "d718eacd3f38c3f3612371c7be3c8a4b1d143fff" | ||
} |
@@ -7,21 +7,24 @@ // @jessie-check | ||
/** @typedef {import('@endo/patterns').MethodGuard} MethodGuard */ | ||
/** | ||
* @template {Record<PropertyKey, MethodGuard>} [T=Record<PropertyKey, MethodGuard>] | ||
* @typedef {import('@endo/patterns').InterfaceGuard<T>} InterfaceGuard | ||
* @import {InterfaceGuard} from '@endo/patterns'; | ||
* @import {RemotableObject} from '@endo/pass-style'; | ||
* @import {Baggage, DefineKindOptions, DurableKindHandle, InterfaceGuardKit} from '@agoric/swingset-liveslots'; | ||
*/ | ||
/** @template L,R @typedef {import('@endo/eventual-send').RemotableBrand<L, R>} RemotableBrand */ | ||
/** @template T @typedef {import('@endo/far').ERef<T>} ERef */ | ||
/** @typedef {import('@agoric/swingset-liveslots').Baggage} Baggage */ | ||
/** @template T @typedef {import('@agoric/swingset-liveslots').DefineKindOptions<T>} DefineKindOptions */ | ||
/** @template T @typedef {import('@agoric/swingset-liveslots').KindFacet<T>} KindFacet */ | ||
/** @template T @typedef {import('@agoric/swingset-liveslots').KindFacets<T>} KindFacets */ | ||
/** @typedef {import('@agoric/swingset-liveslots').DurableKindHandle} DurableKindHandle */ | ||
/** @typedef {import('@agoric/swingset-liveslots').InterfaceGuardKit} InterfaceGuardKit */ | ||
// Some feedback if the init function is async | ||
/** | ||
* Make a version of the argument function that takes a kind context but | ||
* ignores it. | ||
* @typedef {(...args: any[]) => any} InitState | ||
*/ | ||
/** | ||
* @template {InitState} I | ||
* @typedef {ReturnType<I> extends Promise<any> ? never : ReturnType<I>} StateResult | ||
*/ | ||
/** | ||
* Make a version of the argument function that takes a kind context but ignores | ||
* it. | ||
* | ||
* @type {<T extends Function>(fn: T) => import('@agoric/swingset-liveslots').PlusContext<never, T>} | ||
* @type {<T extends (...args: any) => any>( | ||
* fn: T, | ||
* ) => import('@agoric/swingset-liveslots').PlusContext<never, T>} | ||
*/ | ||
@@ -35,2 +38,3 @@ export const ignoreContext = | ||
// TODO: Find a good home for this function used by @agoric/vat-data and testing code | ||
/** @param {import('@agoric/swingset-liveslots').VatData} VatData */ | ||
export const makeExoUtils = VatData => { | ||
@@ -46,2 +50,3 @@ const { | ||
/** | ||
* @deprecated Use Exos/ExoClasses instead of Kinds | ||
* @param {Baggage} baggage | ||
@@ -94,3 +99,3 @@ * @param {string} kindName | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template T behavior | ||
@@ -100,13 +105,15 @@ * @param {string} tag | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* }>} methods | ||
* @param {T & | ||
* ThisType<{ | ||
* self: T; | ||
* state: StateResult<I>; | ||
* }>} methods | ||
* @param {DefineKindOptions<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* self: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').Guarded<T>} | ||
*/ | ||
const defineVirtualExoClass = (tag, interfaceGuard, init, methods, options) => | ||
// @ts-expect-error cast | ||
defineKind(tag, init, methods, { | ||
@@ -120,3 +127,3 @@ ...options, | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets | ||
@@ -126,11 +133,12 @@ * @param {string} tag | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* }> } facets | ||
* @param {T & | ||
* ThisType<{ | ||
* facets: import('@endo/exo').GuardedKit<T>; | ||
* state: StateResult<I>; | ||
* }>} facets | ||
* @param {DefineKindOptions<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* facets: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').GuardedKit<T>} | ||
*/ | ||
@@ -144,2 +152,3 @@ const defineVirtualExoClassKit = ( | ||
) => | ||
// @ts-expect-error cast | ||
defineKindMulti(tag, init, facets, { | ||
@@ -153,3 +162,3 @@ ...options, | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template {Record<PropertyKey, CallableFunction>} T methods | ||
@@ -159,11 +168,12 @@ * @param {DurableKindHandle} kindHandle | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* }>} methods | ||
* @param {T & | ||
* ThisType<{ | ||
* self: T; | ||
* state: StateResult<I>; | ||
* }>} methods | ||
* @param {DefineKindOptions<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* self: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').Guarded<T>} | ||
*/ | ||
@@ -177,2 +187,3 @@ const defineDurableExoClass = ( | ||
) => | ||
// @ts-expect-error cast | ||
defineDurableKind(kindHandle, init, methods, { | ||
@@ -186,3 +197,3 @@ ...options, | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets | ||
@@ -192,11 +203,12 @@ * @param {DurableKindHandle} kindHandle | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* }> } facets | ||
* @param {T & | ||
* ThisType<{ | ||
* facets: import('@endo/exo').GuardedKit<T>; | ||
* state: StateResult<I>; | ||
* }>} facets | ||
* @param {DefineKindOptions<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* facets: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').GuardedKit<T>} | ||
*/ | ||
@@ -210,2 +222,3 @@ const defineDurableExoClassKit = ( | ||
) => | ||
// @ts-expect-error cast | ||
defineDurableKindMulti(kindHandle, init, facets, { | ||
@@ -219,3 +232,3 @@ ...options, | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template {Record<PropertyKey, CallableFunction>} T methods | ||
@@ -226,11 +239,12 @@ * @param {Baggage} baggage | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* }>} methods | ||
* @param {T & | ||
* ThisType<{ | ||
* self: RemotableObject & T; | ||
* state: StateResult<I>; | ||
* }>} methods | ||
* @param {DefineKindOptions<{ | ||
* self: T, | ||
* state: ReturnType<I> | ||
* self: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').Guarded<T>} | ||
*/ | ||
@@ -255,3 +269,3 @@ const prepareExoClass = ( | ||
/** | ||
* @template {(...args: any) => any} I init state function | ||
* @template {InitState} I init state function | ||
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets | ||
@@ -262,11 +276,12 @@ * @param {Baggage} baggage | ||
* @param {I} init | ||
* @param {T & ThisType<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* }> } facets | ||
* @param {T & | ||
* ThisType<{ | ||
* facets: import('@endo/exo').GuardedKit<T>; | ||
* state: StateResult<I>; | ||
* }>} facets | ||
* @param {DefineKindOptions<{ | ||
* facets: T, | ||
* state: ReturnType<I> | ||
* facets: T; | ||
* state: StateResult<I>; | ||
* }>} [options] | ||
* @returns {(...args: Parameters<I>) => (T & RemotableBrand<{}, T>)} | ||
* @returns {(...args: Parameters<I>) => import('@endo/exo').GuardedKit<T>} | ||
*/ | ||
@@ -295,5 +310,8 @@ const prepareExoClassKit = ( | ||
* @param {InterfaceGuard | undefined} interfaceGuard | ||
* @param {M} methods | ||
* @param {M & | ||
* ThisType<{ | ||
* self: RemotableObject & M; | ||
* }>} methods | ||
* @param {DefineKindOptions<{ self: M }>} [options] | ||
* @returns {M & RemotableBrand<{}, M>} | ||
* @returns {import('@endo/exo').Guarded<M>} | ||
*/ | ||
@@ -321,4 +339,4 @@ const prepareExo = ( | ||
/** | ||
* @deprecated Use prepareExo instead. | ||
* @template {Record<PropertyKey, CallableFunction>} M methods | ||
* @deprecated Use prepareExo instead. | ||
* @param {Baggage} baggage | ||
@@ -328,3 +346,3 @@ * @param {string} kindName | ||
* @param {DefineKindOptions<{ self: M }>} [options] | ||
* @returns {M & RemotableBrand<{}, M>} | ||
* @returns {import('@endo/exo').Guarded<M>} | ||
*/ | ||
@@ -343,4 +361,4 @@ const prepareSingleton = (baggage, kindName, methods, options = undefined) => | ||
prepareExo, | ||
prepareSingleton, | ||
provideKindHandle, | ||
@@ -347,0 +365,0 @@ prepareKind, |
// @jessie-check | ||
/// <reference types="ses"/> | ||
/// <reference types="ses" /> | ||
export { | ||
@@ -45,5 +45,11 @@ M, | ||
/** @typedef {import('@agoric/swingset-liveslots').Baggage} Baggage */ | ||
/** @typedef {import('@agoric/swingset-liveslots').DurableKindHandle} DurableKindHandle */ | ||
/** @template T @typedef {import('@agoric/swingset-liveslots').DefineKindOptions<T>} DefineKindOptions */ | ||
// TODO re-export these | ||
/** | ||
* @template T @typedef | ||
* {import('@agoric/swingset-liveslots').DefineKindOptions<T>} | ||
* DefineKindOptions | ||
*/ | ||
// Copy this type because aliasing it by `import('@agoric/swingset-liveslots').Baggage` | ||
// causes this error in typedoc: Expected a symbol for node with kind Identifier | ||
/** @typedef {import('@agoric/swingset-liveslots').MapStore<string, any>} Baggage */ | ||
@@ -50,0 +56,0 @@ // //////////////////////////// deprecated ///////////////////////////////////// |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable no-use-before-define */ | ||
import { expectType } from 'tsd'; | ||
@@ -9,2 +8,3 @@ import type { | ||
} from '@agoric/swingset-liveslots'; | ||
import type { VirtualObjectManager } from '@agoric/swingset-liveslots/src/virtualObjectManager.js'; | ||
import { | ||
@@ -16,4 +16,8 @@ defineKind, | ||
partialAssign, | ||
} from '.'; | ||
watchPromise, | ||
} from './index.js'; | ||
// for use in assignments below | ||
const anyVal = null as any; | ||
/* | ||
@@ -159,5 +163,30 @@ export const makePaymentMaker = (allegedName: string, brand: unknown) => { | ||
}; | ||
const someFacet: KindFacet<typeof someBehavior> = null as any; | ||
const someFacet: KindFacet<typeof someBehavior> = anyVal; | ||
// @ts-expect-error | ||
someFacet.gt(); | ||
expectType<boolean>(someFacet.gt(1)); | ||
const vom: VirtualObjectManager = anyVal; | ||
// @ts-expect-error | ||
vom.missingMethod; | ||
// @ts-expect-error Expected 0-4 arguments but got 5 | ||
vom.defineDurableKind(anyVal, anyVal, anyVal, anyVal, 'extra'); | ||
const p: Promise<bigint> = anyVal; | ||
watchPromise( | ||
p, | ||
{ | ||
onFulfilled(value, extra1, extra2) { | ||
expectType<bigint>(value); | ||
expectType<string>(extra1); | ||
// @ts-expect-error str | ||
expectType<number>(extra2); | ||
}, | ||
onRejected(reason, extra1) { | ||
expectType<unknown>(reason); | ||
expectType<string>(extra1); | ||
}, | ||
}, | ||
'extraString', | ||
'alsoString', | ||
); |
/* global globalThis */ | ||
import { Fail } from '@agoric/assert'; | ||
import { Fail } from '@endo/errors'; | ||
import { provideLazy } from '@agoric/store'; | ||
/** @type {import('@agoric/swingset-liveslots').VatData} */ | ||
/** @import {Baggage, PickFacet, VatData} from '@agoric/swingset-liveslots' */ | ||
/** @type {VatData} */ | ||
let VatDataGlobal; | ||
if ('VatData' in globalThis) { | ||
globalThis.VatData || Fail`VatData defined in global as null or undefined`; | ||
VatDataGlobal = globalThis.VatData; | ||
// XXX types incompatibility | ||
VatDataGlobal = /** @type {any} */ (globalThis.VatData); | ||
} else { | ||
@@ -15,16 +18,16 @@ // XXX this module has been known to get imported (transitively) in cases that | ||
// fail at runtime. | ||
const unvailable = () => Fail`VatData unavailable`; | ||
const unavailable = () => Fail`VatData unavailable`; | ||
VatDataGlobal = { | ||
defineKind: unvailable, | ||
defineKindMulti: unvailable, | ||
defineDurableKind: unvailable, | ||
defineDurableKindMulti: unvailable, | ||
makeKindHandle: unvailable, | ||
providePromiseWatcher: unvailable, | ||
watchPromise: unvailable, | ||
makeScalarBigMapStore: unvailable, | ||
makeScalarBigWeakMapStore: unvailable, | ||
makeScalarBigSetStore: unvailable, | ||
makeScalarBigWeakSetStore: unvailable, | ||
canBeDurable: unvailable, | ||
defineKind: unavailable, | ||
defineKindMulti: unavailable, | ||
defineDurableKind: unavailable, | ||
defineDurableKindMulti: unavailable, | ||
makeKindHandle: unavailable, | ||
providePromiseWatcher: unavailable, | ||
watchPromise: unavailable, | ||
makeScalarBigMapStore: unavailable, | ||
makeScalarBigWeakMapStore: unavailable, | ||
makeScalarBigSetStore: unavailable, | ||
makeScalarBigWeakSetStore: unavailable, | ||
canBeDurable: unavailable, | ||
}; | ||
@@ -58,3 +61,4 @@ } | ||
/** | ||
* When making a multi-facet kind, it's common to pick one facet to expose. E.g., | ||
* When making a multi-facet kind, it's common to pick one facet to expose. | ||
* E.g., | ||
* | ||
@@ -67,3 +71,3 @@ * const makeFoo = (a, b, c, d) => makeFooBase(a, b, c, d).self; | ||
* | ||
* @type {import('@agoric/swingset-liveslots').PickFacet} | ||
* @type {PickFacet} | ||
*/ | ||
@@ -89,53 +93,27 @@ export const pickFacet = | ||
// XXX copied from @agoric/store types | ||
// UNTIL https://github.com/Agoric/agoric-sdk/issues/4560 | ||
/** @import {StoreOptions} from '@agoric/store' */ | ||
/** | ||
* @typedef {object} StoreOptions | ||
* Of the dimensions on which KeyedStores can differ, we only represent a few | ||
* of them as standard options. A given store maker should document which | ||
* options it supports, as well as its positions on dimensions for which it | ||
* does not support options. | ||
* @property {boolean} [longLived=true] Which way to optimize a weak store. True means | ||
* that we expect this weak store to outlive most of its keys, in which | ||
* case we internally may use a JavaScript `WeakMap`. Otherwise we internally | ||
* may use a JavaScript `Map`. | ||
* Defaults to true, so please mark short lived stores explicitly. | ||
* @property {boolean} [durable=false] The contents of this store survive termination | ||
* of its containing process, allowing for restart or upgrade but at the cost | ||
* of forbidding storage of references to ephemeral data. Defaults to false. | ||
* @property {boolean} [fakeDurable=false] This store pretends to be a durable store | ||
* but does not enforce that the things stored in it actually be themselves | ||
* durable (whereas an actual durable store would forbid storage of such | ||
* items). This is in service of allowing incremental transition to use of | ||
* durable stores, to enable normal operation and testing when some stuff | ||
* intended to eventually be durable has not yet been made durable. A store | ||
* marked as fakeDurable will appear to operate normally but any attempt to | ||
* upgrade its containing vat will fail with an error. | ||
* @property {import('@agoric/swingset-liveslots').Pattern} [keyShape] | ||
* @property {import('@agoric/swingset-liveslots').Pattern} [valueShape] | ||
*/ | ||
/** | ||
* Unlike `provideLazy`, `provide` should be called at most once | ||
* within any vat incarnation with a given `baggage`,`key` pair. | ||
* Unlike `provideLazy`, `provide` should be called at most once within any vat | ||
* incarnation with a given `baggage`,`key` pair. | ||
* | ||
* `provide` should only to be used to populate baggage, | ||
* where the total number of calls to `provide` must be | ||
* low cardinality, since we keep the bookkeeping to detect collisions | ||
* in normal language-heap memory. All the other baggage-oriented | ||
* `provide*` and `prepare*` functions call `provide`, | ||
* and so impose the same constraints. This is consistent with | ||
* our expected durability patterns: What we store in baggage are | ||
* * kindHandles, which are per kind, which must be low cardinality | ||
* * data "variables" for reestablishing the lexical scope, especially | ||
* of singletons | ||
* * named non-baggage collections at the leaves of the baggage tree. | ||
* `provide` should only be used to populate baggage, where the total number of | ||
* calls to `provide` must be low cardinality, since we keep the bookkeeping to | ||
* detect collisions in normal language-heap memory. All the other | ||
* baggage-oriented `provide*` and `prepare*` functions call `provide`, and so | ||
* impose the same constraints. This is consistent with our expected durability | ||
* patterns: What we store in baggage are | ||
* | ||
* What is expected to be high cardinality are the instances of the kinds, | ||
* and the members of the non-bagggage collections. | ||
* - kindHandles, which are per kind, which must be low cardinality | ||
* - data "variables" for reestablishing the lexical scope, especially of | ||
* singletons | ||
* - named non-baggage collections at the leaves of the baggage tree. | ||
* | ||
* TODO https://github.com/Agoric/agoric-sdk/pull/5875 : | ||
* Implement development-time instrumentation to detect when | ||
* `provide` violates the above prescription, and is called more | ||
* than once in the same vat incarnation with the same | ||
* baggage,key pair. | ||
* What is expected to be high cardinality are the instances of the kinds, and | ||
* the members of the non-bagggage collections. | ||
* | ||
* TODO https://github.com/Agoric/agoric-sdk/pull/5875 : Implement | ||
* development-time instrumentation to detect when `provide` violates the above | ||
* prescription, and is called more than once in the same vat incarnation with | ||
* the same baggage,key pair. | ||
*/ | ||
@@ -145,8 +123,12 @@ | ||
// XXX cast because provideLazy is `any` due to broken type import | ||
/** @type {<K, V>(baggage: import('@agoric/swingset-liveslots').Baggage, key: K, makeValue: (key: K) => V) => V} */ ( | ||
provideLazy | ||
); | ||
/** | ||
* @type {<K, V>( | ||
* baggage: Baggage, | ||
* key: K, | ||
* makeValue: (key: K) => V, | ||
* ) => V} | ||
*/ (provideLazy); | ||
// TODO: Find a good home for this function used by @agoric/vat-data and testing code | ||
/** @param {import('@agoric/swingset-liveslots').VatData} VatData */ | ||
/** @param {VatData} VatData */ | ||
export const makeStoreUtils = VatData => { | ||
@@ -165,3 +147,3 @@ const { | ||
/** | ||
* @param {import('@agoric/swingset-liveslots').Baggage} baggage | ||
* @param {Baggage} baggage | ||
* @param {string} name | ||
@@ -177,3 +159,3 @@ * @param {Omit<StoreOptions, 'durable'>} options | ||
/** | ||
* @param {import('@agoric/swingset-liveslots').Baggage} baggage | ||
* @param {Baggage} baggage | ||
* @param {string} name | ||
@@ -189,3 +171,3 @@ * @param {Omit<StoreOptions, 'durable'>} options | ||
/** | ||
* @param {import('@agoric/swingset-liveslots').Baggage} baggage | ||
* @param {Baggage} baggage | ||
* @param {string} name | ||
@@ -201,3 +183,3 @@ * @param {Omit<StoreOptions, 'durable'>} options | ||
/** | ||
* @param {import('@agoric/swingset-liveslots').Baggage} baggage | ||
* @param {Baggage} baggage | ||
* @param {string} name | ||
@@ -204,0 +186,0 @@ * @param {Omit<StoreOptions, 'durable'>} options |
@@ -5,3 +5,2 @@ { | ||
// XXX to resolve the swingset-liveslots types | ||
"maxNodeModuleJsDepth": 1, | ||
// "strict": true, // disabled for compat with >0 module depth | ||
@@ -8,0 +7,0 @@ // "noImplicitAny": false, // for compat with peer packages using ambient types |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
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
61289
20
1354
6
5
2
+ Added@endo/errors@^1.2.9
+ Added@endo/exo@^1.5.8
+ Added@endo/patterns@^1.4.8
+ Added@endo/common@1.2.9(transitive)
+ Added@endo/env-options@1.1.8(transitive)
+ Added@endo/errors@1.2.9(transitive)
+ Added@endo/eventual-send@1.3.0(transitive)
+ Added@endo/exo@1.5.8(transitive)
+ Added@endo/far@1.1.10(transitive)
+ Added@endo/marshal@1.6.3(transitive)
+ Added@endo/nat@5.0.14(transitive)
+ Added@endo/pass-style@1.4.8(transitive)
+ Added@endo/patterns@1.4.8(transitive)
+ Added@endo/promise-kit@1.1.9(transitive)
+ Addedses@1.11.0(transitive)
Updated@agoric/swingset-liveslots@0.10.3-dev-d718eac.0+d718eac