bsv2 2.2.3 → 2.3.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,7 +1,7 @@
1
1
  {
2
2
  "name": "bsv2",
3
3
  "description": "Javascript library for Bitcoin SV (BSV).",
4
- "version": "2.2.3",
4
+ "version": "2.3.0",
5
5
  "author": "Tomás Díaz",
6
6
  "homepage": "https://github.com/samooth/bsv",
7
7
  "packageManager": "yarn@1.22.22",
@@ -24,16 +24,14 @@
24
24
  "unpkg": "./dist/bsv2.umd.js",
25
25
  "library": "bsv2",
26
26
  "scripts": {
27
- "clean": "rm -rf node_modules/* yarn.lock",
28
- "lint": "npx eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
29
- "pretest": "npx yarn run lint",
30
- "test": "npx vitest",
31
- "test:run": "npx vitest run",
32
- "build": "npx vite build",
33
- "prepublish": "npx yarn build",
34
- "prepack": "npx yarn build",
35
- "doc": "npx documentation build entry.js -f html -o doc",
36
- "prepare": "husky"
27
+ "clean": "rm -rf node_modules dist",
28
+ "lint": "eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
29
+ "pretest": "npm run lint",
30
+ "test": "vitest",
31
+ "test:run": "vitest run",
32
+ "build": "vite build",
33
+ "doc": "documentation build entry.js -f html -o doc",
34
+ "prepare": "husky && npm run build"
37
35
  },
38
36
  "contributors": [
39
37
  {
@@ -105,7 +103,7 @@
105
103
  "url": "git+https://github.com/samooth/bsv.git"
106
104
  },
107
105
  "engines": {
108
- "node": ">=18.0.0"
106
+ "node": ">=20.19.0"
109
107
  },
110
108
  "dependencies": {
111
109
  "aes": "^0.1.0",
@@ -135,7 +133,8 @@
135
133
  "vite-plugin-node-polyfills": "^0.2.0",
136
134
  "vitest": "^4.1.12",
137
135
  "webpack": "^5.104.1",
138
- "webpack-cli": "^6.0.1"
136
+ "webpack-cli": "^6.0.1",
137
+ "documentation": "^14.0.3"
139
138
  },
140
139
  "license": "MIT",
141
140
  "standard": {