@typed-assistant/builder 0.0.42 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-assistant/builder",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "exports": {
5
5
  "./appProcess": "./src/appProcess.tsx",
6
6
  "./bunInstall": "./src/bunInstall.tsx",
@@ -24,10 +24,10 @@
24
24
  "home-assistant-js-websocket": "^8.2.0",
25
25
  "ts-toolbelt": "^9.6.0",
26
26
  "typescript": "^5.3.3",
27
+ "@typed-assistant/eslint-config": "0.0.8",
27
28
  "@typed-assistant/logger": "0.0.13",
28
29
  "@typed-assistant/typescript-config": "0.0.8",
29
- "@typed-assistant/utils": "0.0.14",
30
- "@typed-assistant/eslint-config": "0.0.8"
30
+ "@typed-assistant/utils": "0.0.14"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "home-assistant-js-websocket": "^8.2.0"
@@ -40,13 +40,13 @@ const listRepoWebhooks = async () =>
40
40
  .then(z.array(Webhook).parse),
41
41
  )()
42
42
 
43
- const deleteRepoWebhook = async (id: number) =>
44
- withErrorHandling(() =>
45
- fetch(
46
- `https://api.github.com/repos/${process.env.GITHUB_USERNAME}/${process.env.GITHUB_REPO}/hooks/${id}`,
47
- { ...commonOptions, method: "DELETE" },
48
- ),
49
- )()
43
+ // const deleteRepoWebhook = async (id: number) =>
44
+ // withErrorHandling(() =>
45
+ // fetch(
46
+ // `https://api.github.com/repos/${process.env.GITHUB_USERNAME}/${process.env.GITHUB_REPO}/hooks/${id}`,
47
+ // { ...commonOptions, method: "DELETE" },
48
+ // ),
49
+ // )()
50
50
 
51
51
  // const deleteAllRepoWebhooks = async () => {
52
52
  // const { data: webhooks, error } = await listRepoWebhooks()
@@ -162,7 +162,7 @@ export const startWebappServer = async ({
162
162
  .ws("/ws", {
163
163
  response: t.String(),
164
164
  async open(ws) {
165
- ws.send("Connected successfully. Awaiting messages...")
165
+ ws.send(lastMessage || "Connected successfully. Awaiting messages...")
166
166
  subscribers.set(ws.id, (message) => {
167
167
  ws.send(message)
168
168
  })