agoric 0.21.2-dev-f8ea4a8.0 → 0.21.2-dev-59738aa.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",
3
- "version": "0.21.2-dev-f8ea4a8.0+f8ea4a8",
3
+ "version": "0.21.2-dev-59738aa.0+59738aa",
4
4
  "description": "Manage the Agoric Javascript smart contract platform",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -29,29 +29,29 @@
29
29
  "lint:eslint": "eslint ."
30
30
  },
31
31
  "devDependencies": {
32
- "@agoric/cosmic-swingset": "0.41.4-dev-f8ea4a8.0+f8ea4a8",
33
- "@agoric/deploy-script-support": "0.10.4-dev-f8ea4a8.0+f8ea4a8",
32
+ "@agoric/cosmic-swingset": "0.41.4-dev-59738aa.0+59738aa",
33
+ "@agoric/deploy-script-support": "0.10.4-dev-59738aa.0+59738aa",
34
34
  "ava": "^5.3.0",
35
35
  "c8": "^9.1.0",
36
36
  "dd-trace": "^4.11.1"
37
37
  },
38
38
  "dependencies": {
39
- "@agoric/access-token": "0.4.22-dev-f8ea4a8.0+f8ea4a8",
40
- "@agoric/assert": "0.6.1-dev-f8ea4a8.0+f8ea4a8",
41
- "@agoric/cache": "0.3.3-dev-f8ea4a8.0+f8ea4a8",
42
- "@agoric/casting": "0.4.3-dev-f8ea4a8.0+f8ea4a8",
43
- "@agoric/cosmic-proto": "0.4.1-dev-f8ea4a8.0+f8ea4a8",
44
- "@agoric/ertp": "0.16.3-dev-f8ea4a8.0+f8ea4a8",
45
- "@agoric/governance": "0.10.4-dev-f8ea4a8.0+f8ea4a8",
46
- "@agoric/inter-protocol": "0.16.2-dev-f8ea4a8.0+f8ea4a8",
47
- "@agoric/internal": "0.3.3-dev-f8ea4a8.0+f8ea4a8",
48
- "@agoric/network": "0.1.1-dev-f8ea4a8.0+f8ea4a8",
49
- "@agoric/smart-wallet": "0.5.4-dev-f8ea4a8.0+f8ea4a8",
50
- "@agoric/store": "0.9.3-dev-f8ea4a8.0+f8ea4a8",
51
- "@agoric/swingset-vat": "0.32.3-dev-f8ea4a8.0+f8ea4a8",
52
- "@agoric/vats": "0.15.2-dev-f8ea4a8.0+f8ea4a8",
53
- "@agoric/zoe": "0.26.3-dev-f8ea4a8.0+f8ea4a8",
54
- "@agoric/zone": "0.2.3-dev-f8ea4a8.0+f8ea4a8",
39
+ "@agoric/access-token": "0.4.22-dev-59738aa.0+59738aa",
40
+ "@agoric/assert": "0.6.1-dev-59738aa.0+59738aa",
41
+ "@agoric/cache": "0.3.3-dev-59738aa.0+59738aa",
42
+ "@agoric/casting": "0.4.3-dev-59738aa.0+59738aa",
43
+ "@agoric/cosmic-proto": "0.4.1-dev-59738aa.0+59738aa",
44
+ "@agoric/ertp": "0.16.3-dev-59738aa.0+59738aa",
45
+ "@agoric/governance": "0.10.4-dev-59738aa.0+59738aa",
46
+ "@agoric/inter-protocol": "0.16.2-dev-59738aa.0+59738aa",
47
+ "@agoric/internal": "0.3.3-dev-59738aa.0+59738aa",
48
+ "@agoric/network": "0.1.1-dev-59738aa.0+59738aa",
49
+ "@agoric/smart-wallet": "0.5.4-dev-59738aa.0+59738aa",
50
+ "@agoric/store": "0.9.3-dev-59738aa.0+59738aa",
51
+ "@agoric/swingset-vat": "0.32.3-dev-59738aa.0+59738aa",
52
+ "@agoric/vats": "0.15.2-dev-59738aa.0+59738aa",
53
+ "@agoric/zoe": "0.26.3-dev-59738aa.0+59738aa",
54
+ "@agoric/zone": "0.2.3-dev-59738aa.0+59738aa",
55
55
  "@confio/relayer": "^0.11.3",
56
56
  "@cosmjs/crypto": "^0.32.3",
57
57
  "@cosmjs/encoding": "^0.32.3",
@@ -100,5 +100,5 @@
100
100
  "typeCoverage": {
101
101
  "atLeast": 77.12
102
102
  },
103
- "gitHead": "f8ea4a8351d880722c3b33824402daed2716e47d"
103
+ "gitHead": "59738aa5d0eafdb105b63400631eb49644d555cf"
104
104
  }
@@ -6,7 +6,7 @@ import { outputActionAndHint } from '../lib/wallet.js';
6
6
 
7
7
  const { Fail } = assert;
