Compare commits

..

1 Commits

Author SHA1 Message Date
b217110897
Initial client for Tovarish Relayer 2024-09-29 12:13:43 +00:00
5 changed files with 5 additions and 13 deletions

4
dist/index.js vendored
View File

@ -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
View File

@ -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
View File

@ -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 {

File diff suppressed because one or more lines are too long

View File

@ -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,
}); });