fetch-layers 0.0.0-stage → 1.1.0

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/package.json CHANGED
@@ -1,6 +1,101 @@
1
1
  {
2
2
  "name": "fetch-layers",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.1.0",
4
+ "description": "Thin typed HTTP client for browser and Node with composable layers: auth, idempotency, retry. Zero dependencies, ESM only.",
5
+ "keywords": [
6
+ "fetch",
7
+ "http",
8
+ "api",
9
+ "client",
10
+ "typescript",
11
+ "esm",
12
+ "auth",
13
+ "refresh-token",
14
+ "idempotency",
15
+ "retry",
16
+ "layers"
17
+ ],
18
+ "license": "MIT",
19
+ "author": {
20
+ "name": "smlnkv",
21
+ "email": "smlnkv79@gmail.com",
22
+ "url": "https://github.com/smlnkv"
23
+ },
24
+ "homepage": "https://github.com/smlnkv/fetch-layers#readme",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/smlnkv/fetch-layers.git"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/smlnkv/fetch-layers/issues"
31
+ },
32
+ "type": "module",
33
+ "sideEffects": false,
34
+ "engines": {
35
+ "node": ">=22.18.0"
36
+ },
37
+ "main": "./dist/index.mjs",
38
+ "types": "./dist/index.d.mts",
39
+ "exports": {
40
+ ".": {
41
+ "types": "./dist/index.d.mts",
42
+ "import": "./dist/index.mjs"
43
+ },
44
+ "./layers": {
45
+ "types": "./dist/layers/index.d.mts",
46
+ "import": "./dist/layers/index.mjs"
47
+ },
48
+ "./auth": {
49
+ "types": "./dist/layers/auth/index.d.mts",
50
+ "import": "./dist/layers/auth/index.mjs"
51
+ },
52
+ "./idempotency": {
53
+ "types": "./dist/layers/idempotency/index.d.mts",
54
+ "import": "./dist/layers/idempotency/index.mjs"
55
+ },
56
+ "./retry": {
57
+ "types": "./dist/layers/retry/index.d.mts",
58
+ "import": "./dist/layers/retry/index.mjs"
59
+ },
60
+ "./storage": {
61
+ "types": "./dist/shared/storage.d.mts",
62
+ "import": "./dist/shared/storage.mjs"
63
+ },
64
+ "./package.json": "./package.json"
65
+ },
66
+ "files": [
67
+ "dist",
68
+ "README.md",
69
+ "README.ru.md",
70
+ "LICENSE",
71
+ "CHANGELOG.md"
72
+ ],
73
+ "scripts": {
74
+ "build": "tsdown",
75
+ "dev": "tsdown --watch",
76
+ "typecheck": "tsc --noEmit",
77
+ "lint": "eslint src tests",
78
+ "lint:fix": "eslint src tests --fix",
79
+ "format": "prettier --write .",
80
+ "format:check": "prettier --check .",
81
+ "test": "vitest run",
82
+ "test:watch": "vitest",
83
+ "test:coverage": "vitest run --coverage",
84
+ "prepublishOnly": "npm run typecheck && npm run lint && npm run test && npm run build"
85
+ },
86
+ "devDependencies": {
87
+ "@eslint/js": "^10.0.1",
88
+ "@types/node": "^22.10.0",
89
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
90
+ "@typescript-eslint/parser": "^8.69.0",
91
+ "@vitest/coverage-v8": "^5.0.0",
92
+ "eslint": "^10.9.0",
93
+ "eslint-config-prettier": "^10.1.8",
94
+ "eslint-plugin-import-x": "^4.17.1",
95
+ "globals": "^17.12.0",
96
+ "prettier": "^3.9.6",
97
+ "tsdown": "^0.22.3",
98
+ "typescript": "^6.0.0",
99
+ "vitest": "^5.0.0"
100
+ }
101
+ }