@cryptorubic/core 1.8.2-alpha.solana.1 → 1.8.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
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/core",
3
- "version": "1.8.2-alpha.solana.1",
3
+ "version": "1.8.2",
4
4
  "dependencies": {
5
5
  "bignumber.js": "9.1.2",
6
6
  "tslib": "*"
@@ -0,0 +1,2 @@
1
+ export declare const PROVIDER_TAGS: readonly ["onlyDeposits", "notDeposits", "onlyPrivate", "notPrivate"];
2
+ export type ProviderTag = (typeof PROVIDER_TAGS)[number];
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PROVIDER_TAGS = void 0;
4
+ exports.PROVIDER_TAGS = ['onlyDeposits', 'notDeposits', 'onlyPrivate', 'notPrivate'];
@@ -1,9 +1,13 @@
1
+ import { ProviderTag } from './provider-tags';
1
2
  import { QuoteOptionsInterface } from './quote-options.interface';
2
3
  import { QuoteTradeInterface } from './quote-trade.interface';
3
4
  export interface QuoteRequestInterface extends QuoteTradeInterface, QuoteOptionsInterface {
4
5
  showFailedRoutes?: boolean;
5
6
  showDangerousRoutes?: boolean;
6
- depositTradeParams?: 'onlyDeposits' | 'noDeposits' | 'all';
7
+ /**
8
+ * used to filter providers in quote requests by specified tags
9
+ */
10
+ providerTags?: ProviderTag[];
7
11
  /**
8
12
  * client ref_code for PrivateMode access
9
13
  */