@switch-win/sdk 1.0.1 → 1.0.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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  Everything partners need to integrate Switch swaps and limit orders — API docs, TypeScript types, ABIs, constants, and ready-to-use examples.
9
9
 
10
- **Swap API:** `https://quote.switch.win`  |  **Limit Order API:** `https://api.switch.win`  |  **Chain:** PulseChain (369)
10
+ **Swap API:** `https://quote.switch.win`  |  **Limit Order API:** `https://quote.switch.win`  |  **Chain:** PulseChain (369)
11
11
 
12
12
  ---
13
13
 
@@ -900,7 +900,7 @@ All constants are importable from [`src/constants.ts`](src/constants.ts).
900
900
  | **Min fee** | `30` bps (0.30 %) — enforced on-chain by `MIN_FEE` |
901
901
  | **Default slippage** | `50` bps (0.50 %) |
902
902
  | **Swap API base** | `https://quote.switch.win` |
903
- | **Limit Order API base** | `https://api.switch.win` |
903
+ | **Limit Order API base** | `https://quote.switch.win` |
904
904
 
905
905
  ---
906
906
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@switch-win/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official integration kit for the Switch DEX Aggregator on PulseChain — types, constants, ABIs, limit orders, and examples",
5
5
  "author": "BuildTheTech",
6
6
  "license": "MIT",
package/src/constants.ts CHANGED
@@ -65,7 +65,7 @@ export const SWITCH_PLS_FLOW = "0x0fD3fD40F06159606165F21047B83136172273E3";
65
65
  // ── Limit Order API endpoints ───────────────────────────────────────────────
66
66
 
67
67
  /** Base URL for the Switch backend API (limit orders) */
68
- export const LIMIT_ORDER_API_BASE = "https://api.switch.win";
68
+ export const LIMIT_ORDER_API_BASE = "https://quote.switch.win";
69
69
 
70
70
  /** Limit orders REST endpoint */
71
71
  export const LIMIT_ORDERS_ENDPOINT = `${LIMIT_ORDER_API_BASE}/limit-orders`;