bsv2 2.1.1 → 2.1.3
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/LICENSE +1 -1
- package/dist/bsv2.mjs +14089 -13253
- package/dist/bsv2.umd.js +28 -0
- package/package.json +11 -15
package/package.json
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bsv2",
|
|
3
3
|
"description": "Javascript library for Bitcoin SV (BSV).",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.3",
|
|
5
5
|
"author": "Tomás Díaz",
|
|
6
6
|
"homepage": "https://github.com/samooth/bsv",
|
|
7
7
|
"source": "entry.js",
|
|
8
|
-
"main": "./dist/bsv2.umd.
|
|
8
|
+
"main": "./dist/bsv2.umd.js",
|
|
9
9
|
"module": "./dist/bsv2.mjs",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"import": "./dist/bsv2.mjs",
|
|
13
|
-
"require": "./dist/bsv2.umd.
|
|
13
|
+
"require": "./dist/bsv2.umd.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
"files":[
|
|
16
|
+
"files": [
|
|
17
|
+
"./dist/bsv2.mjs",
|
|
18
|
+
"./dist/bsv2.umd.js"
|
|
19
|
+
],
|
|
17
20
|
"unpkg": "./dist/bsv2.umd.js",
|
|
18
21
|
"library": "bsv2",
|
|
19
22
|
"scripts": {
|
|
20
23
|
"clean": "rm -rf node_modules/* yarn.lock",
|
|
21
24
|
"lint": "npx eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
|
|
22
25
|
"pretest": "npx yarn run lint",
|
|
23
|
-
"test
|
|
24
|
-
"test:karma": "karma start --single-run",
|
|
25
|
-
"test": "npx yarn run test:mocha && npx yarn run test:karma",
|
|
26
|
+
"test": "npx vitest",
|
|
26
27
|
"build": "npx vite build",
|
|
27
28
|
"prepublish": "npx yarn build",
|
|
28
29
|
"prepack": "npx yarn build",
|
|
@@ -109,16 +110,10 @@
|
|
|
109
110
|
"buffer": "^6.0.3",
|
|
110
111
|
"hash.js": "^1.1.7",
|
|
111
112
|
"is-hexadecimal": "^2.0.1",
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"randombytes": "^2.1.0",
|
|
115
|
-
"ts-node": "^10.9.2",
|
|
116
|
-
"typescript": "^5.8.3"
|
|
113
|
+
"pbkdf2": "^3.1.5",
|
|
114
|
+
"randombytes": "^2.1.0"
|
|
117
115
|
},
|
|
118
116
|
"devDependencies": {
|
|
119
|
-
"@babel/core": "^7.26.9",
|
|
120
|
-
"@babel/eslint-parser": "^7.26.8",
|
|
121
|
-
"@babel/preset-env": "^7.26.9",
|
|
122
117
|
"@eslint/js": "^9.21.0",
|
|
123
118
|
"assert": "2.1.0",
|
|
124
119
|
"eslint": "^9.21.0",
|
|
@@ -128,6 +123,7 @@
|
|
|
128
123
|
"mocha": "^11.1.0",
|
|
129
124
|
"vite": "^6.2.0",
|
|
130
125
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
126
|
+
"vitest": "^3.1.1",
|
|
131
127
|
"webpack": "^5.99.5",
|
|
132
128
|
"webpack-cli": "^6.0.1"
|
|
133
129
|
},
|