@stacks/network 3.2.0 → 3.3.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/network",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Library for Stacks network operations",
5
5
  "keywords": [
6
6
  "stacks",
@@ -23,14 +23,16 @@
23
23
  },
24
24
  "scripts": {
25
25
  "start": "tsc -b tsconfig.build.json --watch --verbose",
26
- "build": "npm run clean && npm run build:cjs && npm run build:esm",
26
+ "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:polyfill",
27
27
  "build:cjs": "tsc -b tsconfig.build.json",
28
28
  "build:esm": "tsc -p tsconfig.build.json --module ES6 --outDir ./dist/esm",
29
29
  "build:umd": "webpack --config webpack.config.js",
30
+ "build:polyfill": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c ../../configs/rollup.config.js && rimraf dist/polyfill/dist",
30
31
  "clean": "rimraf dist && tsc -b tsconfig.build.json --clean",
31
32
  "typecheck": "tsc --noEmit",
32
33
  "typecheck:watch": "npm run typecheck -- --watch",
33
- "prepublishOnly": "npm run test && npm run build && npm run build:umd",
34
+ "pack": "npm pack",
35
+ "prepublishOnly": "npm run test && npm run build",
34
36
  "test": "jest",
35
37
  "test:watch": "jest --watch --coverage=false"
36
38
  },
@@ -38,25 +40,28 @@
38
40
  "url": "https://github.com/blockstack/blockstack.js/issues"
39
41
  },
40
42
  "dependencies": {
41
- "@stacks/common": "^3.0.0"
43
+ "@stacks/common": "^3.3.0"
42
44
  },
43
45
  "devDependencies": {
44
46
  "@types/jest": "^26.0.22",
45
47
  "jest": "^26.6.3",
46
48
  "jest-fetch-mock": "^3.0.3",
47
49
  "jest-module-name-mapper": "^0.1.5",
50
+ "process": "^0.11.10",
48
51
  "rimraf": "^3.0.2",
49
52
  "ts-jest": "^26.5.5",
50
53
  "ts-loader": "^9.1.1",
51
54
  "typescript": "^4.2.4",
52
55
  "webpack": "^5.36.1",
56
+ "webpack-bundle-analyzer": "^4.5.0",
53
57
  "webpack-cli": "^4.6.0"
54
58
  },
55
59
  "sideEffects": false,
60
+ "typings": "dist/index.d.ts",
56
61
  "main": "dist/index.js",
57
62
  "module": "dist/esm/index.js",
58
- "typings": "dist/index.d.ts",
59
- "umd:main": "dist/index.umd.js",
60
- "unpkg": "dist/index.umd.js",
61
- "gitHead": "cfabdf8a48269e35e72f5e558fc722a55da02a5e"
63
+ "browser": "dist/polyfill/index.js",
64
+ "umd:main": "dist/umd/index.js",
65
+ "unpkg": "dist/umd/index.js",
66
+ "gitHead": "d56ab59078eb2657128e33db3d2961a8cdf7d8e0"
62
67
  }
package/CHANGELOG.md DELETED
@@ -1,63 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [3.2.0](https://github.com/blockstack/blockstack.js/compare/v3.1.1...v3.2.0) (2022-02-02)
7
-
8
-
9
- ### Features
10
-
11
- * reduce reliance on network package ([422fda3](https://github.com/blockstack/blockstack.js/commit/422fda3cd43e16ae24ea9d97297b423a90823672))
12
-
13
-
14
-
15
-
16
-
17
- ## [2.0.1](https://github.com/blockstack/blockstack.js/compare/v2.0.1-beta.2...v2.0.1) (2021-08-09)
18
-
19
- **Note:** Version bump only for package @stacks/network
20
-
21
-
22
-
23
-
24
-
25
- ## [2.0.1-beta.2](https://github.com/blockstack/blockstack.js/compare/v2.0.1-beta.1...v2.0.1-beta.2) (2021-08-06)
26
-
27
- **Note:** Version bump only for package @stacks/network
28
-
29
-
30
-
31
-
32
-
33
- ## [2.0.1-beta.1](https://github.com/blockstack/blockstack.js/compare/v2.0.0-beta.1...v2.0.1-beta.1) (2021-07-26)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * BREAKING CHANGE: make coreApiUrl readonly for stacks network and initialize in constructor ([5d8cf6d](https://github.com/blockstack/blockstack.js/commit/5d8cf6d366665dace2df8102049d3f7ac1bf437e))
39
- * broken types following diverged network config changes ([1cd9612](https://github.com/blockstack/blockstack.js/commit/1cd96128334465c461665cf079532f66b893b938))
40
- * removeread only and add private field to prevent run time assignment ([62709aa](https://github.com/blockstack/blockstack.js/commit/62709aa5b6483299718063482bc26d6e94cc8c1c))
41
-
42
-
43
- ### Features
44
-
45
- * add regtest to list of available networks ([f572477](https://github.com/blockstack/blockstack.js/commit/f572477ca0e5bc5e862c8a4e2fcc276655ee55a3)), closes [#1041](https://github.com/blockstack/blockstack.js/issues/1041)
46
-
47
-
48
-
49
-
50
-
51
- # [2.0.0-beta.2](https://github.com/blockstack/blockstack.js/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2021-07-26)
52
-
53
-
54
- ### Bug Fixes
55
-
56
- * BREAKING CHANGE: make coreApiUrl readonly for stacks network and initialize in constructor ([5d8cf6d](https://github.com/blockstack/blockstack.js/commit/5d8cf6d366665dace2df8102049d3f7ac1bf437e))
57
- * broken types following diverged network config changes ([1cd9612](https://github.com/blockstack/blockstack.js/commit/1cd96128334465c461665cf079532f66b893b938))
58
- * removeread only and add private field to prevent run time assignment ([62709aa](https://github.com/blockstack/blockstack.js/commit/62709aa5b6483299718063482bc26d6e94cc8c1c))
59
-
60
-
61
- ### Features
62
-
63
- * add regtest to list of available networks ([f572477](https://github.com/blockstack/blockstack.js/commit/f572477ca0e5bc5e862c8a4e2fcc276655ee55a3)), closes [#1041](https://github.com/blockstack/blockstack.js/issues/1041)