bsv2 2.0.22 → 2.0.23

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "bsv2",
3
3
  "description": "Javascript library for Bitcoin SV (BSV).",
4
- "version": "2.0.22",
4
+ "version": "2.0.23",
5
5
  "author": "Tomás Díaz",
6
6
  "homepage": "https://github.com/samooth/bsv",
7
7
  "source": "entry.js",
8
- "main": "dist/main.cjs.js",
9
- "module": "dist/main.module.js",
10
- "unpkg": "dist/main.bundle.js",
8
+ "main": "dist/bsv2.cjs.js",
9
+ "module": "dist/bsv2.module.js",
10
+ "unpkg": "dist/bsv2.bundle.js",
11
11
  "library": "bsv2",
12
12
  "scripts": {
13
13
  "clean": "rm -rf node_modules/* yarn.lock",
@@ -116,6 +116,7 @@
116
116
  "@babel/runtime": "^7.18.9",
117
117
  "assert": "2.0.0",
118
118
  "babel-loader": "8.2.5",
119
+ "babel-polyfill": "^6.26.0",
119
120
  "documentation": "^14.0.1",
120
121
  "esbuild-loader": "^4.1.0",
121
122
  "husky": "^9.0.10",
package/webpack.config.js CHANGED
@@ -101,7 +101,7 @@ module.exports = [
101
101
  path: path.resolve(__dirname, 'dist'),
102
102
  filename: 'bsv2.cjs.js',
103
103
  library: {
104
- type: 'commonjs2'
104
+ type: 'commonjs'
105
105
  }
106
106
  },
107
107
  resolve: {