From 6ec444cc14dbceaceca8cd9d7e706e47c4dd2e72 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Mon, 9 Sep 2024 20:09:37 -0400 Subject: [PATCH] test --- JS-SDK/package.json | 2 +- JS-SDK/src/{lib/tether.ts => hook/websocket.ts} | 1 + JS-SDK/src/index.ts | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) rename JS-SDK/src/{lib/tether.ts => hook/websocket.ts} (98%) diff --git a/JS-SDK/package.json b/JS-SDK/package.json index 8ff45f5..c37f810 100644 --- a/JS-SDK/package.json +++ b/JS-SDK/package.json @@ -1,6 +1,6 @@ { "name": "usetether", - "version": "1.0.8", + "version": "1.0.9", "author": "Braydon (Rainnny) ", "description": "An API designed to provide real-time access to a user's Discord data.", "keywords": [ diff --git a/JS-SDK/src/lib/tether.ts b/JS-SDK/src/hook/websocket.ts similarity index 98% rename from JS-SDK/src/lib/tether.ts rename to JS-SDK/src/hook/websocket.ts index 362e937..89182bf 100644 --- a/JS-SDK/src/lib/tether.ts +++ b/JS-SDK/src/hook/websocket.ts @@ -45,3 +45,4 @@ export const useTetherWS = ( return user; }; +export default useTetherWS; diff --git a/JS-SDK/src/index.ts b/JS-SDK/src/index.ts index 93767e5..db7b0d5 100644 --- a/JS-SDK/src/index.ts +++ b/JS-SDK/src/index.ts @@ -1,4 +1,5 @@ -export * from "@/lib/tether"; +// Hooks +export * from "@/hook/websocket"; // Types export * from "@/types/config";