@agoric/zoe 0.26.3-dev-d56e0f7.0 → 0.26.3-dev-1eed398.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-d56e0f7.0+d56e0f7",
3
+ "version": "0.26.3-dev-1eed398.0+1eed398",
4
4
  "description": "Zoe: the Smart Contract Framework for Offer Enforcement",
5
5
  "type": "module",
6
6
  "main": "./src/zoeService/zoe.js",
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
45
45
  "dependencies": {
46
- "@agoric/assert": "0.6.1-dev-d56e0f7.0+d56e0f7",
47
- "@agoric/ertp": "0.16.3-dev-d56e0f7.0+d56e0f7",
48
- "@agoric/internal": "0.3.3-dev-d56e0f7.0+d56e0f7",
49
- "@agoric/notifier": "0.6.3-dev-d56e0f7.0+d56e0f7",
50
- "@agoric/store": "0.9.3-dev-d56e0f7.0+d56e0f7",
51
- "@agoric/swingset-liveslots": "0.10.3-dev-d56e0f7.0+d56e0f7",
52
- "@agoric/swingset-vat": "0.32.3-dev-d56e0f7.0+d56e0f7",
53
- "@agoric/time": "0.3.3-dev-d56e0f7.0+d56e0f7",
54
- "@agoric/vat-data": "0.5.3-dev-d56e0f7.0+d56e0f7",
46
+ "@agoric/assert": "0.6.1-dev-1eed398.0+1eed398",
47
+ "@agoric/ertp": "0.16.3-dev-1eed398.0+1eed398",
48
+ "@agoric/internal": "0.3.3-dev-1eed398.0+1eed398",
49
+ "@agoric/notifier": "0.6.3-dev-1eed398.0+1eed398",
50
+ "@agoric/store": "0.9.3-dev-1eed398.0+1eed398",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-1eed398.0+1eed398",
52
+ "@agoric/swingset-vat": "0.32.3-dev-1eed398.0+1eed398",
53
+ "@agoric/time": "0.3.3-dev-1eed398.0+1eed398",
54
+ "@agoric/vat-data": "0.5.3-dev-1eed398.0+1eed398",
55
55
  "@endo/bundle-source": "^2.5.2",
56
56
  "@endo/captp": "^3.1.2",
57
57
  "@endo/eventual-send": "^0.17.3",
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "d56e0f784529d6f056654caf3af073c6ad0048b1"
136
+ "gitHead": "1eed3986cd191d3aa36302a3d1037263d3ea7857"
137
137
  }
@@ -30,6 +30,7 @@ export namespace FullProposalShape {
30
30
  }
31
31
  /** @see {Proposal} type */
32
32
  export const ProposalShape: import("@endo/patterns").Matcher;
33
+ export const EmptyProposalShape: import("@endo/patterns").Matcher;
33
34
  export function isOnDemandExitRule(exit: any): boolean;
34
35
  export function isWaivedExitRule(exit: ExitRule): exit is WaivedExitRule;
35
36
  export function isAfterDeadlineExitRule(exit: ExitRule): exit is AfterDeadlineExitRule;
@@ -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;AAE/D,uDAGN;AAMM,uCAHI,QAAQ,0BAMlB;AAMM,8CAHI,QAAQ,iCAMlB;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH;;;;GASG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;GAiCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;4BAvXI,cAAc"}
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,0BAMlB;AAMM,8CAHI,QAAQ,iCAMlB;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH;;;;GASG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;GAiCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;4BA7XI,cAAc"}
package/src/typeGuards.js CHANGED
@@ -90,6 +90,12 @@ export const FullProposalShape = harden({
90
90
  /** @see {Proposal} type */
91
91
  export const ProposalShape = M.splitRecord({}, FullProposalShape, {});
92
92
 
93
+ export const EmptyProposalShape = M.splitRecord({
94
+ give: {},
95
+ want: {},
96
+ exit: { onDemand: null },
97
+ });
98
+
93
99
  export const isOnDemandExitRule = exit => {
94
100
  const [exitKey] = Object.keys(exit);
95
101
  return exitKey === 'onDemand';