@powerhousedao/switchboard 5.0.0-staging.8 → 5.0.1-staging.2

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
@@ -1,3 +1,421 @@
1
+ ## 5.0.1-staging.2 (2025-10-27)
2
+
3
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
4
+
5
+ ## 5.0.1-staging.1 (2025-10-27)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **reactor-api:** updated apollo server to v5 ([66dffda7b](https://github.com/powerhouse-inc/powerhouse/commit/66dffda7b))
10
+ - add automated tests for vetra features ([#1962](https://github.com/powerhouse-inc/powerhouse/pull/1962))
11
+ - **reactor-browser:** remove catch all wildcard ([f09931a88](https://github.com/powerhouse-inc/powerhouse/commit/f09931a88))
12
+ - **renown:** added login button ([f109c7305](https://github.com/powerhouse-inc/powerhouse/commit/f109c7305))
13
+ - **vetra:** add open button to Package Information section ([#1930](https://github.com/powerhouse-inc/powerhouse/pull/1930))
14
+ - update @electric-sql/pglite version ([fa3529328](https://github.com/powerhouse-inc/powerhouse/commit/fa3529328))
15
+ - **reactor-browser,connect:** use new window function factory ([7886c284f](https://github.com/powerhouse-inc/powerhouse/commit/7886c284f))
16
+ - **vetra:** added read model to fetch vetra packages ([23c55364d](https://github.com/powerhouse-inc/powerhouse/commit/23c55364d))
17
+ - **monorepo:** use latest versions of react related deps ([#1905](https://github.com/powerhouse-inc/powerhouse/pull/1905))
18
+ - **monorepo:** remove global storybook installs ([#1903](https://github.com/powerhouse-inc/powerhouse/pull/1903))
19
+ - **monorepo:** update to react 19 ([#1902](https://github.com/powerhouse-inc/powerhouse/pull/1902))
20
+ - **vetra:** enabled HMR in dev mode ([8cf19757e](https://github.com/powerhouse-inc/powerhouse/commit/8cf19757e))
21
+ - **vetra:** new connect build setup on vetra ([8dd11a849](https://github.com/powerhouse-inc/powerhouse/commit/8dd11a849))
22
+ - **monorepo:** revert package versions ([8a1a02628](https://github.com/powerhouse-inc/powerhouse/commit/8a1a02628))
23
+ - **monorepo:** update eslint config ([ac97af97d](https://github.com/powerhouse-inc/powerhouse/commit/ac97af97d))
24
+ - adding feature flags to reactor-mcp ([fe4f2f683](https://github.com/powerhouse-inc/powerhouse/commit/fe4f2f683))
25
+ - stubbing out feature flag + reactor setup in connect and deleting unused code in reactor-browser ([793bbd7af](https://github.com/powerhouse-inc/powerhouse/commit/793bbd7af))
26
+ - syncing feature flag behavior between switchboard and reactor-local ([e45dc2bf7](https://github.com/powerhouse-inc/powerhouse/commit/e45dc2bf7))
27
+ - added initial pieces of the kysely operation store implementation ([3fbece162](https://github.com/powerhouse-inc/powerhouse/commit/3fbece162))
28
+ - **connect,builder-tools:** build rework ([#1871](https://github.com/powerhouse-inc/powerhouse/pull/1871))
29
+ - restructure document model to avoid circular imports ([#1874](https://github.com/powerhouse-inc/powerhouse/pull/1874))
30
+ - **reactor:** fix lint error ([53777e154](https://github.com/powerhouse-inc/powerhouse/commit/53777e154))
31
+ - **monorepo:** rename tsc to tsc:build ([c1385418b](https://github.com/powerhouse-inc/powerhouse/commit/c1385418b))
32
+ - adding feature flag to switchboard for controlling reactorv2 api ([4486c8a8d](https://github.com/powerhouse-inc/powerhouse/commit/4486c8a8d))
33
+ - **monorepo:** empty commit to satisfy naming ([5aa18f417](https://github.com/powerhouse-inc/powerhouse/commit/5aa18f417))
34
+ - **monorepo:** merge main ([79f6472b1](https://github.com/powerhouse-inc/powerhouse/commit/79f6472b1))
35
+ - **monorepo:** update release branch workflow ([e9c221ab5](https://github.com/powerhouse-inc/powerhouse/commit/e9c221ab5))
36
+
37
+ ### 🩹 Fixes
38
+
39
+ - **switchboard:** fallback to filesystem storage if postgres db is unavailable ([97e40bbf5](https://github.com/powerhouse-inc/powerhouse/commit/97e40bbf5))
40
+ - used fixed versions for codemirror dep ([183e487db](https://github.com/powerhouse-inc/powerhouse/commit/183e487db))
41
+ - **vetra:** added codegen debounce test and reduced logging ([bc360b8e0](https://github.com/powerhouse-inc/powerhouse/commit/bc360b8e0))
42
+ - add missing @openfeature/core peer dependency ([2c4a904b0](https://github.com/powerhouse-inc/powerhouse/commit/2c4a904b0))
43
+ - **codegen:** update graphql dependency in package.json ([257f368ac](https://github.com/powerhouse-inc/powerhouse/commit/257f368ac))
44
+ - merge fixes ([e5eda5985](https://github.com/powerhouse-inc/powerhouse/commit/e5eda5985))
45
+ - **codegen:** update analytics processor imports to use in processor templates ([#1954](https://github.com/powerhouse-inc/powerhouse/pull/1954))
46
+ - **connect:** added switchboard push listener ([c611ffa9e](https://github.com/powerhouse-inc/powerhouse/commit/c611ffa9e))
47
+ - **builder-tools:** declare @storybook/preview-api dependency ([705ac8da1](https://github.com/powerhouse-inc/powerhouse/commit/705ac8da1))
48
+ - part 2 of build fixes for module changes ([3000a13c3](https://github.com/powerhouse-inc/powerhouse/commit/3000a13c3))
49
+ - lots of type fixes for modules ([8f4cf02fe](https://github.com/powerhouse-inc/powerhouse/commit/8f4cf02fe))
50
+ - test fix for document-drive package ([40f4b6416](https://github.com/powerhouse-inc/powerhouse/commit/40f4b6416))
51
+ - fixing the utc times ([15b06d2e2](https://github.com/powerhouse-inc/powerhouse/commit/15b06d2e2))
52
+ - **monorepo:** re-add nx js plugin ([d477a49d7](https://github.com/powerhouse-inc/powerhouse/commit/d477a49d7))
53
+ - **monorepo:** regenerate lockfile ([7811171ff](https://github.com/powerhouse-inc/powerhouse/commit/7811171ff))
54
+ - **monorepo:** linting and type checking ([#1776](https://github.com/powerhouse-inc/powerhouse/pull/1776))
55
+
56
+ ### ❤️ Thank You
57
+
58
+ - acaldas @acaldas
59
+ - Benjamin Jordan (@thegoldenmule)
60
+ - Frank
61
+ - Guillermo Puente @gpuente
62
+ - Guillermo Puente Sandoval @gpuente
63
+ - Ryan Wolhuter @ryanwolhuter
64
+ - ryanwolhuter @ryanwolhuter
65
+
66
+ ## 4.1.0-dev.90 (2025-10-27)
67
+
68
+ ### 🚀 Features
69
+
70
+ - **reactor-api:** updated apollo server to v5 ([66dffda7b](https://github.com/powerhouse-inc/powerhouse/commit/66dffda7b))
71
+
72
+ ### 🩹 Fixes
73
+
74
+ - **switchboard:** fallback to filesystem storage if postgres db is unavailable ([97e40bbf5](https://github.com/powerhouse-inc/powerhouse/commit/97e40bbf5))
75
+
76
+ ### ❤️ Thank You
77
+
78
+ - acaldas
79
+
80
+ ## 4.1.0-dev.89 (2025-10-24)
81
+
82
+ ### 🩹 Fixes
83
+
84
+ - used fixed versions for codemirror dep ([183e487db](https://github.com/powerhouse-inc/powerhouse/commit/183e487db))
85
+
86
+ ### ❤️ Thank You
87
+
88
+ - Guillermo Puente @gpuente
89
+
90
+ ## 4.1.0-dev.88 (2025-10-24)
91
+
92
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
93
+
94
+ ## 4.1.0-dev.87 (2025-10-24)
95
+
96
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
97
+
98
+ ## 4.1.0-dev.86 (2025-10-23)
99
+
100
+ ### 🩹 Fixes
101
+
102
+ - **vetra:** added codegen debounce test and reduced logging ([bc360b8e0](https://github.com/powerhouse-inc/powerhouse/commit/bc360b8e0))
103
+
104
+ ### ❤️ Thank You
105
+
106
+ - acaldas @acaldas
107
+
108
+ ## 4.1.0-dev.85 (2025-10-22)
109
+
110
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
111
+
112
+ ## 4.1.0-dev.84 (2025-10-22)
113
+
114
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
115
+
116
+ ## 4.1.0-dev.83 (2025-10-22)
117
+
118
+ ### 🚀 Features
119
+
120
+ - add automated tests for vetra features ([#1962](https://github.com/powerhouse-inc/powerhouse/pull/1962))
121
+
122
+ ### ❤️ Thank You
123
+
124
+ - Guillermo Puente Sandoval @gpuente
125
+
126
+ ## 4.1.0-dev.82 (2025-10-21)
127
+
128
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
129
+
130
+ ## 4.1.0-dev.81 (2025-10-21)
131
+
132
+ ### 🚀 Features
133
+
134
+ - **reactor-browser:** remove catch all wildcard ([f09931a88](https://github.com/powerhouse-inc/powerhouse/commit/f09931a88))
135
+ - **reactor-browser,connect:** use new window function factory ([7886c284f](https://github.com/powerhouse-inc/powerhouse/commit/7886c284f))
136
+
137
+ ### ❤️ Thank You
138
+
139
+ - ryanwolhuter @ryanwolhuter
140
+
141
+ ## 4.1.0-dev.80 (2025-10-21)
142
+
143
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
144
+
145
+ ## 4.1.0-dev.79 (2025-10-20)
146
+
147
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
148
+
149
+ ## 4.1.0-dev.78 (2025-10-20)
150
+
151
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
152
+
153
+ ## 4.1.0-dev.77 (2025-10-20)
154
+
155
+ ### 🩹 Fixes
156
+
157
+ - add missing @openfeature/core peer dependency ([2c4a904b0](https://github.com/powerhouse-inc/powerhouse/commit/2c4a904b0))
158
+
159
+ ### ❤️ Thank You
160
+
161
+ - acaldas @acaldas
162
+
163
+ ## 4.1.0-dev.76 (2025-10-18)
164
+
165
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
166
+
167
+ ## 4.1.0-dev.75 (2025-10-17)
168
+
169
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
170
+
171
+ ## 4.1.0-dev.74 (2025-10-15)
172
+
173
+ ### 🩹 Fixes
174
+
175
+ - **codegen:** update graphql dependency in package.json ([257f368ac](https://github.com/powerhouse-inc/powerhouse/commit/257f368ac))
176
+ - merge fixes ([e5eda5985](https://github.com/powerhouse-inc/powerhouse/commit/e5eda5985))
177
+
178
+ ### ❤️ Thank You
179
+
180
+ - Benjamin Jordan (@thegoldenmule)
181
+ - Guillermo Puente @gpuente
182
+
183
+ ## 4.1.0-dev.73 (2025-10-15)
184
+
185
+ ### 🚀 Features
186
+
187
+ - **renown:** added login button ([f109c7305](https://github.com/powerhouse-inc/powerhouse/commit/f109c7305))
188
+
189
+ ### ❤️ Thank You
190
+
191
+ - Frank
192
+
193
+ ## 4.1.0-dev.72 (2025-10-15)
194
+
195
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
196
+
197
+ ## 4.1.0-dev.71 (2025-10-15)
198
+
199
+ ### 🩹 Fixes
200
+
201
+ - **codegen:** update analytics processor imports to use in processor templates ([#1954](https://github.com/powerhouse-inc/powerhouse/pull/1954))
202
+
203
+ ### ❤️ Thank You
204
+
205
+ - Guillermo Puente Sandoval @gpuente
206
+
207
+ ## 4.1.0-dev.70 (2025-10-14)
208
+
209
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
210
+
211
+ ## 4.1.0-dev.69 (2025-10-11)
212
+
213
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
214
+
215
+ ## 4.1.0-dev.68 (2025-10-11)
216
+
217
+ ### 🚀 Features
218
+
219
+ - **vetra:** added read model to fetch vetra packages ([abb6d3742](https://github.com/powerhouse-inc/powerhouse/commit/abb6d3742))
220
+
221
+ ### ❤️ Thank You
222
+
223
+ - Frank
224
+
225
+ ## 4.1.0-dev.67 (2025-10-10)
226
+
227
+ ### 🚀 Features
228
+
229
+ - **vetra:** add open button to Package Information section ([#1930](https://github.com/powerhouse-inc/powerhouse/pull/1930))
230
+
231
+ ### ❤️ Thank You
232
+
233
+ - Guillermo Puente Sandoval @gpuente
234
+
235
+ ## 4.1.0-dev.66 (2025-10-09)
236
+
237
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
238
+
239
+ ## 4.1.0-dev.65 (2025-10-09)
240
+
241
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
242
+
243
+ ## 4.1.0-dev.64 (2025-10-09)
244
+
245
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
246
+
247
+ ## 4.1.0-dev.63 (2025-10-09)
248
+
249
+ ### 🚀 Features
250
+
251
+ - update @electric-sql/pglite version ([fa3529328](https://github.com/powerhouse-inc/powerhouse/commit/fa3529328))
252
+
253
+ ### ❤️ Thank You
254
+
255
+ - acaldas @acaldas
256
+
257
+ ## 4.1.0-dev.62 (2025-10-08)
258
+
259
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
260
+
261
+ ## 4.1.0-dev.61 (2025-10-08)
262
+
263
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
264
+
265
+ ## 4.1.0-dev.60 (2025-10-08)
266
+
267
+ ### 🚀 Features
268
+
269
+ - **vetra:** added read model to fetch vetra packages ([23c55364d](https://github.com/powerhouse-inc/powerhouse/commit/23c55364d))
270
+ - **monorepo:** use latest versions of react related deps ([#1905](https://github.com/powerhouse-inc/powerhouse/pull/1905))
271
+ - **monorepo:** remove global storybook installs ([#1903](https://github.com/powerhouse-inc/powerhouse/pull/1903))
272
+ - **monorepo:** update to react 19 ([#1902](https://github.com/powerhouse-inc/powerhouse/pull/1902))
273
+ - **vetra:** enabled HMR in dev mode ([8cf19757e](https://github.com/powerhouse-inc/powerhouse/commit/8cf19757e))
274
+ - **vetra:** new connect build setup on vetra ([8dd11a849](https://github.com/powerhouse-inc/powerhouse/commit/8dd11a849))
275
+ - **monorepo:** revert package versions ([8a1a02628](https://github.com/powerhouse-inc/powerhouse/commit/8a1a02628))
276
+ - **monorepo:** update eslint config ([ac97af97d](https://github.com/powerhouse-inc/powerhouse/commit/ac97af97d))
277
+ - adding feature flags to reactor-mcp ([fe4f2f683](https://github.com/powerhouse-inc/powerhouse/commit/fe4f2f683))
278
+ - stubbing out feature flag + reactor setup in connect and deleting unused code in reactor-browser ([793bbd7af](https://github.com/powerhouse-inc/powerhouse/commit/793bbd7af))
279
+ - syncing feature flag behavior between switchboard and reactor-local ([e45dc2bf7](https://github.com/powerhouse-inc/powerhouse/commit/e45dc2bf7))
280
+ - added initial pieces of the kysely operation store implementation ([3fbece162](https://github.com/powerhouse-inc/powerhouse/commit/3fbece162))
281
+ - **connect,builder-tools:** build rework ([#1871](https://github.com/powerhouse-inc/powerhouse/pull/1871))
282
+ - **codegen:** updated editor boilerplate with document state and example setName dispatch ([3e7c51cc3](https://github.com/powerhouse-inc/powerhouse/commit/3e7c51cc3))
283
+ - restructure document model to avoid circular imports ([#1874](https://github.com/powerhouse-inc/powerhouse/pull/1874))
284
+ - added watch-packages option to vetra command and disabled dynamic package loading by default ([#1875](https://github.com/powerhouse-inc/powerhouse/pull/1875))
285
+
286
+ ### 🩹 Fixes
287
+
288
+ - **switchboard, ph-cli, ph-cmd, builder-tools:** ensure minimum node version ([e0fb396e7](https://github.com/powerhouse-inc/powerhouse/commit/e0fb396e7))
289
+ - **connect:** added switchboard push listener ([c611ffa9e](https://github.com/powerhouse-inc/powerhouse/commit/c611ffa9e))
290
+
291
+ ### ❤️ Thank You
292
+
293
+ - acaldas @acaldas
294
+ - Benjamin Jordan (@thegoldenmule)
295
+ - Frank
296
+ - Guillermo Puente @gpuente
297
+ - Guillermo Puente Sandoval @gpuente
298
+ - Ryan Wolhuter @ryanwolhuter
299
+ - ryanwolhuter @ryanwolhuter
300
+
301
+ ## 4.1.0-dev.59 (2025-09-24)
302
+
303
+ ### 🚀 Features
304
+
305
+ - **reactor:** fix lint error ([53777e154](https://github.com/powerhouse-inc/powerhouse/commit/53777e154))
306
+ - **monorepo:** rename tsc to tsc:build ([c1385418b](https://github.com/powerhouse-inc/powerhouse/commit/c1385418b))
307
+
308
+ ### 🩹 Fixes
309
+
310
+ - **builder-tools:** declare @storybook/preview-api dependency ([705ac8da1](https://github.com/powerhouse-inc/powerhouse/commit/705ac8da1))
311
+ - part 2 of build fixes for module changes ([3000a13c3](https://github.com/powerhouse-inc/powerhouse/commit/3000a13c3))
312
+ - lots of type fixes for modules ([8f4cf02fe](https://github.com/powerhouse-inc/powerhouse/commit/8f4cf02fe))
313
+
314
+ ### ❤️ Thank You
315
+
316
+ - acaldas @acaldas
317
+ - Benjamin Jordan (@thegoldenmule)
318
+ - ryanwolhuter @ryanwolhuter
319
+
320
+ ## 4.1.0-dev.58 (2025-09-18)
321
+
322
+ ### 🚀 Features
323
+
324
+ - adding feature flag to switchboard for controlling reactorv2 api ([4486c8a8d](https://github.com/powerhouse-inc/powerhouse/commit/4486c8a8d))
325
+
326
+ ### 🩹 Fixes
327
+
328
+ - test fix for document-drive package ([40f4b6416](https://github.com/powerhouse-inc/powerhouse/commit/40f4b6416))
329
+ - fixing the utc times ([15b06d2e2](https://github.com/powerhouse-inc/powerhouse/commit/15b06d2e2))
330
+
331
+ ### ❤️ Thank You
332
+
333
+ - Benjamin Jordan (@thegoldenmule)
334
+
335
+ ## 4.1.0-dev.57 (2025-09-17)
336
+
337
+ ### 🚀 Features
338
+
339
+ - **monorepo:** empty commit to satisfy naming ([5aa18f417](https://github.com/powerhouse-inc/powerhouse/commit/5aa18f417))
340
+ - **monorepo:** merge main ([79f6472b1](https://github.com/powerhouse-inc/powerhouse/commit/79f6472b1))
341
+ - **monorepo:** update release branch workflow ([e9c221ab5](https://github.com/powerhouse-inc/powerhouse/commit/e9c221ab5))
342
+ - add processor configuration support to switchboard and Vetra integration ([#1859](https://github.com/powerhouse-inc/powerhouse/pull/1859))
343
+
344
+ ### 🩹 Fixes
345
+
346
+ - **monorepo:** re-add nx js plugin ([d477a49d7](https://github.com/powerhouse-inc/powerhouse/commit/d477a49d7))
347
+ - **monorepo:** regenerate lockfile ([7811171ff](https://github.com/powerhouse-inc/powerhouse/commit/7811171ff))
348
+ - **monorepo:** linting and type checking ([#1776](https://github.com/powerhouse-inc/powerhouse/pull/1776))
349
+
350
+ ### ❤️ Thank You
351
+
352
+ - Guillermo Puente Sandoval @gpuente
353
+ - Ryan Wolhuter @ryanwolhuter
354
+ - ryanwolhuter @ryanwolhuter
355
+
356
+ ## 4.1.0-dev.56 (2025-09-17)
357
+
358
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
359
+
360
+ ## 4.1.0-dev.55 (2025-09-16)
361
+
362
+ ### 🚀 Features
363
+
364
+ - enable supported document types for drag and drop feature ([#1860](https://github.com/powerhouse-inc/powerhouse/pull/1860))
365
+ - add processor configuration support to switchboard and Vetra integration ([#1859](https://github.com/powerhouse-inc/powerhouse/pull/1859))
366
+
367
+ ### ❤️ Thank You
368
+
369
+ - Guillermo Puente Sandoval @gpuente
370
+
371
+ ## 4.1.0-dev.54 (2025-09-16)
372
+
373
+ ### 🚀 Features
374
+
375
+ - adding reactor client to subgraph args ([d0a8011e6](https://github.com/powerhouse-inc/powerhouse/commit/d0a8011e6))
376
+
377
+ ### ❤️ Thank You
378
+
379
+ - Benjamin Jordan (@thegoldenmule)
380
+
381
+ ## 4.1.0-dev.53 (2025-09-13)
382
+
383
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
384
+
385
+ ## 4.1.0-dev.52 (2025-09-12)
386
+
387
+ ### 🩹 Fixes
388
+
389
+ - **connect-e2e:** fix failing tests ([88c3bea94](https://github.com/powerhouse-inc/powerhouse/commit/88c3bea94))
390
+
391
+ ### ❤️ Thank You
392
+
393
+ - acaldas @acaldas
394
+
395
+ ## 4.1.0-dev.51 (2025-09-11)
396
+
397
+ ### 🚀 Features
398
+
399
+ - **reactor-api:** generate sdk ([ec107015c](https://github.com/powerhouse-inc/powerhouse/commit/ec107015c))
400
+ - **reactor-api:** initial gql codegen ([3db9e9778](https://github.com/powerhouse-inc/powerhouse/commit/3db9e9778))
401
+ - **monorepo:** make format consistent across ignores ([98469560f](https://github.com/powerhouse-inc/powerhouse/commit/98469560f))
402
+ - **monorepo:** use consistent separate type imports ([6fd4ac0f4](https://github.com/powerhouse-inc/powerhouse/commit/6fd4ac0f4))
403
+
404
+ ### 🩹 Fixes
405
+
406
+ - annoyingly, you have to add ignores to the root eslint ([bb6d993bd](https://github.com/powerhouse-inc/powerhouse/commit/bb6d993bd))
407
+ - **docs:** improve document hooks documentation ([d05fcb835](https://github.com/powerhouse-inc/powerhouse/commit/d05fcb835))
408
+
409
+ ### ❤️ Thank You
410
+
411
+ - Benjamin Jordan (@thegoldenmule)
412
+ - Callme-T
413
+ - ryanwolhuter @ryanwolhuter
414
+
415
+ ## 5.0.0-staging.9 (2025-09-09)
416
+
417
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
418
+
1
419
  ## 5.0.0-staging.8 (2025-09-09)
2
420
 
3
421
  This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
package/README.md CHANGED
@@ -56,15 +56,16 @@ pnpm add -g @powerhousedao/switchboard
56
56
 
57
57
  ### Environment Variables
58
58
 
59
- | Variable | Description | Default |
60
- |----------|-------------|---------|
61
- | `PORT` | Server port | `4001` |
62
- | `DATABASE_URL` | Database connection string | `./.ph/drive-storage` |
63
- | `REDIS_URL` | Redis connection URL | - |
64
- | `REDIS_TLS_URL` | Redis TLS connection URL | - |
65
- | `SENTRY_DSN` | Sentry DSN for error tracking | - |
66
- | `SENTRY_ENV` | Sentry environment | - |
67
- | `PYROSCOPE_SERVER_ADDRESS` | Pyroscope server address | - |
59
+ | Variable | Description | Default |
60
+ | ---------------------------- | ---------------------------------- | --------------------- |
61
+ | `PORT` | Server port | `4001` |
62
+ | `DATABASE_URL` | Database connection string | `./.ph/drive-storage` |
63
+ | `REDIS_URL` | Redis connection URL | - |
64
+ | `REDIS_TLS_URL` | Redis TLS connection URL | - |
65
+ | `SENTRY_DSN` | Sentry DSN for error tracking | - |
66
+ | `SENTRY_ENV` | Sentry environment | - |
67
+ | `PYROSCOPE_SERVER_ADDRESS` | Pyroscope server address | - |
68
+ | `FEATURE_REACTORV2_ENABLED` | Enable Reactor v2 subgraph feature | `false` |
68
69
 
69
70
  ### Authentication Configuration
70
71
 
@@ -72,10 +73,10 @@ pnpm add -g @powerhousedao/switchboard
72
73
  const options = {
73
74
  auth: {
74
75
  enabled: true,
75
- guests: ['0x123', '0x456'],
76
- users: ['0x789', '0xabc'],
77
- admins: ['0xdef', '0xghi']
78
- }
76
+ guests: ["0x123", "0x456"],
77
+ users: ["0x789", "0xabc"],
78
+ admins: ["0xdef", "0xghi"],
79
+ },
79
80
  };
80
81
  ```
81
82
 
@@ -92,7 +93,7 @@ Switchboard supports multiple storage backends:
92
93
  ### Using Docker Compose
93
94
 
94
95
  ```yaml
95
- version: '3.8'
96
+ version: "3.8"
96
97
  services:
97
98
  switchboard:
98
99
  image: powerhouse/switchboard:latest
@@ -1,4 +1,4 @@
1
- import { type RedisClientType } from "redis";
1
+ import type { RedisClientType } from "redis";
2
2
  export declare let redisClient: RedisClientType | undefined;
3
3
  export declare const initRedis: (url: string) => Promise<RedisClientType | undefined>;
4
4
  export declare const closeRedis: () => Promise<void> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../src/clients/redis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,eAAe,EAAE,MAAM,OAAO,CAAC;AAE3D,eAAO,IAAI,WAAW,EAAE,eAAe,GAAG,SAAS,CAAC;AACpD,eAAO,MAAM,SAAS,GACpB,KAAK,MAAM,KACV,OAAO,CAAC,eAAe,GAAG,SAAS,CAiCrC,CAAC;AAeF,eAAO,MAAM,UAAU,iCAItB,CAAC"}
1
+ {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../src/clients/redis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAG7C,eAAO,IAAI,WAAW,EAAE,eAAe,GAAG,SAAS,CAAC;AACpD,eAAO,MAAM,SAAS,GACpB,KAAK,MAAM,KACV,OAAO,CAAC,eAAe,GAAG,SAAS,CAiCrC,CAAC;AAeF,eAAO,MAAM,UAAU,iCAItB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"redis.js","sourceRoot":"","sources":["../../../src/clients/redis.ts"],"names":[],"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,MAAM,CAAC,CAAC;QAClB,CAAC,CAAC;aACD,KAAK,CAAC,KAAK,EAAE,CAAU,EAAE,EAAE;YAC1B,MAAM,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC9D,kCAAkC;YAClC,yCAAyC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CACvB,KAAK,IAAI,EAAE;IACT,IAAI,CAAC;QACH,IAAI,WAAW,EAAE,CAAC;YAChB,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC;QAC3B,CAAC;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,qBAAqB,EAAE,GAAG,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC,EACD,IAAI,GAAG,EAAE,GAAG,CAAC,CACd,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,aAAa,CAAC,KAAK,CAAC,CAAC;IAErB,OAAO,WAAW,EAAE,UAAU,EAAE,CAAC;AACnC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import dotenv from "dotenv";
2
2
  dotenv.config();
3
- import { getConfig } from "@powerhousedao/config/utils";
3
+ import { getConfig } from "@powerhousedao/config/node";
4
4
  const phConfig = getConfig();
5
5
  const { switchboard } = phConfig;
6
6
  export const config = {
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,MAAM,QAAQ,GAAG,SAAS,EAAE,CAAC;AAC7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AI,CAAC;IACjC,GAAG,EAAE,IAAI;CACV,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function initFeatureFlags(): Promise<import("@openfeature/server-sdk").Client>;
2
+ export declare function isReactorv2Enabled(): Promise<boolean>;
3
+ export declare function isDualActionCreateEnabled(): Promise<boolean>;
4
+ //# sourceMappingURL=feature-flags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../src/feature-flags.ts"],"names":[],"mappings":"AAGA,wBAAsB,gBAAgB,sDAOrC;AAED,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,OAAO,CAAC,CAG3D;AAED,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,OAAO,CAAC,CAMlE"}
@@ -0,0 +1,17 @@
1
+ import { EnvVarProvider } from "@openfeature/env-var-provider";
2
+ import { OpenFeature } from "@openfeature/server-sdk";
3
+ export async function initFeatureFlags() {
4
+ // for now, we're only using env vars for feature flags
5
+ const provider = new EnvVarProvider();
6
+ await OpenFeature.setProviderAndWait(provider);
7
+ return OpenFeature.getClient();
8
+ }
9
+ export async function isReactorv2Enabled() {
10
+ const client = OpenFeature.getClient();
11
+ return await client.getBooleanValue("FEATURE_REACTORV2_ENABLED", false);
12
+ }
13
+ export async function isDualActionCreateEnabled() {
14
+ const client = OpenFeature.getClient();
15
+ return await client.getBooleanValue("FEATURE_DUAL_ACTION_CREATE_ENABLED", false);
16
+ }
17
+ //# sourceMappingURL=feature-flags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../../src/feature-flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,CAAC,KAAK,UAAU,gBAAgB;IACpC,uDAAuD;IACvD,MAAM,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC;IAEtC,MAAM,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAE/C,OAAO,WAAW,CAAC,SAAS,EAAE,CAAC;AACjC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,MAAM,MAAM,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;IACvC,OAAO,MAAM,MAAM,CAAC,eAAe,CAAC,2BAA2B,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yBAAyB;IAC7C,MAAM,MAAM,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;IACvC,OAAO,MAAM,MAAM,CAAC,eAAe,CACjC,oCAAoC,EACpC,KAAK,CACN,CAAC;AACJ,CAAC"}
package/dist/src/index.js CHANGED
@@ -1,5 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { config } from "./config.js";
3
3
  import { startSwitchboard } from "./server.js";
4
+ function ensureNodeVersion(minVersion = "22") {
5
+ const version = process.versions.node;
6
+ if (!version) {
7
+ return;
8
+ }
9
+ if (version < minVersion) {
10
+ console.error(`Node version ${minVersion} or higher is required. Current version: ${version}`);
11
+ process.exit(1);
12
+ }
13
+ }
14
+ // Ensure minimum Node.js version
15
+ ensureNodeVersion("22");
4
16
  startSwitchboard(config).catch(console.error);
5
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,SAAS,iBAAiB,CAAC,UAAU,GAAG,IAAI;IAC1C,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;IACtC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;IACT,CAAC;IAED,IAAI,OAAO,GAAG,UAAU,EAAE,CAAC;QACzB,OAAO,CAAC,KAAK,CACX,gBAAgB,UAAU,4CAA4C,OAAO,EAAE,CAChF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AACD,iCAAiC;AACjC,iBAAiB,CAAC,IAAI,CAAC,CAAC;AAExB,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { type StartServerOptions, type SwitchboardReactor } from "./types.js";
2
+ import type { StartServerOptions, SwitchboardReactor } from "./types.js";
3
3
  export declare const startSwitchboard: (options?: StartServerOptions) => Promise<SwitchboardReactor>;
4
4
  export * from "./types.js";
5
5
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";AA0BA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAyI9E,eAAO,MAAM,gBAAgB,GAC3B,UAAS,kBAAuB,KAC/B,OAAO,CAAC,kBAAkB,CAmB5B,CAAC;AAEF,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";AA2CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA0MzE,eAAO,MAAM,gBAAgB,GAC3B,UAAS,kBAAuB,KAC/B,OAAO,CAAC,kBAAkB,CAgC5B,CAAC;AAEF,cAAc,YAAY,CAAC"}