@bluxcc/core 0.2.0 → 0.2.2
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/enums.d.ts +1 -0
- package/dist/exports/blux.d.ts +6 -0
- package/dist/exports/core/readContracts.d.ts +1 -0
- package/dist/exports/core/writeContracts.d.ts +1 -0
- package/dist/exports/utils.d.ts +9 -0
- package/dist/index.cjs.js +14 -14
- package/dist/index.esm.js +14 -14
- package/dist/stellar/handleTransactionSigning.d.ts +1 -1
- package/dist/store.d.ts +2 -0
- package/dist/types.d.ts +2 -1
- package/dist/utils/api.d.ts +2 -1
- package/dist/wallets/api.d.ts +2 -0
- package/package.json +3 -3
- package/dist/index.iife.js +0 -42
package/dist/enums.d.ts
CHANGED
package/dist/exports/blux.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare const login: () => Promise<void>;
|
|
2
|
+
export declare const signTransaction: (xdr: string, options?: {
|
|
3
|
+
network: string;
|
|
4
|
+
}) => Promise<unknown>;
|
|
2
5
|
export declare const sendTransaction: (xdr: string, options?: {
|
|
3
6
|
network: string;
|
|
4
7
|
}) => Promise<unknown>;
|
|
@@ -12,6 +15,9 @@ export declare const blux: {
|
|
|
12
15
|
signMessage: (message: string, options?: {
|
|
13
16
|
network: string;
|
|
14
17
|
}) => Promise<unknown>;
|
|
18
|
+
signTransaction: (xdr: string, options?: {
|
|
19
|
+
network: string;
|
|
20
|
+
}) => Promise<unknown>;
|
|
15
21
|
sendTransaction: (xdr: string, options?: {
|
|
16
22
|
network: string;
|
|
17
23
|
}) => Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/exports/utils.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { Horizon, rpc } from '@stellar/stellar-sdk';
|
|
2
|
+
export type Val = [any, string];
|
|
3
|
+
export type IContractCall = {
|
|
4
|
+
address: string;
|
|
5
|
+
fn: string;
|
|
6
|
+
args: Val[];
|
|
7
|
+
};
|
|
8
|
+
export type CallContractsOptions = {
|
|
9
|
+
network?: string;
|
|
10
|
+
};
|
|
2
11
|
export type CallBuilderOptions = {
|
|
3
12
|
cursor?: string;
|
|
4
13
|
limit?: number;
|