@bluxcc/core 0.1.7 → 0.1.8

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/dist/index.d.ts CHANGED
@@ -1,47 +1,2 @@
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
- };
1
+ export * from './exports';
2
+ export { createConfig } from './exports/createConfig';