@zayne-labs/callapi 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://bundlephobia.com/result?p=@zayne-labs/callapi)[](https://www.npmjs.com/package/@zayne-labs/callapi)
|
|
4
4
|
|
|
5
|
-
CallApi Fetch is an extra-lightweight wrapper over fetch that provides
|
|
5
|
+
CallApi Fetch is an extra-lightweight wrapper over fetch that provides quality of life improvements beyond the bare fetch api, while keeping the API familiar.
|
|
6
6
|
|
|
7
7
|
It takes in a url and a request options object, just like fetch, but with some additional options to make your life easier. Check out the [API Reference](#api-reference) for more details.
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zayne-labs/callapi",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A lightweight wrapper over fetch with quality of life improvements like built-in request cancellation, retries, interceptors and more",
|
|
6
6
|
"main": "./dist/cjs/index.cjs",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@arethetypeswrong/cli": "^0.15.3",
|
|
40
40
|
"@changesets/cli": "^2.27.5",
|
|
41
41
|
"@eslint/js": "^9.5.0",
|
|
42
|
+
"@size-limit/preset-small-lib": "^11.1.4",
|
|
42
43
|
"@zayne-labs/tsconfig": "^0.0.7",
|
|
43
44
|
"eslint": "^9.5.0",
|
|
44
45
|
"eslint-plugin-import-x": "^0.5.1",
|
|
@@ -49,14 +50,16 @@
|
|
|
49
50
|
"husky": "^9.0.11",
|
|
50
51
|
"lint-staged": "^15.2.7",
|
|
51
52
|
"prettier": "^3.3.2",
|
|
53
|
+
"size-limit": "^11.1.4",
|
|
52
54
|
"tsup": "^8.1.0",
|
|
53
55
|
"typescript": "5.5.3",
|
|
54
56
|
"typescript-eslint": "^7.13.1"
|
|
55
57
|
},
|
|
56
58
|
"scripts": {
|
|
57
59
|
"test:check-types": "tsc --pretty -p tsconfig.json",
|
|
58
|
-
"test:format": "prettier --write .",
|
|
60
|
+
"test:format": "prettier --write --cache .",
|
|
59
61
|
"test:lint": "eslint src/**/*.ts --max-warnings 10 --report-unused-disable-directives",
|
|
62
|
+
"test:size": "size-limit",
|
|
60
63
|
"build": "tsup",
|
|
61
64
|
"build:dev": "tsup --watch",
|
|
62
65
|
"version-package": "changeset version",
|