@agoric/notifier 0.6.3-dev-eb7e9eb.0 → 0.6.3-u11.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,578 @@
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-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.2...@agoric/notifier@0.6.3-u11.0) (2023-08-24)
7
+
8
+ **Note:** Version bump only for package @agoric/notifier
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.6.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.1...@agoric/notifier@0.6.2) (2023-06-02)
15
+
16
+ **Note:** Version bump only for package @agoric/notifier
17
+
18
+
19
+
20
+
21
+
22
+ ### [0.6.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.6.0...@agoric/notifier@0.6.1) (2023-05-24)
23
+
24
+ **Note:** Version bump only for package @agoric/notifier
25
+
26
+
27
+
28
+
29
+
30
+ ## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.5.1...@agoric/notifier@0.6.0) (2023-05-19)
31
+
32
+
33
+ ### ⚠ BREAKING CHANGES
34
+
35
+ * emit smallcaps-format data in all marshallers
36
+ * **notifier:** Stop retaining durable publish kit values in RAM
37
+ * move PublicTopic to Zoe contractSupport
38
+ * remove deprecated pipeTopicToStorage
39
+ * rm obsolete makeStorageNodePathProvider
40
+ * **notifier:** tidy up the implementation
41
+
42
+ ### Features
43
+
44
+ * **notifier:** implement `AsyncIterableIterator` for better generator support ([0764b9e](https://github.com/Agoric/agoric-sdk/commit/0764b9e48cdd0e6677bb8a35ac978c7873ea3e18))
45
+ * **notifier:** introduce IterableEachTopic and IterableLatestTopic ([9e3096d](https://github.com/Agoric/agoric-sdk/commit/9e3096da86bd8373a86fd21655ce0e71826be900))
46
+ * 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)
47
+ * 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)
48
+ * **casting:** handle noData value encoding ([530bc41](https://github.com/Agoric/agoric-sdk/commit/530bc41854cc7f5e5749e97e87fabc6163a17864))
49
+ * **contractSupport:** PublicTopics types and utils ([2c7865f](https://github.com/Agoric/agoric-sdk/commit/2c7865fa4e43c96c9a85be743a7f808a66b9311e))
50
+ * **notifier:** create `src/subscribe.js` ([8029c97](https://github.com/Agoric/agoric-sdk/commit/8029c97d58c093ccb7e3f58c8936828996231e66))
51
+ * **notifier:** Introduce durable publish kits ([#6502](https://github.com/Agoric/agoric-sdk/issues/6502)) ([8f7b353](https://github.com/Agoric/agoric-sdk/commit/8f7b3530ca50dc1945f024690a63914fe8431502))
52
+ * **notifier:** Opportunistic eachIterator recovery from upgrade disconnection ([229d7b2](https://github.com/Agoric/agoric-sdk/commit/229d7b260b63277c77b7d2199b6bc956ab5edc80))
53
+ * **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)
54
+ * **notifier:** tidy up the implementation ([89af682](https://github.com/Agoric/agoric-sdk/commit/89af6827e88966c836bf28f5900edf189aab9926))
55
+ * getPath() on StorageNode and StoredSubscriber ([dae47a5](https://github.com/Agoric/agoric-sdk/commit/dae47a553288335960b5e4f2741a09b87ae896bc))
56
+ * makeStoredNotifier ([cb1dde8](https://github.com/Agoric/agoric-sdk/commit/cb1dde882cd7630940033d0ff933fc03303dac7d))
57
+ * support TopicsRecord ([8618461](https://github.com/Agoric/agoric-sdk/commit/8618461781fe11f28e6b891a4d31ebfd9dda5e0d))
58
+ * **topics:** makePublicTopic ([c8b464c](https://github.com/Agoric/agoric-sdk/commit/c8b464c26c53535097e4df573e126c81e00e5aa6))
59
+ * pipeTopicToStorage ([69ca308](https://github.com/Agoric/agoric-sdk/commit/69ca308fdbc63a5ec956e3a0cde72f6b80ad4be8))
60
+ * StorageNodeShape ([e585fa0](https://github.com/Agoric/agoric-sdk/commit/e585fa0c73f29ea0d57b6a8ec43cd4fe78575663))
61
+
62
+
63
+ ### Bug Fixes
64
+
65
+ * use `subscribeEach` to get reconnect benefits ([fb24132](https://github.com/Agoric/agoric-sdk/commit/fb24132f9b4e117e56bae2803994e57c188344f3))
66
+ * **ERTP:** `getCurrentAmountNotifier` returns a `LatestTopic` ([735d005](https://github.com/Agoric/agoric-sdk/commit/735d005ec4f4087a4055d48ff1dd1801c9a3d836))
67
+ * **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)
68
+ * some stateShapes ([50c9fe4](https://github.com/Agoric/agoric-sdk/commit/50c9fe49d0fe890a08c0c28a00780f4924f7928c))
69
+ * **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)
70
+ * **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)
71
+ * **notifier:** rely on `@endo/far` ([c103b85](https://github.com/Agoric/agoric-sdk/commit/c103b85a65bdd5ef1666c6762250f63a799e5f38))
72
+ * **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)
73
+ * **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)
74
+ * makeStoredSubscriber w/durable Subscriber ([eba4492](https://github.com/Agoric/agoric-sdk/commit/eba4492fcffa946000be19b3f8264462eecfe977))
75
+ * rename from FarClass to ExoClass, etc ([#6323](https://github.com/Agoric/agoric-sdk/issues/6323)) ([da96c7c](https://github.com/Agoric/agoric-sdk/commit/da96c7c3c902a5e266baeedf23df02481f2e9c9d))
76
+ * rename vivify to prepare ([#6825](https://github.com/Agoric/agoric-sdk/issues/6825)) ([9261e42](https://github.com/Agoric/agoric-sdk/commit/9261e42e677a3fc31f52defc8fc7ae800f098838))
77
+ * **vats:** use async chainStorage methods ([0507206](https://github.com/Agoric/agoric-sdk/commit/05072067b28b146c5836a456d5824a63776980b0))
78
+ * repair version shear ([59de3ab](https://github.com/Agoric/agoric-sdk/commit/59de3ab131d61a6fe2915adc795f0442a94cb7b6))
79
+
80
+
81
+ ### Miscellaneous Chores
82
+
83
+ * remove deprecated pipeTopicToStorage ([6a6108a](https://github.com/Agoric/agoric-sdk/commit/6a6108aeb00c676fe1db130f1baea9a98c1d8e8b))
84
+ * rm obsolete makeStorageNodePathProvider ([dc0a4a5](https://github.com/Agoric/agoric-sdk/commit/dc0a4a545d89c8bf89bf44e7c888537ddf626522))
85
+
86
+
87
+ ### Code Refactoring
88
+
89
+ * move PublicTopic to Zoe contractSupport ([c51ea3d](https://github.com/Agoric/agoric-sdk/commit/c51ea3de22f50e05fcc1aaabd2108e785d51eb2e))
90
+
91
+
92
+
93
+ ### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.5.0...@agoric/notifier@0.5.1) (2022-10-05)
94
+
95
+ **Note:** Version bump only for package @agoric/notifier
96
+
97
+
98
+
99
+
100
+
101
+ ## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.4.0...@agoric/notifier@0.5.0) (2022-09-20)
102
+
103
+
104
+ ### ⚠ BREAKING CHANGES
105
+
106
+ * **notifier:** no initial state for makePublishKit (#5742)
107
+
108
+ ### Features
109
+
110
+ * **notifier:** `makeStoredSubscription` ([8206291](https://github.com/Agoric/agoric-sdk/commit/82062910b9d8c57f76851e3f6bd5f405a47e04eb))
111
+ * **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)
112
+ * **notifier:** allow `makeSubscriptionKit(initialState)` ([affccab](https://github.com/Agoric/agoric-sdk/commit/affccabfb3d4534792f1e9234a50d9f97db2c11c))
113
+ * **notifier:** makeStoredPublisherKit ([b652109](https://github.com/Agoric/agoric-sdk/commit/b6521097d83d6deabfcc600130cd31ed2352d234))
114
+ * **notifier:** makeStoredPublishKit ([6cf9ced](https://github.com/Agoric/agoric-sdk/commit/6cf9cedf9e79d4e3ff09c54d54702604b9567aa9))
115
+ * **notifier:** return self for `getStoreKey` ([385e7bb](https://github.com/Agoric/agoric-sdk/commit/385e7bbbbca5bfdc7ff0a99db6e14f1a70b5891e))
116
+ * **ses-ava:** support full API of Ava ([3b5fd6c](https://github.com/Agoric/agoric-sdk/commit/3b5fd6c103a4a9207eaf2e761b3a096ce78c3d16))
117
+
118
+
119
+ ### Bug Fixes
120
+
121
+ * 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))
122
+ * **notifier:** Sink the E wrapper for end-of-publication ([7298092](https://github.com/Agoric/agoric-sdk/commit/7298092a2ebff5577c78956eaad77f4518211f63))
123
+ * makePublishKit ([#5435](https://github.com/Agoric/agoric-sdk/issues/5435)) ([d8228d2](https://github.com/Agoric/agoric-sdk/commit/d8228d272cfe18aa2fba713fb5acc4e84eaa1e39))
124
+ * **notifier:** reject iteration if an observer throws ([d76f42b](https://github.com/Agoric/agoric-sdk/commit/d76f42b1deb2a4fc280faef4ce74046b4b7cded0))
125
+
126
+
127
+ ### Code Refactoring
128
+
129
+ * **notifier:** no initial state for makePublishKit ([#5742](https://github.com/Agoric/agoric-sdk/issues/5742)) ([4888cac](https://github.com/Agoric/agoric-sdk/commit/4888cac19268ecae9066743566e25190fc0af772))
130
+
131
+
132
+
133
+ ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.35...@agoric/notifier@0.4.0) (2022-04-18)
134
+
135
+
136
+ ### ⚠ BREAKING CHANGES
137
+
138
+ * consistent Node engine requirement (>=14.15.0)
139
+
140
+ ### Miscellaneous Chores
141
+
142
+ * consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
143
+
144
+
145
+
146
+ ### [0.3.35](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.34...@agoric/notifier@0.3.35) (2022-02-24)
147
+
148
+ **Note:** Version bump only for package @agoric/notifier
149
+
150
+
151
+
152
+
153
+
154
+ ### [0.3.34](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.33...@agoric/notifier@0.3.34) (2022-02-21)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * **notifier:** make the `Updater` a Far object ([20707a1](https://github.com/Agoric/agoric-sdk/commit/20707a137fe8ccb7f685fb4bb79b66094efa902b))
160
+ * **store:** use explicit `import('@endo/marshal')` JSDoc ([4795147](https://github.com/Agoric/agoric-sdk/commit/47951473d4679c7e95104f5ae32fe63c8547598e))
161
+ * Enhance TypeScript node_modules traversal depth ([000f738](https://github.com/Agoric/agoric-sdk/commit/000f73850d46dc7272b2399c06ad774dd3b8fe6e))
162
+
163
+
164
+
165
+ ### [0.3.33](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.32...@agoric/notifier@0.3.33) (2021-12-22)
166
+
167
+ **Note:** Version bump only for package @agoric/notifier
168
+
169
+
170
+
171
+
172
+
173
+ ### [0.3.32](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.31...@agoric/notifier@0.3.32) (2021-12-02)
174
+
175
+
176
+ ### Features
177
+
178
+ * **notifier:** `makeNotifierFromAsyncIterable` works with ERefs ([0d330a3](https://github.com/Agoric/agoric-sdk/commit/0d330a30b6c65e456e794b480d9605ee178a9bce))
179
+ * **notifier:** convey internal type parameters ([a4626f3](https://github.com/Agoric/agoric-sdk/commit/a4626f354ead6a9cddad5f8c49a8f18a3b693ee9))
180
+
181
+
182
+
183
+ ### [0.3.31](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.30...@agoric/notifier@0.3.31) (2021-10-13)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * adapt timers to async iterables ([#3949](https://github.com/Agoric/agoric-sdk/issues/3949)) ([9739127](https://github.com/Agoric/agoric-sdk/commit/9739127262e9fac48757094a4d2d9f3f35f4bfc5))
189
+
190
+
191
+
192
+ ### [0.3.30](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.29...@agoric/notifier@0.3.30) (2021-09-23)
193
+
194
+ **Note:** Version bump only for package @agoric/notifier
195
+
196
+
197
+
198
+
199
+
200
+ ### [0.3.29](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.28...@agoric/notifier@0.3.29) (2021-09-15)
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * more missing Fars. kill "this" ([#3746](https://github.com/Agoric/agoric-sdk/issues/3746)) ([7bd027a](https://github.com/Agoric/agoric-sdk/commit/7bd027a879f98a9a3f30429ee1b54e6057efec42))
206
+
207
+
208
+
209
+ ### [0.3.28](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.27...@agoric/notifier@0.3.28) (2021-08-18)
210
+
211
+ **Note:** Version bump only for package @agoric/notifier
212
+
213
+
214
+
215
+
216
+
217
+ ### [0.3.27](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.26...@agoric/notifier@0.3.27) (2021-08-17)
218
+
219
+ **Note:** Version bump only for package @agoric/notifier
220
+
221
+
222
+
223
+
224
+
225
+ ### [0.3.26](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.25...@agoric/notifier@0.3.26) (2021-08-16)
226
+
227
+ **Note:** Version bump only for package @agoric/notifier
228
+
229
+
230
+
231
+
232
+
233
+ ### [0.3.25](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.25) (2021-08-15)
234
+
235
+ ### 0.26.10 (2021-07-28)
236
+
237
+ **Note:** Version bump only for package @agoric/notifier
238
+
239
+
240
+
241
+
242
+
243
+ ### [0.3.24](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.24) (2021-08-14)
244
+
245
+ ### 0.26.10 (2021-07-28)
246
+
247
+ **Note:** Version bump only for package @agoric/notifier
248
+
249
+
250
+
251
+
252
+
253
+ ### [0.3.23](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.22...@agoric/notifier@0.3.23) (2021-07-28)
254
+
255
+ **Note:** Version bump only for package @agoric/notifier
256
+
257
+
258
+
259
+
260
+
261
+ ### [0.3.22](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.21...@agoric/notifier@0.3.22) (2021-07-01)
262
+
263
+ **Note:** Version bump only for package @agoric/notifier
264
+
265
+
266
+
267
+
268
+
269
+ ### [0.3.21](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.20...@agoric/notifier@0.3.21) (2021-06-28)
270
+
271
+ **Note:** Version bump only for package @agoric/notifier
272
+
273
+
274
+
275
+
276
+
277
+ ### [0.3.20](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.19...@agoric/notifier@0.3.20) (2021-06-25)
278
+
279
+ **Note:** Version bump only for package @agoric/notifier
280
+
281
+
282
+
283
+
284
+
285
+ ### [0.3.19](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.18...@agoric/notifier@0.3.19) (2021-06-24)
286
+
287
+ **Note:** Version bump only for package @agoric/notifier
288
+
289
+
290
+
291
+
292
+
293
+ ### [0.3.18](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.17...@agoric/notifier@0.3.18) (2021-06-24)
294
+
295
+ **Note:** Version bump only for package @agoric/notifier
296
+
297
+
298
+
299
+
300
+
301
+ ### [0.3.17](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.16...@agoric/notifier@0.3.17) (2021-06-23)
302
+
303
+ **Note:** Version bump only for package @agoric/notifier
304
+
305
+
306
+
307
+
308
+
309
+ ### [0.3.16](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.15...@agoric/notifier@0.3.16) (2021-06-16)
310
+
311
+ **Note:** Version bump only for package @agoric/notifier
312
+
313
+
314
+
315
+
316
+
317
+ ### [0.3.15](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.14...@agoric/notifier@0.3.15) (2021-06-15)
318
+
319
+
320
+ ### Bug Fixes
321
+
322
+ * **notifier:** Stronger assertion to work around harden type weakness ([2b3fe0e](https://github.com/Agoric/agoric-sdk/commit/2b3fe0efa002dc6535723d16f81129f843c0f515))
323
+ * Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
324
+
325
+
326
+
327
+ ## [0.3.14](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.13...@agoric/notifier@0.3.14) (2021-05-10)
328
+
329
+ **Note:** Version bump only for package @agoric/notifier
330
+
331
+
332
+
333
+
334
+
335
+ ## [0.3.13](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.12...@agoric/notifier@0.3.13) (2021-05-05)
336
+
337
+ **Note:** Version bump only for package @agoric/notifier
338
+
339
+
340
+
341
+
342
+
343
+ ## [0.3.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.11...@agoric/notifier@0.3.12) (2021-05-05)
344
+
345
+
346
+ ### Bug Fixes
347
+
348
+ * update types and implementation now that Far preserves them ([a4695c4](https://github.com/Agoric/agoric-sdk/commit/a4695c43a09abc92a20c12104cfbfefb4cae2ff2))
349
+
350
+
351
+
352
+
353
+
354
+ ## [0.3.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.10...@agoric/notifier@0.3.11) (2021-04-22)
355
+
356
+ **Note:** Version bump only for package @agoric/notifier
357
+
358
+
359
+
360
+
361
+
362
+ ## [0.3.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.9...@agoric/notifier@0.3.10) (2021-04-18)
363
+
364
+ **Note:** Version bump only for package @agoric/notifier
365
+
366
+
367
+
368
+
369
+
370
+ ## [0.3.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.8...@agoric/notifier@0.3.9) (2021-04-16)
371
+
372
+ **Note:** Version bump only for package @agoric/notifier
373
+
374
+
375
+
376
+
377
+
378
+ ## [0.3.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.7...@agoric/notifier@0.3.8) (2021-04-14)
379
+
380
+ **Note:** Version bump only for package @agoric/notifier
381
+
382
+
383
+
384
+
385
+
386
+ ## [0.3.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.6...@agoric/notifier@0.3.7) (2021-04-13)
387
+
388
+ **Note:** Version bump only for package @agoric/notifier
389
+
390
+
391
+
392
+
393
+
394
+ ## [0.3.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.5...@agoric/notifier@0.3.6) (2021-04-07)
395
+
396
+ **Note:** Version bump only for package @agoric/notifier
397
+
398
+
399
+
400
+
401
+
402
+ ## [0.3.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.4...@agoric/notifier@0.3.5) (2021-04-06)
403
+
404
+ **Note:** Version bump only for package @agoric/notifier
405
+
406
+
407
+
408
+
409
+
410
+ ## [0.3.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.3...@agoric/notifier@0.3.4) (2021-03-24)
411
+
412
+ **Note:** Version bump only for package @agoric/notifier
413
+
414
+
415
+
416
+
417
+
418
+ ## [0.3.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.2...@agoric/notifier@0.3.3) (2021-03-16)
419
+
420
+
421
+ ### Bug Fixes
422
+
423
+ * 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)
424
+ * **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)
425
+
426
+
427
+
428
+
429
+
430
+ ## [0.3.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.1...@agoric/notifier@0.3.2) (2021-02-22)
431
+
432
+ **Note:** Version bump only for package @agoric/notifier
433
+
434
+
435
+
436
+
437
+
438
+ ## [0.3.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.3.0...@agoric/notifier@0.3.1) (2021-02-16)
439
+
440
+
441
+ ### Bug Fixes
442
+
443
+ * use assert rather than FooError constructors ([f860c5b](https://github.com/Agoric/agoric-sdk/commit/f860c5bf5add165a08cb5bd543502857c3f57998))
444
+
445
+
446
+
447
+
448
+
449
+ # [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.3...@agoric/notifier@0.3.0) (2020-12-10)
450
+
451
+
452
+ ### Features
453
+
454
+ * **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))
455
+
456
+
457
+
458
+
459
+
460
+ ## [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)
461
+
462
+ **Note:** Version bump only for package @agoric/notifier
463
+
464
+
465
+
466
+
467
+
468
+ ## [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)
469
+
470
+ **Note:** Version bump only for package @agoric/notifier
471
+
472
+
473
+
474
+
475
+
476
+ ## [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)
477
+
478
+ **Note:** Version bump only for package @agoric/notifier
479
+
480
+
481
+
482
+
483
+
484
+ ## [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)
485
+
486
+ **Note:** Version bump only for package @agoric/notifier
487
+
488
+
489
+
490
+
491
+
492
+ ## [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)
493
+
494
+ **Note:** Version bump only for package @agoric/notifier
495
+
496
+
497
+
498
+
499
+
500
+ ## [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)
501
+
502
+ **Note:** Version bump only for package @agoric/notifier
503
+
504
+
505
+
506
+
507
+
508
+ ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.2.0...@agoric/notifier@0.2.1) (2020-09-16)
509
+
510
+ **Note:** Version bump only for package @agoric/notifier
511
+
512
+
513
+
514
+
515
+
516
+ # [0.2.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.3...@agoric/notifier@0.2.0) (2020-08-31)
517
+
518
+
519
+ ### Bug Fixes
520
+
521
+ * `ERef<T>` is `T | PromiseLike<T>` ([#1383](https://github.com/Agoric/agoric-sdk/issues/1383)) ([8ef4d66](https://github.com/Agoric/agoric-sdk/commit/8ef4d662dc80daf80420c0c531c2abe41517b6cd))
522
+ * 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))
523
+ * 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))
524
+ * match notifier semantics to async iterables ([#1332](https://github.com/Agoric/agoric-sdk/issues/1332)) ([efbf359](https://github.com/Agoric/agoric-sdk/commit/efbf359e7f1b4ca0eb07e3ae8a12e1f061758927))
525
+ * reduce inconsistency among our linting rules ([#1492](https://github.com/Agoric/agoric-sdk/issues/1492)) ([b6b675e](https://github.com/Agoric/agoric-sdk/commit/b6b675e2de110e2af19cad784a66220cab21dacf))
526
+ * rename produceNotifier to makeNotifierKit ([#1330](https://github.com/Agoric/agoric-sdk/issues/1330)) ([e5034f9](https://github.com/Agoric/agoric-sdk/commit/e5034f94e33e9c90c6a8fcaff70c11773e13e969))
527
+ * rename producePromise to makePromiseKit ([#1329](https://github.com/Agoric/agoric-sdk/issues/1329)) ([1d2925a](https://github.com/Agoric/agoric-sdk/commit/1d2925ad640cce7b419751027b44737bd46a6d59))
528
+
529
+
530
+ ### Features
531
+
532
+ * adaptors between notifiers and async iterables ([#1340](https://github.com/Agoric/agoric-sdk/issues/1340)) ([b67d21a](https://github.com/Agoric/agoric-sdk/commit/b67d21aae7e66202e3a5a3f13c7bd5769061230e))
533
+
534
+
535
+
536
+
537
+
538
+ ## [0.1.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.2...@agoric/notifier@0.1.3) (2020-06-30)
539
+
540
+ **Note:** Version bump only for package @agoric/notifier
541
+
542
+
543
+
544
+
545
+
546
+ ## [0.1.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.1...@agoric/notifier@0.1.2) (2020-05-17)
547
+
548
+ **Note:** Version bump only for package @agoric/notifier
549
+
550
+
551
+
552
+
553
+
554
+ ## [0.1.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/notifier@0.1.0...@agoric/notifier@0.1.1) (2020-05-10)
555
+
556
+ **Note:** Version bump only for package @agoric/notifier
557
+
558
+
559
+
560
+
561
+
562
+ # 0.1.0 (2020-05-04)
563
+
564
+
565
+ ### Features
566
+
567
+ * Add a notifier facility for Zoe and contracts ([7d6e2a6](https://github.com/Agoric/agoric-sdk/commit/7d6e2a6eae5793c2a4b451405a0f4337bfcaa448))
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+ ## 0.0.1 (2020-04-15)
577
+
578
+ Initial Version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/notifier",
3
- "version": "0.6.3-dev-eb7e9eb.0+eb7e9eb",
3
+ "version": "0.6.3-u11.0",
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-eb7e9eb.0+eb7e9eb",
37
- "@agoric/internal": "0.3.3-dev-eb7e9eb.0+eb7e9eb",
38
- "@agoric/vat-data": "0.5.3-dev-eb7e9eb.0+eb7e9eb",
39
- "@endo/far": "^0.2.19",
40
- "@endo/marshal": "^0.8.6",
41
- "@endo/patterns": "^0.2.3",
42
- "@endo/promise-kit": "^0.2.57"
36
+ "@agoric/assert": "^0.6.0",
37
+ "@agoric/internal": "^0.3.3-u11.0",
38
+ "@agoric/store": "^0.9.3-u11.0",
39
+ "@agoric/swing-store": "^0.9.2-u11.0",
40
+ "@agoric/swingset-vat": "^0.32.3-u11.0",
41
+ "@agoric/vat-data": "^0.5.3-u11.0",
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-eb7e9eb.0+eb7e9eb",
46
- "@agoric/swingset-liveslots": "0.10.3-dev-eb7e9eb.0+eb7e9eb",
47
- "@agoric/swingset-vat": "0.32.3-dev-eb7e9eb.0+eb7e9eb",
48
- "@endo/init": "^0.5.57",
49
- "@endo/ses-ava": "^0.2.41",
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": {
@@ -71,5 +70,5 @@
71
70
  ],
72
71
  "timeout": "2m"
73
72
  },
74
- "gitHead": "eb7e9ebe52e78052e5ded601b6658896d257cab4"
73
+ "gitHead": "92b6cd72484079b0349d8ccfa4510aeb820e8d67"
75
74
  }
@@ -1,32 +1,15 @@
1
- export const PublisherI: import("@endo/patterns").InterfaceGuard<{
2
- publish: any;
3
- finish: any;
4
- fail: any;
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: any;
9
- getUpdateSince: any;
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: any;
17
- [Symbol.asyncIterator]: any;
18
- next: any;
19
- }>;
20
- export const IterableEachTopicI: import("@endo/patterns").InterfaceGuard<{
21
- subscribeAfter: any;
22
- [Symbol.asyncIterator]: any;
23
- }>;
24
- export const IterableLatestTopicI: import("@endo/patterns").InterfaceGuard<{
25
- getUpdateSince: any;
26
- [Symbol.asyncIterator]: any;
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;;;GAKG;AAEH;;;GAKG;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 } 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
 
@@ -209,7 +209,7 @@ const DurablePublishKitStateShape = harden({
209
209
 
210
210
  /**
211
211
  * @param {object} [options]
212
- * @param {DurablePublishKitValueDurability & 'mandatory'} [options.valueDurability]
212
+ * @param {DurablePublishKitValueDurability & 'mandatory'} [options.valueDurability='mandatory']
213
213
  * @returns {DurablePublishKitState}
214
214
  */
215
215
  const initDurablePublishKitState = (options = {}) => {
@@ -396,7 +396,7 @@ const advanceDurablePublishKit = (context, value, targetStatus = 'live') => {
396
396
  };
397
397
 
398
398
  /**
399
- * @param {import('@agoric/swingset-liveslots').Baggage} baggage
399
+ * @param {import('../../vat-data/src/types.js').Baggage} baggage
400
400
  * @param {string} kindName
401
401
  */
402
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) {