@cityofzion/bs-neo3 0.11.0 → 0.11.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.
Files changed (2) hide show
  1. package/dist/BSNeo3.js +4 -1
  2. package/package.json +1 -1
package/dist/BSNeo3.js CHANGED
@@ -106,7 +106,10 @@ class BSNeo3 {
106
106
  });
107
107
  }
108
108
  encrypt(key, password) {
109
- return neon_js_1.wallet.encrypt(key, password);
109
+ return __awaiter(this, void 0, void 0, function* () {
110
+ const encryptedKey = yield neon_js_1.wallet.encrypt(key, password);
111
+ return encryptedKey;
112
+ });
110
113
  }
111
114
  calculateTransferFee(param) {
112
115
  return __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-neo3",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": "https://github.com/CityOfZion/blockchain-services",