twitter-lite
Advanced tools
Comparing version 0.9.3 to 0.9.4
{ | ||
"name": "twitter-lite", | ||
"version": "0.9.3", | ||
"description": "A tiny, full-featured client / server library for the Twitter API", | ||
"version": "0.9.4", | ||
"description": "Tiny, full-featured client/server REST/stream library for the Twitter API", | ||
"source": [ | ||
@@ -51,3 +51,3 @@ "twitter.js", | ||
"test": "eslint . && jest --detectOpenHandles", | ||
"release": "npm run -s prepare && npm test && git tag $npm_package_version && git push && git push --tags && npm publish" | ||
"release": "git tag $npm_package_version && git push && git push --tags && npm publish" | ||
}, | ||
@@ -54,0 +54,0 @@ "husky": { |
@@ -191,3 +191,3 @@ # Twitter Lite | ||
After calling `stream.destroy()`, you can recreate the stream, if you wait long enough - see the "should reuse stream N times" test. Note that Twitter may return a "420 Enhance your calm" error if you switch streams too fast. There are no response headers specifying how long to wait, and [the error](https://stackoverflow.com/questions/13438965/avoid-420s-with-streaming-api), as well as [streaming limits](https://stackoverflow.com/questions/34962677/twitter-streaming-api-limits) in general, are poorly documented. Trial and error has shown that for tracked keywords, waiting 20 to 30 seconds between re-creating streams was enough. | ||
After calling `stream.destroy()`, you can recreate the stream, if you wait long enough - see the "should reuse stream N times" test. Note that Twitter may return a "420 Enhance your calm" error if you switch streams too fast. There are no response headers specifying how long to wait, and [the error](https://stackoverflow.com/questions/13438965/avoid-420s-with-streaming-api), as well as [streaming limits](https://stackoverflow.com/questions/34962677/twitter-streaming-api-limits) in general, are poorly documented. Trial and error has shown that for tracked keywords, waiting 20 to 30 seconds between re-creating streams was enough. Remember to also set up the `.on()` handlers again for the new stream. | ||
@@ -194,0 +194,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 3 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85433
18
363
7