@bluxcc/core 0.1.7 → 0.1.9
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 +1 -1
- package/dist/assets/Icons.d.ts +0 -107
- package/dist/assets/Logos.d.ts +0 -30
- package/dist/assets/bluxLogo.d.ts +0 -8
- package/dist/components/Alert/index.d.ts +0 -9
- package/dist/components/AssetsList/index.d.ts +0 -6
- package/dist/components/Button/index.d.ts +0 -19
- package/dist/components/CardItem/index.d.ts +0 -16
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/Header/index.d.ts +0 -10
- package/dist/components/Input/OTPInput.d.ts +0 -8
- package/dist/components/Input/index.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -11
- package/dist/components/Provider.d.ts +0 -1
- package/dist/components/QRCode/index.d.ts +0 -11
- package/dist/components/TabBox/index.d.ts +0 -12
- package/dist/components/Transaction/History/index.d.ts +0 -12
- package/dist/components/Transaction/Summary/index.d.ts +0 -10
- package/dist/constants/assets.d.ts +0 -18
- package/dist/constants/consts.d.ts +0 -4
- package/dist/constants/explorers.d.ts +0 -9
- package/dist/constants/locales.d.ts +0 -9
- package/dist/constants/networkDetails.d.ts +0 -14
- package/dist/constants/routes.d.ts +0 -9
- package/dist/constants/themes.d.ts +0 -3
- package/dist/enums.d.ts +0 -39
- package/dist/exports/blux.d.ts +0 -21
- package/dist/exports/core/callBuilder.d.ts +0 -59
- package/dist/exports/core/getAccount.d.ts +0 -8
- package/dist/exports/core/getAccounts.d.ts +0 -15
- package/dist/exports/core/getAssets.d.ts +0 -13
- package/dist/exports/core/getBalances.d.ts +0 -9
- package/dist/exports/core/getClaimableBalances.d.ts +0 -14
- package/dist/exports/core/getEffects.d.ts +0 -16
- package/dist/exports/core/getLedgers.d.ts +0 -12
- package/dist/exports/core/getLiquidityPools.d.ts +0 -13
- package/dist/exports/core/getNetwork.d.ts +0 -2
- package/dist/exports/core/getOffers.d.ts +0 -16
- package/dist/exports/core/getOperations.d.ts +0 -17
- package/dist/exports/core/getOrderbook.d.ts +0 -9
- package/dist/exports/core/getPayments.d.ts +0 -12
- package/dist/exports/core/getStrictReceivePaths.d.ts +0 -9
- package/dist/exports/core/getStrictSendPaths.d.ts +0 -9
- package/dist/exports/core/getTradeAggregation.d.ts +0 -5
- package/dist/exports/core/getTrades.d.ts +0 -16
- package/dist/exports/core/getTransactions.d.ts +0 -16
- package/dist/exports/core/index.d.ts +0 -32
- package/dist/exports/core/networks.d.ts +0 -9
- package/dist/exports/core/switchNetwork.d.ts +0 -2
- package/dist/exports/createConfig.d.ts +0 -3
- package/dist/exports/index.d.ts +0 -48
- package/dist/exports/utils.d.ts +0 -14
- package/dist/hooks/useBalances.d.ts +0 -8
- package/dist/hooks/useCheckWalletNetwork.d.ts +0 -3
- package/dist/hooks/useDynamicHeight.d.ts +0 -5
- package/dist/hooks/useIsMobile.d.ts +0 -1
- package/dist/hooks/useLang.d.ts +0 -2
- package/dist/hooks/useLockBodyScroll.d.ts +0 -1
- package/dist/hooks/useModalAnimation.d.ts +0 -5
- package/dist/hooks/useTransactions.d.ts +0 -11
- package/dist/hooks/useUpdateAccount.d.ts +0 -2
- package/dist/index.cjs.js +0 -27
- package/dist/index.d.ts +0 -47
- package/dist/index.esm.js +0 -27
- package/dist/index.iife.js +0 -35
- package/dist/pages/About/index.d.ts +0 -2
- package/dist/pages/Failed/index.d.ts +0 -2
- package/dist/pages/Onboarding/OTP/index.d.ts +0 -2
- package/dist/pages/Onboarding/index.d.ts +0 -2
- package/dist/pages/Profile/Activity/index.d.ts +0 -2
- package/dist/pages/Profile/Balances/AddToken/index.d.ts +0 -2
- package/dist/pages/Profile/Balances/BalanceDetails/index.d.ts +0 -2
- package/dist/pages/Profile/Balances/index.d.ts +0 -2
- package/dist/pages/Profile/Receive/index.d.ts +0 -2
- package/dist/pages/Profile/SelectAsset/index.d.ts +0 -2
- package/dist/pages/Profile/Send/index.d.ts +0 -2
- package/dist/pages/Profile/Swap/AssetBox/index.d.ts +0 -7
- package/dist/pages/Profile/Swap/index.d.ts +0 -2
- package/dist/pages/Profile/index.d.ts +0 -2
- package/dist/pages/SendTransaction/index.d.ts +0 -2
- package/dist/pages/SignMessage/index.d.ts +0 -2
- package/dist/pages/Successful/index.d.ts +0 -2
- package/dist/pages/Waiting/index.d.ts +0 -2
- package/dist/pages/WalletConnect/index.d.ts +0 -2
- package/dist/pages/WrongNetwork/index.d.ts +0 -2
- package/dist/stellar/getTransactionDetails.d.ts +0 -8
- package/dist/stellar/handleSignMessage.d.ts +0 -3
- package/dist/stellar/handleTransactionSigning.d.ts +0 -3
- package/dist/stellar/paymentTransaction.d.ts +0 -4
- package/dist/stellar/processes/connectWalletProcess.d.ts +0 -4
- package/dist/stellar/processes/sendTransactionProcess.d.ts +0 -3
- package/dist/stellar/processes/signMessageProcess.d.ts +0 -3
- package/dist/stellar/signTransaction.d.ts +0 -3
- package/dist/stellar/submitTransaction.d.ts +0 -5
- package/dist/stellar/swapTransaction.d.ts +0 -4
- package/dist/store.d.ts +0 -87
- package/dist/types.d.ts +0 -114
- package/dist/utils/animatedGradient.d.ts +0 -18
- package/dist/utils/helpers.d.ts +0 -40
- package/dist/utils/initializeWalletConnect.d.ts +0 -7
- package/dist/utils/walletLogos.d.ts +0 -2
- package/dist/wallets/albedo.d.ts +0 -2
- package/dist/wallets/freighter.d.ts +0 -2
- package/dist/wallets/hana.d.ts +0 -2
- package/dist/wallets/hot.d.ts +0 -2
- package/dist/wallets/index.d.ts +0 -3
- package/dist/wallets/klever.d.ts +0 -2
- package/dist/wallets/lobstr.d.ts +0 -2
- package/dist/wallets/rabet.d.ts +0 -2
- package/dist/wallets/walletConnect.d.ts +0 -2
- package/dist/wallets/xbull.d.ts +0 -2
package/dist/index.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { createConfig as cc } from "./exports/createConfig";
|
|
2
|
-
export declare const createConfig: typeof cc;
|
|
3
|
-
export declare const core: {
|
|
4
|
-
getAccount: (options: import("./exports/core/getAccount").GetAccountOptions) => Promise<import("./exports/core/getAccount").GetAccountResult>;
|
|
5
|
-
getAccounts: (options: import("./exports/core/getAccounts").GetAccountsOptions) => Promise<import("./exports/core/getAccounts").GetAccountsResult>;
|
|
6
|
-
getAssets: (options: import("./exports/core/getAssets").GetAssetsOptions) => Promise<import("./exports/core/getAssets").GetAssetsResult>;
|
|
7
|
-
getBalances: (options: import("./exports/core/getBalances").GetBalancesOptions) => Promise<import("./exports/core/getBalances").GetBalancesResult>;
|
|
8
|
-
getClaimableBalances: (options: import("./exports/core/getClaimableBalances").GetClaimableBalancesOptions) => Promise<import("./exports/core/getClaimableBalances").GetClaimableBalancesResult>;
|
|
9
|
-
getEffects: (options: import("./exports/core/getEffects").GetEffectsOptions) => Promise<import("./exports/core/getEffects").GetEffectsResult>;
|
|
10
|
-
getLedgers: (options: import("./exports/core/getLedgers").GetLedgersOptions) => Promise<import("./exports/core/getLedgers").GetLedgersResult>;
|
|
11
|
-
getLiquidityPools: (options: import("./exports/core/getLiquidityPools").GetLiquidityPoolsOptions) => Promise<import("./exports/core/getLiquidityPools").GetLiquidityPoolsResult>;
|
|
12
|
-
getNetwork: () => string;
|
|
13
|
-
getOffers: (options: import("./exports/core/getOffers").GetOffersOptions) => Promise<import("./exports/core/getOffers").GetOffersResult>;
|
|
14
|
-
getOperations: (options: import("./exports/core/getOperations").GetOperationsOptions) => Promise<import("./exports/core/getOperations").GetOperationsResult>;
|
|
15
|
-
getOrderbook: (args: [selling: import("@stellar/stellar-base").Asset, buying: import("@stellar/stellar-base").Asset], options: import("./exports/utils").CallBuilderOptions) => Promise<import("./exports/core/getOrderbook").GetOrderbookResult>;
|
|
16
|
-
getPayments: (options: import("./exports/core/getPayments").GetPaymentsOptions) => Promise<{
|
|
17
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/payment_call_builder").PaymentCallBuilder;
|
|
18
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.CreateAccountOperationRecord | import("@stellar/stellar-sdk/lib/horizon").ServerApi.PaymentOperationRecord | import("@stellar/stellar-sdk/lib/horizon").ServerApi.PathPaymentOperationRecord | import("@stellar/stellar-sdk/lib/horizon").ServerApi.AccountMergeOperationRecord | import("@stellar/stellar-sdk/lib/horizon").ServerApi.PathPaymentStrictSendOperationRecord | import("@stellar/stellar-sdk/lib/horizon").ServerApi.InvokeHostFunctionOperationRecord>;
|
|
19
|
-
}>;
|
|
20
|
-
getStrictReceivePaths: (args: [source: string | import("@stellar/stellar-base").Asset[], destinationAsset: import("@stellar/stellar-base").Asset, destinationAmount: string], options: import("./exports/utils").CallBuilderOptions) => Promise<import("./exports/core/getStrictReceivePaths").GetPaymentPathResult>;
|
|
21
|
-
getStrictSendPaths: (args: [sourceAsset: import("@stellar/stellar-base").Asset, sourceAmount: string, destination: string | import("@stellar/stellar-base").Asset[]], options: import("./exports/utils").CallBuilderOptions) => Promise<import("./exports/core/getStrictSendPaths").GetPaymentPathResult>;
|
|
22
|
-
getTradeAggregation: (args: [base: import("@stellar/stellar-base").Asset, counter: import("@stellar/stellar-base").Asset, start_time: number, end_time: number, resolution: number, offset: number], options: import("./exports/utils").CallBuilderOptions) => Promise<import("./exports/core/getTradeAggregation").GetTradeAggregationResult>;
|
|
23
|
-
getTrades: (options: import("./exports/core/getTrades").GetTradesOptions) => Promise<import("./exports/core/getTrades").GetTradesResult>;
|
|
24
|
-
getTransactions: (options: import("./exports/core/getTransactions").GetTransactionsOptions) => Promise<import("./exports/core/getTransactions").GetTransactionsResult>;
|
|
25
|
-
networks: {
|
|
26
|
-
mainnet: import("@stellar/stellar-base").Networks;
|
|
27
|
-
testnet: import("@stellar/stellar-base").Networks;
|
|
28
|
-
sandbox: import("@stellar/stellar-base").Networks;
|
|
29
|
-
futurenet: import("@stellar/stellar-base").Networks;
|
|
30
|
-
standalone: import("@stellar/stellar-base").Networks;
|
|
31
|
-
};
|
|
32
|
-
switchNetwork: (newNetwork: string) => void;
|
|
33
|
-
};
|
|
34
|
-
export declare const blux: {
|
|
35
|
-
login: () => Promise<void>;
|
|
36
|
-
logout: () => void;
|
|
37
|
-
profile: () => void;
|
|
38
|
-
signMessage: (message: string, options?: {
|
|
39
|
-
network: string;
|
|
40
|
-
}) => Promise<unknown>;
|
|
41
|
-
sendTransaction: (xdr: string, options?: {
|
|
42
|
-
network: string;
|
|
43
|
-
}) => Promise<unknown>;
|
|
44
|
-
readonly isReady: boolean;
|
|
45
|
-
readonly isAuthenticated: boolean;
|
|
46
|
-
readonly user: import("./store").IUser | undefined;
|
|
47
|
-
};
|