openbook-cli 1.0.0 → 1.0.1
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/index.js +5 -5
- package/package.json +2 -2
- package/src/index.ts +5 -5
package/dist/index.js
CHANGED
@@ -484,11 +484,11 @@ async function main() {
|
|
484
484
|
console.log("2. Direct blockchain order book fetching");
|
485
485
|
console.log("3. Real bids and asks from the market");
|
486
486
|
console.log("\nUsage:");
|
487
|
-
console.log("
|
488
|
-
console.log("
|
489
|
-
console.log("
|
490
|
-
console.log("
|
491
|
-
console.log("
|
487
|
+
console.log(" openbook-cli # Fetch default market");
|
488
|
+
console.log(" openbook-cli <market_address> # Fetch market (auto-detects program)");
|
489
|
+
console.log(" openbook-cli <market_address> --add # Add market (auto-detects program)");
|
490
|
+
console.log(" openbook-cli --list # List OpenBook markets");
|
491
|
+
console.log(" openbook-cli --list --serum # List Serum markets");
|
492
492
|
console.log("\nAuto-detection:");
|
493
493
|
console.log(" The system automatically detects if a market is OpenBook or Serum");
|
494
494
|
console.log(" No need to specify --serum flag for most operations");
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "openbook-cli",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"description": "A comprehensive CLI tool for interacting with OpenBook and Serum DEX markets on Solana",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"bin": {
|
@@ -48,4 +48,4 @@
|
|
48
48
|
"url": "https://github.com/yourusername/openbook-cli/issues"
|
49
49
|
},
|
50
50
|
"homepage": "https://github.com/yourusername/openbook-cli#readme"
|
51
|
-
}
|
51
|
+
}
|
package/src/index.ts
CHANGED
@@ -602,11 +602,11 @@ async function main() {
|
|
602
602
|
console.log("2. Direct blockchain order book fetching");
|
603
603
|
console.log("3. Real bids and asks from the market");
|
604
604
|
console.log("\nUsage:");
|
605
|
-
console.log("
|
606
|
-
console.log("
|
607
|
-
console.log("
|
608
|
-
console.log("
|
609
|
-
console.log("
|
605
|
+
console.log(" openbook-cli # Fetch default market");
|
606
|
+
console.log(" openbook-cli <market_address> # Fetch market (auto-detects program)");
|
607
|
+
console.log(" openbook-cli <market_address> --add # Add market (auto-detects program)");
|
608
|
+
console.log(" openbook-cli --list # List OpenBook markets");
|
609
|
+
console.log(" openbook-cli --list --serum # List Serum markets");
|
610
610
|
console.log("\nAuto-detection:");
|
611
611
|
console.log(" The system automatically detects if a market is OpenBook or Serum");
|
612
612
|
console.log(" No need to specify --serum flag for most operations");
|