@xswap-link/sdk 0.10.3 → 0.10.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xswap-link/sdk",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "description": "JavaScript SDK for XSwap platform",
5
5
  "homepage": "https://github.com/xswap-link/xswap-sdk",
6
6
  "repository": {
@@ -10,7 +10,6 @@ export * from "./forms";
10
10
  export * from "./integrations";
11
11
  export * from "./payloads";
12
12
  export * from "./Protocol";
13
- export * from "./Referral";
14
13
  export * from "./Route";
15
14
  export * from "./TokenData";
16
15
  export * from "./TransactionHistory";
@@ -1,6 +1,4 @@
1
- export * from "./AddReferralPayload";
2
1
  export * from "./GetBalancesPayload";
3
- export * from "./GetFinishedLeaderboardQuestsPayload";
4
2
  export * from "./GetLeaderboardChangePayload";
5
3
  export * from "./GetPricesPayload";
6
4
  export * from "./GetRoutePayload";
@@ -2,7 +2,6 @@ import {
2
2
  BridgeToken,
3
3
  Chain,
4
4
  Ecosystem,
5
- GetFinishedLeaderboardQuestsPayload,
6
5
  GetLeaderboardChangePayload,
7
6
  GetPricesPayload,
8
7
  GetRoutePayload,
@@ -148,17 +147,6 @@ export async function getLeaderboardChange(
148
147
  );
149
148
  }
150
149
 
151
- export async function getFinishedLeaderboardQuests(
152
- payload: GetFinishedLeaderboardQuestsPayload,
153
- ) {
154
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
155
- return _sendRequest<any>(
156
- `/getFinishedLeaderboardQuests?${new URLSearchParams({
157
- data: JSON.stringify(payload),
158
- })}`,
159
- );
160
- }
161
-
162
150
  export async function getBridgeTokens(): Promise<BridgeToken[]> {
163
151
  return _sendRequest<BridgeToken[]>(`/bridgeTokens`);
164
152
  }
@@ -1,10 +0,0 @@
1
- export type Referral = {
2
- address: string;
3
- code: string;
4
- referrals: ReferralInfo[];
5
- };
6
-
7
- export type ReferralInfo = {
8
- address: string;
9
- ipAddress: string;
10
- };
@@ -1,4 +0,0 @@
1
- export type AddReferralPayload = {
2
- code: string;
3
- address: string;
4
- };
@@ -1,3 +0,0 @@
1
- export type GetFinishedLeaderboardQuestsPayload = {
2
- walletAddress: string;
3
- };