@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.
- package/dist/BSNeo3.js +4 -1
- 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
|
|
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* () {
|