@totalis/hip4-client 0.124.0 → 0.125.0
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/CHANGELOG.md +380 -0
- package/README.md +9 -5
- package/dist/api-keys.d.ts +21 -2
- package/dist/api-keys.js +12 -10
- package/dist/audience-contract.d.ts +1 -2
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/flow-errors.d.ts +1 -1
- package/dist/flow-errors.js +1 -1
- package/dist/generated/account-read.d.ts +150 -126
- package/dist/generated/api-keys.d.ts +19 -10
- package/dist/generated/browse.d.ts +12 -12
- package/dist/generated/client.d.ts +5 -2
- package/dist/generated/errors.d.ts +15 -8
- package/dist/generated/errors.js +47 -35
- package/dist/generated/maker.d.ts +3 -4
- package/dist/generated/openapi.d.ts +828 -892
- package/dist/generated/realtime.d.ts +66 -93
- package/dist/generated/vault-abi.d.ts +57 -0
- package/dist/generated/vault-abi.js +77 -0
- package/dist/generated/version.d.ts +16 -16
- package/dist/generated/version.js +20 -18
- package/dist/maker.d.ts +134 -54
- package/dist/maker.js +257 -147
- package/dist/money.d.ts +8 -6
- package/dist/money.js +7 -7
- package/dist/partner.d.ts +2 -0
- package/dist/partner.js +2 -1
- package/dist/request.d.ts +11 -2
- package/dist/request.js +7 -2
- package/dist/totalis.d.ts +147 -232
- package/dist/totalis.js +290 -269
- package/dist/typed-data.d.ts +6 -0
- package/dist/typed-data.js +8 -0
- package/dist/ui.d.ts +6 -10
- package/dist/ui.js +15 -13
- package/dist/vault-reads.d.ts +46 -0
- package/dist/vault-reads.js +72 -0
- package/examples/browser-wallet.mjs +1 -1
- package/examples/node-bot.mjs +15 -12
- package/package.json +1 -1
package/dist/typed-data.d.ts
CHANGED
|
@@ -219,6 +219,12 @@ export declare const domainTypes: {
|
|
|
219
219
|
}];
|
|
220
220
|
};
|
|
221
221
|
export declare function hashDomain(domain: TypedData["domain"]): Hex;
|
|
222
|
+
/**
|
|
223
|
+
* A position's legs hash, as the vault stores it in `tickets(position_id).legsHash`:
|
|
224
|
+
* the EIP-712 encoding of `Leg[]`, in the order given. A position's legs (a
|
|
225
|
+
* cash-out RFQ's `legs`) are already in canonical order.
|
|
226
|
+
*/
|
|
227
|
+
export declare function legsHash(legs: readonly Leg[]): Hex;
|
|
222
228
|
/** The EIP-712 digest a signer signs; for a Quote this is the `quote_digest` the API expects. */
|
|
223
229
|
export declare function hashTypedData(typedData: TypedData): Hex;
|
|
224
230
|
export declare const usdcTypes: {
|
package/dist/typed-data.js
CHANGED
|
@@ -221,6 +221,14 @@ export const domainTypes = {
|
|
|
221
221
|
export function hashDomain(domain) {
|
|
222
222
|
return toHex(hashStruct(domainTypes, "EIP712Domain", domain));
|
|
223
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* A position's legs hash, as the vault stores it in `tickets(position_id).legsHash`:
|
|
226
|
+
* the EIP-712 encoding of `Leg[]`, in the order given. A position's legs (a
|
|
227
|
+
* cash-out RFQ's `legs`) are already in canonical order.
|
|
228
|
+
*/
|
|
229
|
+
export function legsHash(legs) {
|
|
230
|
+
return toHex(encodeValue(totalisTypes, "Leg[]", legs.map(signedLeg)));
|
|
231
|
+
}
|
|
224
232
|
/** The EIP-712 digest a signer signs; for a Quote this is the `quote_digest` the API expects. */
|
|
225
233
|
export function hashTypedData(typedData) {
|
|
226
234
|
return toHex(keccak_256(concat([
|
package/dist/ui.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type UiAdapterOptions = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Refetch these account reads, for example `queryClient.invalidateQueries`.
|
|
9
9
|
* Called for each newer `readInvalidated` revision (a session's account
|
|
10
|
-
* stream gets its own ACTIVITY and
|
|
10
|
+
* stream gets its own ACTIVITY, POSITIONS and HOLDINGS; other resources and
|
|
11
11
|
* scoped keys need `subscription: { account_reads: true }`), and with every
|
|
12
12
|
* resource each time the stream goes live, because invalidations sent while
|
|
13
13
|
* it was down are lost.
|
|
@@ -21,11 +21,9 @@ export type UiAdapterOptions = {
|
|
|
21
21
|
*/
|
|
22
22
|
readonly onCatalogStale?: (generation: string) => void;
|
|
23
23
|
};
|
|
24
|
-
/** What `watchQuotes` renders: the live quotes, the best one still acceptable, and the venue clock they were judged at. */
|
|
25
24
|
export type QuoteView = {
|
|
26
25
|
readonly quotes: readonly Quote[];
|
|
27
26
|
readonly best: Quote | undefined;
|
|
28
|
-
readonly serverNowMs: number;
|
|
29
27
|
};
|
|
30
28
|
/**
|
|
31
29
|
* A small framework-agnostic bridge from the account stream to a UI: quotes
|
|
@@ -36,15 +34,13 @@ export type QuoteView = {
|
|
|
36
34
|
export declare function createUiAdapter(totalis: Pick<Totalis, "stream" | "watchQuotes">, options?: UiAdapterOptions): {
|
|
37
35
|
/** The venue clock in ms. Read it on every render tick; a timestamp kept from a callback freezes countdowns. */
|
|
38
36
|
serverNow: () => number;
|
|
39
|
-
/** Seconds the quote can still be accepted: an entry until its `accept_before`, a cash-out bid until its expiry. */
|
|
40
|
-
secondsLeft: (quote: Quote) => number;
|
|
41
37
|
/**
|
|
42
|
-
* Render an RFQ's
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
38
|
+
* Render an RFQ's quotes from the stream (`totalis.watchQuotes`) with the
|
|
39
|
+
* best one: highest payout (`bestQuote`) or highest price (`bestBid`).
|
|
40
|
+
* Each stays takeable while it is on the book. `quotes` is `[]` while the
|
|
41
|
+
* stream is not live. Returns the unsubscribe.
|
|
46
42
|
*/
|
|
47
|
-
watchQuotes(rfqId: string, listener: (view: QuoteView) => void
|
|
43
|
+
watchQuotes(rfqId: string, listener: (view: QuoteView) => void): () => void;
|
|
48
44
|
/** Record the `catalog_generation` of the catalog you just loaded; `onCatalogStale` then fires only for a newer one. */
|
|
49
45
|
catalogLoaded(generation: string | number | bigint): void;
|
|
50
46
|
/** Detach the listeners; the stream stays open. */
|
package/dist/ui.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const everyResource = ["BALANCES", "CAPITAL", "ACTIVITY", "POSITIONS", "PERFORMANCE", "TELEMETRY", "QUOTES", "ACCESS"];
|
|
3
|
-
const expiryOf = (quote) => (quote.kind === "ENTRY" ? quote.entry : quote.sell_back).expiry;
|
|
1
|
+
import { bestBid, bestQuote } from "./totalis.js";
|
|
2
|
+
const everyResource = ["BALANCES", "CAPITAL", "ACTIVITY", "POSITIONS", "HOLDINGS", "PERFORMANCE", "TELEMETRY", "QUOTES", "ACCESS"];
|
|
4
3
|
/**
|
|
5
4
|
* A small framework-agnostic bridge from the account stream to a UI: quotes
|
|
6
5
|
* from the subscription, the venue clock, account invalidations for a query
|
|
@@ -22,6 +21,11 @@ export function createUiAdapter(totalis, options = {}) {
|
|
|
22
21
|
stream.on("frame", (frame) => {
|
|
23
22
|
if (frame.channel === "readInvalidated") {
|
|
24
23
|
const invalidation = frame.data;
|
|
24
|
+
// A HOLDINGS revision is a HyperCore height, not the publication revision the others share, and a repair can repeat one.
|
|
25
|
+
if (invalidation.resources.includes("HOLDINGS")) {
|
|
26
|
+
options.onInvalidate?.(invalidation.resources);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
25
29
|
const scope = JSON.stringify(invalidation.scope);
|
|
26
30
|
const revision = BigInt(invalidation.revision);
|
|
27
31
|
if (revision <= (revisions.get(scope) ?? -1n))
|
|
@@ -46,20 +50,18 @@ export function createUiAdapter(totalis, options = {}) {
|
|
|
46
50
|
return {
|
|
47
51
|
/** The venue clock in ms. Read it on every render tick; a timestamp kept from a callback freezes countdowns. */
|
|
48
52
|
serverNow: () => stream.serverNow(),
|
|
49
|
-
/** Seconds the quote can still be accepted: an entry until its `accept_before`, a cash-out bid until its expiry. */
|
|
50
|
-
secondsLeft: (quote) => Math.max(0, Math.floor(((quote.kind === "ENTRY" ? acceptBefore(quote) : Number(expiryOf(quote)) * 1000) - stream.serverNow()) / 1000)),
|
|
51
53
|
/**
|
|
52
|
-
* Render an RFQ's
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
54
|
+
* Render an RFQ's quotes from the stream (`totalis.watchQuotes`) with the
|
|
55
|
+
* best one: highest payout (`bestQuote`) or highest price (`bestBid`).
|
|
56
|
+
* Each stays takeable while it is on the book. `quotes` is `[]` while the
|
|
57
|
+
* stream is not live. Returns the unsubscribe.
|
|
56
58
|
*/
|
|
57
|
-
watchQuotes(rfqId, listener
|
|
58
|
-
return totalis.watchQuotes(rfqId, (quotes
|
|
59
|
+
watchQuotes(rfqId, listener) {
|
|
60
|
+
return totalis.watchQuotes(rfqId, (quotes) => {
|
|
59
61
|
const entries = quotes.filter((quote) => quote.kind === "ENTRY");
|
|
60
62
|
const bids = quotes.filter((quote) => quote.kind !== "ENTRY");
|
|
61
|
-
const best = entries.length > 0 ? bestQuote()(entries
|
|
62
|
-
listener({ quotes, best
|
|
63
|
+
const best = entries.length > 0 ? bestQuote()(entries) : bestBid()(bids);
|
|
64
|
+
listener({ quotes, best });
|
|
63
65
|
});
|
|
64
66
|
},
|
|
65
67
|
/** Record the `catalog_generation` of the catalog you just loaded; `onCatalogStale` then fires only for a newer one. */
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Eip1193ProviderLike } from "./signer.js";
|
|
2
|
+
import { type Hex, type Leg, type TotalisDeployment } from "./typed-data.js";
|
|
3
|
+
/**
|
|
4
|
+
* Where the SDK reads the vault: a HyperEVM JSON-RPC URL, or anything with an
|
|
5
|
+
* EIP-1193 `request` (a viem public client, a wallet provider). It only sends
|
|
6
|
+
* `eth_call`.
|
|
7
|
+
*/
|
|
8
|
+
export type ChainReader = string | Eip1193ProviderLike;
|
|
9
|
+
/** The gas cap `legStateOf(legs, readGas)` runs under: the venue reads leg state with the same cap, so a maker's read matches the venue's. */
|
|
10
|
+
export declare const legStateReadGas = 500000n;
|
|
11
|
+
/** A position as the vault records it, `tickets(position_id)`: atomic USDC amounts as decimal strings. */
|
|
12
|
+
export type VaultTicket = {
|
|
13
|
+
readonly makerId: string;
|
|
14
|
+
readonly owner: Hex;
|
|
15
|
+
readonly stake: string;
|
|
16
|
+
readonly payout: string;
|
|
17
|
+
readonly worst0: string;
|
|
18
|
+
readonly feeBps: number;
|
|
19
|
+
readonly status: number;
|
|
20
|
+
readonly residual: string;
|
|
21
|
+
readonly legsHash: Hex;
|
|
22
|
+
};
|
|
23
|
+
/** What a maker prices a cash-out from: the position's ticket, its legs hash, and its leg state, read on chain. */
|
|
24
|
+
export type CashoutPosition = {
|
|
25
|
+
readonly ticket: VaultTicket;
|
|
26
|
+
readonly legsHash: Hex;
|
|
27
|
+
/** `legStateOf(legs, legStateReadGas)` at the latest block: pass it to `maker.bid` as `legState` to sign only at the state you priced. */
|
|
28
|
+
readonly legState: Hex;
|
|
29
|
+
};
|
|
30
|
+
/** `tickets(position_id)` calldata. */
|
|
31
|
+
export declare function ticketsCall(positionId: string): Hex;
|
|
32
|
+
/** `legStateOf(legs, readGas)` calldata, the legs in the order given. */
|
|
33
|
+
export declare function legStateOfCall(legs: readonly Leg[], readGas?: bigint): Hex;
|
|
34
|
+
/** Read `tickets(position_id)` from the deployment's vault. */
|
|
35
|
+
export declare function readTicket(chain: ChainReader, deployment: TotalisDeployment, positionId: string): Promise<VaultTicket>;
|
|
36
|
+
/** Read `legStateOf(legs, readGas)` from the deployment's vault at the latest block. */
|
|
37
|
+
export declare function readLegState(chain: ChainReader, deployment: TotalisDeployment, legs: readonly Leg[], readGas?: bigint): Promise<Hex>;
|
|
38
|
+
/**
|
|
39
|
+
* Read a cash-out RFQ's position on chain: its ticket and its leg state. The
|
|
40
|
+
* RFQ's `legs` must hash to the ticket's `legsHash`, or this throws: they are
|
|
41
|
+
* not that position's legs.
|
|
42
|
+
*/
|
|
43
|
+
export declare function readCashoutPosition(chain: ChainReader, deployment: TotalisDeployment, rfq: {
|
|
44
|
+
readonly position_id: string;
|
|
45
|
+
readonly legs: readonly Leg[];
|
|
46
|
+
}): Promise<CashoutPosition>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { keccak_256 } from "@noble/hashes/sha3";
|
|
2
|
+
import { vaultReads } from "./generated/vault-abi.js";
|
|
3
|
+
import { legsHash, signedLeg } from "./typed-data.js";
|
|
4
|
+
/** The gas cap `legStateOf(legs, readGas)` runs under: the venue reads leg state with the same cap, so a maker's read matches the venue's. */
|
|
5
|
+
export const legStateReadGas = 500000n;
|
|
6
|
+
const canonical = (param) => param.components === undefined ? param.type : `(${param.components.map(canonical).join(",")})${param.type.slice("tuple".length)}`;
|
|
7
|
+
const selector = (name) => Array.from(keccak_256(new TextEncoder().encode(`${name}(${vaultReads[name].inputs.map(canonical).join(",")})`)).slice(0, 4), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
8
|
+
const word = (value) => BigInt(value).toString(16).padStart(64, "0");
|
|
9
|
+
/** `tickets(position_id)` calldata. */
|
|
10
|
+
export function ticketsCall(positionId) {
|
|
11
|
+
if (!/^0x[0-9a-fA-F]{64}$/.test(positionId))
|
|
12
|
+
throw new TypeError(`not a position ID: ${positionId}`);
|
|
13
|
+
return `0x${selector("tickets")}${positionId.slice(2).toLowerCase()}`;
|
|
14
|
+
}
|
|
15
|
+
/** `legStateOf(legs, readGas)` calldata, the legs in the order given. */
|
|
16
|
+
export function legStateOfCall(legs, readGas = legStateReadGas) {
|
|
17
|
+
const encoded = legs.map(signedLeg).map((leg) => word(leg.outcomeId) + word(leg.side)).join("");
|
|
18
|
+
return `0x${selector("legStateOf")}${word(64)}${word(readGas)}${word(legs.length)}${encoded}`;
|
|
19
|
+
}
|
|
20
|
+
async function ethCall(chain, to, data) {
|
|
21
|
+
const params = [{ to, data }, "latest"];
|
|
22
|
+
let result;
|
|
23
|
+
if (typeof chain === "string") {
|
|
24
|
+
const response = await fetch(chain, { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "eth_call", params }) });
|
|
25
|
+
if (!response.ok)
|
|
26
|
+
throw new Error(`eth_call answered HTTP ${response.status}`);
|
|
27
|
+
const body = await response.json();
|
|
28
|
+
if (body.error !== undefined)
|
|
29
|
+
throw new Error(`eth_call failed: ${body.error.message ?? JSON.stringify(body.error)}`);
|
|
30
|
+
result = body.result;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
// The provider's generic request is declared `never`; widen it once here.
|
|
34
|
+
const request = chain.request.bind(chain);
|
|
35
|
+
result = await request({ method: "eth_call", params });
|
|
36
|
+
}
|
|
37
|
+
if (typeof result !== "string" || !/^0x(?:[0-9a-fA-F]{64})+$/.test(result))
|
|
38
|
+
throw new Error(`eth_call returned no words: ${String(result)}`);
|
|
39
|
+
return result.slice(2).toLowerCase();
|
|
40
|
+
}
|
|
41
|
+
/** Read `tickets(position_id)` from the deployment's vault. */
|
|
42
|
+
export async function readTicket(chain, deployment, positionId) {
|
|
43
|
+
const words = (await ethCall(chain, deployment.vault_address, ticketsCall(positionId))).match(/.{64}/g);
|
|
44
|
+
const outputs = vaultReads.tickets.outputs;
|
|
45
|
+
if (words.length !== outputs.length)
|
|
46
|
+
throw new Error(`tickets returned ${words.length} words, not ${outputs.length}`);
|
|
47
|
+
const field = (name) => words[outputs.findIndex((output) => output.name === name)];
|
|
48
|
+
const uint = (name) => BigInt(`0x${field(name)}`).toString();
|
|
49
|
+
return {
|
|
50
|
+
makerId: uint("makerId"), owner: `0x${field("owner").slice(24)}`, stake: uint("stake"), payout: uint("payout"), worst0: uint("worst0"),
|
|
51
|
+
feeBps: Number(uint("feeBps")), status: Number(uint("status")), residual: uint("residual"), legsHash: `0x${field("legsHash")}`,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/** Read `legStateOf(legs, readGas)` from the deployment's vault at the latest block. */
|
|
55
|
+
export async function readLegState(chain, deployment, legs, readGas = legStateReadGas) {
|
|
56
|
+
const value = await ethCall(chain, deployment.vault_address, legStateOfCall(legs, readGas));
|
|
57
|
+
if (value.length !== 64)
|
|
58
|
+
throw new Error("legStateOf returned more than one word");
|
|
59
|
+
return `0x${value}`;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Read a cash-out RFQ's position on chain: its ticket and its leg state. The
|
|
63
|
+
* RFQ's `legs` must hash to the ticket's `legsHash`, or this throws: they are
|
|
64
|
+
* not that position's legs.
|
|
65
|
+
*/
|
|
66
|
+
export async function readCashoutPosition(chain, deployment, rfq) {
|
|
67
|
+
const hash = legsHash(rfq.legs);
|
|
68
|
+
const [ticket, legState] = await Promise.all([readTicket(chain, deployment, rfq.position_id), readLegState(chain, deployment, rfq.legs)]);
|
|
69
|
+
if (ticket.legsHash !== hash)
|
|
70
|
+
throw new Error(`the RFQ's legs hash to ${hash}, but position ${rfq.position_id} records ${ticket.legsHash}`);
|
|
71
|
+
return { ticket, legsHash: hash, legState };
|
|
72
|
+
}
|
|
@@ -34,7 +34,7 @@ export async function openPosition(totalis, { legs, stake, onQuotes }) {
|
|
|
34
34
|
const choose = (quotes) => {
|
|
35
35
|
onQuotes?.(quotes);
|
|
36
36
|
return [...quotes]
|
|
37
|
-
.sort((a, b) => (BigInt(b.
|
|
37
|
+
.sort((a, b) => (BigInt(b.payout) > BigInt(a.payout) ? 1 : -1))[0];
|
|
38
38
|
};
|
|
39
39
|
const result = await totalis.openPosition({ legs, stake: BigInt(stake), choose });
|
|
40
40
|
if (result.status !== "ACCEPTED") return result;
|
package/examples/node-bot.mjs
CHANGED
|
@@ -14,7 +14,21 @@ import { privateKeyToAccount } from "viem/accounts";
|
|
|
14
14
|
|
|
15
15
|
/** Start quoting and confirming. Returns the maker; `close()` it to stop. */
|
|
16
16
|
export function startBot({ environment = "production", baseUrl, apiKey, makerId, signer, payout = (rfq) => (BigInt(rfq.stake) * 18n) / 10n, bid, willing = () => true, log = console.log }) {
|
|
17
|
-
|
|
17
|
+
// The SDK confirms each accept of a quote this bot published; `lastLook` may decline it.
|
|
18
|
+
// Confirming a cash-out executes the owner-signed sale.
|
|
19
|
+
const maker = createMaker({
|
|
20
|
+
environment, ...(baseUrl === undefined ? {} : { baseUrl }), apiKey, makerId, signer,
|
|
21
|
+
lastLook: async (acceptance) => {
|
|
22
|
+
// Price or capital may have moved since the quote: decline rather than fill.
|
|
23
|
+
if (!(await willing(acceptance))) {
|
|
24
|
+
log(`declining ${acceptance.quote_id} on ${acceptance.rfq_id}`);
|
|
25
|
+
return "DECLINE";
|
|
26
|
+
}
|
|
27
|
+
log(`confirming ${acceptance.quote_id} on ${acceptance.rfq_id}`);
|
|
28
|
+
return "CONFIRM";
|
|
29
|
+
},
|
|
30
|
+
onConfirmError: (error, acceptance) => log(`confirm ${acceptance?.quote_id ?? "read"} failed: ${error.message}`),
|
|
31
|
+
});
|
|
18
32
|
maker.stream.on("status", (status) => log(`stream ${status}`));
|
|
19
33
|
// Returning the quote promise lets onRfq offer the RFQ again if publishing fails.
|
|
20
34
|
maker.onRfq(async (rfq) => {
|
|
@@ -30,17 +44,6 @@ export function startBot({ environment = "production", baseUrl, apiKey, makerId,
|
|
|
30
44
|
log(`bid ${rfq.rfq_id} ${quoteId}`);
|
|
31
45
|
}
|
|
32
46
|
}, (error) => log(`rfq handling failed: ${error.message}`));
|
|
33
|
-
// Acceptances arrive as QUOTE_ACCEPTED (and in the snapshot, paged past its
|
|
34
|
-
// cap); confirming a cash-out executes the owner-signed sale, answering ACCEPTED.
|
|
35
|
-
maker.onAcceptance(async (acceptance) => {
|
|
36
|
-
// Price or capital may have moved since the quote: decline rather than fill.
|
|
37
|
-
if (!(await willing(acceptance))) {
|
|
38
|
-
log(`declining ${acceptance.quote_id} on ${acceptance.rfq_id}`);
|
|
39
|
-
return "DECLINE";
|
|
40
|
-
}
|
|
41
|
-
log(`confirming ${acceptance.quote_id} on ${acceptance.rfq_id}`);
|
|
42
|
-
return "CONFIRM";
|
|
43
|
-
}, (error, acceptance) => log(`confirm ${acceptance?.quote_id ?? "read"} failed: ${error.message}`));
|
|
44
47
|
return maker;
|
|
45
48
|
}
|
|
46
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.125.0",
|
|
4
4
|
"description": "Totalis HIP-4 SDK: typed HTTP clients, signer-agnostic typed data, a retrying request layer, pagination, a realtime stream and taker/maker flows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|