@agoric/zoe 0.26.3-dev-e2e36cc.0 → 0.26.3-dev-db0b9d7.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/zoe",
3
- "version": "0.26.3-dev-e2e36cc.0+e2e36cc",
3
+ "version": "0.26.3-dev-db0b9d7.0+db0b9d7",
4
4
  "description": "Zoe: the Smart Contract Framework for Offer Enforcement",
5
5
  "type": "module",
6
6
  "main": "./src/zoeService/zoe.js",
@@ -43,17 +43,17 @@
43
43
  },
44
44
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
45
45
  "dependencies": {
46
- "@agoric/assert": "0.6.1-dev-e2e36cc.0+e2e36cc",
47
- "@agoric/base-zone": "0.1.1-dev-e2e36cc.0+e2e36cc",
48
- "@agoric/ertp": "0.16.3-dev-e2e36cc.0+e2e36cc",
49
- "@agoric/internal": "0.3.3-dev-e2e36cc.0+e2e36cc",
50
- "@agoric/notifier": "0.6.3-dev-e2e36cc.0+e2e36cc",
51
- "@agoric/store": "0.9.3-dev-e2e36cc.0+e2e36cc",
52
- "@agoric/swingset-liveslots": "0.10.3-dev-e2e36cc.0+e2e36cc",
53
- "@agoric/swingset-vat": "0.32.3-dev-e2e36cc.0+e2e36cc",
54
- "@agoric/time": "0.3.3-dev-e2e36cc.0+e2e36cc",
55
- "@agoric/vat-data": "0.5.3-dev-e2e36cc.0+e2e36cc",
56
- "@agoric/zone": "0.2.3-dev-e2e36cc.0+e2e36cc",
46
+ "@agoric/assert": "0.6.1-dev-db0b9d7.0+db0b9d7",
47
+ "@agoric/base-zone": "0.1.1-dev-db0b9d7.0+db0b9d7",
48
+ "@agoric/ertp": "0.16.3-dev-db0b9d7.0+db0b9d7",
49
+ "@agoric/internal": "0.3.3-dev-db0b9d7.0+db0b9d7",
50
+ "@agoric/notifier": "0.6.3-dev-db0b9d7.0+db0b9d7",
51
+ "@agoric/store": "0.9.3-dev-db0b9d7.0+db0b9d7",
52
+ "@agoric/swingset-liveslots": "0.10.3-dev-db0b9d7.0+db0b9d7",
53
+ "@agoric/swingset-vat": "0.32.3-dev-db0b9d7.0+db0b9d7",
54
+ "@agoric/time": "0.3.3-dev-db0b9d7.0+db0b9d7",
55
+ "@agoric/vat-data": "0.5.3-dev-db0b9d7.0+db0b9d7",
56
+ "@agoric/zone": "0.2.3-dev-db0b9d7.0+db0b9d7",
57
57
  "@endo/bundle-source": "^3.2.2",
58
58
  "@endo/captp": "^4.1.1",
59
59
  "@endo/common": "^1.2.1",
@@ -68,7 +68,7 @@
68
68
  "yargs-parser": "^21.1.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@agoric/kmarshal": "0.1.1-dev-e2e36cc.0+e2e36cc",
71
+ "@agoric/kmarshal": "0.1.1-dev-db0b9d7.0+db0b9d7",
72
72
  "@endo/init": "^1.1.1",
73
73
  "ava": "^5.3.0",
74
74
  "c8": "^9.1.0",
@@ -141,5 +141,5 @@
141
141
  "typeCoverage": {
142
142
  "atLeast": 84.9
143
143
  },
144
- "gitHead": "e2e36cc1e1c015fc517a179019184fdc81f3e809"
144
+ "gitHead": "db0b9d70315699b173561f9b422d81f4068576de"
145
145
  }
