bsv2 2.1.4 → 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 +17115 -11147
- package/dist/bsv2.umd.js +10 -13
- package/package.json +21 -12
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",
|
|
@@ -105,7 +109,7 @@
|
|
|
105
109
|
"dependencies": {
|
|
106
110
|
"aes": "^0.1.0",
|
|
107
111
|
"bitcoin-elliptic": "^7.0.1",
|
|
108
|
-
"bn.js": "^5.2.
|
|
112
|
+
"bn.js": "^5.2.2",
|
|
109
113
|
"bs58": "6.0.0",
|
|
110
114
|
"buffer": "^6.0.3",
|
|
111
115
|
"hash.js": "^1.1.7",
|
|
@@ -114,17 +118,22 @@
|
|
|
114
118
|
"randombytes": "^2.1.0"
|
|
115
119
|
},
|
|
116
120
|
"devDependencies": {
|
|
117
|
-
"@eslint/js": "^9.
|
|
121
|
+
"@eslint/js": "^9.39.2",
|
|
118
122
|
"assert": "2.1.0",
|
|
119
|
-
"
|
|
123
|
+
"crypto-browserify": "^3.12.1",
|
|
124
|
+
"eslint": "^9.39.2",
|
|
120
125
|
"esm": "^3.2.25",
|
|
121
|
-
"globals": "^
|
|
126
|
+
"globals": "^17.0.0",
|
|
122
127
|
"husky": "^9.1.7",
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
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",
|
|
133
|
+
"vite": "^7.3.1",
|
|
134
|
+
"vite-plugin-node-polyfills": "^0.2.0",
|
|
135
|
+
"vitest": "^4.0.17",
|
|
136
|
+
"webpack": "^5.104.1",
|
|
128
137
|
"webpack-cli": "^6.0.1"
|
|
129
138
|
},
|
|
130
139
|
"license": "MIT",
|