@riocrypto/common-server 1.0.724 → 1.0.726

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.
@@ -26,6 +26,7 @@ interface UserAttrs {
26
26
  COIFile?: string;
27
27
  KYCReportFile?: string;
28
28
  authorizedPhoneNumbers?: string[];
29
+ notificationUrl?: string;
29
30
  }
30
31
  interface UserModel extends Model<UserDoc> {
31
32
  build(attrs: UserAttrs): UserDoc;
@@ -57,6 +58,7 @@ interface UserDoc extends Document {
57
58
  COIFile?: string;
58
59
  KYCReportFile?: string;
59
60
  authorizedPhoneNumbers?: string[];
61
+ notificationUrl?: string;
60
62
  }
61
63
  declare const buildUser: (mongoose: Mongoose) => UserModel;
62
64
  export { buildUser, UserDoc };
@@ -110,6 +110,9 @@ const buildUser = (mongoose) => {
110
110
  type: String,
111
111
  },
112
112
  ],
113
+ notificationUrl: {
114
+ type: String,
115
+ },
113
116
  }, {
114
117
  toJSON: {
115
118
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.724",
3
+ "version": "1.0.726",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@everapi/currencyapi-js": "^1.0.6",
26
26
  "@google-cloud/storage": "^6.9.5",
27
- "@riocrypto/common": "^1.0.643",
27
+ "@riocrypto/common": "^1.0.645",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",