bsv2 2.1.2 → 2.1.4

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.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/dist/bsv2.mjs +11504 -25774
  3. package/dist/bsv2.umd.js +5 -20
  4. package/package.json +5 -12
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.1.2",
4
+ "version": "2.1.4",
5
5
  "author": "Tomás Díaz",
6
6
  "homepage": "https://github.com/samooth/bsv",
7
7
  "source": "entry.js",
@@ -23,9 +23,7 @@
23
23
  "clean": "rm -rf node_modules/* yarn.lock",
24
24
  "lint": "npx eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
25
25
  "pretest": "npx yarn run lint",
26
- "test:mocha": "mocha esm",
27
- "test:karma": "karma start --single-run",
28
- "test": "npx yarn run test:mocha && npx yarn run test:karma",
26
+ "test": "npx vitest",
29
27
  "build": "npx vite build",
30
28
  "prepublish": "npx yarn build",
31
29
  "prepack": "npx yarn build",
@@ -112,16 +110,10 @@
112
110
  "buffer": "^6.0.3",
113
111
  "hash.js": "^1.1.7",
114
112
  "is-hexadecimal": "^2.0.1",
115
- "karma": "^6.4.4",
116
- "pbkdf2": "3.1.2",
117
- "randombytes": "^2.1.0",
118
- "ts-node": "^10.9.2",
119
- "typescript": "^5.8.3"
113
+ "pbkdf2": "^3.1.5",
114
+ "randombytes": "^2.1.0"
120
115
  },
121
116
  "devDependencies": {
122
- "@babel/core": "^7.26.9",
123
- "@babel/eslint-parser": "^7.26.8",
124
- "@babel/preset-env": "^7.26.9",
125
117
  "@eslint/js": "^9.21.0",
126
118
  "assert": "2.1.0",
127
119
  "eslint": "^9.21.0",
@@ -131,6 +123,7 @@
131
123
  "mocha": "^11.1.0",
132
124
  "vite": "^6.2.0",
133
125
  "vite-plugin-node-polyfills": "^0.23.0",
126
+ "vitest": "^3.1.1",
134
127
  "webpack": "^5.99.5",
135
128
  "webpack-cli": "^6.0.1"
136
129
  },