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