@jpool/bond-cli 1.5.0 → 1.5.2
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/dist/cli.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
"use strict";
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
@@ -36,7 +37,7 @@ var import_node_path = require("path");
|
|
|
36
37
|
var import_anchor = require("@coral-xyz/anchor");
|
|
37
38
|
var import_bond_sdk = require("@jpool/bond-sdk");
|
|
38
39
|
var import_web3 = require("@solana/web3.js");
|
|
39
|
-
var DEFAULT_CLUSTER = "
|
|
40
|
+
var DEFAULT_CLUSTER = "mainnet-beta";
|
|
40
41
|
var context;
|
|
41
42
|
function useContext() {
|
|
42
43
|
return context;
|
|
@@ -81,7 +82,7 @@ function resolveKeypair(path) {
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
// package.json
|
|
84
|
-
var version = "1.5.
|
|
85
|
+
var version = "1.5.2";
|
|
85
86
|
|
|
86
87
|
// src/cli.ts
|
|
87
88
|
import_commander.program.name("jbond").description("CLI to interact with the JPool Bond program").version(process.env.VERSION ?? version).allowExcessArguments(false).option("-c, --cluster <CLUSTER>", "Solana cluster or RPC URL").option("-k, --keypair <KEYPAIR>", "Filepath to Solana keypair").hook("preAction", async (command) => {
|