@xoxno/sdk-js 1.0.107 → 1.0.110

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.
@@ -26,6 +26,13 @@ export interface StellarBatchSwapBuilderOptions extends StellarBuilderOptions {
26
26
  * `splitPpm`. For a quote-derived swap, pass `quote.amountIn`.
27
27
  */
28
28
  totalIn: string;
29
+ /**
30
+ * Referral identifier embedded into the BatchSwap. Defaults to `0`
31
+ * (no referral / no fee — matches rs-aggregator MVX semantics).
32
+ * Non-zero IDs MUST be registered on-chain via `add_referral` or the
33
+ * router reverts at execution.
34
+ */
35
+ referralId?: number | string;
29
36
  }
30
37
  /**
31
38
  * Build an unsigned XDR for a direct user → aggregator router swap.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.107",
3
+ "version": "1.0.110",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {
@@ -94,6 +94,6 @@
94
94
  "@multiversx/sdk-core": "^15.3.2",
95
95
  "@multiversx/sdk-network-providers": "^2.9.3",
96
96
  "@stellar/stellar-sdk": "^15.0.1",
97
- "@xoxno/types": "^1.0.393"
97
+ "@xoxno/types": "^1.0.395"
98
98
  }
99
99
  }