equito 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -55,7 +55,10 @@ export type Price = {
55
55
  name: string;
56
56
  address: string | null;
57
57
  multiplier: number;
58
- tokenPrice: number;
58
+ /** null when Robinhood's bid/ask spread is wider than 5% (outside US market hours); priceNote says why. */
59
+ tokenPrice: number | null;
60
+ spreadPct: number;
61
+ priceNote?: string;
59
62
  token: {
60
63
  bid: number;
61
64
  ask: number;
@@ -92,6 +95,8 @@ export type Stats = {
92
95
  dexPrice: number | null;
93
96
  premiumPct: number | null;
94
97
  liquidityUsd: number | null;
98
+ spreadPct?: number | null;
99
+ priceNote?: string;
95
100
  pools?: Pool[];
96
101
  live?: boolean;
97
102
  updatedAt?: string;
@@ -131,6 +136,7 @@ export type Quote = {
131
136
  priceImpactPct: number | null;
132
137
  vsTokenPricePct: number | null;
133
138
  tokenPrice: number | null;
139
+ priceNote?: string;
134
140
  };
135
141
  export type UnsignedTx = {
136
142
  to: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "equito",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Stock token data on Robinhood Chain: prices, DEX premium, pools, candles, portfolios, SEC research, Uniswap quotes and unsigned trades. Pays per call over x402 when you hand it a signer.",
5
5
  "license": "MIT",
6
6
  "type": "module",