@bluxcc/core 0.1.25 → 0.2.1

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.
@@ -105,3 +105,4 @@ export declare const QuestionMark: ({ fill }: {
105
105
  export declare const SmallQuestionMark: ({ fill }: {
106
106
  fill?: string;
107
107
  }) => import("react/jsx-runtime").JSX.Element;
108
+ export declare const GrayCube: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,10 @@
1
1
  import { IAsset } from '../../types';
2
+ type IAssetWithDetails = IAsset & {
3
+ title: string;
4
+ subtitle: string;
5
+ };
2
6
  type AssetsProps = {
3
- assets: IAsset[];
7
+ assets: IAssetWithDetails[];
4
8
  };
5
9
  declare const Assets: ({ assets }: AssetsProps) => import("react/jsx-runtime").JSX.Element;
6
10
  export default Assets;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  interface OTPInputProps {
3
3
  otp: string[];
4
4
  setOtp: (otp: string[]) => void;
package/dist/enums.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare enum SupportedWallet {
2
+ Api = "API",
2
3
  Rabet = "Rabet",
3
4
  Albedo = "Albedo",
4
5
  Freighter = "Freighter",
@@ -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 {};
@@ -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;