@bluxcc/core 0.1.19 → 0.1.20

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.
@@ -1,14 +1,34 @@
1
1
  import { Asset, Horizon } from '@stellar/stellar-sdk';
2
2
  import { AccountCallBuilder } from '@stellar/stellar-sdk/lib/horizon/account_call_builder';
3
3
  import { CallBuilderOptions } from '../utils';
4
- export type GetAccountsOptions = CallBuilderOptions & {
5
- forSigner?: string;
4
+ type GetAccountsOptionsA = {
5
+ forSigner: string;
6
6
  forAsset?: Asset;
7
7
  sponsor?: string;
8
8
  forLiquidityPool?: string;
9
9
  };
10
+ type GetAccountsOptionsB = {
11
+ forSigner?: string;
12
+ forAsset: Asset;
13
+ sponsor?: string;
14
+ forLiquidityPool?: string;
15
+ };
16
+ type GetAccountsOptionsC = {
17
+ forSigner?: string;
18
+ forAsset?: Asset;
19
+ sponsor: string;
20
+ forLiquidityPool?: string;
21
+ };
22
+ type GetAccountsOptionsD = {
23
+ forSigner?: string;
24
+ forAsset?: Asset;
25
+ sponsor?: string;
26
+ forLiquidityPool: string;
27
+ };
28
+ export type GetAccountsOptions = CallBuilderOptions & (GetAccountsOptionsA | GetAccountsOptionsB | GetAccountsOptionsC | GetAccountsOptionsD);
10
29
  export type GetAccountsResult = {
11
30
  builder: AccountCallBuilder;
12
31
  response: Horizon.ServerApi.CollectionPage<Horizon.ServerApi.AccountRecord>;
13
32
  };
14
33
  export declare const getAccounts: (options: GetAccountsOptions) => Promise<GetAccountsResult>;
34
+ export {};
@@ -1,4 +1,5 @@
1
1
  export * from './core';
2
+ export { Asset } from '@stellar/stellar-sdk';
2
3
  export { blux } from './blux';
3
4
  export { getState, subscribe, getInitialState, useExportedStore, } from './exportedStore';
4
5
  export declare const setAppearance: (newAppearance: Partial<import("../types").IAppearance>) => void;