Compare commits
1 Commits
688700affd
...
b217110897
| Author | SHA1 | Date | |
|---|---|---|---|
| b217110897 |
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -2840,7 +2840,7 @@ class BaseEventsService {
|
|||||||
return this.type || "";
|
return this.type || "";
|
||||||
}
|
}
|
||||||
getTovarishType() {
|
getTovarishType() {
|
||||||
return String(this.getType() || "").toLowerCase();
|
return String(this.type || "").toLowerCase();
|
||||||
}
|
}
|
||||||
getGraphMethod() {
|
getGraphMethod() {
|
||||||
return "";
|
return "";
|
||||||
@ -3139,8 +3139,6 @@ class BaseTornadoService extends BaseEventsService {
|
|||||||
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
||||||
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
||||||
type: this.getTovarishType(),
|
type: this.getTovarishType(),
|
||||||
currency: this.currency,
|
|
||||||
amount: this.amount,
|
|
||||||
fromBlock
|
fromBlock
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
|
|||||||
4
dist/index.mjs
vendored
4
dist/index.mjs
vendored
@ -2819,7 +2819,7 @@ class BaseEventsService {
|
|||||||
return this.type || "";
|
return this.type || "";
|
||||||
}
|
}
|
||||||
getTovarishType() {
|
getTovarishType() {
|
||||||
return String(this.getType() || "").toLowerCase();
|
return String(this.type || "").toLowerCase();
|
||||||
}
|
}
|
||||||
getGraphMethod() {
|
getGraphMethod() {
|
||||||
return "";
|
return "";
|
||||||
@ -3118,8 +3118,6 @@ class BaseTornadoService extends BaseEventsService {
|
|||||||
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
||||||
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
||||||
type: this.getTovarishType(),
|
type: this.getTovarishType(),
|
||||||
currency: this.currency,
|
|
||||||
amount: this.amount,
|
|
||||||
fromBlock
|
fromBlock
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
|
|||||||
4
dist/tornado.umd.js
vendored
4
dist/tornado.umd.js
vendored
@ -59161,7 +59161,7 @@ class BaseEventsService {
|
|||||||
return this.type || "";
|
return this.type || "";
|
||||||
}
|
}
|
||||||
getTovarishType() {
|
getTovarishType() {
|
||||||
return String(this.getType() || "").toLowerCase();
|
return String(this.type || "").toLowerCase();
|
||||||
}
|
}
|
||||||
getGraphMethod() {
|
getGraphMethod() {
|
||||||
return "";
|
return "";
|
||||||
@ -59460,8 +59460,6 @@ class BaseTornadoService extends BaseEventsService {
|
|||||||
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
if ((_a = this.tovarishClient) == null ? void 0 : _a.selectedRelayer) {
|
||||||
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
const { events, lastSyncBlock: lastBlock } = yield this.tovarishClient.getEvents({
|
||||||
type: this.getTovarishType(),
|
type: this.getTovarishType(),
|
||||||
currency: this.currency,
|
|
||||||
amount: this.amount,
|
|
||||||
fromBlock
|
fromBlock
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
|
|||||||
2
dist/tornado.umd.min.js
vendored
2
dist/tornado.umd.min.js
vendored
File diff suppressed because one or more lines are too long
@ -137,7 +137,7 @@ export class BaseEventsService<EventType extends MinimalEvents> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getTovarishType(): string {
|
getTovarishType(): string {
|
||||||
return String(this.getType() || '').toLowerCase();
|
return String(this.type || '').toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
getGraphMethod(): string {
|
getGraphMethod(): string {
|
||||||
@ -505,8 +505,6 @@ export class BaseTornadoService extends BaseEventsService<DepositsEvents | Withd
|
|||||||
DepositsEvents | WithdrawalsEvents
|
DepositsEvents | WithdrawalsEvents
|
||||||
>({
|
>({
|
||||||
type: this.getTovarishType(),
|
type: this.getTovarishType(),
|
||||||
currency: this.currency,
|
|
||||||
amount: this.amount,
|
|
||||||
fromBlock,
|
fromBlock,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user