@agg-build/sdk 2.1.0 → 2.1.2
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/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -619,6 +619,12 @@ type VenueMarket = {
|
|
|
619
619
|
sportsMarketType?: string | null | undefined;
|
|
620
620
|
/** Sort rank within a sports section (0=moneyline, 1=spread, 2=total, 3+=other). */
|
|
621
621
|
sectionRank?: number | null | undefined;
|
|
622
|
+
/** Period identifier for sports markets (e.g., "1H", "2H", "Q1", etc.). */
|
|
623
|
+
period?: string | null | undefined;
|
|
624
|
+
/** Normalized subject category for prop-tab grouping (e.g., game_lines, exact_score, etc.). */
|
|
625
|
+
marketCategory?: string | null | undefined;
|
|
626
|
+
/** Line value for spread/total markets (e.g., 2.5 for totals, 3 for spreads). */
|
|
627
|
+
lineValue?: number | null | undefined;
|
|
622
628
|
matchedVenueMarkets?: {
|
|
623
629
|
id: string;
|
|
624
630
|
venue: Venue;
|
|
@@ -672,10 +678,18 @@ type VenueEvent = {
|
|
|
672
678
|
startDate?: string | null | undefined;
|
|
673
679
|
endDate?: string | null | undefined;
|
|
674
680
|
creationDate?: string | null | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* Scheduled kickoff/start of the underlying game (sports events only).
|
|
683
|
+
* Distinct from `endDate` (market close/expiration), which can sit well
|
|
684
|
+
* after the game. The FE prefers this over `endDate` for the game-date
|
|
685
|
+
* title suffix. Null for non-sports events.
|
|
686
|
+
*/
|
|
687
|
+
gameStartTime?: string | null | undefined;
|
|
675
688
|
slug?: string | null | undefined;
|
|
676
689
|
subtitle?: string | null | undefined;
|
|
677
690
|
venues?: Venue[];
|
|
678
691
|
venueCount?: number | undefined;
|
|
692
|
+
groupMarketCount?: number | undefined;
|
|
679
693
|
marketCount?: number | undefined;
|
|
680
694
|
/**
|
|
681
695
|
* ISO-8601 duration denormalized from Series.recurrence. `null` means
|
|
@@ -2790,6 +2804,8 @@ interface UserActivityWithdrawal extends UserActivityBase {
|
|
|
2790
2804
|
destinationAddress: string;
|
|
2791
2805
|
destinationChainId: string;
|
|
2792
2806
|
completedAmountRaw: string | null;
|
|
2807
|
+
chainId?: string | null;
|
|
2808
|
+
txHash?: string | null;
|
|
2793
2809
|
errorMessage: string | null;
|
|
2794
2810
|
}
|
|
2795
2811
|
interface UserActivityBridge extends UserActivityBase {
|
package/dist/index.d.ts
CHANGED
|
@@ -619,6 +619,12 @@ type VenueMarket = {
|
|
|
619
619
|
sportsMarketType?: string | null | undefined;
|
|
620
620
|
/** Sort rank within a sports section (0=moneyline, 1=spread, 2=total, 3+=other). */
|
|
621
621
|
sectionRank?: number | null | undefined;
|
|
622
|
+
/** Period identifier for sports markets (e.g., "1H", "2H", "Q1", etc.). */
|
|
623
|
+
period?: string | null | undefined;
|
|
624
|
+
/** Normalized subject category for prop-tab grouping (e.g., game_lines, exact_score, etc.). */
|
|
625
|
+
marketCategory?: string | null | undefined;
|
|
626
|
+
/** Line value for spread/total markets (e.g., 2.5 for totals, 3 for spreads). */
|
|
627
|
+
lineValue?: number | null | undefined;
|
|
622
628
|
matchedVenueMarkets?: {
|
|
623
629
|
id: string;
|
|
624
630
|
venue: Venue;
|
|
@@ -672,10 +678,18 @@ type VenueEvent = {
|
|
|
672
678
|
startDate?: string | null | undefined;
|
|
673
679
|
endDate?: string | null | undefined;
|
|
674
680
|
creationDate?: string | null | undefined;
|
|
681
|
+
/**
|
|
682
|
+
* Scheduled kickoff/start of the underlying game (sports events only).
|
|
683
|
+
* Distinct from `endDate` (market close/expiration), which can sit well
|
|
684
|
+
* after the game. The FE prefers this over `endDate` for the game-date
|
|
685
|
+
* title suffix. Null for non-sports events.
|
|
686
|
+
*/
|
|
687
|
+
gameStartTime?: string | null | undefined;
|
|
675
688
|
slug?: string | null | undefined;
|
|
676
689
|
subtitle?: string | null | undefined;
|
|
677
690
|
venues?: Venue[];
|
|
678
691
|
venueCount?: number | undefined;
|
|
692
|
+
groupMarketCount?: number | undefined;
|
|
679
693
|
marketCount?: number | undefined;
|
|
680
694
|
/**
|
|
681
695
|
* ISO-8601 duration denormalized from Series.recurrence. `null` means
|
|
@@ -2790,6 +2804,8 @@ interface UserActivityWithdrawal extends UserActivityBase {
|
|
|
2790
2804
|
destinationAddress: string;
|
|
2791
2805
|
destinationChainId: string;
|
|
2792
2806
|
completedAmountRaw: string | null;
|
|
2807
|
+
chainId?: string | null;
|
|
2808
|
+
txHash?: string | null;
|
|
2793
2809
|
errorMessage: string | null;
|
|
2794
2810
|
}
|
|
2795
2811
|
interface UserActivityBridge extends UserActivityBase {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agg-build/sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Vanilla TypeScript client for the AGG prediction market aggregator (auth, markets, orderbooks, charts, trading, managed execution, WebSockets). Works in browsers, Node.js, and React Native.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|