@xchainjs/xchain-midgard-query 2.0.5 → 2.0.6
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/lib/index.esm.js +4 -4
- package/lib/index.js +4 -4
- package/package.json +4 -4
package/lib/index.esm.js
CHANGED
|
@@ -162,8 +162,8 @@ class Midgard {
|
|
|
162
162
|
*
|
|
163
163
|
* @returns {ActionHistory} Array of actions for the given filters
|
|
164
164
|
*/
|
|
165
|
-
getActions(
|
|
166
|
-
return __awaiter(this,
|
|
165
|
+
getActions(_a) {
|
|
166
|
+
return __awaiter(this, arguments, void 0, function* ({ address, txid, asset, type, txType, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight, }) {
|
|
167
167
|
for (const api of this.midgardApis) {
|
|
168
168
|
try {
|
|
169
169
|
const response = yield api.getActions(address, txid, asset, type, txType, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight);
|
|
@@ -345,8 +345,8 @@ class MidgardQuery {
|
|
|
345
345
|
*
|
|
346
346
|
* @returns {ActionHistory} Array of actions for the given filters
|
|
347
347
|
*/
|
|
348
|
-
getActions(
|
|
349
|
-
return __awaiter(this,
|
|
348
|
+
getActions(_a) {
|
|
349
|
+
return __awaiter(this, arguments, void 0, function* ({ address, txid, asset, type, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight, }) {
|
|
350
350
|
return this.midgardCache.midgard.getActions({
|
|
351
351
|
address,
|
|
352
352
|
txid,
|
package/lib/index.js
CHANGED
|
@@ -169,8 +169,8 @@ class Midgard {
|
|
|
169
169
|
*
|
|
170
170
|
* @returns {ActionHistory} Array of actions for the given filters
|
|
171
171
|
*/
|
|
172
|
-
getActions(
|
|
173
|
-
return __awaiter(this,
|
|
172
|
+
getActions(_a) {
|
|
173
|
+
return __awaiter(this, arguments, void 0, function* ({ address, txid, asset, type, txType, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight, }) {
|
|
174
174
|
for (const api of this.midgardApis) {
|
|
175
175
|
try {
|
|
176
176
|
const response = yield api.getActions(address, txid, asset, type, txType, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight);
|
|
@@ -352,8 +352,8 @@ class MidgardQuery {
|
|
|
352
352
|
*
|
|
353
353
|
* @returns {ActionHistory} Array of actions for the given filters
|
|
354
354
|
*/
|
|
355
|
-
getActions(
|
|
356
|
-
return __awaiter(this,
|
|
355
|
+
getActions(_a) {
|
|
356
|
+
return __awaiter(this, arguments, void 0, function* ({ address, txid, asset, type, affiliate, limit, offset, nextPageToken, timestamp, height, prevPageToken, fromTimestamp, fromHeight, }) {
|
|
357
357
|
return this.midgardCache.midgard.getActions({
|
|
358
358
|
address,
|
|
359
359
|
txid,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-midgard-query",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Module that is responsible for get data from Midgard API",
|
|
6
6
|
"keywords": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"postversion": "git push --follow-tags"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@xchainjs/xchain-client": "2.0.
|
|
36
|
-
"@xchainjs/xchain-midgard": "1.0.
|
|
37
|
-
"@xchainjs/xchain-util": "2.0.
|
|
35
|
+
"@xchainjs/xchain-client": "2.0.6",
|
|
36
|
+
"@xchainjs/xchain-midgard": "1.0.4",
|
|
37
|
+
"@xchainjs/xchain-util": "2.0.4",
|
|
38
38
|
"axios": "^1.8.4",
|
|
39
39
|
"axios-retry": "^3.9.1"
|
|
40
40
|
},
|