bsv2 2.1.5 → 2.1.6
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/dist/bsv2.cjs +10 -0
- package/dist/bsv2.mjs +27762 -1
- package/dist/bsv2.umd.js +9 -1
- package/package.json +13 -3
package/package.json
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bsv2",
|
|
3
3
|
"description": "Javascript library for Bitcoin SV (BSV).",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.6",
|
|
5
5
|
"author": "Tomás Díaz",
|
|
6
6
|
"homepage": "https://github.com/samooth/bsv",
|
|
7
|
+
"packageManager": "yarn@1.22.22",
|
|
7
8
|
"source": "entry.js",
|
|
8
|
-
"
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "./dist/bsv2.cjs",
|
|
9
11
|
"module": "./dist/bsv2.mjs",
|
|
10
12
|
"exports": {
|
|
11
13
|
".": {
|
|
12
14
|
"import": "./dist/bsv2.mjs",
|
|
13
|
-
"require": "./dist/bsv2.
|
|
15
|
+
"require": "./dist/bsv2.cjs"
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
"files": [
|
|
17
19
|
"./dist/bsv2.mjs",
|
|
20
|
+
"./dist/bsv2.cjs",
|
|
18
21
|
"./dist/bsv2.umd.js"
|
|
19
22
|
],
|
|
20
23
|
"unpkg": "./dist/bsv2.umd.js",
|
|
@@ -24,6 +27,7 @@
|
|
|
24
27
|
"lint": "npx eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
|
|
25
28
|
"pretest": "npx yarn run lint",
|
|
26
29
|
"test": "npx vitest",
|
|
30
|
+
"test:run": "npx vitest run",
|
|
27
31
|
"build": "npx vite build",
|
|
28
32
|
"prepublish": "npx yarn build",
|
|
29
33
|
"prepack": "npx yarn build",
|
|
@@ -116,10 +120,16 @@
|
|
|
116
120
|
"devDependencies": {
|
|
117
121
|
"@eslint/js": "^9.39.2",
|
|
118
122
|
"assert": "2.1.0",
|
|
123
|
+
"crypto-browserify": "^3.12.1",
|
|
119
124
|
"eslint": "^9.39.2",
|
|
120
125
|
"esm": "^3.2.25",
|
|
121
126
|
"globals": "^17.0.0",
|
|
122
127
|
"husky": "^9.1.7",
|
|
128
|
+
"process": "^0.11.10",
|
|
129
|
+
"should": "^13.2.3",
|
|
130
|
+
"sinon": "^21.0.2",
|
|
131
|
+
"stream-browserify": "^3.0.0",
|
|
132
|
+
"string_decoder": "^1.3.0",
|
|
123
133
|
"vite": "^7.3.1",
|
|
124
134
|
"vite-plugin-node-polyfills": "^0.2.0",
|
|
125
135
|
"vitest": "^4.0.17",
|