@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - c9a64e8: Remove types used internally
8
+
9
+ ## 0.10.4
10
+
11
+ ### Patch Changes
12
+
13
+ - e2158c2: Remove unused endpoints
14
+
3
15
  ## 0.10.3
4
16
 
5
17
  ### Patch Changes
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 AddReferralPayload, type Addresses, type BridgeToken, type BridgeTokensDictionary, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, type EnqueueTxProps, Environment, type GenerateStakingCallsParams, type GetFinishedLeaderboardQuestsPayload, 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 Referral, type ReferralInfo, 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 };
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 AddReferralPayload, type Addresses, type BridgeToken, type BridgeTokensDictionary, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, type EnqueueTxProps, Environment, type GenerateStakingCallsParams, type GetFinishedLeaderboardQuestsPayload, 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 Referral, type ReferralInfo, 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 };
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 };