8
8
 
9
- /** @typedef {import('@agoric/governance/src/contractGovernance/typedParamManager.js').ParamTypesMap} ParamTypesMap */
9
+ /** @import {ParamTypesMap} from '@agoric/governance/src/contractGovernance/typedParamManager.js' */
10
10
 
11
11
  /**
12
12
  * @template {ParamStateRecord} M
@@ -13,7 +13,7 @@ import {
13
13
  sendAction,
14
14
  } from '../lib/wallet.js';
15
15
 
16
- /** @typedef {import('@agoric/smart-wallet/src/offers.js').OfferSpec} OfferSpec */
16
+ /** @import {OfferSpec} from '@agoric/smart-wallet/src/offers.js' */
17
17
 
18
18
  const collectValues = (val, memo) => {
19
19
  memo.push(val);
@@ -35,9 +35,9 @@ const bidInvitationShape = harden({
35
35
 
36
36
  /** @typedef {import('@agoric/vats/tools/board-utils.js').VBankAssetDetail } AssetDescriptor */
37
37
  /** @typedef {import('@agoric/smart-wallet/src/smartWallet.js').TryExitOfferAction } TryExitOfferAction */
38
- /** @typedef {import('@agoric/inter-protocol/src/auction/auctionBook.js').OfferSpec} BidSpec */
39
- /** @typedef {import('@agoric/inter-protocol/src/auction/scheduler.js').ScheduleNotification} ScheduleNotification */
40
- /** @typedef {import('@agoric/inter-protocol/src/auction/auctionBook.js').BookDataNotification} BookDataNotification */
38
+ /** @import {OfferSpec as BidSpec} from '@agoric/inter-protocol/src/auction/auctionBook.js' */
39
+ /** @import {ScheduleNotification} from '@agoric/inter-protocol/src/auction/scheduler.js' */
40
+ /** @import {BookDataNotification} from '@agoric/inter-protocol/src/auction/auctionBook.js' */
41
41
 
42
42
  /**
43
43
  * Format amounts, prices etc. based on brand board Ids, displayInfo
@@ -102,7 +102,7 @@ const makeFormatters = assets => {
102
102
  * Dynamic check that an OfferStatus is also a BidSpec.
103
103
  *
104
104
  * @param {import('@agoric/smart-wallet/src/offers.js').OfferStatus} offerStatus
105
- * @param {import('../lib/wallet.js').AgoricNamesRemotes} agoricNames
105
+ * @param {import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes} agoricNames
106
106
  * @param {typeof console.warn} warn
107
107
  * returns null if offerStatus is not a BidSpec
108
108
  */
package/src/lib/format.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { makeBoardRemote } from '@agoric/vats/tools/board-utils.js';
4
4
 
5
- /** @typedef {import('@agoric/vats/tools/board-utils.js').BoardRemote} BoardRemote */
5
+ /** @import {BoardRemote} from '@agoric/vats/tools/board-utils.js' */
6
6
 
7
7
  /**
8
8
  * Like @endo/nat but coerces
@@ -117,7 +117,7 @@ export const fmtRecordOfLines = record => {
117
117
  * Summarize the offerStatuses of the state as user-facing informative tuples
118
118
  *
119
119
  * @param {import('@agoric/smart-wallet/src/utils.js').CoalescedWalletState} state
120
- * @param {import('./wallet.js').AgoricNamesRemotes} agoricNames
120
+ * @param {import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes} agoricNames
121
121
  */
122
122
  export const offerStatusTuples = (state, agoricNames) => {
123
123
  const { offerStatuses } = state;
@@ -174,7 +174,7 @@ export const offerStatusTuples = (state, agoricNames) => {
174
174
  /**
175
175
  * @param {import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord} current
176
176
  * @param {ReturnType<import('@agoric/smart-wallet/src/utils.js').makeWalletStateCoalescer>['state']} coalesced
177
- * @param {import('./wallet.js').AgoricNamesRemotes} agoricNames
177
+ * @param {import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes} agoricNames
178
178
  */
179
179
  export const summarize = (current, coalesced, agoricNames) => {
180
180
  return {
package/src/lib/wallet.js CHANGED
@@ -6,8 +6,8 @@ import { makeWalletStateCoalescer } from '@agoric/smart-wallet/src/utils.js';
6
6
  import { execSwingsetTransaction, pollBlocks, pollTx } from './chain.js';
7
7
  import { boardSlottingMarshaller, makeRpcUtils } from './rpc.js';
8
8
 
9
- /** @typedef {import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord} CurrentWalletRecord */
10
- /** @typedef {import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes} AgoricNamesRemotes */
9
+ /** @import {CurrentWalletRecord} from '@agoric/smart-wallet/src/smartWallet.js' */
10
+ /** @import {AgoricNamesRemotes} from '@agoric/vats/tools/board-utils.js' */
11
11
 
12
12
  const { Fail } = assert;
13
13
  const marshaller = boardSlottingMarshaller();