@xyo-network/xl1-cli 1.22.0 → 1.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-cli",
3
- "version": "1.22.0",
3
+ "version": "1.23.0",
4
4
  "description": "XYO Layer One CLI",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -42,8 +42,7 @@
42
42
  "@opentelemetry/resources": "~2.7.1",
43
43
  "@opentelemetry/sdk-metrics": "~2.7.1",
44
44
  "@opentelemetry/sdk-trace-base": "^2.7.1",
45
- "@opentelemetry/semantic-conventions": "~1.40.0",
46
- "acorn": "^8",
45
+ "@opentelemetry/semantic-conventions": "~1.41.1",
47
46
  "lmdb": "^3.5.4",
48
47
  "mongodb": "^7.2.0",
49
48
  "msgpackr-extract": "^3.0.3",
@@ -51,7 +50,7 @@
51
50
  },
52
51
  "devDependencies": {
53
52
  "@bitauth/libauth": "~3.0.0",
54
- "@metamask/json-rpc-engine": "^10.4.0",
53
+ "@metamask/json-rpc-engine": "^10.5.0",
55
54
  "@metamask/providers": "^22.1.1",
56
55
  "@metamask/utils": "~11.11.0",
57
56
  "@opentelemetry/context-zone": "~2.7.1",
@@ -62,15 +61,14 @@
62
61
  "@rollup/plugin-typescript": "~12.3.0",
63
62
  "@scure/base": "~2.2.0",
64
63
  "@scure/bip39": "~2.2.0",
65
- "@types/node": ">=18",
66
64
  "@xylabs/express": "^5.1.2",
67
65
  "@xylabs/fetch": "~5.1.2",
68
66
  "@xylabs/geo": "^5.1.2",
69
67
  "@xylabs/mongo": "^5.1.2",
70
68
  "@xylabs/sdk-js": "^5.1.2",
71
69
  "@xylabs/threads": "~5.1.2",
72
- "@xylabs/toolchain": "~7.13.22",
73
- "@xylabs/tsconfig": "~7.13.22",
70
+ "@xylabs/toolchain": "~7.13.24",
71
+ "@xylabs/tsconfig": "~7.13.24",
74
72
  "@xylabs/vitest-extended": "~5.1.2",
75
73
  "@xyo-network/account": "~5.6.2",
76
74
  "@xyo-network/account-model": "~5.6.3",
@@ -100,15 +98,14 @@
100
98
  "@xyo-network/typechain": "^4.1.3",
101
99
  "@xyo-network/wallet": "~5.6.2",
102
100
  "@xyo-network/wallet-model": "^5.6.3",
103
- "@xyo-network/xl1-protocol-sdk": "~1.28.5",
104
- "@xyo-network/xl1-sdk": "^1.28.5",
101
+ "@xyo-network/xl1-protocol-sdk": "~1.30.1",
102
+ "@xyo-network/xl1-sdk": "^1.30.1",
105
103
  "ajv": "^8.20.0",
106
104
  "async-mutex": "^0.5.0",
107
- "axios": "^1",
108
105
  "bn.js": "^5.2.3",
109
106
  "body-parser": "~2.2.2",
110
107
  "buffer": "^6.0.3",
111
- "bullmq": "~5.76.6",
108
+ "bullmq": "~5.76.8",
112
109
  "bullmq-otel": "~1.3.1",
113
110
  "chalk": "^5.6.2",
114
111
  "compression": "~1.8.1",
@@ -121,7 +118,6 @@
121
118
  "ethers": "^6.16.0",
122
119
  "express": "^5.2.1",
123
120
  "express-mung": "~0.5.1",
124
- "firebase": "^12",
125
121
  "hash-wasm": "~4.12.0",
126
122
  "http-status-codes": "~2.3.0",
127
123
  "idb": "^8.0.3",
@@ -137,8 +133,8 @@
137
133
  "store2": "~2.14.4",
138
134
  "tslib": "^2.8.1",
139
135
  "uuid": "~14.0.0",
140
- "vite": "^8.0.11",
141
- "vitest": "^4.1.5",
136
+ "vite": "^8.0.12",
137
+ "vitest": "^4.1.6",
142
138
  "vitest-mock-extended": "~4.0.0",
143
139
  "wasm-feature-detect": "~1.8.0",
144
140
  "web3-types": "~1.10.0",
@@ -148,28 +144,27 @@
148
144
  "yargs": "~18.0.0",
149
145
  "yargs-parser": "~22.0.0",
150
146
  "zod": "~4.4.3",
151
- "zone.js": "^0.10.2 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0 || ^0.16.0",
152
- "@xyo-network/chain-api": "~1.22.0",
153
- "@xyo-network/chain-bridge": "~1.22.0",
154
- "@xyo-network/chain-orchestration": "~1.22.0",
155
- "@xyo-network/chain-finalizer": "~1.22.0",
156
- "@xyo-network/chain-orchestration-express": "~1.22.0",
157
- "@xyo-network/chain-mempool": "~1.22.0",
158
- "@xyo-network/chain-producer": "~1.22.0",
159
- "@xyo-network/chain-reward-redemption": "~1.22.0",
160
- "@xyo-network/chain-orchestration-evm": "~1.22.0",
161
- "@xyo-network/chain-orchestration-storage": "~1.22.0",
162
- "@xyo-network/chain-protocol-driver-mongodb": "~1.22.0",
163
- "@xyo-network/chain-sdk": "~1.22.0",
164
- "@xyo-network/chain-protocol-test": "~1.22.0",
165
- "@xyo-network/chain-ethereum": "~1.22.0",
166
- "@xyo-network/chain-utils": "~1.22.0",
167
- "@xyo-network/chain-validation": "~1.22.0",
168
- "@xyo-network/xl1-cli-lib": "~1.22.0",
169
- "@xyo-network/chain-protocol-driver-lmdb": "~1.22.0",
170
- "@xyo-network/chain-telemetry": "~1.22.0",
171
- "@xyo-network/chain-services": "~1.22.0",
172
- "@xyo-network/chain-test-helpers": "~1.22.0"
147
+ "@xyo-network/chain-api": "~1.23.0",
148
+ "@xyo-network/chain-mempool": "~1.23.0",
149
+ "@xyo-network/chain-finalizer": "~1.23.0",
150
+ "@xyo-network/chain-bridge": "~1.23.0",
151
+ "@xyo-network/chain-orchestration": "~1.23.0",
152
+ "@xyo-network/chain-producer": "~1.23.0",
153
+ "@xyo-network/chain-orchestration-express": "~1.23.0",
154
+ "@xyo-network/chain-protocol-test": "~1.23.0",
155
+ "@xyo-network/chain-reward-redemption": "~1.23.0",
156
+ "@xyo-network/chain-sdk": "~1.23.0",
157
+ "@xyo-network/chain-services": "~1.23.0",
158
+ "@xyo-network/chain-telemetry": "~1.23.0",
159
+ "@xyo-network/chain-test-helpers": "~1.23.0",
160
+ "@xyo-network/chain-ethereum": "~1.23.0",
161
+ "@xyo-network/chain-orchestration-evm": "~1.23.0",
162
+ "@xyo-network/chain-protocol-driver-mongodb": "~1.23.0",
163
+ "@xyo-network/chain-protocol-driver-lmdb": "~1.23.0",
164
+ "@xyo-network/chain-orchestration-storage": "~1.23.0",
165
+ "@xyo-network/chain-validation": "~1.23.0",
166
+ "@xyo-network/chain-utils": "~1.23.0",
167
+ "@xyo-network/xl1-cli-lib": "~1.23.0"
173
168
  },
