@riocrypto/common-server 1.0.2407 → 1.0.2408

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.
@@ -65,6 +65,11 @@ interface RioSettingsAttrs {
65
65
  };
66
66
  };
67
67
  };
68
+ holidays: {
69
+ [key in Country]: {
70
+ dates: string[];
71
+ };
72
+ };
68
73
  }
69
74
  interface RioSettingsDoc extends mongoose.Document {
70
75
  platformFee: number;
@@ -130,6 +135,11 @@ interface RioSettingsDoc extends mongoose.Document {
130
135
  };
131
136
  };
132
137
  };
138
+ holidays: {
139
+ [key in Country]: {
140
+ dates: string[];
141
+ };
142
+ };
133
143
  }
134
144
  interface RioSettingsModel extends mongoose.Model<RioSettingsDoc> {
135
145
  build(attrs: RioSettingsAttrs): RioSettingsDoc;
@@ -69,6 +69,9 @@ const buildRioSettings = (mongoose) => {
69
69
  defaultTwoWaySettlementOffsetFee: {
70
70
  type: Object,
71
71
  },
72
+ holidays: {
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.2407",
3
+ "version": "1.0.2408",
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.2138",
31
+ "@riocrypto/common": "^1.0.2141",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",