@riocrypto/common-server 1.0.1394 → 1.0.1396

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.
@@ -97,7 +97,7 @@ interface UserAttrs {
97
97
  taxId?: string;
98
98
  files?: {
99
99
  certificateOfIncorporation?: string;
100
- kycReport?: string;
100
+ KYCReport?: string;
101
101
  taxTranscript?: string;
102
102
  proofOfAddress?: string;
103
103
  businessRegistration?: string;
@@ -225,7 +225,7 @@ interface UserDoc extends Document {
225
225
  taxId?: string;
226
226
  files?: {
227
227
  certificateOfIncorporation?: string;
228
- kycReport?: string;
228
+ KYCReport?: string;
229
229
  taxTranscript?: string;
230
230
  proofOfAddress?: string;
231
231
  businessRegistration?: string;
@@ -49,26 +49,21 @@ const buildUser = (mongoose) => {
49
49
  },
50
50
  street1: {
51
51
  type: String,
52
- required: true,
53
52
  },
54
53
  street2: {
55
54
  type: String,
56
55
  },
57
56
  city: {
58
57
  type: String,
59
- required: true,
60
58
  },
61
59
  state: {
62
60
  type: String,
63
- required: true,
64
61
  },
65
62
  postalCode: {
66
63
  type: String,
67
- required: true,
68
64
  },
69
65
  country: {
70
66
  type: String,
71
- required: true,
72
67
  },
73
68
  risk: {
74
69
  type: String,
@@ -108,7 +103,6 @@ const buildUser = (mongoose) => {
108
103
  ],
109
104
  kycStatus: {
110
105
  type: String,
111
- required: true,
112
106
  },
113
107
  brokerId: {
114
108
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1394",
3
+ "version": "1.0.1396",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
29
  "@google-cloud/vision": "^4.0.2",
30
- "@riocrypto/common": "^1.0.1215",
30
+ "@riocrypto/common": "^1.0.1226",
31
31
  "@types/express": "^4.17.13",
32
32
  "axios": "^0.27.2",
33
33
  "ccxt": "^3.0.30",