nyxora 1.6.3 → 1.6.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/CHANGELOG.md +23 -0
- package/package.json +3 -4
- package/packages/core/package.json +1 -2
- package/packages/core/src/gateway/setup.ts +3 -2
- package/packages/core/src/memory/logger.ts +21 -14
- package/packages/dashboard/dist/assets/index-CfIids2e.js +170 -0
- package/packages/dashboard/dist/index.html +1 -1
- package/packages/dashboard/package.json +7 -7
- package/packages/policy/package.json +1 -1
- package/packages/signer/package.json +1 -1
- package/packages/signer/src/server.ts +3 -2
- package/test-db.ts +3 -0
- package/packages/dashboard/dist/assets/index-BTP1WrFj.js +0 -194
- package/packages/dashboard/package-lock.json +0 -2748
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Nyxora Dashboard</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CfIids2e.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-POJM-7Fd.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dashboard",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"lucide-react": "^
|
|
14
|
-
"react": "^
|
|
15
|
-
"react-dom": "^
|
|
13
|
+
"lucide-react": "^0.474.0",
|
|
14
|
+
"react": "^18.3.1",
|
|
15
|
+
"react-dom": "^18.3.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@eslint/js": "^10.0.1",
|
|
19
|
-
"@types/node": "^
|
|
20
|
-
"@types/react": "^
|
|
21
|
-
"@types/react-dom": "^
|
|
19
|
+
"@types/node": "^22.0.0",
|
|
20
|
+
"@types/react": "^18.3.3",
|
|
21
|
+
"@types/react-dom": "^18.3.0",
|
|
22
22
|
"@vitejs/plugin-react": "^4.3.1",
|
|
23
23
|
"eslint": "^10.3.0",
|
|
24
24
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -17,7 +17,7 @@ if (!JWT_SECRET) {
|
|
|
17
17
|
const app = express();
|
|
18
18
|
app.use(express.json());
|
|
19
19
|
|
|
20
|
-
import
|
|
20
|
+
import { Entry } from '@napi-rs/keyring';
|
|
21
21
|
import path from 'path';
|
|
22
22
|
import os from 'os';
|
|
23
23
|
|
|
@@ -27,7 +27,8 @@ let vaultAddress: string | null = null;
|
|
|
27
27
|
// Auto-unlock from OS Keyring or fallback .env
|
|
28
28
|
async function loadPrivateKey() {
|
|
29
29
|
try {
|
|
30
|
-
const
|
|
30
|
+
const entry = new Entry('nyxora', 'wallet');
|
|
31
|
+
const pk = await entry.getPassword();
|
|
31
32
|
if (pk) {
|
|
32
33
|
vaultPrivateKey = pk.startsWith('0x') ? (pk as `0x${string}`) : (`0x${pk}` as `0x${string}`);
|
|
33
34
|
const account = privateKeyToAccount(vaultPrivateKey);
|
package/test-db.ts
ADDED