Compare commits
1 Commits
688700affd
...
a0f11d6ff4
| Author | SHA1 | Date | |
|---|---|---|---|
| a0f11d6ff4 |
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -6802,7 +6802,7 @@ class TovarishClient extends RelayerClient {
|
|||||||
latestBlock: Number(status.latestBlock),
|
latestBlock: Number(status.latestBlock),
|
||||||
version: status.version,
|
version: status.version,
|
||||||
events: status.events,
|
events: status.events,
|
||||||
syncStats: status.syncStats
|
syncStatus: status.syncStatus
|
||||||
};
|
};
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
2
dist/index.mjs
vendored
2
dist/index.mjs
vendored
@ -6781,7 +6781,7 @@ class TovarishClient extends RelayerClient {
|
|||||||
latestBlock: Number(status.latestBlock),
|
latestBlock: Number(status.latestBlock),
|
||||||
version: status.version,
|
version: status.version,
|
||||||
events: status.events,
|
events: status.events,
|
||||||
syncStats: status.syncStats
|
syncStatus: status.syncStatus
|
||||||
};
|
};
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
2
dist/tornado.umd.js
vendored
2
dist/tornado.umd.js
vendored
@ -72176,7 +72176,7 @@ class TovarishClient extends _relayerClient__WEBPACK_IMPORTED_MODULE_0__/* .Rela
|
|||||||
latestBlock: Number(status.latestBlock),
|
latestBlock: Number(status.latestBlock),
|
||||||
version: status.version,
|
version: status.version,
|
||||||
events: status.events,
|
events: status.events,
|
||||||
syncStats: status.syncStats
|
syncStatus: status.syncStatus
|
||||||
};
|
};
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
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
4
dist/tovarishClient.d.ts
vendored
4
dist/tovarishClient.d.ts
vendored
@ -32,14 +32,14 @@ export interface TovarishSyncStatus {
|
|||||||
}
|
}
|
||||||
export interface TovarishStatus extends RelayerStatus {
|
export interface TovarishStatus extends RelayerStatus {
|
||||||
events: TovarishEventsStatus;
|
events: TovarishEventsStatus;
|
||||||
syncStats: TovarishSyncStatus;
|
syncStatus: TovarishSyncStatus;
|
||||||
onSyncEvents: boolean;
|
onSyncEvents: boolean;
|
||||||
}
|
}
|
||||||
export interface TovarishInfo extends RelayerInfo {
|
export interface TovarishInfo extends RelayerInfo {
|
||||||
latestBlock: number;
|
latestBlock: number;
|
||||||
version: string;
|
version: string;
|
||||||
events: TovarishEventsStatus;
|
events: TovarishEventsStatus;
|
||||||
syncStats: TovarishSyncStatus;
|
syncStatus: TovarishSyncStatus;
|
||||||
}
|
}
|
||||||
export interface TovarishEventsQuery {
|
export interface TovarishEventsQuery {
|
||||||
type: string;
|
type: string;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ export interface TovarishSyncStatus {
|
|||||||
// Expected response from /status endpoint
|
// Expected response from /status endpoint
|
||||||
export interface TovarishStatus extends RelayerStatus {
|
export interface TovarishStatus extends RelayerStatus {
|
||||||
events: TovarishEventsStatus;
|
events: TovarishEventsStatus;
|
||||||
syncStats: TovarishSyncStatus;
|
syncStatus: TovarishSyncStatus;
|
||||||
onSyncEvents: boolean;
|
onSyncEvents: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ export interface TovarishInfo extends RelayerInfo {
|
|||||||
latestBlock: number;
|
latestBlock: number;
|
||||||
version: string;
|
version: string;
|
||||||
events: TovarishEventsStatus;
|
events: TovarishEventsStatus;
|
||||||
syncStats: TovarishSyncStatus;
|
syncStatus: TovarishSyncStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Query input for TovarishEvents
|
// Query input for TovarishEvents
|
||||||
@ -132,7 +132,7 @@ export class TovarishClient extends RelayerClient {
|
|||||||
latestBlock: Number(status.latestBlock),
|
latestBlock: Number(status.latestBlock),
|
||||||
version: status.version,
|
version: status.version,
|
||||||
events: status.events,
|
events: status.events,
|
||||||
syncStats: status.syncStats,
|
syncStatus: status.syncStatus,
|
||||||
} as TovarishInfo;
|
} as TovarishInfo;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user