@riocrypto/common-server 1.0.1039 → 1.0.1041

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.
@@ -48,7 +48,7 @@ class ClusterClient {
48
48
  markup: quote.markup,
49
49
  noMarkups: quote.noMarkups,
50
50
  });
51
- return response.data.balance;
51
+ return response.data;
52
52
  });
53
53
  }
54
54
  getBalance(asset) {
@@ -19,6 +19,7 @@ interface QuoteAttrs {
19
19
  createdAt: Date;
20
20
  noMarkups: boolean;
21
21
  quoteInCrypto: boolean;
22
+ reissueAfterExpiration: boolean;
22
23
  depositAddress?: string;
23
24
  brokerId?: string;
24
25
  conversionRateUSD: number;
@@ -45,6 +46,7 @@ interface QuoteDoc extends Document {
45
46
  price: number;
46
47
  quoteInCrypto: boolean;
47
48
  noMarkups: boolean;
49
+ reissueAfterExpiration: boolean;
48
50
  depositAddress?: string;
49
51
  brokerId?: string;
50
52
  conversionRateUSD: number;
@@ -103,6 +103,9 @@ const buildQuote = (mongoose) => {
103
103
  quoteInCrypto: {
104
104
  type: Boolean,
105
105
  },
106
+ reissueAfterExpiration: {
107
+ type: Boolean,
108
+ },
106
109
  }, {
107
110
  toJSON: {
108
111
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1039",
3
+ "version": "1.0.1041",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@everapi/currencyapi-js": "^1.0.6",
26
26
  "@google-cloud/storage": "^6.9.5",
27
- "@riocrypto/common": "^1.0.896",
27
+ "@riocrypto/common": "^1.0.898",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",