univo 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import open from 'open';
|
|
|
4
4
|
import { config } from 'dotenv';
|
|
5
5
|
import { WebSocket } from 'partysocket';
|
|
6
6
|
import { defineCommand, runMain } from 'citty';
|
|
7
|
-
import { h as http } from './shared/univo.
|
|
8
|
-
import { c as createLogger, v as version, f as name } from './shared/univo.
|
|
7
|
+
import { h as http } from './shared/univo.BwPUSTpl.mjs';
|
|
8
|
+
import { c as createLogger, v as version, f as name } from './shared/univo.B_UsEiYb.mjs';
|
|
9
9
|
|
|
10
10
|
const log = createLogger({ quiet: false });
|
|
11
11
|
const dev = defineCommand({
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createException, a as catchException, l as local, g as getException } from './shared/univo.
|
|
2
|
-
import { c as createLogger, r as retry, v as version, h as hexToNumber, i as isHexEqual, d as decompress, a as decoder, n as normalizeHex } from './shared/univo.
|
|
1
|
+
import { c as createException, a as catchException, l as local, g as getException } from './shared/univo.BwPUSTpl.mjs';
|
|
2
|
+
import { c as createLogger, r as retry, v as version, h as hexToNumber, i as isHexEqual, d as decompress, a as decoder, n as normalizeHex } from './shared/univo.B_UsEiYb.mjs';
|
|
3
3
|
import 'ws';
|
|
4
4
|
import 'partysocket';
|
|
5
5
|
|
|
@@ -570,7 +570,19 @@ function indexer(opts) {
|
|
|
570
570
|
}
|
|
571
571
|
const block = await getBlock(params.head);
|
|
572
572
|
if (block === null) {
|
|
573
|
-
|
|
573
|
+
return {
|
|
574
|
+
keys: [],
|
|
575
|
+
results: relevant_events.map((event2) => {
|
|
576
|
+
return {
|
|
577
|
+
event_id: event2.id,
|
|
578
|
+
status: "block_error",
|
|
579
|
+
chain: params.head.chain,
|
|
580
|
+
block_hash: params.head.hash,
|
|
581
|
+
block_number: params.head.number,
|
|
582
|
+
created_at: Date.now()
|
|
583
|
+
};
|
|
584
|
+
})
|
|
585
|
+
};
|
|
574
586
|
}
|
|
575
587
|
const keys = /* @__PURE__ */ new Set();
|
|
576
588
|
const results = {};
|
package/dist/realtime.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createLogger, b as iife, h as hexToNumber, e as numberToHex, m as mutex, r as retry, i as isHexEqual } from './shared/univo.
|
|
1
|
+
import { c as createLogger, b as iife, h as hexToNumber, e as numberToHex, m as mutex, r as retry, i as isHexEqual } from './shared/univo.B_UsEiYb.mjs';
|
|
2
2
|
|
|
3
3
|
const MAX_LENGTH = 1e4;
|
|
4
4
|
function defineBlockchain(opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ws from 'ws';
|
|
2
2
|
import { WebSocket } from 'partysocket';
|
|
3
|
-
import { g as compress, j as raise, c as createLogger } from './univo.
|
|
3
|
+
import { g as compress, j as raise, c as createLogger } from './univo.B_UsEiYb.mjs';
|
|
4
4
|
|
|
5
5
|
function createException(message) {
|
|
6
6
|
return `univo:${message}`;
|
package/dist/transport.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'ws';
|
|
2
2
|
import 'partysocket';
|
|
3
|
-
export { h as http, l as local, w as wss } from './shared/univo.
|
|
4
|
-
import './shared/univo.
|
|
3
|
+
export { h as http, l as local, w as wss } from './shared/univo.BwPUSTpl.mjs';
|
|
4
|
+
import './shared/univo.B_UsEiYb.mjs';
|