@xswap-link/sdk 0.10.4 → 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 +6 -0
- package/dist/index.d.mts +1 -16
- package/dist/index.d.ts +1 -16
- 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 -1
- package/src/models/Referral.ts +0 -10
- package/src/models/payloads/AddReferralPayload.ts +0 -4
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -87,11 +87,6 @@ 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
|
};
|
|
@@ -245,16 +240,6 @@ type Protocol = {
|
|
|
245
240
|
toTokenAddress: string;
|
|
246
241
|
};
|
|
247
242
|
|
|
248
|
-
type Referral = {
|
|
249
|
-
address: string;
|
|
250
|
-
code: string;
|
|
251
|
-
referrals: ReferralInfo[];
|
|
252
|
-
};
|
|
253
|
-
type ReferralInfo = {
|
|
254
|
-
address: string;
|
|
255
|
-
ipAddress: string;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
243
|
type Route = {
|
|
259
244
|
estAmountOut: string;
|
|
260
245
|
minAmountOut: string;
|
|
@@ -497,4 +482,4 @@ declare const XPay: {
|
|
|
497
482
|
TxWidgetWC: CustomElementConstructor;
|
|
498
483
|
};
|
|
499
484
|
|
|
500
|
-
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,11 +87,6 @@ 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
|
};
|
|
@@ -245,16 +240,6 @@ type Protocol = {
|
|
|
245
240
|
toTokenAddress: string;
|
|
246
241
|
};
|
|
247
242
|
|
|
248
|
-
type Referral = {
|
|
249
|
-
address: string;
|
|
250
|
-
code: string;
|
|
251
|
-
referrals: ReferralInfo[];
|
|
252
|
-
};
|
|
253
|
-
type ReferralInfo = {
|
|
254
|
-
address: string;
|
|
255
|
-
ipAddress: string;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
243
|
type Route = {
|
|
259
244
|
estAmountOut: string;
|
|
260
245
|
minAmountOut: string;
|
|
@@ -497,4 +482,4 @@ declare const XPay: {
|
|
|
497
482
|
TxWidgetWC: CustomElementConstructor;
|
|
498
483
|
};
|
|
499
484
|
|
|
500
|
-
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 };
|