@riocrypto/common-server 1.0.2709 → 1.0.2710

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.
@@ -72,6 +72,11 @@ interface RioSettingsAttrs {
72
72
  dates: string[];
73
73
  };
74
74
  };
75
+ isMaintenanceModeActive?: {
76
+ [key in Country]?: {
77
+ [key in Side]?: boolean;
78
+ };
79
+ };
75
80
  defaultTWAPSettings: {
76
81
  [key in Country]?: {
77
82
  [key in Fiat]?: {
@@ -156,6 +161,11 @@ interface RioSettingsDoc extends mongoose.Document {
156
161
  dates: string[];
157
162
  };
158
163
  };
164
+ isMaintenanceModeActive?: {
165
+ [key in Country]?: {
166
+ [key in Side]?: boolean;
167
+ };
168
+ };
159
169
  defaultTWAPSettings: {
160
170
  [key in Country]?: {
161
171
  [key in Fiat]?: {
@@ -69,6 +69,9 @@ const buildRioSettings = (mongoose) => {
69
69
  defaultTWAPSettings: {
70
70
  type: Object,
71
71
  },
72
+ isMaintenanceModeActive: {
73
+ type: Object,
74
+ },
72
75
  }, {
73
76
  toJSON: {
74
77
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2709",
3
+ "version": "1.0.2710",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2507",
31
+ "@riocrypto/common": "^1.0.2509",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",