@agoric/zoe 0.26.3-dev-5d18974.0 → 0.26.3-dev-17608dc.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-5d18974.0+5d18974",
3
+ "version": "0.26.3-dev-17608dc.0+17608dc",
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/base-zone": "0.1.1-dev-5d18974.0+5d18974",
47
- "@agoric/ertp": "0.16.3-dev-5d18974.0+5d18974",
48
- "@agoric/internal": "0.3.3-dev-5d18974.0+5d18974",
49
- "@agoric/notifier": "0.6.3-dev-5d18974.0+5d18974",
50
- "@agoric/store": "0.9.3-dev-5d18974.0+5d18974",
51
- "@agoric/swingset-liveslots": "0.10.3-dev-5d18974.0+5d18974",
52
- "@agoric/swingset-vat": "0.32.3-dev-5d18974.0+5d18974",
53
- "@agoric/time": "0.3.3-dev-5d18974.0+5d18974",
54
- "@agoric/vat-data": "0.5.3-dev-5d18974.0+5d18974",
55
- "@agoric/vow": "0.1.1-dev-5d18974.0+5d18974",
56
- "@agoric/zone": "0.2.3-dev-5d18974.0+5d18974",
46
+ "@agoric/base-zone": "0.1.1-dev-17608dc.0+17608dc",
47
+ "@agoric/ertp": "0.16.3-dev-17608dc.0+17608dc",
48
+ "@agoric/internal": "0.3.3-dev-17608dc.0+17608dc",
49
+ "@agoric/notifier": "0.6.3-dev-17608dc.0+17608dc",
50
+ "@agoric/store": "0.9.3-dev-17608dc.0+17608dc",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-17608dc.0+17608dc",
52
+ "@agoric/swingset-vat": "0.32.3-dev-17608dc.0+17608dc",
53
+ "@agoric/time": "0.3.3-dev-17608dc.0+17608dc",
54
+ "@agoric/vat-data": "0.5.3-dev-17608dc.0+17608dc",
55
+ "@agoric/vow": "0.1.1-dev-17608dc.0+17608dc",
56
+ "@agoric/zone": "0.2.3-dev-17608dc.0+17608dc",
57
57
  "@endo/bundle-source": "^3.2.3",
58
58
  "@endo/captp": "^4.2.0",
59
59
  "@endo/common": "^1.2.2",
@@ -70,7 +70,7 @@
70
70
  "yargs-parser": "^21.1.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@agoric/kmarshal": "0.1.1-dev-5d18974.0+5d18974",
73
+ "@agoric/kmarshal": "0.1.1-dev-17608dc.0+17608dc",
74
74
  "@endo/init": "^1.1.2",
75
75
  "ava": "^5.3.0",
76
76
  "c8": "^9.1.0",
@@ -141,7 +141,7 @@
141
141
  "access": "public"
142
142
  },
143
143
  "typeCoverage": {
144
- "atLeast": 84.92
144
+ "atLeast": 85
145
145
  },
146
- "gitHead": "5d18974dc0f204abf085a9ef1f95c8b7e890335f"
146
+ "gitHead": "17608dca6002fac10b4c07de4684fb18a8ef5be5"
147
147
  }
