@agoric/notifier 0.6.3-dev-2b7c650.0 → 0.6.3-mainnet1B-dev-2d6b13f.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/CHANGELOG.md ADDED
@@ -0,0 +1,586 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ### [0.6.3-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.3-u11.0...@agoric/notifier@0.6.3-u11wf.0) (2023-09-23)
7
+
8
+ **Note:** Version bump only for package @agoric/notifier
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.6.3-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.2...@agoric/notifier@0.6.3-u11.0) (2023-08-24)
15
+
16
+ **Note:** Version bump only for package @agoric/notifier
17
+
18
+
19
+
20
+
21
+
22
+ ### [0.6.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.1...@agoric/notifier@0.6.2) (2023-06-02)
23
+
24
+ **Note:** Version bump only for package @agoric/notifier
25
+
26
+
27
+
28
+
29
+
30
+ ### [0.6.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.0...@agoric/notifier@0.6.1) (2023-05-24)
31
+
32
+ **Note:** Version bump only for package @agoric/notifier
33
+
34
+
35
+
36
+
37
+
38
+ ## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.5.1...@agoric/notifier@0.6.0) (2023-05-19)
39
+
40
+
41
+ ### ⚠ BREAKING CHANGES
42
+
43
+ * emit smallcaps-format data in all marshallers
44
+ * **notifier:** Stop retaining durable publish kit values in RAM
45
+ * move PublicTopic to Zoe contractSupport
46
+ * remove deprecated pipeTopicToStorage
47
+ * rm obsolete makeStorageNodePathProvider
48
+ * **notifier:** tidy up the implementation
49
+
50
+ ### Features
51
+
52
+ * **notifier:** implement `AsyncIterableIterator` for better generator support ([0764b9e](https://github.com/Agoric/agoric-sdk/commit/0764b9e48cdd0e6677bb8a35ac978c7873ea3e18))
53
+ * **notifier:** introduce IterableEachTopic and IterableLatestTopic ([9e3096d](https://github.com/Agoric/agoric-sdk/commit/9e3096da86bd8373a86fd21655ce0e71826be900))
54
+ * Add incarnation number to the transcript store records ([5d64be7](https://github.com/Agoric/agoric-sdk/commit/5d64be7aa1fd222822b145240f541f5eabb01c43)), closes [#7482](https://github.com/Agoric/agoric-sdk/issues/7482)
55
+ * emit smallcaps-format data in all marshallers ([1753df8](https://github.com/Agoric/agoric-sdk/commit/1753df83465785b5ee71b250770c9b012d750ffc)), closes [#6822](https://github.com/Agoric/agoric-sdk/issues/6822)
56
+ * **casting:** handle noData value encoding ([530bc41](https://github.com/Agoric/agoric-sdk/commit/530bc41854cc7f5e5749e97e87fabc6163a17864))
57
+ * **contractSupport:** PublicTopics types and utils ([2c7865f](https://github.com/Agoric/agoric-sdk/commit/2c7865fa4e43c96c9a85be743a7f808a66b9311e))
58
+ * **notifier:** create `src/subscribe.js` ([8029c97](https://github.com/Agoric/agoric-sdk/commit/8029c97d58c093ccb7e3f58c8936828996231e66))
59
+ * **notifier:** Introduce durable publish kits ([#6502](https://github.com/Agoric/agoric-sdk/issues/6502)) ([8f7b353](https://github.com/Agoric/agoric-sdk/commit/8f7b3530ca50dc1945f024690a63914fe8431502))
60
+ * **notifier:** Opportunistic eachIterator recovery from upgrade disconnection ([229d7b2](https://github.com/Agoric/agoric-sdk/commit/229d7b260b63277c77b7d2199b6bc956ab5edc80))
61
+ * **notifier:** subscribeLatest iterators retry when broken by vat upgrade ([e96a0ee](https://github.com/Agoric/agoric-sdk/commit/e96a0eeeeac500e0843cc29a17d58975817c7c8b)), closes [#5185](https://github.com/Agoric/agoric-sdk/issues/5185)
62
+ * **notifier:** tidy up the implementation ([89af682](https://github.com/Agoric/agoric-sdk/commit/89af6827e88966c836bf28f5900edf189aab9926))
63
+ * getPath() on StorageNode and StoredSubscriber ([dae47a5](https://github.com/Agoric/agoric-sdk/commit/dae47a553288335960b5e4f2741a09b87ae896bc))
64
+ * makeStoredNotifier ([cb1dde8](https://github.com/Agoric/agoric-sdk/commit/cb1dde882cd7630940033d0ff933fc03303dac7d))
65
+ * support TopicsRecord ([8618461](https://github.com/Agoric/agoric-sdk/commit/8618461781fe11f28e6b891a4d31ebfd9dda5e0d))
66
+ * **topics:** makePublicTopic ([c8b464c](https://github.com/Agoric/agoric-sdk/commit/c8b464c26c53535097e4df573e126c81e00e5aa6))
67
+ * pipeTopicToStorage ([69ca308](https://github.com/Agoric/agoric-sdk/commit/69ca308fdbc63a5ec956e3a0cde72f6b80ad4be8))
68
+ * StorageNodeShape ([e585fa0](https://github.com/Agoric/agoric-sdk/commit/e585fa0c73f29ea0d57b6a8ec43cd4fe78575663))
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * use `subscribeEach` to get reconnect benefits ([fb24132](https://github.com/Agoric/agoric-sdk/commit/fb24132f9b4e117e56bae2803994e57c188344f3))
74
+ * **ERTP:** `getCurrentAmountNotifier` returns a `LatestTopic` ([735d005](https://github.com/Agoric/agoric-sdk/commit/735d005ec4f4087a4055d48ff1dd1801c9a3d836))
75
+ * **notifier:** Stop retaining durable publish kit values in RAM ([2a41c93](https://github.com/Agoric/agoric-sdk/commit/2a41c93378ae14a348f43eaad46336cda1cb3627)), closes [#7298](https://github.com/Agoric/agoric-sdk/issues/7298)
76
+ * some stateShapes ([50c9fe4](https://github.com/Agoric/agoric-sdk/commit/50c9fe49d0fe890a08c0c28a00780f4924f7928c))
77
+ * **notifier:** Add a makeDurablePublishKit "onAdvance" option ([4c62b52](https://github.com/Agoric/agoric-sdk/commit/4c62b52b94cbc9ccb3c7388f5e94589809e6d7fd)), closes [#7303](https://github.com/Agoric/agoric-sdk/issues/7303)
78
+ * **notifier:** For durable `fail()`, persist the reason rather than a rejected promise ([#7011](https://github.com/Agoric/agoric-sdk/issues/7011)) ([0d63b64](https://github.com/Agoric/agoric-sdk/commit/0d63b6468b7dd5fdb64ed4b1b563befae7406874)), closes [#7009](https://github.com/Agoric/agoric-sdk/issues/7009)
79
+ * **notifier:** rely on `@endo/far` ([c103b85](https://github.com/Agoric/agoric-sdk/commit/c103b85a65bdd5ef1666c6762250f63a799e5f38))
80
+ * **notifier:** Remove the makeDurablePublishKit "onAdvance" option ([#7370](https://github.com/Agoric/agoric-sdk/issues/7370)) ([6861f5e](https://github.com/Agoric/agoric-sdk/commit/6861f5e6479dffba9ab8b366f48791f9649b3a59)), closes [#7341](https://github.com/Agoric/agoric-sdk/issues/7341) [#7350](https://github.com/Agoric/agoric-sdk/issues/7350)
81
+ * **SwingSet:** Remove metering notifiers ([#7347](https://github.com/Agoric/agoric-sdk/issues/7347)) ([0c75d7c](https://github.com/Agoric/agoric-sdk/commit/0c75d7cf1a1c54ba67d3d199c0674d0f22fb52ba)), closes [#7324](https://github.com/Agoric/agoric-sdk/issues/7324)
82
+ * makeStoredSubscriber w/durable Subscriber ([eba4492](https://github.com/Agoric/agoric-sdk/commit/eba4492fcffa946000be19b3f8264462eecfe977))
83
+ * rename from FarClass to ExoClass, etc ([#6323](https://github.com/Agoric/agoric-sdk/issues/6323)) ([da96c7c](https://github.com/Agoric/agoric-sdk/commit/da96c7c3c902a5e266baeedf23df02481f2e9c9d))
84
+ * rename vivify to prepare ([#6825](https://github.com/Agoric/agoric-sdk/issues/6825)) ([9261e42](https://github.com/Agoric/agoric-sdk/commit/9261e42e677a3fc31f52defc8fc7ae800f098838))
85
+ * **vats:** use async chainStorage methods ([0507206](https://github.com/Agoric/agoric-sdk/commit/05072067b28b146c5836a456d5824a63776980b0))
86
+ * repair version shear ([59de3ab](https://github.com/Agoric/agoric-sdk/commit/59de3ab131d61a6fe2915adc795f0442a94cb7b6))
87
+
88
+
89
+ ### Miscellaneous Chores
90
+
91
+ * remove deprecated pipeTopicToStorage ([6a6108a](https://github.com/Agoric/agoric-sdk/commit/6a6108aeb00c676fe1db130f1baea9a98c1d8e8b))
92
+ * rm obsolete makeStorageNodePathProvider ([dc0a4a5](https://github.com/Agoric/agoric-sdk/commit/dc0a4a545d89c8bf89bf44e7c888537ddf626522))
93
+
94
+
95
+ ### Code Refactoring
96
+
97
+ * move PublicTopic to Zoe contractSupport ([c51ea3d](https://github.com/Agoric/agoric-sdk/commit/c51ea3de22f50e05fcc1aaabd2108e785d51eb2e))
98
+
99
+
100
+
101
+ ### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.5.0...@agoric/notifier@0.5.1) (2022-10-05)
102
+
103
+ **Note:** Version bump only for package @agoric/notifier
104
+
105
+
106
+
107
+
108
+
109
+ ## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.4.0...@agoric/notifier@0.5.0) (2022-09-20)
110
+
111
+
112
+ ### ⚠ BREAKING CHANGES
113
+
114
+ * **notifier:** no initial state for makePublishKit (#5742)
115
+
116
+ ### Features
117
+
118
+ * **notifier:** `makeStoredSubscription` ([8206291](https://github.com/Agoric/agoric-sdk/commit/82062910b9d8c57f76851e3f6bd5f405a47e04eb))
119
+ * **notifier:** Add makeNotifierFromSubscriber ([#5737](https://github.com/Agoric/agoric-sdk/issues/5737)) ([077718a](https://github.com/Agoric/agoric-sdk/commit/077718a1748616bb8b72a75e1e1b54f5cf590125)), closes [#5413](https://github.com/Agoric/agoric-sdk/issues/5413)
120
+ * **notifier:** allow `makeSubscriptionKit(initialState)` ([affccab](https://github.com/Agoric/agoric-sdk/commit/affccabfb3d4534792f1e9234a50d9f97db2c11c))
121
+ * **notifier:** makeStoredPublisherKit ([b652109](https://github.com/Agoric/agoric-sdk/commit/b6521097d83d6deabfcc600130cd31ed2352d234))
122
+ * **notifier:** makeStoredPublishKit ([6cf9ced](https://github.com/Agoric/agoric-sdk/commit/6cf9cedf9e79d4e3ff09c54d54702604b9567aa9))
123
+ * **notifier:** return self for `getStoreKey` ([385e7bb](https://github.com/Agoric/agoric-sdk/commit/385e7bbbbca5bfdc7ff0a99db6e14f1a70b5891e))
124
+ * **ses-ava:** support full API of Ava ([3b5fd6c](https://github.com/Agoric/agoric-sdk/commit/3b5fd6c103a4a9207eaf2e761b3a096ce78c3d16))
125
+
126
+
127
+ ### Bug Fixes
128
+
129
+ * avoid relying on bound `E` proxy methods ([#5998](https://github.com/Agoric/agoric-sdk/issues/5998)) ([497d157](https://github.com/Agoric/agoric-sdk/commit/497d157d29cc8dda58eca9e07c24b57731647074))
130
+ * **notifier:** Sink the E wrapper for end-of-publication ([7298092](https://github.com/Agoric/agoric-sdk/commit/7298092a2ebff5577c78956eaad77f4518211f63))
131
+ * makePublishKit ([#5435](https://github.com/Agoric/agoric-sdk/issues/5435)) ([d8228d2](https://github.com/Agoric/agoric-sdk/commit/d8228d272cfe18aa2fba713fb5acc4e84eaa1e39))
132
+ * **notifier:** reject iteration if an observer throws ([d76f42b](https://github.com/Agoric/agoric-sdk/commit/d76f42b1deb2a4fc280faef4ce74046b4b7cded0))
133
+
134
+
135
+ ### Code Refactoring
136
+
137
+ * **notifier:** no initial state for makePublishKit ([#5742](https://github.com/Agoric/agoric-sdk/issues/5742)) ([4888cac](https://github.com/Agoric/agoric-sdk/commit/4888cac19268ecae9066743566e25190fc0af772))
138
+
139
+
140
+
141
+ ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.35...@agoric/notifier@0.4.0) (2022-04-18)
142
+
143
+
144
+ ### ⚠ BREAKING CHANGES
145
+
146
+ * consistent Node engine requirement (>=14.15.0)
147
+
148
+ ### Miscellaneous Chores
149
+
150
+ * consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
151
+
152
+
153
+
154
+ ### [0.3.35](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.34...@agoric/notifier@0.3.35) (2022-02-24)
155
+
156
+ **Note:** Version bump only for package @agoric/notifier
157
+
158
+
159
+
160
+
161
+
162
+ ### [0.3.34](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.33...@agoric/notifier@0.3.34) (2022-02-21)
163
+
164
+
165
+ ### Bug Fixes
166
+
167
+ * **notifier:** make the `Updater` a Far object ([20707a1](https://github.com/Agoric/agoric-sdk/commit/20707a137fe8ccb7f685fb4bb79b66094efa902b))
168
+ * **store:** use explicit `import('@endo/marshal')` JSDoc ([4795147](https://github.com/Agoric/agoric-sdk/commit/47951473d4679c7e95104f5ae32fe63c8547598e))
169
+ * Enhance TypeScript node_modules traversal depth ([000f738](https://github.com/Agoric/agoric-sdk/commit/000f73850d46dc7272b2399c06ad774dd3b8fe6e))
170
+
171
+
172
+
173
+ ### [0.3.33](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.32...@agoric/notifier@0.3.33) (2021-12-22)
174
+
175
+ **Note:** Version bump only for package @agoric/notifier
176
+
177
+
178
+
179
+
180
+
181
+ ### [0.3.32](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.31...@agoric/notifier@0.3.32) (2021-12-02)
182
+
183
+
184
+ ### Features
185
+
186
+ * **notifier:** `makeNotifierFromAsyncIterable` works with ERefs ([0d330a3](https://github.com/Agoric/agoric-sdk/commit/0d330a30b6c65e456e794b480d9605ee178a9bce))
187
+ * **notifier:** convey internal type parameters ([a4626f3](https://github.com/Agoric/agoric-sdk/commit/a4626f354ead6a9cddad5f8c49a8f18a3b693ee9))
188
+
189
+
190
+
191
+ ### [0.3.31](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.30...@agoric/notifier@0.3.31) (2021-10-13)
192
+
193
+
194
+ ### Bug Fixes
195
+
196
+ * adapt timers to async iterables ([#3949](https://github.com/Agoric/agoric-sdk/issues/3949)) ([9739127](https://github.com/Agoric/agoric-sdk/commit/9739127262e9fac48757094a4d2d9f3f35f4bfc5))
197
+
198
+
199
+
200
+ ### [0.3.30](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.29...@agoric/notifier@0.3.30) (2021-09-23)
201
+
202
+ **Note:** Version bump only for package @agoric/notifier
203
+
204
+
205
+
206
+
207
+
208
+ ### [0.3.29](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.28...@agoric/notifier@0.3.29) (2021-09-15)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * more missing Fars. kill "this" ([#3746](https://github.com/Agoric/agoric-sdk/issues/3746)) ([7bd027a](https://github.com/Agoric/agoric-sdk/commit/7bd027a879f98a9a3f30429ee1b54e6057efec42))
214
+
215
+
216
+
217
+ ### [0.3.28](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.27...@agoric/notifier@0.3.28) (2021-08-18)
218
+
219
+ **Note:** Version bump only for package @agoric/notifier
220
+
221
+
222
+
223
+
224
+
225
+ ### [0.3.27](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.26...@agoric/notifier@0.3.27) (2021-08-17)
226
+
227
+ **Note:** Version bump only for package @agoric/notifier
228
+
229
+
230
+
231
+
232
+
233
+ ### [0.3.26](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.25...@agoric/notifier@0.3.26) (2021-08-16)
234
+
235
+ **Note:** Version bump only for package @agoric/notifier
236
+
237
+
238
+
239
+
240
+
241
+ ### [0.3.25](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.25) (2021-08-15)
242
+
243
+ ### 0.26.10 (2021-07-28)
244
+
245
+ **Note:** Version bump only for package @agoric/notifier
246
+
247
+
248
+
249
+
250
+
251
+ ### [0.3.24](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.24) (2021-08-14)
252
+
253
+ ### 0.26.10 (2021-07-28)
254
+
255
+ **Note:** Version bump only for package @agoric/notifier
256
+
257
+
258
+
259
+
260
+
261
+ ### [0.3.23](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.23) (2021-07-28)
262
+
263
+ **Note:** Version bump only for package @agoric/notifier
264
+
265
+
266
+
267
+
268
+
269
+ ### [0.3.22](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.21...@agoric/notifier@0.3.22) (2021-07-01)
270
+
271
+ **Note:** Version bump only for package @agoric/notifier
272
+
273
+
274
+
275
+
276
+
277
+ ### [0.3.21](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.20...@agoric/notifier@0.3.21) (2021-06-28)
278
+
279
+ **Note:** Version bump only for package @agoric/notifier
280
+
281
+
282
+
283
+
284
+
285
+ ### [0.3.20](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.19...@agoric/notifier@0.3.20) (2021-06-25)
286
+
287
+ **Note:** Version bump only for package @agoric/notifier
288
+
289
+
290
+
291
+
292
+
293
+ ### [0.3.19](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.18...@agoric/notifier@0.3.19) (2021-06-24)
294
+
295
+ **Note:** Version bump only for package @agoric/notifier
296
+
297
+
298
+
299
+
300
+
301
+ ### [0.3.18](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.17...@agoric/notifier@0.3.18) (2021-06-24)
302
+
303
+ **Note:** Version bump only for package @agoric/notifier
304
+
305
+
306
+
307
+
308
+
309
+ ### [0.3.17](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.16...@agoric/notifier@0.3.17) (2021-06-23)
310
+
311
+ **Note:** Version bump only for package @agoric/notifier
312
+
313
+
314
+
315
+
316
+
317
+ ### [0.3.16](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.15...@agoric/notifier@0.3.16) (2021-06-16)
318
+
319
+ **Note:** Version bump only for package @agoric/notifier
320
+
321
+
322
+
323
+
324
+
325
+ ### [0.3.15](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.14...@agoric/notifier@0.3.15) (2021-06-15)
326
+
327
+
328
+ ### Bug Fixes
329
+
330
+ * **notifier:** Stronger assertion to work around harden type weakness ([2b3fe0e](https://github.com/Agoric/agoric-sdk/commit/2b3fe0efa002dc6535723d16f81129f843c0f515))
331
+ * Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
332
+
333
+
334
+
335
+ ## [0.3.14](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.13...@agoric/notifier@0.3.14) (2021-05-10)
336
+
337
+ **Note:** Version bump only for package @agoric/notifier
338
+
339
+
340
+
341
+
342
+
343
+ ## [0.3.13](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.12...@agoric/notifier@0.3.13) (2021-05-05)
344
+
345
+ **Note:** Version bump only for package @agoric/notifier
346
+
347
+
348
+
349
+
350
+
351
+ ## [0.3.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.11...@agoric/notifier@0.3.12) (2021-05-05)
352
+
353
+
354
+ ### Bug Fixes
355
+
356
+ * update types and implementation now that Far preserves them ([a4695c4](https://github.com/Agoric/agoric-sdk/commit/a4695c43a09abc92a20c12104cfbfefb4cae2ff2))
357
+
358
+
359
+
360
+
361
+
362
+ ## [0.3.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.10...@agoric/notifier@0.3.11) (2021-04-22)
363
+
364
+ **Note:** Version bump only for package @agoric/notifier
365
+
366
+
367
+
368
+
369
+
370
+ ## [0.3.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.9...@agoric/notifier@0.3.10) (2021-04-18)
371
+
372
+ **Note:** Version bump only for package @agoric/notifier
373
+
374
+
375
+
376
+
377
+
378
+ ## [0.3.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.8...@agoric/notifier@0.3.9) (2021-04-16)
379
+
380
+ **Note:** Version bump only for package @agoric/notifier
381
+
382
+
383
+
384
+
385
+
386
+ ## [0.3.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.7...@agoric/notifier@0.3.8) (2021-04-14)
387
+
388
+ **Note:** Version bump only for package @agoric/notifier
389
+
390
+
391
+
392
+
393
+
394
+ ## [0.3.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.6...@agoric/notifier@0.3.7) (2021-04-13)
395
+
396
+ **Note:** Version bump only for package @agoric/notifier
397
+
398
+
399
+
400
+
401
+
402
+ ## [0.3.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.5...@agoric/notifier@0.3.6) (2021-04-07)
403
+
404
+ **Note:** Version bump only for package @agoric/notifier
405
+
406
+
407
+
408
+
409
+
410
+ ## [0.3.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.4...@agoric/notifier@0.3.5) (2021-04-06)
411
+
412
+ **Note:** Version bump only for package @agoric/notifier
413
+
414
+
415
+
416
+
417
+
418
+ ## [0.3.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.3...@agoric/notifier@0.3.4) (2021-03-24)
419
+
420
+ **Note:** Version bump only for package @agoric/notifier
421
+
422
+
423
+
424
+
425
+
426
+ ## [0.3.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.2...@agoric/notifier@0.3.3) (2021-03-16)
427
+
428
+
429
+ ### Bug Fixes
430
+
431
+ * make separate 'test:xs' target, remove XS from 'test' target ([b9c1a69](https://github.com/Agoric/agoric-sdk/commit/b9c1a6987093fc8e09e8aba7acd2a1618413bac8)), closes [#2647](https://github.com/Agoric/agoric-sdk/issues/2647)
432
+ * **notifier:** add Far/Data to notifier ([#2565](https://github.com/Agoric/agoric-sdk/issues/2565)) ([49a6a8e](https://github.com/Agoric/agoric-sdk/commit/49a6a8ef765f0a6cc94d7f7b0a4b2e8ed71bce8e)), closes [#2545](https://github.com/Agoric/agoric-sdk/issues/2545) [#2018](https://github.com/Agoric/agoric-sdk/issues/2018)
433
+
434
+
435
+
436
+
437
+
438
+ ## [0.3.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.1...@agoric/notifier@0.3.2) (2021-02-22)
439
+
440
+ **Note:** Version bump only for package @agoric/notifier
441
+
442
+
443
+
444
+
445
+
446
+ ## [0.3.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.0...@agoric/notifier@0.3.1) (2021-02-16)
447
+
448
+
449
+ ### Bug Fixes
450
+
451
+ * use assert rather than FooError constructors ([f860c5b](https://github.com/Agoric/agoric-sdk/commit/f860c5bf5add165a08cb5bd543502857c3f57998))
452
+
453
+
454
+
455
+
456
+
457
+ # [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.3...@agoric/notifier@0.3.0) (2020-12-10)
458
+
459
+
460
+ ### Features
461
+
462
+ * **import-bundle:** Preliminary support Endo zip hex bundle format ([#1983](https://github.com/Agoric/agoric-sdk/issues/1983)) ([983681b](https://github.com/Agoric/agoric-sdk/commit/983681bfc4bf512b6bd90806ed9220cd4fefc13c))
463
+
464
+
465
+
466
+
467
+
468
+ ## [0.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.3-dev.0...@agoric/notifier@0.2.3) (2020-11-07)
469
+
470
+ **Note:** Version bump only for package @agoric/notifier
471
+
472
+
473
+
474
+
475
+
476
+ ## [0.2.3-dev.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.2...@agoric/notifier@0.2.3-dev.0) (2020-10-19)
477
+
478
+ **Note:** Version bump only for package @agoric/notifier
479
+
480
+
481
+
482
+
483
+
484
+ ## [0.2.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.2-dev.2...@agoric/notifier@0.2.2) (2020-10-11)
485
+
486
+ **Note:** Version bump only for package @agoric/notifier
487
+
488
+
489
+
490
+
491
+
492
+ ## [0.2.2-dev.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.2-dev.1...@agoric/notifier@0.2.2-dev.2) (2020-09-18)
493
+
494
+ **Note:** Version bump only for package @agoric/notifier
495
+
496
+
497
+
498
+
499
+
500
+ ## [0.2.2-dev.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.2-dev.0...@agoric/notifier@0.2.2-dev.1) (2020-09-18)
501
+
502
+ **Note:** Version bump only for package @agoric/notifier
503
+
504
+
505
+
506
+
507
+
508
+ ## [0.2.2-dev.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.1...@agoric/notifier@0.2.2-dev.0) (2020-09-18)
509
+
510
+ **Note:** Version bump only for package @agoric/notifier
511
+
512
+
513
+
514
+
515
+
516
+ ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.0...@agoric/notifier@0.2.1) (2020-09-16)
517
+
518
+ **Note:** Version bump only for package @agoric/notifier
519
+
520
+
521
+
522
+
523
+
524
+ # [0.2.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.3...@agoric/notifier@0.2.0) (2020-08-31)
525
+
526
+
527
+ ### Bug Fixes
528
+
529
+ * `ERef<T>` is `T | PromiseLike<T>` ([#1383](https://github.com/Agoric/agoric-sdk/issues/1383)) ([8ef4d66](https://github.com/Agoric/agoric-sdk/commit/8ef4d662dc80daf80420c0c531c2abe41517b6cd))
530
+ * clean up E.when and E.resolve ([#1561](https://github.com/Agoric/agoric-sdk/issues/1561)) ([634046c](https://github.com/Agoric/agoric-sdk/commit/634046c0fc541fc1db258105a75c7313b5668aa0))
531
+ * kickOut takes a `reason` error rather than a `message` string ([#1567](https://github.com/Agoric/agoric-sdk/issues/1567)) ([c3cd536](https://github.com/Agoric/agoric-sdk/commit/c3cd536f16dcf30208d88fb1c81376aa916e2a40))
532
+ * match notifier semantics to async iterables ([#1332](https://github.com/Agoric/agoric-sdk/issues/1332)) ([efbf359](https://github.com/Agoric/agoric-sdk/commit/efbf359e7f1b4ca0eb07e3ae8a12e1f061758927))
533
+ * reduce inconsistency among our linting rules ([#1492](https://github.com/Agoric/agoric-sdk/issues/1492)) ([b6b675e](https://github.com/Agoric/agoric-sdk/commit/b6b675e2de110e2af19cad784a66220cab21dacf))
534
+ * rename produceNotifier to makeNotifierKit ([#1330](https://github.com/Agoric/agoric-sdk/issues/1330)) ([e5034f9](https://github.com/Agoric/agoric-sdk/commit/e5034f94e33e9c90c6a8fcaff70c11773e13e969))
535
+ * rename producePromise to makePromiseKit ([#1329](https://github.com/Agoric/agoric-sdk/issues/1329)) ([1d2925a](https://github.com/Agoric/agoric-sdk/commit/1d2925ad640cce7b419751027b44737bd46a6d59))
536
+
537
+
538
+ ### Features
539
+
540
+ * adaptors between notifiers and async iterables ([#1340](https://github.com/Agoric/agoric-sdk/issues/1340)) ([b67d21a](https://github.com/Agoric/agoric-sdk/commit/b67d21aae7e66202e3a5a3f13c7bd5769061230e))
541
+
542
+
543
+
544
+
545
+
546
+ ## [0.1.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.2...@agoric/notifier@0.1.3) (2020-06-30)
547
+
548
+ **Note:** Version bump only for package @agoric/notifier
549
+
550
+
551
+
552
+
553
+
554
+ ## [0.1.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.1...@agoric/notifier@0.1.2) (2020-05-17)
555
+
556
+ **Note:** Version bump only for package @agoric/notifier
557
+
558
+
559
+
560
+
561
+
562
+ ## [0.1.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.0...@agoric/notifier@0.1.1) (2020-05-10)
563
+
564
+ **Note:** Version bump only for package @agoric/notifier
565
+
566
+
567
+
568
+
569
+
570
+ # 0.1.0 (2020-05-04)
571
+
572
+
573
+ ### Features
574
+
575
+ * Add a notifier facility for Zoe and contracts ([7d6e2a6](https://github.com/Agoric/agoric-sdk/commit/7d6e2a6eae5793c2a4b451405a0f4337bfcaa448))
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+ ## 0.0.1 (2020-04-15)
585
+
586
+ Initial Version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/notifier",
3
- "version": "0.6.3-dev-2b7c650.0+2b7c650",
3
+ "version": "0.6.3-mainnet1B-dev-2d6b13f.0+2d6b13f",
4
4
  "description": "Notifier allows services to update clients about state changes using a stream of promises",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "scripts": {
11
11
  "build": "exit 0",
12
- "prepack": "echo \"export {}; \" | cat - src/types-ambient.js > src/types.js && tsc --build tsconfig.build.json",
12
+ "prepack": "echo \"export {}; \" | cat - src/types-ambient.js > src/types.js && tsc --build jsconfig.build.json",
13
13
  "postpack": "git clean -f '*.d.ts*' src/types.js",
14
14
  "test": "ava",
15
15
  "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
@@ -17,7 +17,7 @@
17
17
  "lint-fix": "yarn lint:eslint --fix",
18
18
  "lint": "run-s --continue-on-error lint:*",
19
19
  "lint:eslint": "eslint .",
20
- "lint:types": "tsc"
20
+ "lint:types": "tsc -p jsconfig.json"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -33,21 +33,20 @@
33
33
  },
34
34
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
35
35
  "dependencies": {
36
- "@agoric/assert": "0.6.1-dev-2b7c650.0+2b7c650",
37
- "@agoric/internal": "0.3.3-dev-2b7c650.0+2b7c650",
38
- "@agoric/vat-data": "0.5.3-dev-2b7c650.0+2b7c650",
39
- "@endo/far": "^0.2.21",
40
- "@endo/marshal": "^0.8.8",
41
- "@endo/patterns": "^0.2.5",
42
- "@endo/promise-kit": "^0.2.59"
36
+ "@agoric/assert": "0.6.1-mainnet1B-dev-2d6b13f.0+2d6b13f",
37
+ "@agoric/internal": "0.3.3-mainnet1B-dev-2d6b13f.0+2d6b13f",
38
+ "@agoric/store": "0.9.3-mainnet1B-dev-2d6b13f.0+2d6b13f",
39
+ "@agoric/swing-store": "0.9.2-mainnet1B-dev-2d6b13f.0+2d6b13f",
40
+ "@agoric/swingset-vat": "0.32.3-mainnet1B-dev-2d6b13f.0+2d6b13f",
41
+ "@agoric/vat-data": "0.5.3-mainnet1B-dev-2d6b13f.0+2d6b13f",
42
+ "@endo/far": "0.2.18",
43
+ "@endo/marshal": "0.8.5",
44
+ "@endo/promise-kit": "0.2.56"
43
45
  },
44
46
  "devDependencies": {
45
- "@agoric/swing-store": "0.9.2-dev-2b7c650.0+2b7c650",
46
- "@agoric/swingset-liveslots": "0.10.3-dev-2b7c650.0+2b7c650",
47
- "@agoric/swingset-vat": "0.32.3-dev-2b7c650.0+2b7c650",
48
- "@endo/init": "^0.5.59",
49
- "@endo/ses-ava": "^0.2.43",
50
- "ava": "^5.3.0",
47
+ "@endo/init": "0.5.56",
48
+ "@endo/ses-ava": "0.2.40",
49
+ "ava": "^5.2.0",
51
50
  "c8": "^7.13.0"
52
51
  },
53
52
  "exports": {
@@ -69,10 +68,7 @@
69
68
  "files": [
70
69
  "test/**/test-*.js"
71
70
  ],
72
- "require": [
73
- "@endo/init/debug.js"
74
- ],
75
71
  "timeout": "2m"
76
72
  },
77
- "gitHead": "2b7c650eaf3b6616cc37afb3ff9ba4d67779835d"
73
+ "gitHead": "2d6b13f85e7f81644f12be02c2ca9344bd056d2f"
78
74
  }
@@ -1,32 +1,15 @@
1
- export const PublisherI: import("@endo/patterns").InterfaceGuard<{
2
- publish: import("@endo/patterns").MethodGuard;
3
- finish: import("@endo/patterns").MethodGuard;
4
- fail: import("@endo/patterns").MethodGuard;
5
- }>;
1
+ export const PublisherI: import("@endo/patterns").InterfaceGuard;
6
2
  export const UpdateCountShape: import("@endo/patterns").Matcher;
7
- export const SubscriberI: import("@endo/patterns").InterfaceGuard<{
8
- subscribeAfter: import("@endo/patterns").MethodGuard;
9
- getUpdateSince: import("@endo/patterns").MethodGuard;
10
- }>;
3
+ export const SubscriberI: import("@endo/patterns").InterfaceGuard;
11
4
  export namespace publishKitIKit {
12
5
  export { PublisherI as publisher };
13
6
  export { SubscriberI as subscriber };
14
7
  }
15
- export const ForkableAsyncIterableIteratorShape: import("@endo/patterns").InterfaceGuard<{
16
- fork: import("@endo/patterns").MethodGuard;
17
- [Symbol.asyncIterator]: import("@endo/patterns").MethodGuard;
18
- next: import("@endo/patterns").MethodGuard;
19
- }>;
20
- export const IterableEachTopicI: import("@endo/patterns").InterfaceGuard<{
21
- subscribeAfter: any;
22
- [Symbol.asyncIterator]: import("@endo/patterns").MethodGuard;
23
- }>;
24
- export const IterableLatestTopicI: import("@endo/patterns").InterfaceGuard<{
25
- getUpdateSince: any;
26
- [Symbol.asyncIterator]: import("@endo/patterns").MethodGuard;
27
- }>;
8
+ export const ForkableAsyncIterableIteratorShape: import("@endo/patterns").InterfaceGuard;
9
+ export const IterableEachTopicI: import("@endo/patterns").InterfaceGuard;
10
+ export const IterableLatestTopicI: import("@endo/patterns").InterfaceGuard;
28
11
  export function makePublishKit<T>(): PublishKit<T>;
29
- export function prepareDurablePublishKit(baggage: import('@agoric/swingset-liveslots').Baggage, kindName: string): (options?: {
12
+ export function prepareDurablePublishKit(baggage: MapStore<string, unknown>, kindName: string): (options?: {
30
13
  valueDurability?: "mandatory" | undefined;
31
14
  } | undefined) => {
32
15
  publisher: {
@@ -1 +1 @@
1
- {"version":3,"file":"publish-kit.d.ts","sourceRoot":"","sources":["publish-kit.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AAGH,gEAA6D;AAC7D;;;GAGG;;;;;AAMH;;;;GAOE;AAEF;;;GAMG;AAEH;;;GAMG;AA+CI,mDA0FN;AA6MM,kDAHI,OAAO,4BAA4B,EAAE,OAAO,YAC5C,MAAM;;;;;;;;;;;;;;;;;;;;;;GA2EhB;AAGD,+DAAyD;4CAlP3C,cAAY;;;;;;cASZ,YAAU,GAAG,SAAS;;;;WAEtB,YAAU;;;;;oBACD,GAAG,KAAK,IAAI"}
1
+ {"version":3,"file":"publish-kit.d.ts","sourceRoot":"","sources":["publish-kit.js"],"names":[],"mappings":"AAqBA,iEAIG;AAGH,gEAA6D;AAC7D,kEAGG;;;;;AAMH,yFAOE;AAEF,yEAKG;AAEH,2EAKG;AA+CI,mDA0FN;AA6MM,uFAFI,MAAM;;;;;;;;;;;;;;;;;;;;;;GA2EhB;AAGD,+DAAyD;4CAlP3C,cAAY;;;;;;cASZ,YAAU,GAAG,SAAS;;;;WAEtB,YAAU;;;;;oBACD,GAAG,KAAK,IAAI"}
@@ -1,9 +1,9 @@
1
1
  /// <reference types="ses"/>
2
2
 
3
- import { canBeDurable, prepareExoClassKit } from '@agoric/vat-data';
4
- import { E, Far } from '@endo/far';
5
- import { M, getInterfaceGuardPayload } from '@endo/patterns';
6
3
  import { makePromiseKit } from '@endo/promise-kit';
4
+ import { E, Far } from '@endo/far';
5
+ import { M } from '@agoric/store';
6
+ import { canBeDurable, prepareExoClassKit } from '@agoric/vat-data';
7
7
 
8
8
  import './types-ambient.js';
9
9
 
@@ -46,16 +46,14 @@ export const ForkableAsyncIterableIteratorShape = M.interface(
46
46
  );
47
47
 
48
48
  export const IterableEachTopicI = M.interface('IterableEachTopic', {
49
- subscribeAfter:
50
- getInterfaceGuardPayload(SubscriberI).methodGuards.subscribeAfter,
49
+ subscribeAfter: SubscriberI.methodGuards.subscribeAfter,
51
50
  [Symbol.asyncIterator]: M.call().returns(
52
51
  M.remotable('ForkableAsyncIterableIterator'),
53
52
  ),
54
53
  });
55
54
 
56
55
  export const IterableLatestTopicI = M.interface('IterableLatestTopic', {
57
- getUpdateSince:
58
- getInterfaceGuardPayload(SubscriberI).methodGuards.getUpdateSince,
56
+ getUpdateSince: SubscriberI.methodGuards.getUpdateSince,
59
57
  [Symbol.asyncIterator]: M.call().returns(
60
58
  M.remotable('ForkableAsyncIterableIterator'),
61
59
  ),
@@ -211,7 +209,7 @@ const DurablePublishKitStateShape = harden({
211
209
 
212
210
  /**
213
211
  * @param {object} [options]
214
- * @param {DurablePublishKitValueDurability & 'mandatory'} [options.valueDurability]
212
+ * @param {DurablePublishKitValueDurability & 'mandatory'} [options.valueDurability='mandatory']
215
213
  * @returns {DurablePublishKitState}
216
214
  */
217
215
  const initDurablePublishKitState = (options = {}) => {
@@ -398,7 +396,7 @@ const advanceDurablePublishKit = (context, value, targetStatus = 'live') => {
398
396
  };
399
397
 
400
398
  /**
401
- * @param {import('@agoric/swingset-liveslots').Baggage} baggage
399
+ * @param {import('../../vat-data/src/types.js').Baggage} baggage
402
400
  * @param {string} kindName
403
401
  */
404
402
  export const prepareDurablePublishKit = (baggage, kindName) => {
package/src/storesub.d.ts CHANGED
@@ -12,5 +12,5 @@ export type StoredPublisherKit<T> = {
12
12
  subscriber: StoredSubscription<T>;
13
13
  publisher: IterationObserver<T>;
14
14
  };
15
- import { makeMarshal } from '@endo/marshal';
15
+ import { makeMarshal } from "@endo/marshal";
16
16
  //# sourceMappingURL=storesub.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAgBO,+FAFc,IAAI,iBAcxB;AAiBM,gFAJI,KAAK,WAAW,CAAC,cACjB,KAAK,WAAW,kBAAkB,CAAC,CAAC,uBA8B9C;AAkBM;;;;;uCAmEN;AAoBM,4MAkBN;AAgBM,+DAJI,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,uBAW1B;;gBAvDa,mBAAmB,CAAC,CAAC;eACrB,kBAAkB,CAAC,CAAC;;4BApKN,eAAe"}
1
+ {"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAgBO,+FAFc,IAAI,iBAgBxB;AAiBM,gFAJI,KAAK,WAAW,CAAC,cACjB,KAAK,WAAW,kBAAkB,CAAC,CAAC,uBA8B9C;AAkBM;;;;;uCAmEN;AAoBM,4MAkBN;AAgBM,+DAJI,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,uBAW1B;;gBAvDa,mBAAmB,CAAC,CAAC;eACrB,kBAAkB,CAAC,CAAC"}
package/src/storesub.js CHANGED
@@ -20,9 +20,11 @@ export const forEachPublicationRecord = async (subscriber, consumeValue) => {
20
20
  const iterator = subscribeEach(subscriber)[Symbol.asyncIterator]();
21
21
 
22
22
  let finished = false;
23
- await null;
24
23
  while (!finished) {
24
+ // Allow nested awaits (in loop) because it's safe for each to run in a turn
25
+ // eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
25
26
  const { value, done } = await iterator.next();
27
+ // eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
26
28
  await consumeValue(value);
27
29
  finished = !!done;
28
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"AAkEO;;;;;;;;;;;;;;;;GAUH;AAuEG;;;;GAQN;AAsGM;;;;GAKN"}
1
+ {"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"AAmEO;;;;;;;;;;;;;;;;GAUH;AAuEG;;;;GAQN;AAsGM;;;;GAKN"}
package/src/subscribe.js CHANGED
@@ -24,6 +24,7 @@ const reconnectAsNeeded = async (getter, seed = []) => {
24
24
  for (let i = 0; ; i += 1) {
25
25
  try {
26
26
  const resultP = i < seed.length ? seed[i] : getter();
27
+ // eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
27
28
  const result = await resultP;
28
29
  return result;
29
30
  } catch (err) {