174
169
  "engines": {
175
170
  "node": ">=24"
package/README.body.md DELETED
@@ -1,109 +0,0 @@
1
- ## Description
2
-
3
- The XL1 Command-Line Interface (CLI) tool is a program you run in your terminal to create a local XL1 Node. Once installed, you can invoke it from any directory using its name, the command, and any desired options like:
4
- ```sh
5
- xl1 <command> [options]
6
- ```
7
- To see a list of all available commands and options run
8
-
9
- ```sh
10
- xl1 --help
11
- ```
12
-
13
- ## Installation
14
-
15
- ### Prerequisites
16
-
17
- This CLI tool is built with Node.js, which is required to run the application. Node.js provides the runtime environment for executing JavaScript outside the browser allowing this CLI to function as a standalone executable on your system.
18
-
19
- #### Install Node.js
20
-
21
- To get started, install the latest Long-Term Support (LTS) version of Node.js, which includes Node Package Manager (npm) from the [official site](https://nodejs.org/en/download). After installation, you can verify Node.js is working by running the following in your terminal:
22
-
23
- ```sh
24
- node -v
25
- npm -v
26
- ```
27
-
28
- Once Node.js is installed, you can install the XL1 CLI tool globally using npm or yarn.
29
-
30
- ### Install the XL1 CLI
31
-
32
- Once Node.js is installed, you can install the XL1 CLI tool globally using npm:
33
-
34
- ```sh
35
- npm install -g @xyo-network/xl1-cli
36
- ```
37
-
38
- This makes the command `xl1` available anywhere in your terminal.
39
-
40
- You can run the following command to verify the XL1 CLI was installed correctly
41
-
42
- ```sh
43
- xl1 --help
44
- ```
45
-
46
- ## Usage
47
-
48
- After installing, you can run `xl1` from any terminal:
49
-
50
- ```sh
51
- xl1
52
- ```
53
-
54
- Runs a full XL1 Node, including both the API and Producer components. This is the default behavior when no subcommand is specified.
55
-
56
- ```sh
57
- xl1 api
58
- ```
59
-
60
- Starts only the API Node, which handles external requests and exposes HTTP endpoints.
61
-
62
- ```sh
63
- xl1 producer
64
- ```
65
-
66
- Starts only the Producer Node, which is responsible for block production.
67
-
68
- Use `xl1 --help` for available options and configuration flags.
69
-
70
- ### Configuration
71
-
72
- Certainly! Here’s a brief and well-organized section describing the three ways to configure your xl1 CLI tool:
73
-
74
-
75
-
76
- Configuration
77
-
78
- You can configure xl1 using CLI flags, environment variables, or a configuration file. All methods are optional and can be combined—CLI flags override environment variables, which override config file values.
79
-
80
- #### CLI Flags
81
-
82
- Pass options directly when running a command. For example:
83
-
84
- ```sh
85
- xl1 --logLevel=info --api.port=8080
86
- ```
87
-
88
- #### Environment Variables
89
-
90
- Set configuration via environment variables before running the command:
91
-
92
- ```sh
93
- export XL1_LOG_LEVEL=info
94
- export XL1_API__PORT=8080
95
- xl1
96
- ```
97
-
98
- #### Config File
99
-
100
- Create a `xyo.config.json` (or .js, .yaml) file in the working directory to define default settings:
101
-
102
- ```json
103
- {
104
- "logLevel": "info",
105
- "api": {
106
- "port": 8080
107
- }
108
- }
109
- ```
File without changes