@bluxcc/react 0.1.19 → 0.1.21

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.
@@ -2,6 +2,7 @@ import { Horizon, rpc } from '@stellar/stellar-sdk';
2
2
  import { HorizonApi } from '@stellar/stellar-sdk/lib/horizon';
3
3
  import { Url } from '../utils/network/url';
4
4
  import { UseAccountResult } from '../useStellar/useAccount';
5
+ import { LanguageKey } from '../constants/locales';
5
6
  /**
6
7
  * Enum representing the supported wallets in the system.
7
8
  */
@@ -11,7 +12,8 @@ export declare enum SupportedWallets {
11
12
  Freighter = "Freighter",
12
13
  Xbull = "xBull",
13
14
  Lobstr = "LOBSTR",
14
- Hana = "Hana"
15
+ Hana = "Hana",
16
+ Hot = "Hot"
15
17
  }
16
18
  /**
17
19
  * Enum defining the various Stellar network environments.
@@ -55,6 +57,7 @@ export interface IProviderConfig {
55
57
  appearance?: Partial<IAppearance>;
56
58
  transports?: ITransports;
57
59
  explorer?: IExplorers;
60
+ lang?: LanguageKey;
58
61
  showWalletUIs?: boolean;
59
62
  loginMethods?: Array<'wallet' | 'email' | 'sms' | 'google' | 'twitter' | 'discord' | 'github' | 'passkey'>;
60
63
  }
@@ -146,8 +149,7 @@ export declare enum Routes {
146
149
  SIGN_TRANSACTION = "SIGN_TRANSACTION",// User sign transaction view
147
150
  SEND = "SEND",// User sign transaction view
148
151
  ACTIVITY = "ACTIVITY",// User sign transaction view
149
- OTP = "OTP",// User Login with Phone ot email
150
- SELECT_ASSET = "SELECT_ASSET"
152
+ OTP = "OTP"
151
153
  }
152
154
  /**
153
155
  * Modal state management interface.
@@ -0,0 +1,2 @@
1
+ import translations, { LanguageKey } from '../constants/locales';
2
+ export declare const translate: (key: keyof typeof translations, lang: LanguageKey, vars?: Record<string, string>) => string;
@@ -0,0 +1,2 @@
1
+ import { WalletInterface } from '../../types';
2
+ export declare const hotConfig: WalletInterface;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bluxcc/react",
3
3
  "author": "Blux team",
4
- "version": "0.1.19",
4
+ "version": "0.1.21",
5
5
  "homepage": "https://blux.cc",
6
6
  "description": "Connecting to the Stellar Ecosystem and Beyond",
7
7
  "repository": {
@@ -39,26 +39,28 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.17.0",
42
+ "@rollup/plugin-alias": "^5.1.1",
42
43
  "@rollup/plugin-commonjs": "^28.0.2",
44
+ "@rollup/plugin-json": "^6.1.0",
43
45
  "@rollup/plugin-node-resolve": "^16.0.0",
44
46
  "@rollup/plugin-terser": "^0.4.4",
45
47
  "@rollup/plugin-typescript": "^12.1.2",
48
+ "@tailwindcss/postcss": "^4.1.6",
46
49
  "@types/react": "^19.0.2",
47
50
  "@types/react-dom": "^19.0.2",
48
51
  "@typescript-eslint/eslint-plugin": "^8.19.1",
49
52
  "@typescript-eslint/parser": "^8.19.1",
50
- "autoprefixer": "^10.4.20",
51
53
  "eslint": "^9.17.0",
52
54
  "eslint-plugin-react": "^7.37.3",
53
55
  "eslint-plugin-react-hooks": "^5.1.0",
54
56
  "globals": "^15.14.0",
55
- "postcss": "^8.4.49",
57
+ "postcss": "^8.5.3",
56
58
  "prettier": "^3.5.3",
57
59
  "prettier-plugin-tailwindcss": "^0.6.11",
58
60
  "rollup": "^4.29.1",
59
61
  "rollup-plugin-peer-deps-external": "^2.2.4",
60
62
  "rollup-plugin-postcss": "^4.0.2",
61
- "tailwindcss": "^3.4.17",
63
+ "tailwindcss": "^4.1.6",
62
64
  "tslib": "^2.8.1",
63
65
  "typescript": "^5.7.2",
64
66
  "typescript-eslint": "^8.19.1"
@@ -69,5 +71,8 @@
69
71
  },
70
72
  "sideEffects": [
71
73
  "*.css"
72
- ]
74
+ ],
75
+ "dependencies": {
76
+ "@hot-wallet/sdk": "^1.0.11"
77
+ }
73
78
  }