@bluxcc/core 0.1.11 → 0.1.13

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,3 +1,3 @@
1
- import { IStore } from "../../store";
1
+ import { IStore } from '../../store';
2
2
  declare const sendTransactionProcess: (store: IStore) => Promise<void>;
3
3
  export default sendTransactionProcess;
@@ -1,3 +1,3 @@
1
- import { IStore } from "../../store";
1
+ import { IStore } from '../../store';
2
2
  declare const signMessageProcess: (store: IStore) => Promise<void>;
3
3
  export default signMessageProcess;
package/dist/store.d.ts CHANGED
@@ -54,6 +54,7 @@ export interface IStoreProperties {
54
54
  connection: any;
55
55
  client: SignClient;
56
56
  };
57
+ networkSyncDisabled: boolean;
57
58
  }
58
59
  export interface IStoreMethods {
59
60
  connectEmail: (email: string) => void;
@@ -66,8 +67,8 @@ export interface IStoreMethods {
66
67
  setIsReady: (isReady: boolean) => void;
67
68
  setShowAllWallets: (showAllWallets: boolean) => void;
68
69
  setRoute: (route: Route) => void;
69
- setSendTransaction: (sendTransaction: ISendTransaction, route?: Route) => void;
70
- setSignMessage: (messageDetails: ISignMessage, route?: Route) => void;
70
+ setSendTransaction: (sendTransaction: ISendTransaction, isOpen: boolean, route?: Route) => void;
71
+ setSignMessage: (messageDetails: ISignMessage, isOpen: boolean, route?: Route) => void;
71
72
  setStellar: (stellar: IStellarConfig) => void;
72
73
  setWallets: (wallets: IWallet[]) => void;
73
74
  setAlert: (alert: AlertType, message: string) => void;
@@ -76,6 +77,8 @@ export interface IStoreMethods {
76
77
  setSelectAsset: (selectAsset: ISelectAsset) => void;
77
78
  setTransactions: (transactions: UseTransactionsResult) => void;
78
79
  setWalletConnectClient: (client: SignClient, connection: any) => void;
80
+ cleanUp: (method: 'sendTransaction' | 'signMessage') => void;
81
+ setNetworkSyncDisabled: (isDisabled: boolean) => void;
79
82
  }
80
83
  export interface IStore extends IStoreProperties, IStoreMethods {
81
84
  }
package/dist/types.d.ts CHANGED
@@ -23,6 +23,7 @@ export interface IConfig {
23
23
  appearance?: Partial<IAppearance>;
24
24
  lang?: LanguageKey;
25
25
  explorer?: IExplorer;
26
+ isPersistent?: boolean;
26
27
  showWalletUIs?: boolean;
27
28
  loginMethods?: ILoginMethods;
28
29
  transports?: ITransports;
@@ -45,11 +46,16 @@ export interface IAppearance {
45
46
  accentColor: string;
46
47
  textColor: string;
47
48
  font: string;
48
- outlineWidth: string;
49
+ outlineWidth?: string;
50
+ outlineColor?: string;
51
+ outlineRadius?: string;
49
52
  borderRadius: string;
50
53
  borderColor: string;
51
54
  borderWidth: string;
52
55
  logo: string;
56
+ backdropBlur: string;
57
+ backdropColor: string;
58
+ boxShadow: string;
53
59
  }
54
60
  export interface IWallet {
55
61
  name: SupportedWallet;
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "@bluxcc/core",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "homepage": "https://blux.cc",
5
5
  "description": "Blux is a wallet infra for the Stellar network",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "module": "./dist/index.esm.js",
9
- "browser": "./dist/index.iife.js",
10
9
  "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.esm.js",
13
+ "require": "./dist/index.cjs.js"
14
+ }
15
+ },
11
16
  "repository": {
12
17
  "type": "git",
13
18
  "url": "git+https://github.com/bluxcc/core"