@agg-build/hooks 4.26.0 → 4.27.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.
Files changed (45) hide show
  1. package/dist/deposit.d.mts +142 -138
  2. package/dist/deposit.d.mts.map +1 -0
  3. package/dist/deposit.d.ts +142 -138
  4. package/dist/deposit.d.ts.map +1 -0
  5. package/dist/deposit.js +751 -2414
  6. package/dist/deposit.mjs +744 -727
  7. package/dist/deposit.mjs.map +1 -0
  8. package/dist/index-CbNR3EIA.d.mts +341 -0
  9. package/dist/index-CbNR3EIA.d.mts.map +1 -0
  10. package/dist/index-CsP1jRMD.d.ts +341 -0
  11. package/dist/index-CsP1jRMD.d.ts.map +1 -0
  12. package/dist/index-D0fXU85a.d.mts +743 -0
  13. package/dist/index-D0fXU85a.d.mts.map +1 -0
  14. package/dist/index-D0fXU85a.d.ts +743 -0
  15. package/dist/index-D0fXU85a.d.ts.map +1 -0
  16. package/dist/index.d.mts +6458 -7514
  17. package/dist/index.d.mts.map +1 -0
  18. package/dist/index.d.ts +6458 -7514
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +7451 -11416
  21. package/dist/index.mjs +7154 -5220
  22. package/dist/index.mjs.map +1 -0
  23. package/dist/use-ramp-session-7RAG9tvY.js +30 -0
  24. package/dist/use-ramp-session-BFWHCtuc.mjs +21 -0
  25. package/dist/use-ramp-session-BFWHCtuc.mjs.map +1 -0
  26. package/dist/use-sync-balances-BkcqInJh.mjs +1779 -0
  27. package/dist/use-sync-balances-BkcqInJh.mjs.map +1 -0
  28. package/dist/{use-sync-balances-CeD8qZWP.d.ts → use-sync-balances-CVEg__2V.d.mts} +7 -8
  29. package/dist/use-sync-balances-CVEg__2V.d.mts.map +1 -0
  30. package/dist/{use-sync-balances-CeD8qZWP.d.mts → use-sync-balances-CVEg__2V.d.ts} +7 -8
  31. package/dist/use-sync-balances-CVEg__2V.d.ts.map +1 -0
  32. package/dist/use-sync-balances-HryB8Q7F.js +1974 -0
  33. package/dist/withdraw--f5kYKJA.mjs +1474 -0
  34. package/dist/withdraw--f5kYKJA.mjs.map +1 -0
  35. package/dist/withdraw-BXWZYmJa.js +1591 -0
  36. package/dist/withdraw.d.mts +3 -351
  37. package/dist/withdraw.d.ts +3 -351
  38. package/dist/withdraw.js +10 -2229
  39. package/dist/withdraw.mjs +3 -20
  40. package/package.json +7 -6
  41. package/dist/chunk-JFJNW2PD.mjs +0 -5649
  42. package/dist/chunk-LNIAMJTZ.mjs +0 -505
  43. package/dist/chunk-OZQ3K47U.mjs +0 -31
  44. package/dist/use-deposit-addresses-B9ICS-3U.d.mts +0 -236
  45. package/dist/use-deposit-addresses-B9ICS-3U.d.ts +0 -236
package/dist/withdraw.mjs CHANGED
@@ -1,20 +1,3 @@
1
- import {
2
- useWithdrawEstimate,
3
- useWithdrawFlow,
4
- useWithdrawPreview,
5
- useWithdrawalLifecycle
6
- } from "./chunk-LNIAMJTZ.mjs";
7
- import {
8
- useDepositAddresses,
9
- useManagedBalances,
10
- useWithdrawManaged
11
- } from "./chunk-JFJNW2PD.mjs";
12
- export {
13
- useDepositAddresses,
14
- useManagedBalances,
15
- useWithdrawEstimate,
16
- useWithdrawFlow,
17
- useWithdrawManaged,
18
- useWithdrawPreview,
19
- useWithdrawalLifecycle
20
- };
1
+ import { a as useManagedBalances, i as useWithdrawFlow, n as useWithdrawalLifecycle, o as useWithdrawManaged, r as useWithdrawEstimate, t as useWithdrawPreview } from "./withdraw--f5kYKJA.mjs";
2
+ import { r as useDepositAddresses } from "./use-sync-balances-BkcqInJh.mjs";
3
+ export { useDepositAddresses, useManagedBalances, useWithdrawEstimate, useWithdrawFlow, useWithdrawManaged, useWithdrawPreview, useWithdrawalLifecycle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-build/hooks",
3
- "version": "4.26.0",
3
+ "version": "4.27.0",
4
4
  "description": "React hooks and providers for the AGG prediction market aggregator. Wraps @agg-build/sdk with TanStack Query, shared session state, and live WebSocket data.",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -75,7 +75,8 @@
75
75
  "dist"
76
76
  ],
77
77
  "dependencies": {
78
- "@tanstack/react-query": "^5.90.21"
78
+ "@tanstack/react-query": "^5.90.21",
79
+ "react-compiler-runtime": "1.0.0"
79
80
  },
80
81
  "peerDependencies": {
81
82
  "@solana/wallet-adapter-react": "^0.15.0",
@@ -83,7 +84,7 @@
83
84
  "react": "^18.0.0 || ^19.0.0",
84
85
  "viem": "^2.0.0",
85
86
  "wagmi": "^3.0.0 || ^2.0.0",
86
- "@agg-build/sdk": "^4.26.0"
87
+ "@agg-build/sdk": "^4.27.0"
87
88
  },
88
89
  "peerDependenciesMeta": {
89
90
  "@solana/wallet-adapter-react": {
@@ -103,12 +104,12 @@
103
104
  "access": "public"
104
105
  },
105
106
  "scripts": {
106
- "build": "tsup",
107
- "dev": "tsup --watch",
107
+ "build": "tsdown",
108
+ "dev": "tsdown --watch",
108
109
  "test": "pnpm exec vitest run --config vitest.config.ts",
109
110
  "test:watch": "pnpm exec vitest --config vitest.config.ts",
110
111
  "test:coverage": "pnpm exec vitest run --config vitest.config.ts --coverage",
111
- "typecheck": "tsc --noEmit",
112
+ "typecheck": "node ../../node_modules/@agg/typescript-native/bin/tsc --noEmit",
112
113
  "lint": "eslint . --max-warnings 0",
113
114
  "clean": "rm -rf .turbo node_modules dist"
114
115
  }