@totalis/hip4-client 0.95.0 → 0.96.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
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
`@totalis/hip4-client` follows [semantic versioning](https://semver.org).
|
|
4
4
|
The contract version the generated types come from is `sdkVersion` in `./version`.
|
|
5
5
|
|
|
6
|
+
## 0.96.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Genesis badge on usernames (contract `227.0.0-genesis-badge`). `getIdentity`,
|
|
11
|
+
`getTrader`, comment authors, both leaderboards and `listComboFeed` carry an
|
|
12
|
+
optional `genesis`, when the account earned the Genesis Account badge.
|
|
13
|
+
Others see it only while the account's public profile is on.
|
|
14
|
+
|
|
6
15
|
## 0.95.0
|
|
7
16
|
|
|
8
17
|
### Added
|
|
@@ -3054,6 +3054,8 @@ export type components = {
|
|
|
3054
3054
|
readonly avatar_seed: components["schemas"]["AvatarSeed"];
|
|
3055
3055
|
/** @description The trader's X picture, shown in place of the generated avatar; absent when there is none. */
|
|
3056
3056
|
readonly picture_url?: components["schemas"]["XPictureUrl"];
|
|
3057
|
+
/** @description The trader's Genesis Account badge; absent when they have not earned it. Servers before contract 227 omit it. */
|
|
3058
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
3057
3059
|
/** @description HyperEVM block time of the ticket's opening. */
|
|
3058
3060
|
readonly opened_at: components["schemas"]["$defs-Timestamp"];
|
|
3059
3061
|
} & components["schemas"]["TraderComboFields"];
|
|
@@ -4203,6 +4205,8 @@ export type components = {
|
|
|
4203
4205
|
readonly x_username?: components["schemas"]["XUsername"];
|
|
4204
4206
|
/** @description Whether the public trader profile shows x_username: true until the account hides it with PUT /v1/me/public-profile/x, whether or not X is linked. Servers before contract 210 omit it. */
|
|
4205
4207
|
readonly x_shown?: boolean;
|
|
4208
|
+
/** @description The account's Genesis Account badge (GET /v1/me/genesis), shown whether or not its public profile is on; absent until it is earned. Servers before contract 227 omit it. */
|
|
4209
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
4206
4210
|
};
|
|
4207
4211
|
readonly NonZeroAddress: components["schemas"]["Address"] & unknown;
|
|
4208
4212
|
/** Format: uri */
|
|
@@ -4989,6 +4993,8 @@ export type components = {
|
|
|
4989
4993
|
readonly avatar_seed: components["schemas"]["AvatarSeed"];
|
|
4990
4994
|
/** @description The author's X picture, as GET /v1/me serves it to them; absent when the server has none. Servers before contract 186 omit it. */
|
|
4991
4995
|
readonly picture_url?: components["schemas"]["XPictureUrl"];
|
|
4996
|
+
/** @description The author's Genesis Account badge, read now; absent when they have not earned it or have their public profile off. Servers before contract 227 omit it. */
|
|
4997
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
4992
4998
|
} | null;
|
|
4993
4999
|
/** @description The text, or null once it is deleted. */
|
|
4994
5000
|
readonly body: components["schemas"]["CommentBody"] | null;
|
|
@@ -8475,6 +8481,8 @@ export interface operations {
|
|
|
8475
8481
|
readonly avatar_seed?: components["schemas"]["AvatarSeed"];
|
|
8476
8482
|
/** @description The profile picture of the X account linked to the trader's Privy login, which clients show in place of the generated avatar. The same picture GET /v1/me serves the trader, as of when the ranking was read. Absent when the server has no picture for the trader. Servers before contract 167 omit it. */
|
|
8477
8483
|
readonly picture_url?: components["schemas"]["XPictureUrl"];
|
|
8484
|
+
/** @description The Genesis Account badge, as of when the ranking was read: absent when the trader has not earned it or has their public profile off. Servers before contract 227 omit it. */
|
|
8485
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
8478
8486
|
/** @description USDC in units of 10^-8, always above zero. */
|
|
8479
8487
|
readonly volume: components["schemas"]["$defs-Amount"];
|
|
8480
8488
|
}[];
|
|
@@ -8529,6 +8537,8 @@ export interface operations {
|
|
|
8529
8537
|
readonly avatar_seed: components["schemas"]["AvatarSeed"];
|
|
8530
8538
|
/** @description The profile picture of the X account linked to the trader's Privy login, which clients show in place of the generated avatar. The same picture GET /v1/me serves the trader, as of when the ranking was read. Absent when the server has no picture for the trader. Servers before contract 167 omit it. */
|
|
8531
8539
|
readonly picture_url?: components["schemas"]["XPictureUrl"];
|
|
8540
|
+
/** @description The Genesis Account badge, as of when the ranking was read: absent when the trader has not earned it or has their public profile off. Servers before contract 227 omit it. */
|
|
8541
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
8532
8542
|
/** @description USDC in atomic units (10^-6), always above zero. */
|
|
8533
8543
|
readonly profit: components["schemas"]["$defs-Amount"];
|
|
8534
8544
|
}[];
|
|
@@ -8644,6 +8654,8 @@ export interface operations {
|
|
|
8644
8654
|
readonly picture_url?: components["schemas"]["XPictureUrl"];
|
|
8645
8655
|
/** @description The handle of the X account linked to the trader's Privy login, as for GET /v1/me. Absent when there is none or the trader hid it with PUT /v1/me/public-profile/x; a signed-out answer the edge cached may show it for up to 30 seconds after it changes. Servers before contract 210 omit it. */
|
|
8646
8656
|
readonly x_username?: components["schemas"]["XUsername"];
|
|
8657
|
+
/** @description The trader's Genesis Account badge; absent when they have not earned it. Servers before contract 227 omit it. */
|
|
8658
|
+
readonly genesis?: components["schemas"]["$defs-Timestamp"];
|
|
8647
8659
|
/** @description The account wallet the trader trades from, as GET /v1/me shows it to them. */
|
|
8648
8660
|
readonly account: components["schemas"]["LowercaseNonZeroAddress"];
|
|
8649
8661
|
/** @description When the trader turned the profile on. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "227.0.0-genesis-badge";
|
|
2
|
+
export declare const openapiSha256 = "110977fb90ba64f8d7e1317a7053fa93d75aaff9b16cee63dea4abd20da505ca";
|
|
3
3
|
export declare const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a";
|
|
6
|
-
readonly "comments.schema.json": "
|
|
6
|
+
readonly "comments.schema.json": "b3e35b9b1bd90b763658fcd25910ec123d44713cdf608b4e52667c91b78f0aa5";
|
|
7
7
|
readonly "common.schema.json": "04f51deb3cbea448e59195e26ede3212598d58a7940fe67eb2123fd9161c5edb";
|
|
8
8
|
readonly "core-exit.schema.json": "c7f617e815225cdcac95c236f8b73fbe288ee5713ff444c3be90eb915fc3a401";
|
|
9
9
|
readonly "error.schema.json": "a980d4d81ea2f8528d24d79a6cf3823b15690d21e81a1852039ae12c4ce0a393";
|
|
10
10
|
readonly "hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c";
|
|
11
|
-
readonly "identity.schema.json": "
|
|
11
|
+
readonly "identity.schema.json": "02e333b88c82d89abd6f1c9b739935db1701c67aa53b4fcc487f1d78d8c99dcc";
|
|
12
12
|
readonly "maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b";
|
|
13
13
|
readonly "maker-action.schema.json": "dc41e52c868848e85cdeb918992cb710d34616d2803a63f6d9a658e016744a50";
|
|
14
14
|
readonly "maker-telemetry.schema.json": "85b111ce0f4935299d1116071b43de12e775bef4e0c283c12f19046d34374a9c";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Generated by scripts/generate.mjs; do not edit.
|
|
2
|
-
export const sdkVersion = "
|
|
3
|
-
export const openapiSha256 = "
|
|
2
|
+
export const sdkVersion = "227.0.0-genesis-badge";
|
|
3
|
+
export const openapiSha256 = "110977fb90ba64f8d7e1317a7053fa93d75aaff9b16cee63dea4abd20da505ca";
|
|
4
4
|
export const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a",
|
|
7
|
-
"comments.schema.json": "
|
|
7
|
+
"comments.schema.json": "b3e35b9b1bd90b763658fcd25910ec123d44713cdf608b4e52667c91b78f0aa5",
|
|
8
8
|
"common.schema.json": "04f51deb3cbea448e59195e26ede3212598d58a7940fe67eb2123fd9161c5edb",
|
|
9
9
|
"core-exit.schema.json": "c7f617e815225cdcac95c236f8b73fbe288ee5713ff444c3be90eb915fc3a401",
|
|
10
10
|
"error.schema.json": "a980d4d81ea2f8528d24d79a6cf3823b15690d21e81a1852039ae12c4ce0a393",
|
|
11
11
|
"hypercore.schema.json": "5b89b2bbff7ec8cc1b8717375d12ce9cd5ab6aa5af03c4fdc6cc753ef9583a2c",
|
|
12
|
-
"identity.schema.json": "
|
|
12
|
+
"identity.schema.json": "02e333b88c82d89abd6f1c9b739935db1701c67aa53b4fcc487f1d78d8c99dcc",
|
|
13
13
|
"maker-access.schema.json": "49698ee0235e42064aae0397db1e0f646bdc10d9dfa10121714ba06dd69fee3b",
|
|
14
14
|
"maker-action.schema.json": "dc41e52c868848e85cdeb918992cb710d34616d2803a63f6d9a658e016744a50",
|
|
15
15
|
"maker-telemetry.schema.json": "85b111ce0f4935299d1116071b43de12e775bef4e0c283c12f19046d34374a9c",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.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": [
|