@pioneer-platform/maya-network 8.3.10 → 8.4.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/CHANGELOG.md +12 -0
- package/lib/index.js +4 -4
- package/package.json +13 -13
package/CHANGELOG.md
ADDED
package/lib/index.js
CHANGED
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -546,9 +546,9 @@ var get_txs_by_address = function (address) {
|
|
|
546
546
|
});
|
|
547
547
|
};
|
|
548
548
|
var get_balance = function (address) {
|
|
549
|
-
var _a;
|
|
550
549
|
return __awaiter(this, void 0, void 0, function () {
|
|
551
550
|
var tag, output, accountInfo, i, entry, e_11, e_12;
|
|
551
|
+
var _a;
|
|
552
552
|
return __generator(this, function (_b) {
|
|
553
553
|
switch (_b.label) {
|
|
554
554
|
case 0:
|
|
@@ -589,9 +589,9 @@ var get_balance = function (address) {
|
|
|
589
589
|
});
|
|
590
590
|
};
|
|
591
591
|
var get_balances = function (address) {
|
|
592
|
-
var _a;
|
|
593
592
|
return __awaiter(this, void 0, void 0, function () {
|
|
594
593
|
var tag, output, accountInfo, i, entry, e_13, e_14;
|
|
594
|
+
var _a;
|
|
595
595
|
return __generator(this, function (_b) {
|
|
596
596
|
switch (_b.label) {
|
|
597
597
|
case 0:
|
package/package.json
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/maya-network",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"create": "npm run build && npm run test",
|
|
8
|
-
"build": "tsc -p .",
|
|
9
|
-
"test": "npm run build && node __tests__/test-module.js",
|
|
10
|
-
"prepublish": "npm run build",
|
|
11
|
-
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install"
|
|
12
|
-
},
|
|
13
6
|
"dependencies": {
|
|
14
|
-
"@pioneer-platform/loggerdog": "^8.
|
|
7
|
+
"@pioneer-platform/loggerdog": "^8.4.0",
|
|
15
8
|
"axios-retry": "^3.3.1",
|
|
16
9
|
"bech32": "^1.1.4",
|
|
17
10
|
"bip32": "^2.0.5",
|
|
@@ -22,10 +15,17 @@
|
|
|
22
15
|
"crypto-js": "^3.3.0",
|
|
23
16
|
"dotenv": "^8.2.0",
|
|
24
17
|
"hdkey": "^1.1.2",
|
|
25
|
-
"prettyjson": "^1.2.
|
|
18
|
+
"prettyjson": "^1.2.5",
|
|
26
19
|
"secp256k1": "^3.8.0",
|
|
27
20
|
"ts-node": "^8.10.2",
|
|
28
|
-
"typescript": "^5.0.
|
|
21
|
+
"typescript": "^5.0.4"
|
|
29
22
|
},
|
|
30
|
-
"gitHead": "a76012f6693a12181c4744e53e977a9eaeef0ed3"
|
|
31
|
-
|
|
23
|
+
"gitHead": "a76012f6693a12181c4744e53e977a9eaeef0ed3",
|
|
24
|
+
"scripts": {
|
|
25
|
+
"create": "pnpm run build && pnpm run test",
|
|
26
|
+
"build": "tsc -p .",
|
|
27
|
+
"test": "pnpm run build && node __tests__/test-module.js",
|
|
28
|
+
"prepublish": "pnpm run build",
|
|
29
|
+
"refresh": "rm -rf ./node_modules ./package-lock.json && pnpm install"
|
|
30
|
+
}
|
|
31
|
+
}
|