@@ -17,7 +17,7 @@ export const PriceAuthorityI: import("@endo/patterns").InterfaceGuard<{
17
17
  export function makeOnewayPriceAuthorityKit(opts: {
18
18
  quoteIssuer: Issuer<'set'>;
19
19
  notifier: ERef<Notifier<unknown>>;
20
- timer: ERef<import("@agoric/time").TimerService>;
20
+ timer: ERef<TimerService>;
21
21
  createQuote: PriceQuoteCreate;
22
22
  actualBrandIn: Brand<'nat'>;
23
23
  actualBrandOut: Brand<'nat'>;
@@ -1,4 +1,4 @@
1
- export function mintQuote(quoteBrand: Brand<'set'>, amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timer: ERef<import("@agoric/time").TimerService>, timestamp: import('@agoric/time').Timestamp, quoteMint: ERef<globalThis.Mint<"set">>): Promise<PriceQuote>;
1
+ export function mintQuote(quoteBrand: Brand<'set'>, amountIn: Amount<'nat'>, amountOut: Amount<'nat'>, timer: ERef<TimerService>, timestamp: import('@agoric/time').Timestamp, quoteMint: ERef<globalThis.Mint<"set">>): Promise<PriceQuote>;
2
2
  export function makePriceAuthorityTransform({ quoteMint, sourcePriceAuthority, sourceBrandIn, sourceBrandOut, actualBrandIn, actualBrandOut, makeSourceAmountIn, makeSourceAmountOut, transformSourceAmountIn, transformSourceAmountOut, }: {
3
3
  quoteMint: ERef<globalThis.Mint<"set">>;
4
4
  sourcePriceAuthority: ERef<PriceAuthority>;
@@ -1 +1 @@
1
- {"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,MAAM,KAAK,CAAC,YACZ,OAAO,KAAK,CAAC,aACb,OAAO,KAAK,CAAC,+DAEb,OAAO,cAAc,EAAE,SAAS,4CAE9B,QAAQ,UAAU,CAAC,CAmB/B;AAeM;;;mBATI,MAAM,KAAK,CAAC;oBACZ,MAAM,KAAK,CAAC;;;qCAGD,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;uCAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;gDAC1B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;kDAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;4BA4N3D"}
1
+ {"version":3,"file":"priceAuthorityTransform.d.ts","sourceRoot":"","sources":["priceAuthorityTransform.js"],"names":[],"mappings":"AAiBO,sCARI,MAAM,KAAK,CAAC,YACZ,OAAO,KAAK,CAAC,aACb,OAAO,KAAK,CAAC,wCAEb,OAAO,cAAc,EAAE,SAAS,4CAE9B,QAAQ,UAAU,CAAC,CAmB/B;AAeM;;;mBATI,MAAM,KAAK,CAAC;oBACZ,MAAM,KAAK,CAAC;;;qCAGD,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;uCAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;gDAC1B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;kDAC9B,OAAO,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC;4BA4N3D"}
@@ -34,7 +34,7 @@ export function start(zcf: ZCF<{
34
34
  winnerPriceOption: string;
35
35
  closesAfter: any;
36
36
  bidDuration: bigint;
37
- timeAuthority: import("@agoric/time").TimerService;
37
+ timeAuthority: TimerService;
38
38
  bids: string | any[];
39
39
  };
40
40
  } & import("@endo/eventual-send").RemotableBrand<{}, {
@@ -45,7 +45,7 @@ export function start(zcf: ZCF<{
45
45
  winnerPriceOption: string;
46
46
  closesAfter: any;
47
47
  bidDuration: bigint;
48
- timeAuthority: import("@agoric/time").TimerService;
48
+ timeAuthority: TimerService;
49
49
  bids: string | any[];
50
50
  };
51
51
  }>, undefined>>;
@@ -57,7 +57,7 @@ export function start(zcf: ZCF<{
57
57
  winnerPriceOption: string;
58
58
  closesAfter: any;
59
59
  bidDuration: bigint;
60
- timeAuthority: import("@agoric/time").TimerService;
60
+ timeAuthority: TimerService;
61
61
  bids: string | any[];
62
62
  };
63
63
  } & import("@endo/eventual-send").RemotableBrand<{}, {
@@ -68,7 +68,7 @@ export function start(zcf: ZCF<{
68
68
  winnerPriceOption: string;
69
69
  closesAfter: any;
70
70
  bidDuration: bigint;
71
- timeAuthority: import("@agoric/time").TimerService;
71
+ timeAuthority: TimerService;
72
72
  bids: string | any[];
73
73
  };
74
74
  }>;
@@ -22,7 +22,7 @@ export type FakePriceAuthorityOptions = {
22
22
  actualBrandOut: Brand<'nat'>;
23
23
  priceList?: number[] | undefined;
24
24
  tradeList?: [number, number][] | undefined;
25
- timer: ERef<import("@agoric/time").TimerService>;
25
+ timer: ERef<TimerService>;
26
26
  quoteInterval?: import("@agoric/time").RelativeTime | undefined;
27
27
  quoteMint?: ERef<globalThis.Mint<"set">> | undefined;
28
28
  unitAmountIn?: globalThis.Amount<"nat"> | undefined;
@@ -8,5 +8,6 @@ type ManualTimerAdmin = {
8
8
  tick: (msg?: string) => void | Promise<void>;
9
9
  tickN: (nTimes: number, msg?: string) => Promise<void>;
10
10
  };
11
- type ManualTimer = import('@agoric/time').TimerService & ManualTimerAdmin;
11
+ type ManualTimer = TimerService & ManualTimerAdmin;
12
+ import type { TimerService } from '@agoric/time';
12
13
  //# sourceMappingURL=internal-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;;;;;UAIc,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,QAAQ,IAAI,CAAC;WAItC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,QAAQ,IAAI,CAAC;;mBAIhD,OAAO,cAAc,EAAE,YAAY,GAAG,gBAAgB"}
1
+ {"version":3,"file":"internal-types.d.ts","sourceRoot":"","sources":["internal-types.js"],"names":[],"mappings":";;;;;;;UAMc,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,QAAQ,IAAI,CAAC;WAItC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,QAAQ,IAAI,CAAC;;;kCAR7B,cAAc"}
@@ -1,5 +1,7 @@
1
1
  // @jessie-check
2
2
 
3
+ /** @import {TimerService} from '@agoric/time' */
4
+
3
5
  /**
4
6
  * @typedef {object} ManualTimerAdmin
5
7
  * @property {(msg?: string) => void | Promise<void>} tick Advance the timer by one tick.
@@ -10,5 +12,5 @@
10
12
  */
11
13
 
12
14
  /**
13
- * @typedef {import('@agoric/time').TimerService & ManualTimerAdmin} ManualTimer
15
+ * @typedef {TimerService & ManualTimerAdmin} ManualTimer
14
16
  */
@@ -64,7 +64,7 @@ type PriceAuthority = {
64
64
  /**
65
65
  * Get the timer used in PriceQuotes for a given brandIn/brandOut pair
66
66
  */
67
- getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<import("@agoric/time").TimerService>;
67
+ getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<TimerService>;
68
68
  /**
69
69
  * Be notified of the latest PriceQuotes for a given
70
70
  * `amountIn`. The rate at which these are issued may be very different between
package/tools/types.d.ts CHANGED
@@ -64,7 +64,7 @@ export type PriceAuthority = {
64
64
  /**
65
65
  * Get the timer used in PriceQuotes for a given brandIn/brandOut pair
66
66
  */
67
- getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<import("@agoric/time").TimerService>;
67
+ getTimerService: (brandIn: Brand, brandOut: Brand) => ERef<TimerService>;
68
68
  /**
69
69
  * Be notified of the latest PriceQuotes for a given
70
70
  * `amountIn`. The rate at which these are issued may be very different between