@nymphjs/pubsub 1.0.0-beta.12 → 1.0.0-beta.121

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 CHANGED
@@ -3,6 +3,500 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.121](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.120...v1.0.0-beta.121) (2026-09-17)
7
+
8
+ **Note:** Version bump only for package @nymphjs/pubsub
9
+
10
+ # [1.0.0-beta.120](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.119...v1.0.0-beta.120) (2026-09-01)
11
+
12
+ ### Features
13
+
14
+ - support multiple publishes and multiple client messages at a time in pubsub ([dde6e88](https://forge.sciactive.com/sciactive/nymphjs/commits/dde6e88645513a798c5f9a7a1928177cf2d0d13c))
15
+
16
+ # [1.0.0-beta.119](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.118...v1.0.0-beta.119) (2026-08-25)
17
+
18
+ **Note:** Version bump only for package @nymphjs/pubsub
19
+
20
+ # [1.0.0-beta.118](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.117...v1.0.0-beta.118) (2026-08-24)
21
+
22
+ ### Features
23
+
24
+ - update packages and migrate to ts7 ([c1b8eb5](https://forge.sciactive.com/sciactive/nymphjs/commits/c1b8eb5f7dd68436759f8d7b94bc9622511e71fd))
25
+
26
+ # [1.0.0-beta.117](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.116...v1.0.0-beta.117) (2026-04-21)
27
+
28
+ **Note:** Version bump only for package @nymphjs/pubsub
29
+
30
+ # [1.0.0-beta.116](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.115...v1.0.0-beta.116) (2026-04-08)
31
+
32
+ **Note:** Version bump only for package @nymphjs/pubsub
33
+
34
+ # [1.0.0-beta.115](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.114...v1.0.0-beta.115) (2026-04-06)
35
+
36
+ **Note:** Version bump only for package @nymphjs/pubsub
37
+
38
+ # [1.0.0-beta.114](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.113...v1.0.0-beta.114) (2026-04-06)
39
+
40
+ **Note:** Version bump only for package @nymphjs/pubsub
41
+
42
+ # [1.0.0-beta.113](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.112...v1.0.0-beta.113) (2026-04-03)
43
+
44
+ **Note:** Version bump only for package @nymphjs/pubsub
45
+
46
+ # [1.0.0-beta.112](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.111...v1.0.0-beta.112) (2026-04-03)
47
+
48
+ **Note:** Version bump only for package @nymphjs/pubsub
49
+
50
+ # [1.0.0-beta.111](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.110...v1.0.0-beta.111) (2026-03-10)
51
+
52
+ **Note:** Version bump only for package @nymphjs/pubsub
53
+
54
+ # [1.0.0-beta.110](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.109...v1.0.0-beta.110) (2026-02-23)
55
+
56
+ **Note:** Version bump only for package @nymphjs/pubsub
57
+
58
+ # [1.0.0-beta.109](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.108...v1.0.0-beta.109) (2026-02-15)
59
+
60
+ **Note:** Version bump only for package @nymphjs/pubsub
61
+
62
+ # [1.0.0-beta.108](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.107...v1.0.0-beta.108) (2026-02-15)
63
+
64
+ **Note:** Version bump only for package @nymphjs/pubsub
65
+
66
+ # [1.0.0-beta.107](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.106...v1.0.0-beta.107) (2026-02-13)
67
+
68
+ ### Features
69
+
70
+ - update packages and fix all new issues ([0e9d17c](https://github.com/sciactive/nymphjs/commit/0e9d17c6e2db12c11bdfb559031719c1b52b5fa1))
71
+
72
+ # [1.0.0-beta.106](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.105...v1.0.0-beta.106) (2025-12-05)
73
+
74
+ **Note:** Version bump only for package @nymphjs/pubsub
75
+
76
+ # [1.0.0-beta.105](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.104...v1.0.0-beta.105) (2025-12-04)
77
+
78
+ **Note:** Version bump only for package @nymphjs/pubsub
79
+
80
+ # [1.0.0-beta.104](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.103...v1.0.0-beta.104) (2025-12-01)
81
+
82
+ **Note:** Version bump only for package @nymphjs/pubsub
83
+
84
+ # [1.0.0-beta.103](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.102...v1.0.0-beta.103) (2025-11-30)
85
+
86
+ **Note:** Version bump only for package @nymphjs/pubsub
87
+
88
+ # [1.0.0-beta.102](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.101...v1.0.0-beta.102) (2025-11-29)
89
+
90
+ **Note:** Version bump only for package @nymphjs/pubsub
91
+
92
+ # [1.0.0-beta.101](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.100...v1.0.0-beta.101) (2025-11-29)
93
+
94
+ **Note:** Version bump only for package @nymphjs/pubsub
95
+
96
+ # [1.0.0-beta.100](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.99...v1.0.0-beta.100) (2025-11-29)
97
+
98
+ **Note:** Version bump only for package @nymphjs/pubsub
99
+
100
+ # [1.0.0-beta.99](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.98...v1.0.0-beta.99) (2025-11-26)
101
+
102
+ ### Features
103
+
104
+ - add full-text-search, but this is interim and will be redesigned ([56333db](https://github.com/sciactive/nymphjs/commit/56333dbe6a25755baed4e108ba4d71b3187fe8d0))
105
+ - add sciactive tokenizer based full text search ([173c96e](https://github.com/sciactive/nymphjs/commit/173c96e02827e8ca155f55e08f33e8cdef475ab9))
106
+ - clean up old fts code, get ready for new implementation ([e8d7a6d](https://github.com/sciactive/nymphjs/commit/e8d7a6d6c6cdbb3dd74bd3e6a104e02a4caf283b))
107
+
108
+ # [1.0.0-beta.98](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.97...v1.0.0-beta.98) (2025-10-24)
109
+
110
+ **Note:** Version bump only for package @nymphjs/pubsub
111
+
112
+ # [1.0.0-beta.97](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.96...v1.0.0-beta.97) (2025-10-04)
113
+
114
+ **Note:** Version bump only for package @nymphjs/pubsub
115
+
116
+ # [1.0.0-beta.96](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.95...v1.0.0-beta.96) (2025-09-01)
117
+
118
+ **Note:** Version bump only for package @nymphjs/pubsub
119
+
120
+ # [1.0.0-beta.95](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.94...v1.0.0-beta.95) (2025-08-30)
121
+
122
+ **Note:** Version bump only for package @nymphjs/pubsub
123
+
124
+ # [1.0.0-beta.94](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.93...v1.0.0-beta.94) (2025-08-25)
125
+
126
+ ### Features
127
+
128
+ - add returnNullOnNotFound client option, and some tilmeld domain checks ([20c0207](https://github.com/sciactive/nymphjs/commit/20c0207ef537a948f84f830f1db88d207e1c386b))
129
+
130
+ # [1.0.0-beta.93](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.92...v1.0.0-beta.93) (2025-08-16)
131
+
132
+ **Note:** Version bump only for package @nymphjs/pubsub
133
+
134
+ # [1.0.0-beta.92](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.91...v1.0.0-beta.92) (2025-04-06)
135
+
136
+ **Note:** Version bump only for package @nymphjs/pubsub
137
+
138
+ # [1.0.0-beta.91](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.90...v1.0.0-beta.91) (2025-03-07)
139
+
140
+ **Note:** Version bump only for package @nymphjs/pubsub
141
+
142
+ # [1.0.0-beta.90](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.89...v1.0.0-beta.90) (2025-02-09)
143
+
144
+ **Note:** Version bump only for package @nymphjs/pubsub
145
+
146
+ # [1.0.0-beta.89](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.88...v1.0.0-beta.89) (2025-02-09)
147
+
148
+ **Note:** Version bump only for package @nymphjs/pubsub
149
+
150
+ # [1.0.0-beta.88](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.87...v1.0.0-beta.88) (2025-01-30)
151
+
152
+ ### Bug Fixes
153
+
154
+ - allow removing pubsub publisher ([10fa223](https://github.com/sciactive/nymphjs/commit/10fa22322447d9295ed06413f19b9c86adb4c4ab))
155
+
156
+ # [1.0.0-beta.87](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.86...v1.0.0-beta.87) (2025-01-20)
157
+
158
+ ### Features
159
+
160
+ - deprecate node client and allow multiple client instances to each log in own users ([17b42f4](https://github.com/sciactive/nymphjs/commit/17b42f449f2355a3ce896b8e86a47edd660e9277))
161
+
162
+ # [1.0.0-beta.86](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.85...v1.0.0-beta.86) (2024-12-28)
163
+
164
+ **Note:** Version bump only for package @nymphjs/pubsub
165
+
166
+ # [1.0.0-beta.85](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.84...v1.0.0-beta.85) (2024-12-27)
167
+
168
+ ### Bug Fixes
169
+
170
+ - inTransaction could incorrectly report transaction state ([a7e2ca5](https://github.com/sciactive/nymphjs/commit/a7e2ca57f5b19e9b5b2a04dcc8b79e3937db20e5))
171
+
172
+ # [1.0.0-beta.84](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.83...v1.0.0-beta.84) (2024-12-21)
173
+
174
+ **Note:** Version bump only for package @nymphjs/pubsub
175
+
176
+ # [1.0.0-beta.83](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.82...v1.0.0-beta.83) (2024-12-20)
177
+
178
+ ### Bug Fixes
179
+
180
+ - flaky pubsub tests ([b580f78](https://github.com/sciactive/nymphjs/commit/b580f78461d78c11682dc2bba99dc5a8d82f6f5b))
181
+
182
+ # [1.0.0-beta.82](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.81...v1.0.0-beta.82) (2024-12-15)
183
+
184
+ ### Features
185
+
186
+ - migrate to es modules, upgrade all packages, migrate to Svelte 5 ([3f2b9e5](https://github.com/sciactive/nymphjs/commit/3f2b9e517b39934eddce66601d7fc747fbf3f9e6))
187
+
188
+ # [1.0.0-beta.81](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.80...v1.0.0-beta.81) (2024-09-28)
189
+
190
+ **Note:** Version bump only for package @nymphjs/pubsub
191
+
192
+ # [1.0.0-beta.80](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.79...v1.0.0-beta.80) (2024-09-28)
193
+
194
+ **Note:** Version bump only for package @nymphjs/pubsub
195
+
196
+ # [1.0.0-beta.79](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.78...v1.0.0-beta.79) (2024-09-28)
197
+
198
+ **Note:** Version bump only for package @nymphjs/pubsub
199
+
200
+ # [1.0.0-beta.78](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.77...v1.0.0-beta.78) (2024-09-27)
201
+
202
+ ### Bug Fixes
203
+
204
+ - flaky test ([8098714](https://github.com/sciactive/nymphjs/commit/8098714026c92c9b97917a766b0f9453b0804699))
205
+
206
+ # [1.0.0-beta.77](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.76...v1.0.0-beta.77) (2024-09-26)
207
+
208
+ **Note:** Version bump only for package @nymphjs/pubsub
209
+
210
+ # [1.0.0-beta.76](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.75...v1.0.0-beta.76) (2024-09-25)
211
+
212
+ **Note:** Version bump only for package @nymphjs/pubsub
213
+
214
+ # [1.0.0-beta.75](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.74...v1.0.0-beta.75) (2024-09-24)
215
+
216
+ **Note:** Version bump only for package @nymphjs/pubsub
217
+
218
+ # [1.0.0-beta.74](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.73...v1.0.0-beta.74) (2024-09-21)
219
+
220
+ **Note:** Version bump only for package @nymphjs/pubsub
221
+
222
+ # [1.0.0-beta.73](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.72...v1.0.0-beta.73) (2024-09-20)
223
+
224
+ **Note:** Version bump only for package @nymphjs/pubsub
225
+
226
+ # [1.0.0-beta.72](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.71...v1.0.0-beta.72) (2024-09-20)
227
+
228
+ **Note:** Version bump only for package @nymphjs/pubsub
229
+
230
+ # [1.0.0-beta.71](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.70...v1.0.0-beta.71) (2024-09-20)
231
+
232
+ **Note:** Version bump only for package @nymphjs/pubsub
233
+
234
+ # [1.0.0-beta.70](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.69...v1.0.0-beta.70) (2024-09-20)
235
+
236
+ **Note:** Version bump only for package @nymphjs/pubsub
237
+
238
+ # [1.0.0-beta.69](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.68...v1.0.0-beta.69) (2024-09-19)
239
+
240
+ **Note:** Version bump only for package @nymphjs/pubsub
241
+
242
+ # [1.0.0-beta.68](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.67...v1.0.0-beta.68) (2024-09-19)
243
+
244
+ **Note:** Version bump only for package @nymphjs/pubsub
245
+
246
+ # [1.0.0-beta.67](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.66...v1.0.0-beta.67) (2024-09-03)
247
+
248
+ **Note:** Version bump only for package @nymphjs/pubsub
249
+
250
+ # [1.0.0-beta.66](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.65...v1.0.0-beta.66) (2024-08-06)
251
+
252
+ **Note:** Version bump only for package @nymphjs/pubsub
253
+
254
+ # [1.0.0-beta.65](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.64...v1.0.0-beta.65) (2024-08-05)
255
+
256
+ **Note:** Version bump only for package @nymphjs/pubsub
257
+
258
+ # [1.0.0-beta.64](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.63...v1.0.0-beta.64) (2024-08-04)
259
+
260
+ **Note:** Version bump only for package @nymphjs/pubsub
261
+
262
+ # [1.0.0-beta.63](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.62...v1.0.0-beta.63) (2024-06-18)
263
+
264
+ ### Bug Fixes
265
+
266
+ - undo ts compilation to module change ([84be6d4](https://github.com/sciactive/nymphjs/commit/84be6d434be29f8afd53907d15be2eb77d1736ce))
267
+
268
+ ### Features
269
+
270
+ - export data iterator ([b86aa19](https://github.com/sciactive/nymphjs/commit/b86aa19fc77d744b5a683046dfb697fc4746df5c))
271
+
272
+ # [1.0.0-beta.62](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.61...v1.0.0-beta.62) (2024-06-15)
273
+
274
+ **Note:** Version bump only for package @nymphjs/pubsub
275
+
276
+ # [1.0.0-beta.61](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.60...v1.0.0-beta.61) (2024-06-14)
277
+
278
+ **Note:** Version bump only for package @nymphjs/pubsub
279
+
280
+ # [1.0.0-beta.60](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.59...v1.0.0-beta.60) (2024-06-14)
281
+
282
+ **Note:** Version bump only for package @nymphjs/pubsub
283
+
284
+ # [1.0.0-beta.59](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.58...v1.0.0-beta.59) (2024-06-14)
285
+
286
+ **Note:** Version bump only for package @nymphjs/pubsub
287
+
288
+ # [1.0.0-beta.58](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.57...v1.0.0-beta.58) (2024-06-12)
289
+
290
+ **Note:** Version bump only for package @nymphjs/pubsub
291
+
292
+ # [1.0.0-beta.57](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.56...v1.0.0-beta.57) (2024-06-12)
293
+
294
+ **Note:** Version bump only for package @nymphjs/pubsub
295
+
296
+ # [1.0.0-beta.56](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.55...v1.0.0-beta.56) (2024-06-11)
297
+
298
+ **Note:** Version bump only for package @nymphjs/pubsub
299
+
300
+ # [1.0.0-beta.55](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.54...v1.0.0-beta.55) (2024-05-26)
301
+
302
+ **Note:** Version bump only for package @nymphjs/pubsub
303
+
304
+ # [1.0.0-beta.54](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.53...v1.0.0-beta.54) (2024-05-26)
305
+
306
+ **Note:** Version bump only for package @nymphjs/pubsub
307
+
308
+ # [1.0.0-beta.53](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.52...v1.0.0-beta.53) (2024-05-26)
309
+
310
+ **Note:** Version bump only for package @nymphjs/pubsub
311
+
312
+ # [1.0.0-beta.52](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.51...v1.0.0-beta.52) (2024-05-25)
313
+
314
+ **Note:** Version bump only for package @nymphjs/pubsub
315
+
316
+ # [1.0.0-beta.51](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.50...v1.0.0-beta.51) (2024-04-12)
317
+
318
+ **Note:** Version bump only for package @nymphjs/pubsub
319
+
320
+ # [1.0.0-beta.50](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.49...v1.0.0-beta.50) (2024-04-08)
321
+
322
+ **Note:** Version bump only for package @nymphjs/pubsub
323
+
324
+ # [1.0.0-beta.49](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.48...v1.0.0-beta.49) (2024-03-04)
325
+
326
+ **Note:** Version bump only for package @nymphjs/pubsub
327
+
328
+ # [1.0.0-beta.48](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.47...v1.0.0-beta.48) (2023-11-10)
329
+
330
+ **Note:** Version bump only for package @nymphjs/pubsub
331
+
332
+ # [1.0.0-beta.47](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.46...v1.0.0-beta.47) (2023-11-10)
333
+
334
+ **Note:** Version bump only for package @nymphjs/pubsub
335
+
336
+ # [1.0.0-beta.46](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.45...v1.0.0-beta.46) (2023-08-29)
337
+
338
+ ### Bug Fixes
339
+
340
+ - make the name even much more correct this time ([8d0b381](https://github.com/sciactive/nymphjs/commit/8d0b3817925ce9b1de21d2f9248f6cdec0f7d3f0))
341
+
342
+ # [1.0.0-beta.45](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2023-07-17)
343
+
344
+ ### Bug Fixes
345
+
346
+ - missing pubsub updates when new top level match uses qref with multiple results ([6dc26e2](https://github.com/sciactive/nymphjs/commit/6dc26e280453794ea9ce6c2b77482f85eb62bd23))
347
+
348
+ # [1.0.0-beta.44](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2023-07-13)
349
+
350
+ **Note:** Version bump only for package @nymphjs/pubsub
351
+
352
+ # [1.0.0-beta.43](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2023-07-12)
353
+
354
+ **Note:** Version bump only for package @nymphjs/pubsub
355
+
356
+ # [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
357
+
358
+ ### Features
359
+
360
+ - make fillSession async so that gatekeeper can be sync ([fb6def4](https://github.com/sciactive/nymphjs/commit/fb6def45cd031516c9bcd3438f905e2ff881707b))
361
+
362
+ # [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
363
+
364
+ ### Features
365
+
366
+ - remove synchronous database queries ([b579fb2](https://github.com/sciactive/nymphjs/commit/b579fb2eacd96cdd1b386a62c5c00cdbb2438f6e))
367
+
368
+ # [1.0.0-beta.40](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2023-07-10)
369
+
370
+ **Note:** Version bump only for package @nymphjs/pubsub
371
+
372
+ # [1.0.0-beta.39](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2023-07-09)
373
+
374
+ **Note:** Version bump only for package @nymphjs/pubsub
375
+
376
+ # [1.0.0-beta.38](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2023-07-09)
377
+
378
+ **Note:** Version bump only for package @nymphjs/pubsub
379
+
380
+ # [1.0.0-beta.37](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2023-07-09)
381
+
382
+ **Note:** Version bump only for package @nymphjs/pubsub
383
+
384
+ # [1.0.0-beta.36](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2023-07-09)
385
+
386
+ **Note:** Version bump only for package @nymphjs/pubsub
387
+
388
+ # [1.0.0-beta.35](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2023-06-14)
389
+
390
+ **Note:** Version bump only for package @nymphjs/pubsub
391
+
392
+ # [1.0.0-beta.34](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2023-05-13)
393
+
394
+ ### Bug Fixes
395
+
396
+ - subscribeWith making guid null ([dbb38d4](https://github.com/sciactive/nymphjs/commit/dbb38d424f2395bbfa01ab4a0663dcaebf0c7aa7))
397
+
398
+ # [1.0.0-beta.33](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2023-05-13)
399
+
400
+ ### Bug Fixes
401
+
402
+ - don't send initial entities for qref subscriptions ([b07ed5c](https://github.com/sciactive/nymphjs/commit/b07ed5cb0404aa85dd58dc951261a2b4e3d2bcbf))
403
+
404
+ # [1.0.0-beta.32](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2023-05-13)
405
+
406
+ ### Features
407
+
408
+ - issue initial request with pubsub instead of rest on subscribe ([8a232d2](https://github.com/sciactive/nymphjs/commit/8a232d2faeb8622924f9c35a01a8f71a70659bb3))
409
+
410
+ # [1.0.0-beta.31](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2023-05-12)
411
+
412
+ **Note:** Version bump only for package @nymphjs/pubsub
413
+
414
+ # [1.0.0-beta.30](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2023-05-12)
415
+
416
+ ### Features
417
+
418
+ - allow providing getEntityClass with a class instead of string ([ecd64c1](https://github.com/sciactive/nymphjs/commit/ecd64c1bf92e3657889613b76bcc46652f371ead))
419
+
420
+ # [1.0.0-beta.29](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2023-05-08)
421
+
422
+ **Note:** Version bump only for package @nymphjs/pubsub
423
+
424
+ # [1.0.0-beta.28](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2023-05-05)
425
+
426
+ **Note:** Version bump only for package @nymphjs/pubsub
427
+
428
+ # [1.0.0-beta.27](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2023-05-04)
429
+
430
+ **Note:** Version bump only for package @nymphjs/pubsub
431
+
432
+ # [1.0.0-beta.26](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2023-05-04)
433
+
434
+ ### Bug Fixes
435
+
436
+ - broken pubsub test ([99de0e4](https://github.com/sciactive/nymphjs/commit/99de0e4e7a79420bae1c5df5fb8fcbfafe894ace))
437
+
438
+ # [1.0.0-beta.25](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2023-05-04)
439
+
440
+ ### Features
441
+
442
+ - add flags to disable rest and pubsub support on an entity class ([52106a3](https://github.com/sciactive/nymphjs/commit/52106a3d44065bcfec40d361344bf1eba59a5136)), closes [#1](https://github.com/sciactive/nymphjs/issues/1)
443
+
444
+ # [1.0.0-beta.24](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2023-05-02)
445
+
446
+ **Note:** Version bump only for package @nymphjs/pubsub
447
+
448
+ # [1.0.0-beta.23](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2023-05-02)
449
+
450
+ **Note:** Version bump only for package @nymphjs/pubsub
451
+
452
+ # [1.0.0-beta.22](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2023-05-01)
453
+
454
+ **Note:** Version bump only for package @nymphjs/pubsub
455
+
456
+ # [1.0.0-beta.21](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2023-05-01)
457
+
458
+ **Note:** Version bump only for package @nymphjs/pubsub
459
+
460
+ # [1.0.0-beta.20](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2023-04-30)
461
+
462
+ **Note:** Version bump only for package @nymphjs/pubsub
463
+
464
+ # [1.0.0-beta.19](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2023-04-29)
465
+
466
+ **Note:** Version bump only for package @nymphjs/pubsub
467
+
468
+ # [1.0.0-beta.18](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2023-04-27)
469
+
470
+ ### Bug Fixes
471
+
472
+ - small type issues ([b91579c](https://github.com/sciactive/nymphjs/commit/b91579c9c1e96500d903332648f5a93c9a7e7d9b))
473
+
474
+ ### Features
475
+
476
+ - add the ability to switch to a user without their password ([ca4466a](https://github.com/sciactive/nymphjs/commit/ca4466af1704d68905ac087350a8cf151c1072d9))
477
+
478
+ # [1.0.0-beta.17](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2023-04-24)
479
+
480
+ **Note:** Version bump only for package @nymphjs/pubsub
481
+
482
+ # [1.0.0-beta.16](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2023-03-31)
483
+
484
+ **Note:** Version bump only for package @nymphjs/pubsub
485
+
486
+ # [1.0.0-beta.15](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2023-03-23)
487
+
488
+ **Note:** Version bump only for package @nymphjs/pubsub
489
+
490
+ # [1.0.0-beta.14](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2023-03-17)
491
+
492
+ **Note:** Version bump only for package @nymphjs/pubsub
493
+
494
+ # [1.0.0-beta.13](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2023-03-16)
495
+
496
+ ### Bug Fixes
497
+
498
+ - pubsub publishing changes before transaction is finished ([a918cc1](https://github.com/sciactive/nymphjs/commit/a918cc1451e03015ecce20f1c9bf6ceb62b7dff1))
499
+
6
500
  # [1.0.0-beta.12](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2023-03-04)
7
501
 
8
502
  **Note:** Version bump only for package @nymphjs/pubsub
package/README.md CHANGED
@@ -27,7 +27,7 @@ const nymph = new Nymph(
27
27
  {},
28
28
  new SQLite3Driver({
29
29
  filename: ':memory:', // Put the correct driver/config here.
30
- })
30
+ }),
31
31
  );
32
32
  PubSub.initPublisher(pubSubConfig, nymph);
33
33
  ```
@@ -51,7 +51,7 @@ const nymph = new Nymph(
51
51
  {},
52
52
  new SQLite3Driver({
53
53
  filename: ':memory:', // Put the correct driver/config here.
54
- })
54
+ }),
55
55
  );
56
56
  // Don't forget to do this; even here!
57
57
  PubSub.initPublisher(pubSubConfig, nymph);
@@ -62,8 +62,8 @@ const pubsub = createServer(8080, pubSubConfig, nymph);
62
62
  If you need to provide custom handling in your server (like TLS), you can use the PubSub class directly and provide it a WebSocket server instance.
63
63
 
64
64
  ```ts
65
- import http from 'http';
66
- import { server as WebSocketServer } from 'websocket';
65
+ import http from 'node:http';
66
+ import ws from 'websocket';
67
67
  import SQLite3Driver from '@nymphjs/driver-sqlite3';
68
68
  import { Nymph } from '@nymphjs/nymph';
69
69
  import { PubSub } from '@nymphjs/pubsub';
@@ -81,7 +81,7 @@ const nymph = new Nymph(
81
81
  {},
82
82
  new SQLite3Driver({
83
83
  filename: ':memory:', // Put the correct driver/config here.
84
- })
84
+ }),
85
85
  );
86
86
  // Don't forget to do this; even here!
87
87
  PubSub.initPublisher(pubSubConfig, nymph);
@@ -95,10 +95,10 @@ const server = http.createServer((_request, response) => {
95
95
  const listener = server.listen(port, () => {
96
96
  console.log(
97
97
  new Date().toISOString(),
98
- `Nymph-PubSub server started listening on port ${port}.`
98
+ `Nymph-PubSub server started listening on port ${port}.`,
99
99
  );
100
100
  });
101
- const wsServer = new WebSocketServer({
101
+ const wsServer = new ws.server({
102
102
  httpServer: listener,
103
103
  // You should not use autoAcceptConnections for production
104
104
  // applications, as it defeats all standard cross-origin protection
@@ -117,7 +117,7 @@ See the [config declaration file](src/conf/d.ts).
117
117
 
118
118
  # License
119
119
 
120
- Copyright 2021 SciActive Inc
120
+ Copyright 2021-2025 SciActive Inc
121
121
 
122
122
  Licensed under the Apache License, Version 2.0 (the "License");
123
123
  you may not use this file except in compliance with the License.
package/dist/PubSub.d.ts CHANGED
@@ -1,39 +1,110 @@
1
1
  import { Nymph } from '@nymphjs/nymph';
2
- import { request, server as WebSocketServer, connection, Message } from 'websocket';
3
- import { Config } from './conf';
4
- import type { QuerySubscriptionData } from './PubSub.types';
2
+ import ws from 'websocket';
3
+ import { Config } from './conf/index.js';
4
+ import type { QuerySubscriptionData, PublishEntityMessageData } from './PubSub.types.js';
5
+ /**
6
+ * A publish/subscribe server for Nymph.
7
+ *
8
+ * Written by Hunter Perrin for SciActive.
9
+ *
10
+ * @author Hunter Perrin <hperrin@port87.com>
11
+ * @copyright SciActive Inc
12
+ * @see http://nymph.io/
13
+ */
5
14
  export default class PubSub {
15
+ /**
16
+ * The Nymph instance.
17
+ */
6
18
  nymph: Nymph;
19
+ /**
20
+ * The PubSub config.
21
+ */
7
22
  config: Config;
8
- server: WebSocketServer;
23
+ /**
24
+ * The WebSocket server.
25
+ */
26
+ server: ws.server;
9
27
  private sessions;
10
28
  protected querySubs: {
11
29
  [etype: string]: {
12
- [query: string]: Map<connection, QuerySubscriptionData>;
30
+ [query: string]: Map<ws.connection, QuerySubscriptionData>;
13
31
  };
14
32
  };
15
33
  protected uidSubs: {
16
- [uidName: string]: Map<connection, {
34
+ [uidName: string]: Map<ws.connection, {
17
35
  count: boolean;
18
36
  }>;
19
37
  };
20
- static initPublisher(config: Partial<Config>, nymph: Nymph): void;
38
+ protected outgoingClientMessages: Map<ws.connection, {
39
+ subscription: QuerySubscriptionData;
40
+ publish: PublishEntityMessageData;
41
+ }[]>;
42
+ protected outgoingClientMessagesTimeout: NodeJS.Immediate | null;
43
+ protected static transactionPublishes: {
44
+ nymph: Nymph;
45
+ payload: string;
46
+ config: Config;
47
+ }[];
48
+ static initPublisher(config: Partial<Config>, nymph: Nymph): () => void;
21
49
  private static publish;
22
- constructor(config: Partial<Config>, nymph: Nymph, server: WebSocketServer);
50
+ private static isOrIsDescendant;
51
+ private static publishTransactionPublishes;
52
+ private static removeTransactionPublishes;
53
+ /**
54
+ * Initialize Nymph PubSub.
55
+ *
56
+ * @param config The PubSub configuration.
57
+ */
58
+ constructor(config: Partial<Config>, nymph: Nymph, server: ws.server);
23
59
  close(): void;
24
- handleRequest(request: request): void;
25
- onMessage(from: connection, msg: Message): Promise<void>;
26
- onClose(conn: connection, description: string): void;
27
- onError(conn: connection, e: Error): void;
60
+ handleRequest(request: ws.request): void;
61
+ /**
62
+ * Handle a message from a client.
63
+ */
64
+ onMessage(from: ws.connection, msg: ws.Message): Promise<void>;
65
+ /**
66
+ * Clean up after users who leave.
67
+ */
68
+ onClose(conn: ws.connection, description: string): void;
69
+ onError(conn: ws.connection, e: Error): void;
70
+ /**
71
+ * Handle an authentication from a client.
72
+ */
28
73
  private handleAuthentication;
74
+ /**
75
+ * Handle a subscribe or unsubscribe from a client.
76
+ */
29
77
  private handleSubscription;
78
+ /**
79
+ * Handle a subscribe or unsubscribe for a query from a client.
80
+ */
30
81
  private handleSubscriptionQuery;
82
+ /**
83
+ * Handle a subscribe or unsubscribe for a UID from a client.
84
+ */
31
85
  private handleSubscriptionUid;
86
+ /**
87
+ * Handle a publish from a client.
88
+ */
32
89
  private handlePublish;
90
+ /**
91
+ * Handle an entity publish from a client.
92
+ */
33
93
  private handlePublishEntity;
34
- private updateClient;
94
+ private addOutgoingClientMessage;
95
+ private updateClients;
96
+ /**
97
+ * Handle a UID publish from a client.
98
+ */
35
99
  private handlePublishUid;
100
+ /**
101
+ * Relay publish data to other servers.
102
+ */
36
103
  private relay;
37
104
  private findQRefQueries;
105
+ /**
106
+ * This translates qref selectors into ref selectors using the "current" GUID
107
+ * list in the existing subscriptions.
108
+ */
38
109
  private translateQRefSelectors;
39
110
  }