postchain-client 1.20.0 → 1.20.1

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.
@@ -1 +1 @@
1
- {"type": \"module\"}
1
+ {"type": "module"}
package/changelog.md CHANGED
@@ -1,4 +1,4 @@
1
- Version 1.20.0
1
+ Version 1.20.1
2
2
 
3
3
  # Changelog
4
4
 
@@ -7,6 +7,13 @@ All notable changes to this project will be documented in this file.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
+ ## [1.20.1]
11
+
12
+ ### Fixed
13
+
14
+ - An issue with the escaping of characters in the generated package.json content of the esm build
15
+ - Added @types/bn.js as runtime dependencies to fix the missing decleration one gets after installing postchain-client and trying to transpile from typescript to javascript
16
+
10
17
  ## [1.20.0]
11
18
 
12
19
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postchain-client",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "main": "built/cjs/index.js",
5
5
  "browser": "built/esm/index.js",
6
6
  "types": "built/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "coverage:unit": "nyc --reporter=text --reporter=html npm run test:unit",
29
29
  "coverage:integration": "nyc --reporter=text --reporter=html npm run test:integration",
30
30
  "coverage:integrationDevnet": "nyc --reporter=text --reporter=html npm run test:integrationDevnet",
31
- "build": "npm run clean && tsc && rollup -c rollup.config.mjs && echo '{\"type\": \\\"module\\\"}' > built/esm/package.json",
31
+ "build": "npm run clean && tsc && rollup -c rollup.config.mjs && echo '{\"type\": \"module\"}' > built/esm/package.json",
32
32
  "clean": "rimraf built",
33
33
  "prepack": "npm run build",
34
34
  "publish": "npm run prepack && npm publish --access public",
@@ -46,6 +46,7 @@
46
46
  "license": "BSD-2-Clause-FreeBSD",
47
47
  "dependencies": {
48
48
  "@chromia/asn1": "^1.0.1",
49
+ "@types/bn.js": "^5.1.1",
49
50
  "crypto-browserify": "^3.12.0",
50
51
  "lodash": "^4.17.21",
51
52
  "secp256k1": "^4.0.4",
@@ -58,7 +59,6 @@
58
59
  "@rollup/plugin-inject": "^5.0.3",
59
60
  "@rollup/plugin-json": "^6.0.0",
60
61
  "@rollup/plugin-node-resolve": "^15.0.1",
61
- "@types/bn.js": "^5.1.1",
62
62
  "@types/body-parser": "^1.19.3",
63
63
  "@types/chai": "^4.3.3",
64
64
  "@types/chai-as-promised": "^7.1.5",
@@ -76,6 +76,7 @@
76
76
  "body-parser": "^1.17.1",
77
77
  "chai": "^3.5.0",
78
78
  "chai-as-promised": "^7.1.1",
79
+ "cross-env": "^7.0.3",
79
80
  "dotenv": "^16.0.3",
80
81
  "eslint": "^8.29.0",
81
82
  "eslint-config-prettier": "^8.5.0",
@@ -90,8 +91,7 @@
90
91
  "rollup-plugin-visualizer": "^5.12.0",
91
92
  "sinon": "^15.0.1",
92
93
  "source-map-support": "^0.5.21",
93
- "ts-node": "^10.9.1",
94
- "cross-env": "^7.0.3"
94
+ "ts-node": "^10.9.1"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "buffer": "^5.x || ^6.x",