@diviswap/sdk 1.7.17 → 1.7.18

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/index.js CHANGED
@@ -384,7 +384,7 @@ function httpsRequest(url, options) {
384
384
  }
385
385
  async function validatePartnerCredentials(keyId, secretKey, authMethod = "hmac", environment = "sandbox") {
386
386
  try {
387
- const apiUrl = environment === "sandbox" ? "https://dev-api.liberex.sv" : "https://api.liberex.sv";
387
+ const apiUrl = environment === "development" ? "https://dev-api.liberex.sv" : "https://api.liberex.sv";
388
388
  const testPath = "/api/v1/fees";
389
389
  const method = "POST";
390
390
  const body = "{}";
@@ -639,7 +639,7 @@ async function init(options) {
639
639
  message: "Which environment are you using?",
640
640
  choices: [
641
641
  { title: "Production", value: "production", description: "Live environment for real transactions" },
642
- { title: "Sandbox", value: "sandbox", description: "Testing environment with mock data" }
642
+ { title: "Sandbox", value: "sandbox", description: "Testing environment with simulated transactions (uses sandbox credentials)" }
643
643
  ],
644
644
  initial: 1
645
645
  // Default to sandbox for safety
@@ -1937,7 +1937,7 @@ async function uninstall(options = {}) {
1937
1937
  }
1938
1938
 
1939
1939
  // package.json
1940
- var version = "1.7.17";
1940
+ var version = "1.7.18";
1941
1941
 
1942
1942
  // src/cli/index.ts
1943
1943
  var program = new commander.Command();
package/dist/index.js CHANGED
@@ -1739,11 +1739,12 @@ var UnifiedApiClient = class _UnifiedApiClient {
1739
1739
  static getDefaultApiUrl(environment) {
1740
1740
  switch (environment) {
1741
1741
  case "production":
1742
- return "https://api.liberex.sv";
1743
1742
  case "sandbox":
1743
+ return "https://api.liberex.sv";
1744
+ case "development":
1744
1745
  return "https://dev-api.liberex.sv";
1745
1746
  default:
1746
- return "https://dev-api.liberex.sv";
1747
+ return "https://api.liberex.sv";
1747
1748
  }
1748
1749
  }
1749
1750
  /**