@cityofzion/blockchain-service 1.1.0 → 1.2.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/dist/BSAggregator.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/interfaces.d.ts +2 -5
- package/package.json +1 -1
package/dist/BSAggregator.js
CHANGED
|
@@ -70,10 +70,10 @@ class BSAggregator {
|
|
|
70
70
|
}
|
|
71
71
|
if (index !== 0) {
|
|
72
72
|
try {
|
|
73
|
-
const {
|
|
73
|
+
const { transactions } = yield service.blockchainDataService.getTransactionsByAddress({
|
|
74
74
|
address: generatedAccount.address,
|
|
75
75
|
});
|
|
76
|
-
if (!
|
|
76
|
+
if (!transactions || transactions.length <= 0)
|
|
77
77
|
hasError = true;
|
|
78
78
|
}
|
|
79
79
|
catch (_a) {
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./interfaces"), exports);
|
|
18
17
|
__exportStar(require("./BSAggregator"), exports);
|
|
19
|
-
__exportStar(require("./functions"), exports);
|
|
20
18
|
__exportStar(require("./CryptoCompareEDS"), exports);
|
|
19
|
+
__exportStar(require("./functions"), exports);
|
|
20
|
+
__exportStar(require("./interfaces"), exports);
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -109,15 +109,12 @@ export type ContractParameter = {
|
|
|
109
109
|
type: string;
|
|
110
110
|
};
|
|
111
111
|
export type TransactionsByAddressResponse = {
|
|
112
|
-
totalCount?: number;
|
|
113
|
-
limit?: number;
|
|
114
|
-
nextCursor?: string;
|
|
115
112
|
transactions: TransactionResponse[];
|
|
113
|
+
nextPageParams?: any;
|
|
116
114
|
};
|
|
117
115
|
export type TransactionsByAddressParams = {
|
|
118
116
|
address: string;
|
|
119
|
-
|
|
120
|
-
cursor?: string;
|
|
117
|
+
nextPageParams?: any;
|
|
121
118
|
};
|
|
122
119
|
export type ContractMethod = {
|
|
123
120
|
name: string;
|