fetch-observable
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "fetch-observable", | ||
"description": "Observable-based Fetch API", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "BSD-3-Clause", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
], | ||
"main": "dist/lib/fetch-observable.js", | ||
"main": "dist/lib/fetchobservable.js", | ||
"scripts": { | ||
@@ -19,0 +19,0 @@ "build": "concurrent --kill-others 'npm run build-full' 'npm run build-min'", |
@@ -24,5 +24,6 @@ # fetchObservable() | ||
const liveFeed = fetchObservable( | ||
"http://example.org/live-feed.json", | ||
"http://example.org/live-feed.json", // <-- URL or array of URLs. | ||
{ | ||
refreshDelay: (iteration) => iteration * 1000 // <-- Callback or just integer ms. | ||
refreshDelay: (iteration) => iteration * 1000, // <-- Callback or just integer ms. | ||
method: "POST" // <-- Basic Fetch API options. | ||
} | ||
@@ -29,0 +30,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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64748
61
3