@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/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -87,19 +87,10 @@ type GenerateStakingCallsParams = {
|
|
|
87
87
|
stakingFunParams: any[];
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
type AddReferralPayload = {
|
|
91
|
-
code: string;
|
|
92
|
-
address: string;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
90
|
type GetTokenBalancesPayload = {
|
|
96
91
|
walletAddress: string;
|
|
97
92
|
};
|
|
98
93
|
|
|
99
|
-
type GetFinishedLeaderboardQuestsPayload = {
|
|
100
|
-
walletAddress: string;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
94
|
type GetLeaderboardChangePayload = {
|
|
104
95
|
walletAddress: string;
|
|
105
96
|
additionalPoints: number;
|
|
@@ -249,16 +240,6 @@ type Protocol = {
|
|
|
249
240
|
toTokenAddress: string;
|
|
250
241
|
};
|
|
251
242
|
|
|
252
|
-
type Referral = {
|
|
253
|
-
address: string;
|
|
254
|
-
code: string;
|
|
255
|
-
referrals: ReferralInfo[];
|
|
256
|
-
};
|
|
257
|
-
type ReferralInfo = {
|
|
258
|
-
address: string;
|
|
259
|
-
ipAddress: string;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
243
|
type Route = {
|
|
263
244
|
estAmountOut: string;
|
|
264
245
|
minAmountOut: string;
|
|
@@ -501,4 +482,4 @@ declare const XPay: {
|
|
|
501
482
|
TxWidgetWC: CustomElementConstructor;
|
|
502
483
|
};
|
|
503
484
|
|
|
504
|
-
export { type
|
|
485
|
+
export { type Addresses, type BridgeToken, type BridgeTokensDictionary, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, type EnqueueTxProps, Environment, type GenerateStakingCallsParams, type GetLeaderboardChangePayload, type GetPricesPayload, type GetRoutePayload, type GetTokenBalancesPayload, type HistoryTransaction, type ImportedTokenData, type ModalIntegrationPayload, type ModalIntegrationStyles, type ModalIntegrationThemeStyles, type MonitoredTransaction, type Prices, type Protocol, type Route, type Token, type TokenBalances, type TokenOption, type TokenPrices, type Transaction, type TransactionHistory, type TransactionRequest, type TransactionStatus, type Transactions, type TxConfigFormData, type TxStats, TxStatus, type TxUIWrapperState, TxWidgetWCWrapped as TxWidget, TxWidgetWC, Web3Environment, type WidgetIntegrationPayload, XSwapCallType, type XSwapFee, type XSwapFees, XPay as default, openTransactionModal };
|
package/dist/index.d.ts
CHANGED
|
@@ -87,19 +87,10 @@ type GenerateStakingCallsParams = {
|
|
|
87
87
|
stakingFunParams: any[];
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
type AddReferralPayload = {
|
|
91
|
-
code: string;
|
|
92
|
-
address: string;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
90
|
type GetTokenBalancesPayload = {
|
|
96
91
|
walletAddress: string;
|
|
97
92
|
};
|
|
98
93
|
|
|
99
|
-
type GetFinishedLeaderboardQuestsPayload = {
|
|
100
|
-
walletAddress: string;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
94
|
type GetLeaderboardChangePayload = {
|
|
104
95
|
walletAddress: string;
|
|
105
96
|
additionalPoints: number;
|
|
@@ -249,16 +240,6 @@ type Protocol = {
|
|
|
249
240
|
toTokenAddress: string;
|
|
250
241
|
};
|
|
251
242
|
|
|
252
|
-
type Referral = {
|
|
253
|
-
address: string;
|
|
254
|
-
code: string;
|
|
255
|
-
referrals: ReferralInfo[];
|
|
256
|
-
};
|
|
257
|
-
type ReferralInfo = {
|
|
258
|
-
address: string;
|
|
259
|
-
ipAddress: string;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
243
|
type Route = {
|
|
263
244
|
estAmountOut: string;
|
|
264
245
|
minAmountOut: string;
|
|
@@ -501,4 +482,4 @@ declare const XPay: {
|
|
|
501
482
|
TxWidgetWC: CustomElementConstructor;
|
|
502
483
|
};
|
|
503
484
|
|
|
504
|
-
export { type
|
|
485
|
+
export { type Addresses, type BridgeToken, type BridgeTokensDictionary, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, type EnqueueTxProps, Environment, type GenerateStakingCallsParams, type GetLeaderboardChangePayload, type GetPricesPayload, type GetRoutePayload, type GetTokenBalancesPayload, type HistoryTransaction, type ImportedTokenData, type ModalIntegrationPayload, type ModalIntegrationStyles, type ModalIntegrationThemeStyles, type MonitoredTransaction, type Prices, type Protocol, type Route, type Token, type TokenBalances, type TokenOption, type TokenPrices, type Transaction, type TransactionHistory, type TransactionRequest, type TransactionStatus, type Transactions, type TxConfigFormData, type TxStats, TxStatus, type TxUIWrapperState, TxWidgetWCWrapped as TxWidget, TxWidgetWC, Web3Environment, type WidgetIntegrationPayload, XSwapCallType, type XSwapFee, type XSwapFees, XPay as default, openTransactionModal };
|