@0xmonaco/react 1.0.77 → 1.0.81

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.
@@ -16,7 +16,7 @@ export interface UseTraderCodeAvailabilityReturn {
16
16
  checkTraderCodeAvailability: (code: string) => Promise<TraderCodeAvailabilityResponse>;
17
17
  }
18
18
  export interface UseRewardsBalanceReturn {
19
- /** Read the caller's current PitPass rewards-bucket balances. */
19
+ /** Read the caller's current TraderCodes rewards-bucket balances. */
20
20
  getRewardsBalance: () => Promise<GetRewardsBalanceResponse>;
21
21
  }
22
22
  export interface UseTraderCodeInfoReturn {
@@ -24,11 +24,11 @@ export interface UseTraderCodeInfoReturn {
24
24
  getTraderCodeInfo: (code: string) => Promise<TraderCodeInfoResponse>;
25
25
  }
26
26
  export interface UseTransferRewardsReturn {
27
- /** Transfer earned PitPass rewards into a tradeable balance. */
27
+ /** Transfer earned TraderCodes rewards into a tradeable balance. */
28
28
  transferRewards: (params: TransferRewardsParams) => Promise<TransferRewardsResponse>;
29
29
  }
30
30
  export interface UseMyReferralPositionReturn {
31
- /** Read the caller's own referral position: upline (as deep as PitPass rewards), L1 referrer, total earned, and recent rewards. */
31
+ /** Read the caller's own referral position: upline (as deep as TraderCodes rewards), L1 referrer, total earned, and recent rewards. */
32
32
  getMyReferralPosition: () => Promise<GetMyReferralPositionResponse>;
33
33
  }
34
34
  export interface UseMyReferralDownlineReturn {
@@ -1,6 +1,6 @@
1
1
  import type { UseRewardsBalanceReturn } from "./types";
2
2
  /**
3
- * Read the authenticated caller's current PitPass rewards-bucket balances.
3
+ * Read the authenticated caller's current TraderCodes rewards-bucket balances.
4
4
  *
5
5
  * Rewards accrue in a separate bucket per token; call
6
6
  * {@link useTransferRewards} to move them into a tradeable balance.
@@ -1,7 +1,7 @@
1
1
  import { useCallback } from "react";
2
2
  import { useMonacoSDK } from "../useMonaco";
3
3
  /**
4
- * Read the authenticated caller's current PitPass rewards-bucket balances.
4
+ * Read the authenticated caller's current TraderCodes rewards-bucket balances.
5
5
  *
6
6
  * Rewards accrue in a separate bucket per token; call
7
7
  * {@link useTransferRewards} to move them into a tradeable balance.
@@ -1,6 +1,6 @@
1
1
  import type { UseTransferRewardsReturn } from "./types";
2
2
  /**
3
- * Transfer the authenticated caller's earned PitPass rewards into a tradeable
3
+ * Transfer the authenticated caller's earned TraderCodes rewards into a tradeable
4
4
  * balance.
5
5
  *
6
6
  * Parameters (`token`, `amount`) are validated by the SDK core using Zod; the
@@ -1,7 +1,7 @@
1
1
  import { useCallback } from "react";
2
2
  import { useMonacoSDK } from "../useMonaco";
3
3
  /**
4
- * Transfer the authenticated caller's earned PitPass rewards into a tradeable
4
+ * Transfer the authenticated caller's earned TraderCodes rewards into a tradeable
5
5
  * balance.
6
6
  *
7
7
  * Parameters (`token`, `amount`) are validated by the SDK core using Zod; the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/react",
3
- "version": "1.0.77",
3
+ "version": "1.0.81",
4
4
  "type": "module",
5
5
  "homepage": "https://docs.0xmonaco.com/sdk/typescript",
6
6
  "main": "./dist/index.js",
@@ -16,8 +16,8 @@
16
16
  "lint": "biome lint ."
17
17
  },
18
18
  "dependencies": {
19
- "@0xmonaco/core": "1.0.77",
20
- "@0xmonaco/types": "1.0.77"
19
+ "@0xmonaco/core": "1.0.81",
20
+ "@0xmonaco/types": "1.0.81"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/react": "^19.2.18",