@nibiruchain/nibiru 2.0.0 → 2.1.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.
Files changed (3) hide show
  1. package/LICENSE.md +23 -0
  2. package/README.md +23 -5
  3. package/package.json +33 -8
package/LICENSE.md ADDED
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2025, MTRX Services Ltd.
2
+
3
+ All rights reserved. See https://opensource.org/license/bsd-2-clause.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+ 2. Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,12 +1,30 @@
1
1
  # @nibiruchain/nibiru
2
2
 
3
- Install Nibiru's command-line client:
3
+ The Nibiru command-line client for nodes, validators, and developers.
4
+
5
+ ## Install
4
6
 
5
7
  ```bash
6
- npm install -g @nibiruchain/nibiru
8
+ bun add --global @nibiruchain/nibiru
7
9
  nibiru version
8
10
  ```
9
11
 
10
- The package supports Linux and macOS on x64 and arm64. It selects the native
11
- binary package for the host platform. No install script downloads or copies a
12
- binary.
12
+ The package also works with npm:
13
+
14
+ ```bash
15
+ npm install --global @nibiruchain/nibiru
16
+ nibiru version
17
+ ```
18
+
19
+ `nibiru` is available on Linux and macOS for x64 and arm64. npm installs the
20
+ matching native package for the host platform. It does not download a binary in
21
+ an install script.
22
+
23
+ ## Commands and docs
24
+
25
+ The npm command `nibiru` launches Nibiru's native `nibid` binary and passes all
26
+ arguments through unchanged. Existing `nibid` command documentation therefore
27
+ applies to the npm install. See the [Nibiru CLI documentation](https://nibiru.fi/docs/dev/cli)
28
+ for node setup, queries, transactions, and configuration.
29
+
30
+ If npm omits the native package, reinstall without `--omit=optional`.
package/package.json CHANGED
@@ -1,19 +1,44 @@
1
1
  {
2
2
  "name": "@nibiruchain/nibiru",
3
- "version": "2.0.0",
4
- "description": "Nibiru command-line client",
5
- "license": "Apache-2.0",
3
+ "version": "2.1.0",
4
+ "description": "Nibiru blockchain command-line client for nodes, validators, and developers",
5
+ "keywords": [
6
+ "nibiru",
7
+ "nibid",
8
+ "blockchain",
9
+ "cli",
10
+ "validator",
11
+ "node",
12
+ "comet-bft",
13
+ "ethereum",
14
+ "evm",
15
+ "wasm",
16
+ "wasm-vm",
17
+ "sai",
18
+ "sai-perps"
19
+ ],
20
+ "license": "BSD-2-Clause",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/NibiruChain/nibiru.git",
24
+ "directory": "x/clidist"
25
+ },
26
+ "homepage": "https://nibiru.fi/docs/dev/cli",
27
+ "bugs": {
28
+ "url": "https://github.com/NibiruChain/nibiru/issues"
29
+ },
6
30
  "bin": {
7
31
  "nibiru": "bin/nibiru.js"
8
32
  },
9
33
  "files": [
10
34
  "bin/nibiru.js",
11
- "README.md"
35
+ "README.md",
36
+ "LICENSE.md"
12
37
  ],
13
38
  "optionalDependencies": {
14
- "@nibiruchain/nibiru-linux-x64": "2.0.0",
15
- "@nibiruchain/nibiru-linux-arm64": "2.0.0",
16
- "@nibiruchain/nibiru-darwin-x64": "2.0.0",
17
- "@nibiruchain/nibiru-darwin-arm64": "2.0.0"
39
+ "@nibiruchain/nibiru-linux-x64": "2.1.0",
40
+ "@nibiruchain/nibiru-linux-arm64": "2.1.0",
41
+ "@nibiruchain/nibiru-darwin-x64": "2.1.0",
42
+ "@nibiruchain/nibiru-darwin-arm64": "2.1.0"
18
43
  }
19
44
  }