@riocrypto/common-server 1.0.2341 → 1.0.2343

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.
@@ -56,9 +56,7 @@ interface RioSettingsAttrs {
56
56
  bankAccountVerifications: Processor[];
57
57
  };
58
58
  TVFXDataProvider: {
59
- [key in Fiat]: {
60
- [key in Side]?: TVFXDataProvider;
61
- };
59
+ [key in Fiat]: TVFXDataProvider;
62
60
  };
63
61
  }
64
62
  interface RioSettingsDoc extends mongoose.Document {
@@ -115,6 +113,9 @@ interface RioSettingsDoc extends mongoose.Document {
115
113
  [Side.Sell]: Processor[];
116
114
  bankAccountVerifications: Processor[];
117
115
  };
116
+ TVFXDataProvider: {
117
+ [key in Fiat]: TVFXDataProvider;
118
+ };
118
119
  }
119
120
  interface RioSettingsModel extends mongoose.Model<RioSettingsDoc> {
120
121
  build(attrs: RioSettingsAttrs): RioSettingsDoc;
@@ -63,6 +63,9 @@ const buildRioSettings = (mongoose) => {
63
63
  activeFiatPaymentProcessors: {
64
64
  type: Object,
65
65
  },
66
+ TVFXDataProvider: {
67
+ type: Object,
68
+ },
66
69
  }, {
67
70
  toJSON: {
68
71
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2341",
3
+ "version": "1.0.2343",
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.2050",
31
+ "@riocrypto/common": "^1.0.2053",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",