@riocrypto/common-server 1.0.2700 → 1.0.2702

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.
@@ -119,6 +119,13 @@ interface UserAttrs {
119
119
  };
120
120
  };
121
121
  };
122
+ transactionLimits?: {
123
+ [country in Country]?: {
124
+ daily?: number;
125
+ weekly?: number;
126
+ monthly?: number;
127
+ };
128
+ };
122
129
  }
123
130
  interface UserModel extends Model<UserDoc> {
124
131
  build(attrs: UserAttrs): UserDoc;
@@ -272,6 +279,13 @@ interface UserDoc extends Document {
272
279
  };
273
280
  };
274
281
  };
282
+ transactionLimits?: {
283
+ [country in Country]?: {
284
+ daily?: number;
285
+ weekly?: number;
286
+ monthly?: number;
287
+ };
288
+ };
275
289
  }
276
290
  declare const buildUser: (mongoose: Mongoose) => UserModel;
277
291
  export { buildUser, UserDoc, UserAttrs };
@@ -352,6 +352,9 @@ const buildUser = (mongoose) => {
352
352
  TWAP: {
353
353
  type: Object,
354
354
  },
355
+ transactionLimits: {
356
+ type: Object,
357
+ },
355
358
  }, {
356
359
  toJSON: {
357
360
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2700",
3
+ "version": "1.0.2702",
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.2500",
31
+ "@riocrypto/common": "^1.0.2503",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",