@@ -1,4 +1,4 @@
1
- export function prepareRecorder(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller>): (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<unknown> | undefined) => import("@endo/exo").Guarded<{
1
+ export function prepareRecorder(baggage: import("@agoric/vat-data").Baggage, marshaller: ERef<Marshaller>): (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<any> | undefined) => import("@endo/exo").Guarded<{
2
2
  getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
3
3
  /**
4
4
  * Memoizes the remote call to the storage node
@@ -44,7 +44,7 @@ export function prepareRecorderKitMakers(baggage: import("@agoric/vat-data").Bag
44
44
  getUpdateSince(updateCount: any): any;
45
45
  };
46
46
  }>;
47
- makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<unknown> | undefined) => import("@endo/exo").Guarded<{
47
+ makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<any> | undefined) => import("@endo/exo").Guarded<{
48
48
  getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
49
49
  /**
50
50
  * Memoizes the remote call to the storage node
@@ -87,7 +87,7 @@ export function prepareMockRecorderKitMakers(): {
87
87
  getUpdateSince(updateCount: any): any;
88
88
  };
89
89
  }>;
90
- makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<unknown> | undefined) => import("@endo/exo").Guarded<{
90
+ makeRecorder: (publisher: globalThis.Publisher<unknown>, storageNode: import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>, valueShape?: TypedPattern<any> | undefined) => import("@endo/exo").Guarded<{
91
91
  getStorageNode(): import("@endo/eventual-send").DataOnly<globalThis.StorageNode> & import("@endo/eventual-send").RemotableBrand<import("@endo/eventual-send").DataOnly<globalThis.StorageNode>, globalThis.StorageNode>;
92
92
  /**
93
93
  * Memoizes the remote call to the storage node
@@ -128,13 +128,6 @@ export type EventualRecorderKit<T> = Pick<PublishKit<T>, "subscriber"> & {
128
128
  export type MakeRecorder = ReturnType<typeof prepareRecorder>;
129
129
  export type MakeRecorderKit = ReturnType<typeof defineRecorderKit>;
130
130
  export type MakeERecorderKit = ReturnType<typeof defineERecorderKit>;
131
- /**
132
- * Stop-gap until https://github.com/Agoric/agoric-sdk/issues/6160
133
- * explictly specify the type that the Pattern will verify through a match.
134
- */
135
- export type TypedPattern<T> = import("@endo/patterns").Pattern & {
136
- validatedType?: T;
137
- };
138
- export type MatchedType<TM extends TypedPattern<any>> = TM extends TypedPattern<infer T> ? T : never;
131
+ import type { TypedPattern } from '@agoric/internal';
139
132
  import { prepareDurablePublishKit } from '@agoric/notifier';
140
133
  //# sourceMappingURL=recorder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recorder.d.ts","sourceRoot":"","sources":["recorder.js"],"names":[],"mappings":"AA4CO,yCAHI,OAAO,kBAAkB,EAAE,OAAO,cAClC,IAAI,CAAC,UAAU,CAAC,4TA2IpB,WAAW;;IAxGZ;;;;OAIG;sBADU,OAAO,CAAC,MAAM,CAAC;IAa5B;;;;;OAKG;iBAFQ,GAAG,GACD,OAAO,CAAC,IAAI,CAAC;IAa1B;;;;;OAKG;sBAFQ,GAAG,GACD,OAAO,CAAC,IAAI,CAAC;GAkB/B;AAWM,2EAFI;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,qBAAqB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;CAAC,IAI5F,CAAC,eACH,WAAW,GAAG,OAAO,CAAC,OAAO,WA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BAAiB,CAAC;+BA+BpC,UAAU,CAAC,OAAO,kBAAkB,CAAC;kCA1LpB,kBAAkB;yCAVR,kBAAkB"}
@@ -9,6 +9,10 @@ import { mustMatch } from '@agoric/store';
9
9
  import { M, makeScalarBigMapStore, prepareExoClass } from '@agoric/vat-data';
10
10
  import { E } from '@endo/eventual-send';
11
11
 
12
+ /**
13
+ * @import {TypedPattern} from '@agoric/internal';
14
+ */
15
+
12
16
  /**
13
17
  * Recorders support publishing data to vstorage.
14
18
  *
@@ -56,7 +60,7 @@ export const prepareRecorder = (baggage, marshaller) => {
56
60
  * @template T
57
61
  * @param {PublishKit<T>['publisher']} publisher
58
62
  * @param {Awaited<import('@endo/far').FarRef<StorageNode>>} storageNode
59
- * @param {TypedPattern<T>} [valueShape]
63
+ * @param {TypedPattern<any>} [valueShape]
60
64
  */
61
65
  (
62
66
  publisher,
@@ -258,16 +262,3 @@ export const prepareMockRecorderKitMakers = () => {
258
262
  storageNode: makeFakeStorage('mock recorder storage'),
259
263
  };
260
264
  };
261
-
262
- /**
263
- * Stop-gap until https://github.com/Agoric/agoric-sdk/issues/6160
264
- * explictly specify the type that the Pattern will verify through a match.
265
- *
266
- * @template T
267
- * @typedef {import('@endo/patterns').Pattern & { validatedType?: T }} TypedPattern
268
- */
269
-
270
- /**
271
- * @template {TypedPattern<any>} TM
272
- * @typedef {TM extends TypedPattern<infer T> ? T : never} MatchedType
273
- */
@@ -1,8 +1,14 @@
1
+ /**
2
+ * @import {TypedPattern} from '@agoric/internal';
3
+ */
1
4
  export const KeywordShape: import("@endo/patterns").Matcher;
2
- export const InvitationHandleShape: import("@endo/patterns").Matcher;
3
- export const InvitationShape: import("@endo/patterns").Matcher;
5
+ /** @type {TypedPattern<InvitationHandle>} */
6
+ export const InvitationHandleShape: TypedPattern<InvitationHandle>;
7
+ /** @type {TypedPattern<Invitation>} */
8
+ export const InvitationShape: TypedPattern<Invitation>;
4
9
  export const InstanceHandleShape: import("@endo/patterns").Matcher;
5
- export const InstallationShape: import("@endo/patterns").Matcher;
10
+ /** @type {TypedPattern<Installation>} */
11
+ export const InstallationShape: TypedPattern<Installation>;
6
12
  export const SeatShape: import("@endo/patterns").Matcher;
7
13
  export const AmountKeywordRecordShape: import("@endo/patterns").Matcher;
8
14
  export const AmountPatternKeywordRecordShape: import("@endo/patterns").Matcher;
@@ -160,5 +166,6 @@ export namespace PriceQuoteShape {
160
166
  export { AmountShape as quoteAmount };
161
167
  export let quotePayment: globalThis.Pattern;
162
168
  }
169
+ import type { TypedPattern } from '@agoric/internal';
163
170
  import { AmountShape } from '@agoric/ertp';
164
171
  //# sourceMappingURL=typeGuards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAgBA,4DAAuC;AAEvC,qEAAqE;AACrE,+DAAyD;AACzD,mEAAiE;AACjE,iEAA6D;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,iEAOE;;;;;;;;;;AAaF,kEAAiD;AAE1C,6EAA4D;AACnE,0DAAmD;;;;;;AA0BnD,2BAA2B;AAC3B,6DAAsE;AAEtE,kEAIG;AAEI,uDAGN;AAMM,uCAHI,QAAQ,GACN,IAAI,IAAI,cAAc,CAKlC;AAMM,8CAHI,QAAQ,GACN,IAAI,IAAI,qBAAqB,CAKzC;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;;GAkCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;4BArXI,cAAc"}
1
+ {"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAeA;;GAEG;AAGH,4DAAuC;AAEvC,6CAA6C;AAC7C,oCADW,aAAa,gBAAgB,CAAC,CAC4B;AACrE,uCAAuC;AACvC,8BADW,aAAa,UAAU,CAAC,CACsB;AACzD,mEAAiE;AACjE,yCAAyC;AACzC,gCADW,aAAa,YAAY,CAAC,CACwB;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,iEAOE;;;;;;;;;;AAaF,kEAAiD;AAE1C,6EAA4D;AACnE,0DAAmD;;;;;;AA0BnD,2BAA2B;AAC3B,6DAAsE;AAEtE,kEAIG;AAEI,uDAGN;AAMM,uCAHI,QAAQ,GACN,IAAI,IAAI,cAAc,CAKlC;AAMM,8CAHI,QAAQ,GACN,IAAI,IAAI,qBAAqB,CAKzC;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;;GAkCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;kCAtX4B,kBAAkB;4BAN1C,cAAc"}
package/src/typeGuards.js CHANGED
@@ -13,12 +13,19 @@ import { SubscriberShape } from '@agoric/notifier';
13
13
  import { M } from '@agoric/store';
14
14
  import { TimestampShape } from '@agoric/time';
15
15
 
16
+ /**
17
+ * @import {TypedPattern} from '@agoric/internal';
18
+ */
19
+
16
20
  // keywords have an initial cap
17
21
  export const KeywordShape = M.string();
18
22
 
23
+ /** @type {TypedPattern<InvitationHandle>} */
19
24
  export const InvitationHandleShape = M.remotable('InvitationHandle');
25
+ /** @type {TypedPattern<Invitation>} */
20
26
  export const InvitationShape = M.remotable('Invitation');
21
27
  export const InstanceHandleShape = M.remotable('InstanceHandle');
28
+ /** @type {TypedPattern<Installation>} */
22
29
  export const InstallationShape = M.remotable('Installation');
23
30
  export const SeatShape = M.remotable('Seat');
24
31