Skip to content

Commit

Permalink
Merge pull request #6559 from Agoric/ta/fix-governance-pack
Browse files Browse the repository at this point in the history
fix governance pack
  • Loading branch information
mergify[bot] authored Nov 11, 2022
2 parents 71c1fe0 + 51eb294 commit 27b66bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/SwingSet/src/lib/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { insistCapData } from './capdata.js';
* @throws {Error} if, upon inspection, the parameter does not satisfy the above
* criteria.
*
* @returns {asserts message is Message}
* @returns {asserts message is import('../types-external.js').Message}
*/

export function insistMessage(message) {
Expand Down
4 changes: 2 additions & 2 deletions packages/SwingSet/src/lib/storageAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function* mergeUtf16SortedIterators(it1, it2) {
* Create a StorageAPI object that buffers writes to a wrapped StorageAPI object
* until told to commit (or abort) them.
*
* @param {KVStore} kvStore The StorageAPI object to wrap
* @param {import('@agoric/swing-store').KVStore} kvStore The StorageAPI object to wrap
* @param {{
* onGet?: (key: string, value: string) => void, // a callback invoked after getting a value from kvStore
* onPendingSet?: (key: string, value: string) => void, // a callback invoked after a new uncommitted value is set
Expand All @@ -139,7 +139,7 @@ function* mergeUtf16SortedIterators(it1, it2) {
* onAbort?: () => void, // a callback invoked after pending operations have been aborted
* }} listeners Optional callbacks to be invoked when respective events occur
*
* @returns {{kvStore: KVStore, commit: () => void, abort: () => void}}
* @returns {{kvStore: import('@agoric/swing-store').KVStore, commit: () => void, abort: () => void}}
*/
export function makeBufferedStorage(kvStore, listeners = {}) {
insistStorageAPI(kvStore);
Expand Down
10 changes: 5 additions & 5 deletions packages/zoe/src/zoeService/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,14 @@

/**
* @typedef {object} VatAdminSvc
* @property {(id: BundleID) => ERef<BundleCap>} waitForBundleCap
* @property {(id: BundleID) => ERef<BundleCap>} getBundleCap
* @property {(name: string) => ERef<BundleCap>} getNamedBundleCap
* @property {(bundleCap: BundleCap, options?: Record<string, any>) => ERef<RootAndAdminNode>} createVat
* @property {(id: BundleID) => ERef<import('@agoric/swingset-vat').BundleCap>} waitForBundleCap
* @property {(id: BundleID) => ERef<import('@agoric/swingset-vat').BundleCap>} getBundleCap
* @property {(name: string) => ERef<import('@agoric/swingset-vat').BundleCap>} getNamedBundleCap
* @property {(bundleCap: import('@agoric/swingset-vat').BundleCap, options?: Record<string, any>) => ERef<RootAndAdminNode>} createVat
*/

/**
* @typedef {{bundleCap: BundleCap } | {name: string} | {id: BundleID}} ZCFSpec
* @typedef {{bundleCap: import('@agoric/swingset-vat').BundleCap } | {name: string} | {id: BundleID}} ZCFSpec
*/

/**
Expand Down

0 comments on commit 27b66bf

Please sign in to comment.