@agg-build/hooks 4.7.3 → 4.7.4

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __async,
3
3
  useAggClient
4
- } from "./chunk-TXHUUPRD.mjs";
4
+ } from "./chunk-HDPVTROR.mjs";
5
5
 
6
6
  // src/use-ramp-quotes.ts
7
7
  import { useMutation } from "@tanstack/react-query";
@@ -11,7 +11,7 @@ import {
11
11
  useOnWithdrawalLifecycle,
12
12
  useSyncBalances,
13
13
  useWithdrawManaged
14
- } from "./chunk-TXHUUPRD.mjs";
14
+ } from "./chunk-HDPVTROR.mjs";
15
15
 
16
16
  // src/withdraw/use-withdraw-flow.ts
17
17
  import { useCallback, useEffect, useMemo, useState } from "react";
@@ -3760,6 +3760,7 @@ var executeWalletAuthFlow = (input) => __async(null, null, function* () {
3760
3760
  statement: (_c = startResult.statement) != null ? _c : input.options.statement
3761
3761
  }) : input.client.buildSiweMessage({
3762
3762
  domain: location.domain,
3763
+ // Any casing: `buildSiweMessage` applies the EIP-55 checksum itself.
3763
3764
  address,
3764
3765
  uri: location.uri,
3765
3766
  nonce: startResult.nonce,
package/dist/deposit.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useRampQuotes,
3
3
  useRampSession
4
- } from "./chunk-IY5SCAR3.mjs";
4
+ } from "./chunk-DUZ3EJUK.mjs";
5
5
  import {
6
6
  __async,
7
7
  useAggAuthState,
@@ -11,7 +11,7 @@ import {
11
11
  useDepositAddresses,
12
12
  useOptionalAggClient,
13
13
  useSyncBalances
14
- } from "./chunk-TXHUUPRD.mjs";
14
+ } from "./chunk-HDPVTROR.mjs";
15
15
 
16
16
  // src/deposit/normalize-wallet-error.ts
17
17
  function normalizeWalletError(error, supportedChains) {
package/dist/index.js CHANGED
@@ -552,6 +552,7 @@ var executeWalletAuthFlow = (input) => __async(null, null, function* () {
552
552
  statement: (_c = startResult.statement) != null ? _c : input.options.statement
553
553
  }) : input.client.buildSiweMessage({
554
554
  domain: location.domain,
555
+ // Any casing: `buildSiweMessage` applies the EIP-55 checksum itself.
555
556
  address,
556
557
  uri: location.uri,
557
558
  nonce: startResult.nonce,
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  useRampQuotes,
3
3
  useRampSession
4
- } from "./chunk-IY5SCAR3.mjs";
4
+ } from "./chunk-DUZ3EJUK.mjs";
5
5
  import {
6
6
  useWithdrawEstimate,
7
7
  useWithdrawFlow,
8
8
  useWithdrawPreview,
9
9
  useWithdrawalLifecycle
10
- } from "./chunk-M5EQG5G3.mjs";
10
+ } from "./chunk-FPBMOHIA.mjs";
11
11
  import {
12
12
  AggAuthContext,
13
13
  AggBalanceProvider,
@@ -97,7 +97,7 @@ import {
97
97
  useSyncBalances,
98
98
  useWithdrawManaged,
99
99
  userActivityQueryKeys
100
- } from "./chunk-TXHUUPRD.mjs";
100
+ } from "./chunk-HDPVTROR.mjs";
101
101
 
102
102
  // src/index.ts
103
103
  import { QueryClient as QueryClient4, QueryClientProvider, useQueryClient as useQueryClient3 } from "@tanstack/react-query";
package/dist/withdraw.mjs CHANGED
@@ -3,12 +3,12 @@ import {
3
3
  useWithdrawFlow,
4
4
  useWithdrawPreview,
5
5
  useWithdrawalLifecycle
6
- } from "./chunk-M5EQG5G3.mjs";
6
+ } from "./chunk-FPBMOHIA.mjs";
7
7
  import {
8
8
  useDepositAddresses,
9
9
  useManagedBalances,
10
10
  useWithdrawManaged
11
- } from "./chunk-TXHUUPRD.mjs";
11
+ } from "./chunk-HDPVTROR.mjs";
12
12
  export {
13
13
  useDepositAddresses,
14
14
  useManagedBalances,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-build/hooks",
3
- "version": "4.7.3",
3
+ "version": "4.7.4",
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",
@@ -83,7 +83,7 @@
83
83
  "react": "^18.0.0 || ^19.0.0",
84
84
  "viem": "^2.0.0",
85
85
  "wagmi": "^3.0.0 || ^2.0.0",
86
- "@agg-build/sdk": "^4.7.0"
86
+ "@agg-build/sdk": "^4.7.4"
87
87
  },
88
88
  "peerDependenciesMeta": {
89
89
  "@solana/wallet-adapter-react": {