talha-t / twitch-wrapper-ts Goto Github PK
View Code? Open in Web Editor NEWTwitch Chat and API Implementation for Typescript
Home Page: https://www.npmjs.com/package/twitch-wrapper-ts
License: MIT License
Twitch Chat and API Implementation for Typescript
Home Page: https://www.npmjs.com/package/twitch-wrapper-ts
License: MIT License
Hei,
when I try to update our project to use the latest twitch-wrapper-ts version with the colon fixes. I end up with the error below. Is it possible that I introduced a regression when bumping the dependencies in Try updating the package dependencies?
Thanks.
$ npm update --save
[...]
[email protected]
[...]
$ make build
[...]
ERROR in ./src/twitch/TwitchChat.ts
(1,51): error TS2307: Cannot find module 'twitch-wrapper-ts'.
ERROR in ./src/twitch/TwitchChat.ts
Module not found: Error: Can't resolve 'twitch-wrapper-ts' in '/Users/scanf/src/github.com/scanf/snake/src/twitch'
@ ./src/twitch/TwitchChat.ts 1:0-43
@ ./src/states/game.ts
@ ./src/app.ts
@ multi ./src/app.ts
[...]
The package on NPMJS and this repo are different versions. Github appears to be 0.4.1 and NPM reports 0.5.0.
https://github.com/Talha-T/twitch-wrapper-ts/blob/master/src/parser.ts#L55
line 62: channel and content is seperated by last colon, hence if a message contains a colon the content and channel will be set to incorrect values.
Example message which results in bad behaviour:
PRIVMSG #twitch-user: http://twitch.tv
actual behaviour:
channel name: "#twitch-user: http"
content: "//twitch.tv"
expected behaviour:
channel name: "#twitch-user"
content: "http://twitch.tv"
Instead of getting with any, implement all types for all responses from Twitch. This will be finished at 1.0.0 release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.