bsv2 2.1.5 → 2.1.7
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.cjs.map +1 -0
- package/dist/bsv2.mjs +27762 -1
- package/dist/bsv2.mjs.map +1 -0
- package/dist/bsv2.umd.js +9 -1
- package/dist/bsv2.umd.js.map +1 -0
- package/package.json +16 -5
package/package.json
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bsv2",
|
|
3
3
|
"description": "Javascript library for Bitcoin SV (BSV).",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.7",
|
|
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",
|
|
18
|
-
"./dist/bsv2.
|
|
20
|
+
"./dist/bsv2.cjs",
|
|
21
|
+
"./dist/bsv2.umd.js",
|
|
22
|
+
"./dist/*.map"
|
|
19
23
|
],
|
|
20
24
|
"unpkg": "./dist/bsv2.umd.js",
|
|
21
25
|
"library": "bsv2",
|
|
@@ -24,6 +28,7 @@
|
|
|
24
28
|
"lint": "npx eslint *.js lib/**/*.js bin/**/*.js test/**/*.js",
|
|
25
29
|
"pretest": "npx yarn run lint",
|
|
26
30
|
"test": "npx vitest",
|
|
31
|
+
"test:run": "npx vitest run",
|
|
27
32
|
"build": "npx vite build",
|
|
28
33
|
"prepublish": "npx yarn build",
|
|
29
34
|
"prepack": "npx yarn build",
|
|
@@ -97,7 +102,7 @@
|
|
|
97
102
|
],
|
|
98
103
|
"repository": {
|
|
99
104
|
"type": "git",
|
|
100
|
-
"url": "https://github.com/samooth/bsv.git"
|
|
105
|
+
"url": "git+https://github.com/samooth/bsv.git"
|
|
101
106
|
},
|
|
102
107
|
"engines": {
|
|
103
108
|
"node": ">=18.0.0"
|
|
@@ -116,10 +121,16 @@
|
|
|
116
121
|
"devDependencies": {
|
|
117
122
|
"@eslint/js": "^9.39.2",
|
|
118
123
|
"assert": "2.1.0",
|
|
124
|
+
"crypto-browserify": "^3.12.1",
|
|
119
125
|
"eslint": "^9.39.2",
|
|
120
126
|
"esm": "^3.2.25",
|
|
121
127
|
"globals": "^17.0.0",
|
|
122
128
|
"husky": "^9.1.7",
|
|
129
|
+
"process": "^0.11.10",
|
|
130
|
+
"should": "^13.2.3",
|
|
131
|
+
"sinon": "^21.0.2",
|
|
132
|
+
"stream-browserify": "^3.0.0",
|
|
133
|
+
"string_decoder": "^1.3.0",
|
|
123
134
|
"vite": "^7.3.1",
|
|
124
135
|
"vite-plugin-node-polyfills": "^0.2.0",
|
|
125
136
|
"vitest": "^4.0.17",
|