Minor updates #1
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -6985,10 +6985,11 @@ class TovarishClient extends RelayerClient {
|
||||
filterRelayer(relayer) {
|
||||
return __async$1(this, null, function* () {
|
||||
var _a;
|
||||
const { ensName, relayerAddress, tovarishHost: hostname, tovarishNetworks } = relayer;
|
||||
if (!hostname || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
const { ensName, relayerAddress, tovarishHost, tovarishNetworks } = relayer;
|
||||
if (!tovarishHost || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
return;
|
||||
}
|
||||
const hostname = `${tovarishHost}/${this.netId}`;
|
||||
try {
|
||||
const status = yield this.askRelayerStatus({ hostname, relayerAddress });
|
||||
return {
|
||||
|
5
dist/index.mjs
vendored
5
dist/index.mjs
vendored
@ -6964,10 +6964,11 @@ class TovarishClient extends RelayerClient {
|
||||
filterRelayer(relayer) {
|
||||
return __async$1(this, null, function* () {
|
||||
var _a;
|
||||
const { ensName, relayerAddress, tovarishHost: hostname, tovarishNetworks } = relayer;
|
||||
if (!hostname || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
const { ensName, relayerAddress, tovarishHost, tovarishNetworks } = relayer;
|
||||
if (!tovarishHost || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
return;
|
||||
}
|
||||
const hostname = `${tovarishHost}/${this.netId}`;
|
||||
try {
|
||||
const status = yield this.askRelayerStatus({ hostname, relayerAddress });
|
||||
return {
|
||||
|
5
dist/tornado.umd.js
vendored
5
dist/tornado.umd.js
vendored
@ -72394,10 +72394,11 @@ class TovarishClient extends _relayerClient__WEBPACK_IMPORTED_MODULE_0__/* .Rela
|
||||
filterRelayer(relayer) {
|
||||
return __async(this, null, function* () {
|
||||
var _a;
|
||||
const { ensName, relayerAddress, tovarishHost: hostname, tovarishNetworks } = relayer;
|
||||
if (!hostname || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
const { ensName, relayerAddress, tovarishHost, tovarishNetworks } = relayer;
|
||||
if (!tovarishHost || !(tovarishNetworks == null ? void 0 : tovarishNetworks.includes(this.netId))) {
|
||||
return;
|
||||
}
|
||||
const hostname = `${tovarishHost}/${this.netId}`;
|
||||
try {
|
||||
const status = yield this.askRelayerStatus({ hostname, relayerAddress });
|
||||
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
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tornado/core",
|
||||
"version": "1.0.18",
|
||||
"version": "1.0.19",
|
||||
"description": "An SDK for building applications on top of Privacy Pools",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
@ -109,12 +109,14 @@ export class TovarishClient extends RelayerClient {
|
||||
}
|
||||
|
||||
async filterRelayer(relayer: CachedRelayerInfo): Promise<TovarishInfo | RelayerError | undefined> {
|
||||
const { ensName, relayerAddress, tovarishHost: hostname, tovarishNetworks } = relayer;
|
||||
const { ensName, relayerAddress, tovarishHost, tovarishNetworks } = relayer;
|
||||
|
||||
if (!hostname || !tovarishNetworks?.includes(this.netId)) {
|
||||
if (!tovarishHost || !tovarishNetworks?.includes(this.netId)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const hostname = `${tovarishHost}/${this.netId}`;
|
||||
|
||||
try {
|
||||
const status = await this.askRelayerStatus({ hostname, relayerAddress });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user