@riocrypto/common-server 1.0.2324 → 1.0.2325

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.
@@ -50,7 +50,9 @@ interface RioSettingsAttrs {
50
50
  };
51
51
  fxExecutionThreshold: number;
52
52
  activeFiatPaymentProcessors: {
53
- [key in Side]: Processor[];
53
+ [Side.Buy]: Processor[];
54
+ [Side.Sell]: Processor[];
55
+ bankAccountVerification: Processor[];
54
56
  };
55
57
  }
56
58
  interface RioSettingsDoc extends mongoose.Document {
@@ -103,7 +105,9 @@ interface RioSettingsDoc extends mongoose.Document {
103
105
  };
104
106
  fxExecutionThreshold: number;
105
107
  activeFiatPaymentProcessors: {
106
- [key in Side]: Processor[];
108
+ [Side.Buy]: Processor[];
109
+ [Side.Sell]: Processor[];
110
+ bankAccountVerification: Processor[];
107
111
  };
108
112
  }
109
113
  interface RioSettingsModel extends mongoose.Model<RioSettingsDoc> {
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildRioSettings = void 0;
4
+ const common_1 = require("@riocrypto/common");
4
5
  const buildRioSettings = (mongoose) => {
5
6
  // if model is already defined, return it
6
7
  if (mongoose.models.RioSettings) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2324",
3
+ "version": "1.0.2325",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",