genlayer 0.26.0 → 0.28.0
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/.github/workflows/validate-code.yml +3 -0
- package/CHANGELOG.md +12 -0
- package/README.md +19 -0
- package/dist/index.js +279 -181
- package/esbuild.config.dev.js +1 -1
- package/esbuild.config.prod.js +1 -1
- package/package.json +2 -1
- package/src/commands/keygen/index.ts +18 -0
- package/src/commands/keygen/lock.ts +31 -0
- package/src/commands/keygen/unlock.ts +41 -0
- package/src/commands/transactions/index.ts +2 -0
- package/src/commands/transactions/receipt.ts +27 -1
- package/src/lib/actions/BaseAction.ts +6 -7
- package/src/lib/config/ConfigFileManager.ts +0 -78
- package/src/lib/config/KeychainManager.ts +29 -0
- package/tests/actions/lock.test.ts +66 -0
- package/tests/actions/receipt.test.ts +88 -0
- package/tests/actions/unlock.test.ts +121 -0
- package/tests/commands/keygen.test.ts +54 -8
- package/tests/commands/receipt.test.ts +34 -0
- package/tests/libs/baseAction.test.ts +11 -7
- package/tests/libs/configFileManager.test.ts +0 -205
- package/tests/libs/keychainManager.test.ts +112 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.28.0 (2025-09-03)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* improve how cli shows transactions receipts ([#250](https://github.com/yeagerai/genlayer-cli/issues/250)) ([610831a](https://github.com/yeagerai/genlayer-cli/commit/610831a23d0fc35b6b2d1ec0e1b1d88fb357c4b5))
|
|
8
|
+
|
|
9
|
+
## 0.27.0 (2025-09-01)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* implement os keychain support for secure private key storage ([#243](https://github.com/yeagerai/genlayer-cli/issues/243)) ([af93c6f](https://github.com/yeagerai/genlayer-cli/commit/af93c6fdd8e3673ffe3e3471bb5a8c6ea565687d))
|
|
14
|
+
|
|
3
15
|
## 0.26.0 (2025-08-07)
|
|
4
16
|
|
|
5
17
|
### Features
|
package/README.md
CHANGED
|
@@ -12,6 +12,25 @@ Before installing the GenLayer CLI, ensure you have Node.js installed on your sy
|
|
|
12
12
|
npm install -g genlayer
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
### Linux Dependencies
|
|
16
|
+
|
|
17
|
+
On some Linux distributions with minimal setups (like Debian netinst or Docker images), you may need to manually install libsecret:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Ubuntu/Debian
|
|
21
|
+
sudo apt-get install libsecret-1-0
|
|
22
|
+
|
|
23
|
+
# CentOS/RHEL/Fedora
|
|
24
|
+
sudo yum install libsecret
|
|
25
|
+
# or for newer versions
|
|
26
|
+
sudo dnf install libsecret
|
|
27
|
+
|
|
28
|
+
# Arch Linux
|
|
29
|
+
sudo pacman -S libsecret
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The GenLayer CLI uses the `keytar` library for secure key storage, which relies on `libsecret` on Linux systems.
|
|
33
|
+
|
|
15
34
|
## Usage
|
|
16
35
|
|
|
17
36
|
Each command includes syntax, usage information, and examples to help you effectively use the CLI for interacting with the GenLayer environment.
|