@bluxcc/react 0.2.2 → 0.2.6
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/README.md +11 -12
- package/dist/hooks/useBlux.d.ts +5 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -41,6 +41,7 @@ const ConnectButton = () => {
|
|
|
41
41
|
const App = () => {
|
|
42
42
|
const config = {
|
|
43
43
|
appName: 'Your App',
|
|
44
|
+
appId: 'GET_FROM_BLUX_DASHBOARD',
|
|
44
45
|
networks: [networks.mainnet, networks.testnet],
|
|
45
46
|
defaultNetwork: networks.mainnet,
|
|
46
47
|
};
|
|
@@ -70,18 +71,19 @@ Configuration options can be set via the `BluxProvider` config or environment va
|
|
|
70
71
|
|
|
71
72
|
Currently supported connection methods:
|
|
72
73
|
|
|
74
|
+
- [x] **Freighter**
|
|
73
75
|
- [x] **Rabet**
|
|
76
|
+
- [x] **Hana**
|
|
74
77
|
- [x] **xBull**
|
|
75
78
|
- [x] **Lobstr**
|
|
76
|
-
- [x] **Freighter**
|
|
77
79
|
- [x] **Albedo**
|
|
78
|
-
- [
|
|
80
|
+
- [x] **Ledger**
|
|
81
|
+
- [x] **HotWallet**
|
|
82
|
+
- [x] **WalletConnect**
|
|
83
|
+
- [x] **Klever Wallet**
|
|
84
|
+
- [x] **Email**
|
|
79
85
|
- [ ] **Trezor**
|
|
80
|
-
- [x] **Hana**
|
|
81
|
-
- [ ] **WalletConnect**
|
|
82
86
|
- [ ] **OAuth**
|
|
83
|
-
- [ ] **Email**
|
|
84
|
-
- [ ] **Phone**
|
|
85
87
|
|
|
86
88
|
## License & Usage Restrictions
|
|
87
89
|
|
|
@@ -94,15 +96,12 @@ Currently supported connection methods:
|
|
|
94
96
|
For support, licensing, or inquiries, reach out via:
|
|
95
97
|
|
|
96
98
|
- **Email**: [support@blux.cc](mailto:support@blux.cc)
|
|
97
|
-
- **X
|
|
99
|
+
- **X**: [@BluxOfficial](https://x.com/bluxofficial)
|
|
98
100
|
|
|
99
101
|
## Roadmap & Future Plans
|
|
100
102
|
|
|
101
|
-
Blux is evolving. Follow our updates on [X (Twitter)](https://
|
|
103
|
+
Blux is evolving. Follow our updates on [X (Twitter)](https://x.com/BluxOfficial) for:
|
|
102
104
|
|
|
103
|
-
- **OAuth Authentication (Apple, Meta, Google, etc.)**
|
|
104
|
-
- **Email & Phone-Based Authentication**
|
|
105
|
+
- **Email & OAuth Authentication (Apple, Meta, Google, etc.)**
|
|
105
106
|
- **More Wallet Integrations**
|
|
106
107
|
- **Enhanced Customization & Security Features**
|
|
107
|
-
|
|
108
|
-
Stay tuned. We have many exciting developments ahead!
|
package/dist/hooks/useBlux.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export declare const useBlux: () => {
|
|
2
|
-
login: () => Promise<
|
|
2
|
+
login: () => Promise<import("@bluxcc/core/dist/store").IUser>;
|
|
3
3
|
logout: () => void;
|
|
4
|
+
fundMe: () => void;
|
|
4
5
|
profile: () => void;
|
|
5
6
|
signMessage: (message: string, options?: {
|
|
6
7
|
network: string;
|
|
7
8
|
}) => Promise<unknown>;
|
|
9
|
+
signAuthEntry: (authEntry: string, options?: {
|
|
10
|
+
network: string;
|
|
11
|
+
}) => Promise<unknown>;
|
|
8
12
|
signTransaction: (xdr: string, options?: {
|
|
9
13
|
network: string;
|
|
10
14
|
}) => Promise<unknown>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluxcc/react",
|
|
3
3
|
"author": "Blux team",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.6",
|
|
5
5
|
"homepage": "https://blux.cc",
|
|
6
6
|
"description": "Connecting to the Stellar Ecosystem and Beyond",
|
|
7
7
|
"repository": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"build": "rollup -c rollup.config.prod.js"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@bluxcc/core": "^0.2.
|
|
34
|
-
"@stellar/stellar-sdk": "^
|
|
33
|
+
"@bluxcc/core": "^0.2.6",
|
|
34
|
+
"@stellar/stellar-sdk": "^15.1.0",
|
|
35
35
|
"@tanstack/react-query": "^5.90.11",
|
|
36
36
|
"react": ">=17.0.0",
|
|
37
37
|
"react-dom": ">=17.0.0"
|