@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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +1 -20
- package/dist/index.d.ts +1 -20
- package/dist/index.global.js +61 -58
- package/dist/index.js +4 -4
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/src/models/index.ts +0 -1
- package/src/models/payloads/index.ts +0 -2
- package/src/services/api.ts +0 -12
- package/src/models/Referral.ts +0 -10
- package/src/models/payloads/AddReferralPayload.ts +0 -4
- package/src/models/payloads/GetFinishedLeaderboardQuestsPayload.ts +0 -3
package/package.json
CHANGED
package/src/models/index.ts
CHANGED
package/src/services/api.ts
CHANGED
|
@@ -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
|
}
|
package/src/models/Referral.ts
DELETED