@riocrypto/common 1.0.2169 → 1.0.2171
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/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/types/order.d.ts +2 -2
- package/build/types/{price-execution-type.d.ts → price-type.d.ts} +1 -1
- package/build/types/price-type.js +8 -0
- package/build/types/quote.d.ts +2 -0
- package/package.json +1 -1
- package/build/types/price-execution-type.js +0 -8
package/build/index.d.ts
CHANGED
|
@@ -364,6 +364,7 @@ export * from "./types/crypto-payout-failure-reason";
|
|
|
364
364
|
export * from "./types/auth-permission";
|
|
365
365
|
export * from "./types/two-way-settlement-type";
|
|
366
366
|
export * from "./types/deferred-payment-type";
|
|
367
|
+
export * from "./types/price-type";
|
|
367
368
|
export * from "./classes/KYCFieldClass";
|
|
368
369
|
export * from "./classes/KYCFileClass";
|
|
369
370
|
export * from "./classes/CountryAsset";
|
package/build/index.js
CHANGED
|
@@ -380,6 +380,7 @@ __exportStar(require("./types/crypto-payout-failure-reason"), exports);
|
|
|
380
380
|
__exportStar(require("./types/auth-permission"), exports);
|
|
381
381
|
__exportStar(require("./types/two-way-settlement-type"), exports);
|
|
382
382
|
__exportStar(require("./types/deferred-payment-type"), exports);
|
|
383
|
+
__exportStar(require("./types/price-type"), exports);
|
|
383
384
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
384
385
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
385
386
|
__exportStar(require("./classes/CountryAsset"), exports);
|
package/build/types/order.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { PayoutMethod } from "./payout-method";
|
|
|
11
11
|
import { OrderAttribute } from "./order-attribute";
|
|
12
12
|
import { DeferredPaymentType } from "./deferred-payment-type";
|
|
13
13
|
import { TwoWaySettlementType } from "./two-way-settlement-type";
|
|
14
|
-
import {
|
|
14
|
+
import { PriceType } from "./price-type";
|
|
15
15
|
export interface Order {
|
|
16
16
|
id: string;
|
|
17
17
|
quoteId: string;
|
|
@@ -20,7 +20,7 @@ export interface Order {
|
|
|
20
20
|
crypto: Crypto;
|
|
21
21
|
side: Side;
|
|
22
22
|
fiat: Fiat;
|
|
23
|
-
|
|
23
|
+
priceType: PriceType;
|
|
24
24
|
paymentMethod?: PaymentMethod;
|
|
25
25
|
payoutMethod?: PayoutMethod;
|
|
26
26
|
status: OrderStatus;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PriceType = void 0;
|
|
4
|
+
var PriceType;
|
|
5
|
+
(function (PriceType) {
|
|
6
|
+
PriceType["Market"] = "market";
|
|
7
|
+
PriceType["Limit"] = "limit";
|
|
8
|
+
})(PriceType = exports.PriceType || (exports.PriceType = {}));
|
package/build/types/quote.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { Processor } from "./processor";
|
|
|
10
10
|
import { Side } from "./side";
|
|
11
11
|
import { USState } from "./us-state";
|
|
12
12
|
import { TwoWaySettlementType } from "./two-way-settlement-type";
|
|
13
|
+
import { PriceType } from "./price-type";
|
|
13
14
|
export interface Quote {
|
|
14
15
|
id?: string;
|
|
15
16
|
userId: string;
|
|
@@ -17,6 +18,7 @@ export interface Quote {
|
|
|
17
18
|
side: Side;
|
|
18
19
|
fiat: Fiat;
|
|
19
20
|
createdAt: Date;
|
|
21
|
+
priceType: PriceType;
|
|
20
22
|
quoteInCrypto: boolean;
|
|
21
23
|
paymentMethod?: PaymentMethod;
|
|
22
24
|
payoutMethod?: PayoutMethod;
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PriceExecutionType = void 0;
|
|
4
|
-
var PriceExecutionType;
|
|
5
|
-
(function (PriceExecutionType) {
|
|
6
|
-
PriceExecutionType["Market"] = "market";
|
|
7
|
-
PriceExecutionType["Limit"] = "limit";
|
|
8
|
-
})(PriceExecutionType = exports.PriceExecutionType || (exports.PriceExecutionType = {}));
|