From 4ca6c83a09c0c5518049aecd7cb10075e739af05 Mon Sep 17 00:00:00 2001 From: Whipstickgostop <8366326+Whipstickgostop@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:27:56 -0400 Subject: [PATCH] feat: support authentication, updates for Streamer.bot v0.2.5 --- .../streamerbot/StreamerbotPlayground.vue | 73 +- apps/docs/content/3.api/0.config.md | 7 + apps/docs/content/3.api/1.requests.md | 50 + apps/docs/package.json | 16 +- apps/toolkit/package.json | 8 +- apps/toolkit/src/stores/streamerbot.store.ts | 8 +- examples/nodejs/index.js | 2 +- examples/nodejs/package-lock.json | 284 +++ examples/nodejs/package.json | 1 - package.json | 2 +- packages/client/package.json | 4 +- packages/client/src/ws/StreamerbotClient.ts | 552 +++-- .../src/ws/types/streamerbot-auth.types.ts | 12 + .../src/ws/types/streamerbot-request.types.ts | 2 + .../ws/types/streamerbot-response.types.ts | 2 + packages/client/src/ws/util/websocket.util.ts | 62 +- packages/vue/package.json | 2 +- .../vue/src/composables/useStreamerbot.ts | 79 +- pnpm-lock.yaml | 1982 +++++++---------- 19 files changed, 1638 insertions(+), 1510 deletions(-) create mode 100644 examples/nodejs/package-lock.json create mode 100644 packages/client/src/ws/types/streamerbot-auth.types.ts diff --git a/apps/docs/app/components/streamerbot/StreamerbotPlayground.vue b/apps/docs/app/components/streamerbot/StreamerbotPlayground.vue index ef41bca..e6ffb12 100644 --- a/apps/docs/app/components/streamerbot/StreamerbotPlayground.vue +++ b/apps/docs/app/components/streamerbot/StreamerbotPlayground.vue @@ -1,9 +1,14 @@ -
- - - - - - - - - -
+ +
+ + + + + + + + + +
+ +
+ + + +
+