univo 0.2.23 → 0.2.24
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 +2 -2
- package/dist/index.mjs +2 -2
- package/dist/realtime.d.mts +4 -3
- package/dist/realtime.d.ts +4 -3
- package/dist/realtime.mjs +1 -1
- package/dist/shared/{univo.1clH0g-n.mjs → univo.CHvkgTe-.mjs} +1 -1
- package/dist/shared/{univo.DvxWs2zB.mjs → univo.D12B93eV.mjs} +1 -1
- package/dist/transport.mjs +2 -2
- package/package.json +1 -1
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, b as name } from './shared/univo.
|
|
7
|
+
import { h as http } from './shared/univo.CHvkgTe-.mjs';
|
|
8
|
+
import { c as createLogger, v as version, b as name } from './shared/univo.D12B93eV.mjs';
|
|
9
9
|
|
|
10
10
|
const log = createLogger({ quiet: false });
|
|
11
11
|
const dev = defineCommand({
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StorageError } from '@storagesdk/core';
|
|
2
|
-
import { g as getException, c as createException, a as catchException, l as local } from './shared/univo.
|
|
3
|
-
import { c as createLogger, d as decompress, e as decoder, r as retry, v as version, h as hexToNumber, a as isHexEqual, n as numberToHex, f as normalizeHex, g as compress } from './shared/univo.
|
|
2
|
+
import { g as getException, c as createException, a as catchException, l as local } from './shared/univo.CHvkgTe-.mjs';
|
|
3
|
+
import { c as createLogger, d as decompress, e as decoder, r as retry, v as version, h as hexToNumber, a as isHexEqual, n as numberToHex, f as normalizeHex, g as compress } from './shared/univo.D12B93eV.mjs';
|
|
4
4
|
import 'ws';
|
|
5
5
|
import 'partysocket';
|
|
6
6
|
|
package/dist/realtime.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ type RealtimeOptions = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Silences all logs including errors.
|
|
8
8
|
*
|
|
9
|
-
* Logs are emitted based on the environment LOG_LEVEL. Set `quiet: true` to
|
|
9
|
+
* Logs are emitted based on the environment LOG_LEVEL. Set `quiet: true` to suppress all logs.
|
|
10
10
|
* Available log options are `DEBUG`, `INFO`, `WARN`, and `ERROR`.
|
|
11
11
|
*/
|
|
12
12
|
quiet?: boolean;
|
|
@@ -19,9 +19,10 @@ type RealtimeOptions = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Connection to a univo indexer.
|
|
21
21
|
*
|
|
22
|
-
* Must use the `http` transport protocol from `univo/transport
|
|
22
|
+
* Must use the `http` or `local` transport protocol from `univo/transport`. If you want to deploy your
|
|
23
|
+
* indexer and realtime client in a single monolithic deployment, you should use the `local` transport.
|
|
23
24
|
*/
|
|
24
|
-
indexer: Transport<IndexerRpc, "http">;
|
|
25
|
+
indexer: Transport<IndexerRpc, "http" | "local">;
|
|
25
26
|
};
|
|
26
27
|
declare function realtime(opts: RealtimeOptions): void;
|
|
27
28
|
|
package/dist/realtime.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type RealtimeOptions = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Silences all logs including errors.
|
|
8
8
|
*
|
|
9
|
-
* Logs are emitted based on the environment LOG_LEVEL. Set `quiet: true` to
|
|
9
|
+
* Logs are emitted based on the environment LOG_LEVEL. Set `quiet: true` to suppress all logs.
|
|
10
10
|
* Available log options are `DEBUG`, `INFO`, `WARN`, and `ERROR`.
|
|
11
11
|
*/
|
|
12
12
|
quiet?: boolean;
|
|
@@ -19,9 +19,10 @@ type RealtimeOptions = {
|
|
|
19
19
|
/**
|
|
20
20
|
* Connection to a univo indexer.
|
|
21
21
|
*
|
|
22
|
-
* Must use the `http` transport protocol from `univo/transport
|
|
22
|
+
* Must use the `http` or `local` transport protocol from `univo/transport`. If you want to deploy your
|
|
23
|
+
* indexer and realtime client in a single monolithic deployment, you should use the `local` transport.
|
|
23
24
|
*/
|
|
24
|
-
indexer: Transport<IndexerRpc, "http">;
|
|
25
|
+
indexer: Transport<IndexerRpc, "http" | "local">;
|
|
25
26
|
};
|
|
26
27
|
declare function realtime(opts: RealtimeOptions): void;
|
|
27
28
|
|
package/dist/realtime.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createLogger, i as iife, h as hexToNumber, n as numberToHex, m as mutex, r as retry, a as isHexEqual } from './shared/univo.
|
|
1
|
+
import { c as createLogger, i as iife, h as hexToNumber, n as numberToHex, m as mutex, r as retry, a as isHexEqual } from './shared/univo.D12B93eV.mjs';
|
|
2
2
|
|
|
3
3
|
function defineBlockchain(opts) {
|
|
4
4
|
const log = createLogger({ quiet: opts.quiet });
|
|
@@ -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, m as mutex } from './univo.
|
|
3
|
+
import { g as compress, j as raise, c as createLogger, m as mutex } from './univo.D12B93eV.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.CHvkgTe-.mjs';
|
|
4
|
+
import './shared/univo.D12B93eV.mjs';
|