@bluxcc/core 0.1.6 → 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/components/Header/index.d.ts +1 -1
- package/dist/constants/routes.d.ts +2 -4
- package/dist/exports/core/getAccount.d.ts +4 -5
- package/dist/exports/core/getAccounts.d.ts +6 -7
- package/dist/exports/core/getAssets.d.ts +6 -7
- package/dist/exports/core/getBalances.d.ts +3 -3
- package/dist/exports/core/getClaimableBalances.d.ts +6 -7
- package/dist/exports/core/getEffects.d.ts +6 -7
- package/dist/exports/core/getLedgers.d.ts +6 -7
- package/dist/exports/core/getLiquidityPools.d.ts +6 -7
- package/dist/exports/core/getNetwork.d.ts +1 -2
- package/dist/exports/core/getOffers.d.ts +6 -7
- package/dist/exports/core/getOperations.d.ts +6 -7
- package/dist/exports/core/getOrderbook.d.ts +5 -6
- package/dist/exports/core/getPayments.d.ts +2 -3
- package/dist/exports/core/getStrictReceivePaths.d.ts +5 -6
- package/dist/exports/core/getStrictSendPaths.d.ts +5 -6
- package/dist/exports/core/getTradeAggregation.d.ts +4 -5
- package/dist/exports/core/getTrades.d.ts +6 -7
- package/dist/exports/core/getTransactions.d.ts +6 -7
- package/dist/exports/core/index.d.ts +20 -131
- package/dist/exports/core/networks.d.ts +2 -3
- package/dist/exports/core/switchNetwork.d.ts +1 -2
- package/dist/exports/exportedStore.d.ts +15 -0
- package/dist/exports/index.d.ts +3 -147
- package/dist/index.cjs.js +11 -11
- package/dist/index.d.ts +2 -146
- package/dist/index.esm.js +11 -11
- package/dist/index.iife.js +13 -13
- package/dist/store.d.ts +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/exports/index.d.ts
CHANGED
|
@@ -1,147 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
address?: string;
|
|
5
|
-
network?: string;
|
|
6
|
-
}) => Promise<import("@stellar/stellar-sdk/lib/horizon").AccountResponse | null>;
|
|
7
|
-
getAccounts: (options: import("./utils").CallBuilderOptions & {
|
|
8
|
-
forSigner?: string;
|
|
9
|
-
forAsset?: import("@stellar/stellar-base").Asset;
|
|
10
|
-
sponsor?: string;
|
|
11
|
-
forLiquidityPool?: string;
|
|
12
|
-
}) => Promise<{
|
|
13
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/account_call_builder").AccountCallBuilder;
|
|
14
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.AccountRecord>;
|
|
15
|
-
}>;
|
|
16
|
-
getAssets: (options: import("./utils").CallBuilderOptions & {
|
|
17
|
-
forCode?: string;
|
|
18
|
-
forIssuer?: string;
|
|
19
|
-
}) => Promise<{
|
|
20
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/assets_call_builder").AssetsCallBuilder;
|
|
21
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.AssetRecord>;
|
|
22
|
-
}>;
|
|
23
|
-
getBalances: (options: {
|
|
24
|
-
address?: string;
|
|
25
|
-
network?: string;
|
|
26
|
-
includeZeroBalances?: boolean;
|
|
27
|
-
}) => Promise<import("@stellar/stellar-sdk/lib/horizon").HorizonApi.BalanceLine[]>;
|
|
28
|
-
getClaimableBalances: (options: import("./utils").CallBuilderOptions & {
|
|
29
|
-
asset: import("@stellar/stellar-base").Asset;
|
|
30
|
-
sponsor?: string;
|
|
31
|
-
claimant: string;
|
|
32
|
-
}) => Promise<{
|
|
33
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/claimable_balances_call_builder").ClaimableBalanceCallBuilder;
|
|
34
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.ClaimableBalanceRecord>;
|
|
35
|
-
}>;
|
|
36
|
-
getEffects: (options: import("./utils").CallBuilderOptions & {
|
|
37
|
-
forAccount?: string;
|
|
38
|
-
forLedger?: string | number;
|
|
39
|
-
forTransaction?: string;
|
|
40
|
-
forOperation?: string;
|
|
41
|
-
forLiquidityPool?: string;
|
|
42
|
-
}) => Promise<{
|
|
43
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/effect_call_builder").EffectCallBuilder;
|
|
44
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.EffectRecord>;
|
|
45
|
-
}>;
|
|
46
|
-
getLedgers: (options: import("./utils").CallBuilderOptions & {
|
|
47
|
-
ledger?: number | string;
|
|
48
|
-
}) => Promise<{
|
|
49
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/ledger_call_builder").LedgerCallBuilder;
|
|
50
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.LedgerRecord>;
|
|
51
|
-
}>;
|
|
52
|
-
getLiquidityPools: (options: import("./utils").CallBuilderOptions & {
|
|
53
|
-
forAssets?: Array<import("@stellar/stellar-base").Asset>;
|
|
54
|
-
forAccount?: string;
|
|
55
|
-
}) => Promise<{
|
|
56
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/liquidity_pool_call_builder").LiquidityPoolCallBuilder;
|
|
57
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.LiquidityPoolRecord>;
|
|
58
|
-
}>;
|
|
59
|
-
getNetwork: () => string;
|
|
60
|
-
getOffers: (options: import("./utils").CallBuilderOptions & {
|
|
61
|
-
forAccount?: string;
|
|
62
|
-
buying?: import("@stellar/stellar-base").Asset;
|
|
63
|
-
selling?: import("@stellar/stellar-base").Asset;
|
|
64
|
-
sponsor?: string;
|
|
65
|
-
seller?: string;
|
|
66
|
-
}) => Promise<{
|
|
67
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/offer_call_builder").OfferCallBuilder;
|
|
68
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.OfferRecord>;
|
|
69
|
-
}>;
|
|
70
|
-
getOperations: (options: import("./utils").CallBuilderOptions & {
|
|
71
|
-
forAccount?: string;
|
|
72
|
-
forClaimableBalance?: string;
|
|
73
|
-
forLedger?: string | number;
|
|
74
|
-
forTransaction?: string;
|
|
75
|
-
forLiquidityPool?: string;
|
|
76
|
-
includeFailed?: boolean;
|
|
77
|
-
}) => Promise<{
|
|
78
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/operation_call_builder").OperationCallBuilder;
|
|
79
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.OperationRecord>;
|
|
80
|
-
}>;
|
|
81
|
-
getOrderbook: (args: [selling: import("@stellar/stellar-base").Asset, buying: import("@stellar/stellar-base").Asset], options: import("./utils").CallBuilderOptions) => Promise<{
|
|
82
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/orderbook_call_builder").OrderbookCallBuilder;
|
|
83
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.OrderbookRecord;
|
|
84
|
-
}>;
|
|
85
|
-
getPayments: (options: import("./utils").CallBuilderOptions & {
|
|
86
|
-
forAccount?: string;
|
|
87
|
-
forLedger?: string | number;
|
|
88
|
-
forTransaction?: string;
|
|
89
|
-
includeFailed?: boolean;
|
|
90
|
-
}) => Promise<{
|
|
91
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/payment_call_builder").PaymentCallBuilder;
|
|
92
|
-
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>;
|
|
93
|
-
}>;
|
|
94
|
-
getStrictReceivePaths: (args: [source: string | import("@stellar/stellar-base").Asset[], destinationAsset: import("@stellar/stellar-base").Asset, destinationAmount: string], options: import("./utils").CallBuilderOptions) => Promise<{
|
|
95
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/path_call_builder").PathCallBuilder;
|
|
96
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.PaymentPathRecord>;
|
|
97
|
-
}>;
|
|
98
|
-
getStrictSendPaths: (args: [sourceAsset: import("@stellar/stellar-base").Asset, sourceAmount: string, destination: string | import("@stellar/stellar-base").Asset[]], options: import("./utils").CallBuilderOptions) => Promise<{
|
|
99
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/path_call_builder").PathCallBuilder;
|
|
100
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.PaymentPathRecord>;
|
|
101
|
-
}>;
|
|
102
|
-
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("./utils").CallBuilderOptions) => Promise<any>;
|
|
103
|
-
getTrades: (options: import("./utils").CallBuilderOptions & {
|
|
104
|
-
forAssetPair?: [base: import("@stellar/stellar-base").Asset, counter: import("@stellar/stellar-base").Asset];
|
|
105
|
-
forOffer?: string;
|
|
106
|
-
forType?: import("@stellar/stellar-sdk/lib/horizon").ServerApi.TradeType;
|
|
107
|
-
forAccount?: string;
|
|
108
|
-
forLiquidityPool?: string;
|
|
109
|
-
}) => Promise<{
|
|
110
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/trades_call_builder").TradesCallBuilder;
|
|
111
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.TradeRecord>;
|
|
112
|
-
}>;
|
|
113
|
-
getTransactions: (options: import("./utils").CallBuilderOptions & {
|
|
114
|
-
forAccount?: string;
|
|
115
|
-
forClaimableBalance?: string;
|
|
116
|
-
forLedger?: string | number;
|
|
117
|
-
forLiquidityPool?: string;
|
|
118
|
-
includeFailed?: boolean;
|
|
119
|
-
}) => Promise<{
|
|
120
|
-
builder: import("@stellar/stellar-sdk/lib/horizon/transaction_call_builder").TransactionCallBuilder;
|
|
121
|
-
response: import("@stellar/stellar-sdk/lib/horizon").ServerApi.CollectionPage<import("@stellar/stellar-sdk/lib/horizon").ServerApi.TransactionRecord>;
|
|
122
|
-
}>;
|
|
123
|
-
networks: {
|
|
124
|
-
mainnet: import("@stellar/stellar-base").Networks;
|
|
125
|
-
testnet: import("@stellar/stellar-base").Networks;
|
|
126
|
-
sandbox: import("@stellar/stellar-base").Networks;
|
|
127
|
-
futurenet: import("@stellar/stellar-base").Networks;
|
|
128
|
-
standalone: import("@stellar/stellar-base").Networks;
|
|
129
|
-
};
|
|
130
|
-
switchNetwork: (newNetwork: string) => void;
|
|
131
|
-
};
|
|
132
|
-
blux: {
|
|
133
|
-
login: () => Promise<void>;
|
|
134
|
-
logout: () => void;
|
|
135
|
-
profile: () => void;
|
|
136
|
-
signMessage: (message: string, options?: {
|
|
137
|
-
network: string;
|
|
138
|
-
}) => Promise<unknown>;
|
|
139
|
-
sendTransaction: (xdr: string, options?: {
|
|
140
|
-
network: string;
|
|
141
|
-
}) => Promise<unknown>;
|
|
142
|
-
readonly isReady: boolean;
|
|
143
|
-
readonly isAuthenticated: boolean;
|
|
144
|
-
readonly user: import("../store").IUser | undefined;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
export default _default;
|
|
1
|
+
export * from './core';
|
|
2
|
+
export { blux } from './blux';
|
|
3
|
+
export { getState, subscribe, getInitialState, useExportedStore, } from './exportedStore';
|