glassnode-api 0.1.3 → 0.7.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/package.json CHANGED
@@ -1,44 +1,45 @@
1
1
  {
2
2
  "name": "glassnode-api",
3
- "version": "0.1.3",
4
- "description": "Node.js client for the Glassnode API",
3
+ "version": "0.7.1",
4
+ "description": "Typescript client for the Glassnode API (Node.js and Browser)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "browser": "dist/glassnode-api.umd.min.js",
8
+ "module": "dist/glassnode-api.esm.min.js",
7
9
  "files": [
8
- "dist"
10
+ "dist/*.js",
11
+ "dist/*.d.ts",
12
+ "dist/glassnode-api.*.min.js",
13
+ "dist/glassnode-api.*.min.js.map",
14
+ "dist/types"
9
15
  ],
10
16
  "repository": {
11
17
  "type": "git",
12
- "url": "https://github.com/planadecu/glassnode-api-node.git"
13
- },
14
- "scripts": {
15
- "build": "tsc",
16
- "test": "jest",
17
- "lint": "eslint .",
18
- "format": "prettier --write .",
19
- "prepare": "husky",
20
- "prepublishOnly": "npm run build",
21
- "preversion": "npm run lint",
22
- "version": "npm run format && git add -A src",
23
- "postversion": "git push && git push --tags"
18
+ "url": "git+https://github.com/planadecu/glassnode-api.git"
24
19
  },
25
20
  "author": "Jordi Planadecursach",
26
21
  "license": "MIT",
27
22
  "dependencies": {
28
- "zod": "^3.24.4"
23
+ "zod": "^4.3.6"
29
24
  },
30
25
  "devDependencies": {
31
- "@eslint/js": "^9.26.0",
32
- "@types/jest": "^29.5.14",
33
- "@types/node": "^22.15.17",
34
- "eslint": "^9.26.0",
26
+ "@eslint/js": "^10.0.1",
27
+ "@rollup/plugin-commonjs": "^29.0.2",
28
+ "@rollup/plugin-node-resolve": "^16.0.3",
29
+ "@rollup/plugin-typescript": "^12.3.0",
30
+ "@types/jest": "^30.0.0",
31
+ "@types/node": "^24.12.0",
32
+ "eslint": "^10.0.3",
35
33
  "husky": "^9.1.7",
36
- "jest": "^29.7.0",
37
- "lint-staged": "^16.0.0",
38
- "prettier": "^3.5.3",
39
- "ts-jest": "^29.3.2",
40
- "typescript": "^5.8.3",
41
- "typescript-eslint": "^8.32.0"
34
+ "jest": "^30.2.0",
35
+ "lint-staged": "^16.3.2",
36
+ "prettier": "^3.8.1",
37
+ "rollup": "^4.59.0",
38
+ "@rollup/plugin-terser": "^1.0.0",
39
+ "ts-jest": "^29.4.6",
40
+ "tslib": "^2.8.1",
41
+ "typescript": "^5.9.3",
42
+ "typescript-eslint": "^8.57.0"
42
43
  },
43
44
  "lint-staged": {
44
45
  "*.{js,ts,mjs}": [
@@ -47,5 +48,15 @@
47
48
  "jest --findRelatedTests --passWithNoTests"
48
49
  ]
49
50
  },
50
- "module": "NodeNext"
51
- }
51
+ "scripts": {
52
+ "build": "tsc",
53
+ "build:browser": "rollup -c",
54
+ "test": "jest",
55
+ "test:coverage": "jest --coverage",
56
+ "lint": "eslint .",
57
+ "format": "prettier --write .",
58
+ "preversion": "pnpm run lint",
59
+ "version": "pnpm run format && git add -A src",
60
+ "postversion": "git push && git push --tags"
61
+ }
62
+ }