@bluxcc/core 0.2.3 → 0.2.4
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/assets/index.d.ts +11 -0
- package/dist/components/Link/index.d.ts +8 -0
- package/dist/constants/cdnFiles.d.ts +1 -0
- package/dist/constants/consts.d.ts +1 -1
- package/dist/enums.d.ts +3 -1
- package/dist/exports/blux.d.ts +6 -0
- package/dist/index.cjs.js +14 -14
- package/dist/index.esm.js +14 -14
- package/dist/pages/FundMe/FundMeCrypto/index.d.ts +1 -1
- package/dist/stellar/handleSignAuthEntry.d.ts +3 -0
- package/dist/stellar/processes/signAuthEntryProcess.d.ts +3 -0
- package/dist/store.d.ts +4 -2
- package/dist/types.d.ts +7 -0
- package/dist/utils/checkRecentLogins.d.ts +1 -1
- package/dist/utils/walletLogos.d.ts +1 -1
- package/dist/wallets/bitget.d.ts +2 -0
- package/dist/wallets/onekey.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const FundMeCrypto: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default FundMeCrypto;
|
package/dist/store.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import { Route } from './enums';
|
|
|
4
4
|
import { UseBalancesResult } from './hooks/useBalances';
|
|
5
5
|
import { UseTransactionsResult } from './hooks/useTransactions';
|
|
6
6
|
import Emitter, { BluxEventMap } from './utils/events';
|
|
7
|
-
import { IAsset, IWallet, IAppearance, ISignMessage, IInternalConfig, ISendTransaction, AuthenticateApiResponse } from './types';
|
|
7
|
+
import { IAsset, IWallet, IAppearance, ISignMessage, IInternalConfig, ISendTransaction, AuthenticateApiResponse, ISignAuthEntry } from './types';
|
|
8
8
|
export type AlertType = 'error' | 'success' | 'warn' | 'none' | 'copy';
|
|
9
|
-
export type WaitingStatus = 'login' | 'sendTransaction' | 'signMessage';
|
|
9
|
+
export type WaitingStatus = 'login' | 'sendTransaction' | 'signMessage' | 'signAuthEntry';
|
|
10
10
|
export interface ILogo {
|
|
11
11
|
id: number;
|
|
12
12
|
name: string;
|
|
@@ -71,6 +71,7 @@ export interface IStoreProperties {
|
|
|
71
71
|
stellar?: IStellarConfig;
|
|
72
72
|
sendTransaction?: ISendTransaction;
|
|
73
73
|
signMessage?: ISignMessage;
|
|
74
|
+
signAuthEntry?: ISignAuthEntry;
|
|
74
75
|
login?: ILoginPromise;
|
|
75
76
|
balances: UseBalancesResult;
|
|
76
77
|
transactions: UseTransactionsResult;
|
|
@@ -95,6 +96,7 @@ export interface IStoreMethods {
|
|
|
95
96
|
setRoute: (route: Route) => void;
|
|
96
97
|
setSendTransaction: (sendTransaction: ISendTransaction, isOpen: boolean, route?: Route) => void;
|
|
97
98
|
setSignMessage: (messageDetails: ISignMessage, isOpen: boolean, route?: Route) => void;
|
|
99
|
+
setSignAuthEntry: (authEntry: ISignAuthEntry, isOpen: boolean, route?: Route) => void;
|
|
98
100
|
setStellar: (stellar: IStellarConfig) => void;
|
|
99
101
|
setWallets: (wallets: IWallet[]) => void;
|
|
100
102
|
setAlert: (alert: AlertType, message: string) => void;
|
package/dist/types.d.ts
CHANGED
|
@@ -117,6 +117,13 @@ export interface ISignMessage {
|
|
|
117
117
|
rejecter: (reason: any) => void;
|
|
118
118
|
resolver: (value: string) => void;
|
|
119
119
|
}
|
|
120
|
+
export interface ISignAuthEntry {
|
|
121
|
+
result?: string;
|
|
122
|
+
authEntry: string;
|
|
123
|
+
options: ISignOptions;
|
|
124
|
+
rejecter: (reason: any) => void;
|
|
125
|
+
resolver: (value: string) => void;
|
|
126
|
+
}
|
|
120
127
|
export interface AuthenticateApiResponse {
|
|
121
128
|
isValid: boolean;
|
|
122
129
|
message: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const setRecentLoginConfig: (authMethod: string, authValue: string, timestamp
|
|
1
|
+
export declare const setRecentLoginConfig: (authMethod: string, authValue: string, timestamp: number | undefined, jwt: string) => void;
|
|
2
2
|
export declare const clearRecentLoginConfig: () => void;
|
|
3
3
|
export declare const checkRecentLogins: () => Promise<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const handleLogos: (walletName: string, isDark: boolean) => import("react/jsx-runtime").JSX.Element | null;
|
|
1
|
+
declare const handleLogos: (walletName: string, isDark: boolean, size?: "small" | "large") => import("react/jsx-runtime").JSX.Element | null;
|
|
2
2
|
export default handleLogos;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluxcc/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"homepage": "https://blux.cc",
|
|
5
5
|
"description": "Blux is a wallet infra for the Stellar network",
|
|
6
6
|
"type": "module",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@ledgerhq/hw-app-str": "^7.2.8",
|
|
43
43
|
"@lobstrco/signer-extension-api": "^1.0.0-beta.0",
|
|
44
44
|
"@stellar/freighter-api": "^5.0.0",
|
|
45
|
-
"@stellar/stellar-sdk": "^15.0
|
|
45
|
+
"@stellar/stellar-sdk": "^15.1.0",
|
|
46
46
|
"@walletconnect/core": "^2.21.9",
|
|
47
47
|
"@walletconnect/sign-client": "^2.21.9",
|
|
48
48
|
"qrcode.react": "^4.2.0",
|