myfetchapi
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "myfetchapi", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "mFetch is a JavaScript library that provides a utility function for making HTTP requests with queuing and retry functionality.", | ||
"main": "index.js", | ||
"types": "index.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "esbuild index.ts --format=esm --bundle --outfile=index.js" | ||
"build": "tsc && esbuild src/index.ts --format=esm --bundle --outfile=dist/index.js" | ||
}, | ||
@@ -31,2 +31,2 @@ "repository": { | ||
"homepage": "https://github.com/ugo-studio/myfetch#readme" | ||
} | ||
} |
@@ -22,3 +22,3 @@ # myfetchapi | ||
// Make a request | ||
myFetch("https://example.com/api/data") | ||
myFetch("https://example.com/api/data", { method: "GET" }, { maxRetry: 3 }) | ||
.then((response) => console.log(response)) | ||
@@ -25,0 +25,0 @@ .catch((error) => console.error(error)); |
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
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
16469
5
179
2