@agg-build/hooks 4.7.0 → 4.7.3
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/dist/{chunk-ZHCJYQSA.mjs → chunk-IY5SCAR3.mjs} +1 -1
- package/dist/{chunk-XYQDTF7M.mjs → chunk-M5EQG5G3.mjs} +1 -1
- package/dist/{chunk-TVLLWCK7.mjs → chunk-TXHUUPRD.mjs} +6 -3
- package/dist/deposit.js +2 -1
- package/dist/deposit.mjs +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -3
- package/dist/index.mjs +3 -3
- package/dist/withdraw.js +2 -1
- package/dist/withdraw.mjs +2 -2
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
useOnWithdrawalLifecycle,
|
|
12
12
|
useSyncBalances,
|
|
13
13
|
useWithdrawManaged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TXHUUPRD.mjs";
|
|
15
15
|
|
|
16
16
|
// src/withdraw/use-withdraw-flow.ts
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
@@ -62,6 +62,7 @@ var Venue = /* @__PURE__ */ ((Venue2) => {
|
|
|
62
62
|
Venue2["myriad"] = "myriad";
|
|
63
63
|
Venue2["hyperliquid"] = "hyperliquid";
|
|
64
64
|
Venue2["novig"] = "novig";
|
|
65
|
+
Venue2["prophetx"] = "prophetx";
|
|
65
66
|
return Venue2;
|
|
66
67
|
})(Venue || {});
|
|
67
68
|
var ACTIVE_VENUES = [
|
|
@@ -72,9 +73,10 @@ var ACTIVE_VENUES = [
|
|
|
72
73
|
"predict" /* predict */,
|
|
73
74
|
"probable" /* probable */,
|
|
74
75
|
"myriad" /* myriad */,
|
|
75
|
-
"hyperliquid" /* hyperliquid
|
|
76
|
+
"hyperliquid" /* hyperliquid */,
|
|
77
|
+
"novig" /* novig */
|
|
76
78
|
];
|
|
77
|
-
var INACTIVE_VENUES = ["
|
|
79
|
+
var INACTIVE_VENUES = ["prophetx" /* prophetx */];
|
|
78
80
|
var ACTIVE_VENUE_SET = new Set(ACTIVE_VENUES);
|
|
79
81
|
var INACTIVE_VENUE_SET = new Set(INACTIVE_VENUES);
|
|
80
82
|
|
|
@@ -249,7 +251,8 @@ var enUsLabels = {
|
|
|
249
251
|
probable: "Probable",
|
|
250
252
|
myriad: "Myriad",
|
|
251
253
|
hyperliquid: "Hyperliquid",
|
|
252
|
-
novig: "Novig"
|
|
254
|
+
novig: "Novig",
|
|
255
|
+
prophetx: "ProphetX"
|
|
253
256
|
},
|
|
254
257
|
auth: {
|
|
255
258
|
connect: (connectorName) => connectorName ? `Sign in with ${connectorName}` : "Sign in",
|
package/dist/deposit.js
CHANGED
|
@@ -172,7 +172,8 @@ var enUsLabels = {
|
|
|
172
172
|
probable: "Probable",
|
|
173
173
|
myriad: "Myriad",
|
|
174
174
|
hyperliquid: "Hyperliquid",
|
|
175
|
-
novig: "Novig"
|
|
175
|
+
novig: "Novig",
|
|
176
|
+
prophetx: "ProphetX"
|
|
176
177
|
},
|
|
177
178
|
auth: {
|
|
178
179
|
connect: (connectorName) => connectorName ? `Sign in with ${connectorName}` : "Sign in",
|
package/dist/deposit.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useRampQuotes,
|
|
3
3
|
useRampSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IY5SCAR3.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-
|
|
14
|
+
} from "./chunk-TXHUUPRD.mjs";
|
|
15
15
|
|
|
16
16
|
// src/deposit/normalize-wallet-error.ts
|
|
17
17
|
function normalizeWalletError(error, supportedChains) {
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -241,6 +241,7 @@ var Venue = /* @__PURE__ */ ((Venue2) => {
|
|
|
241
241
|
Venue2["myriad"] = "myriad";
|
|
242
242
|
Venue2["hyperliquid"] = "hyperliquid";
|
|
243
243
|
Venue2["novig"] = "novig";
|
|
244
|
+
Venue2["prophetx"] = "prophetx";
|
|
244
245
|
return Venue2;
|
|
245
246
|
})(Venue || {});
|
|
246
247
|
var ACTIVE_VENUES = [
|
|
@@ -251,9 +252,10 @@ var ACTIVE_VENUES = [
|
|
|
251
252
|
"predict" /* predict */,
|
|
252
253
|
"probable" /* probable */,
|
|
253
254
|
"myriad" /* myriad */,
|
|
254
|
-
"hyperliquid" /* hyperliquid
|
|
255
|
+
"hyperliquid" /* hyperliquid */,
|
|
256
|
+
"novig" /* novig */
|
|
255
257
|
];
|
|
256
|
-
var INACTIVE_VENUES = ["
|
|
258
|
+
var INACTIVE_VENUES = ["prophetx" /* prophetx */];
|
|
257
259
|
var ACTIVE_VENUE_SET = new Set(ACTIVE_VENUES);
|
|
258
260
|
var INACTIVE_VENUE_SET = new Set(INACTIVE_VENUES);
|
|
259
261
|
|
|
@@ -600,7 +602,8 @@ var enUsLabels = {
|
|
|
600
602
|
probable: "Probable",
|
|
601
603
|
myriad: "Myriad",
|
|
602
604
|
hyperliquid: "Hyperliquid",
|
|
603
|
-
novig: "Novig"
|
|
605
|
+
novig: "Novig",
|
|
606
|
+
prophetx: "ProphetX"
|
|
604
607
|
},
|
|
605
608
|
auth: {
|
|
606
609
|
connect: (connectorName) => connectorName ? `Sign in with ${connectorName}` : "Sign in",
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useRampQuotes,
|
|
3
3
|
useRampSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IY5SCAR3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useWithdrawEstimate,
|
|
7
7
|
useWithdrawFlow,
|
|
8
8
|
useWithdrawPreview,
|
|
9
9
|
useWithdrawalLifecycle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M5EQG5G3.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-
|
|
100
|
+
} from "./chunk-TXHUUPRD.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.js
CHANGED
|
@@ -102,7 +102,8 @@ var enUsLabels = {
|
|
|
102
102
|
probable: "Probable",
|
|
103
103
|
myriad: "Myriad",
|
|
104
104
|
hyperliquid: "Hyperliquid",
|
|
105
|
-
novig: "Novig"
|
|
105
|
+
novig: "Novig",
|
|
106
|
+
prophetx: "ProphetX"
|
|
106
107
|
},
|
|
107
108
|
auth: {
|
|
108
109
|
connect: (connectorName) => connectorName ? `Sign in with ${connectorName}` : "Sign in",
|
package/dist/withdraw.mjs
CHANGED
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
useWithdrawFlow,
|
|
4
4
|
useWithdrawPreview,
|
|
5
5
|
useWithdrawalLifecycle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M5EQG5G3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useDepositAddresses,
|
|
9
9
|
useManagedBalances,
|
|
10
10
|
useWithdrawManaged
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TXHUUPRD.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
|
+
"version": "4.7.3",
|
|
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",
|