@hfunlabs/hypurr-connect 0.1.18 → 0.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hfunlabs/hypurr-connect",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@10.10.0",
6
6
  "main": "./dist/index.js",
@@ -593,6 +593,7 @@ export function HypurrConnectProvider({
593
593
  telegramId: String(tgUser.telegramId),
594
594
  hfunScore: tgUser?.reputation?.hfunScore,
595
595
  reputationScore: tgUser?.reputation?.reputationScore,
596
+ addressBook: tgUser.addressBook,
596
597
  };
597
598
  }
598
599
  if (eoaAddress && authMethod === "eoa") {
package/src/index.ts CHANGED
@@ -56,7 +56,10 @@ export type {
56
56
 
57
57
  // Re-export wallet types from hypurr-grpc so consumers don't need the dependency
58
58
  export type { HyperliquidWallet } from "hypurr-grpc/ts/hypurr/wallet";
59
- export type { TelegramChatWalletPack } from "hypurr-grpc/ts/hypurr/user";
59
+ export type {
60
+ TelegramChatWalletPack,
61
+ TelegramUserAddressBookEntry,
62
+ } from "hypurr-grpc/ts/hypurr/user";
60
63
  export type {
61
64
  HyperliquidWalletScaleSession,
62
65
  HyperliquidWalletTwapSession,
package/src/types.ts CHANGED
@@ -11,7 +11,10 @@ import type {
11
11
  HyperliquidWalletScaleSession,
12
12
  HyperliquidWalletTwapSession,
13
13
  } from "hypurr-grpc/ts/hypurr/tools";
14
- import type { TelegramChatWalletPack } from "hypurr-grpc/ts/hypurr/user";
14
+ import type {
15
+ TelegramChatWalletPack,
16
+ TelegramUserAddressBookEntry,
17
+ } from "hypurr-grpc/ts/hypurr/user";
15
18
  import type { HyperliquidWallet } from "hypurr-grpc/ts/hypurr/wallet";
16
19
 
17
20
  // ─── Config ──────────────────────────────────────────────────────
@@ -63,6 +66,8 @@ export interface HypurrUser {
63
66
  telegramId?: string;
64
67
  hfunScore?: number;
65
68
  reputationScore?: number;
69
+ /** Saved address-book entries (Telegram users only). */
70
+ addressBook?: TelegramUserAddressBookEntry[];
66
71
  }
67
72
 
68
73
  // ─── Agent (EOA flow) ────────────────────────────────────────────