-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace twurple with http endpoint / raw requests (#145)
* initial Axios port trying fetch native next with http endpoint * Converted to HTTPEndpoint * better createEndpoint * moar extends * Fixed some minor syntax things * Added more endpoints for twitch api * Added URLSearchParams handling into helix.ts fetchFn * Ported all prev implemented nodes to non twurple. * Added check for expired token before sending helix requests. * nicer api yay --------- Co-authored-by: Brendan Allan <brendonovich@outlook.com>
- Loading branch information
1 parent
1f4a0b8
commit 962ea7e
Showing
8 changed files
with
1,222 additions
and
703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,42 @@ | ||
{ | ||
"name": "@macrograph/packages", | ||
"version": "0.0.0", | ||
"private": true, | ||
"main": "./src/index.ts", | ||
"types": "./src/index.ts", | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
"test": "jest", | ||
"lint": "eslint src", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"typecheck": "tsc -b", | ||
"build": "tsc" | ||
}, | ||
"dependencies": { | ||
"@rspc/client": "0.0.0-main-6ed8cc98", | ||
"@rspc/tauri": "0.0.0-main-6ed8cc98", | ||
"@solid-primitives/map": "^0.4.3", | ||
"@solid-primitives/set": "^0.4.4", | ||
"@tauri-apps/api": "^1.3.0", | ||
"@twurple/api": "^6.2.0", | ||
"@twurple/auth": "^6.2.0", | ||
"@twurple/chat": "^6.2.0", | ||
"@twurple/eventsub-ws": "^6.2.0", | ||
"discord.js": "^14.9.0", | ||
"obs-websocket-js": "^5.0.2", | ||
"tmi.js": "^1.8.5", | ||
"typescript-result-option": "^0.2.5", | ||
"zod": "^3.21.4" | ||
}, | ||
"devDependencies": { | ||
"@macrograph/core": "workspace:*", | ||
"@total-typescript/ts-reset": "^0.4.2", | ||
"@types/tmi.js": "^1.8.3", | ||
"solid-js": "^1.7.0", | ||
"type-fest": "^2.19.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
"peerDependencies": { | ||
"@macrograph/core": "workspace:*", | ||
"solid-js": "^1.7.0" | ||
} | ||
"name": "@macrograph/packages", | ||
"version": "0.0.0", | ||
"private": true, | ||
"main": "./src/index.ts", | ||
"types": "./src/index.ts", | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
"test": "jest", | ||
"lint": "eslint src", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"typecheck": "tsc -b", | ||
"build": "tsc" | ||
}, | ||
"dependencies": { | ||
"@rspc/client": "0.0.0-main-6ed8cc98", | ||
"@rspc/tauri": "0.0.0-main-6ed8cc98", | ||
"@solid-primitives/map": "^0.4.3", | ||
"@solid-primitives/set": "^0.4.4", | ||
"@tauri-apps/api": "^1.3.0", | ||
"@twurple/auth": "^6.2.0", | ||
"discord.js": "^14.9.0", | ||
"obs-websocket-js": "^5.0.2", | ||
"tmi.js": "^1.8.5", | ||
"typescript-result-option": "^0.2.5", | ||
"zod": "^3.21.4" | ||
}, | ||
"devDependencies": { | ||
"@macrograph/core": "workspace:*", | ||
"@total-typescript/ts-reset": "^0.4.2", | ||
"@types/tmi.js": "^1.8.3", | ||
"solid-js": "^1.7.0", | ||
"type-fest": "^2.19.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
"peerDependencies": { | ||
"@macrograph/core": "workspace:*", | ||
"solid-js": "^1.7.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.