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