quidax-node 3.0.8 → 3.1.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.d.cts CHANGED
@@ -490,10 +490,10 @@ declare class SwapModule {
490
490
  * @returns A promise resolving to the temporary swap quotation details.
491
491
  */
492
492
  getQuotation(userId: string, data: {
493
- source_currency: Currency;
494
- destination_currency: Currency;
495
- amount: string;
496
- type: "source" | "destination";
493
+ from_currency: Currency;
494
+ to_currency: Currency;
495
+ from_amount: string;
496
+ to_amount: string;
497
497
  }): Promise<QuidaxResponse<any>>;
498
498
  /**
499
499
  * Creates an Instant Swap quotation linked to the user account.
package/dist/index.d.mts CHANGED
@@ -490,10 +490,10 @@ declare class SwapModule {
490
490
  * @returns A promise resolving to the temporary swap quotation details.
491
491
  */
492
492
  getQuotation(userId: string, data: {
493
- source_currency: Currency;
494
- destination_currency: Currency;
495
- amount: string;
496
- type: "source" | "destination";
493
+ from_currency: Currency;
494
+ to_currency: Currency;
495
+ from_amount: string;
496
+ to_amount: string;
497
497
  }): Promise<QuidaxResponse<any>>;
498
498
  /**
499
499
  * Creates an Instant Swap quotation linked to the user account.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidax-node",
3
- "version": "3.0.8",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "files": [
@@ -45,4 +45,4 @@
45
45
  }
46
46
  }
47
47
  }
48
- }
48
+ }