@riocrypto/common-server 1.0.1393 → 1.0.1395

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.
@@ -91,13 +91,13 @@ interface UserAttrs {
91
91
  taxId?: string;
92
92
  usKYCStatus?: "none" | "pending" | "failed" | "approved";
93
93
  KYC?: {
94
- [country in CountryOfOrigin]: {
94
+ [country in CountryOfOrigin]?: {
95
95
  status?: KYCStatus;
96
96
  personalId?: string;
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;
@@ -219,13 +219,13 @@ interface UserDoc extends Document {
219
219
  taxId?: string;
220
220
  usKYCStatus?: "none" | "pending" | "failed" | "approved";
221
221
  KYC?: {
222
- [country in CountryOfOrigin]: {
222
+ [country in CountryOfOrigin]?: {
223
223
  status?: KYCStatus;
224
224
  personalId?: string;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1393",
3
+ "version": "1.0.1395",
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.1214",
30
+ "@riocrypto/common": "^1.0.1217",
31
31
  "@types/express": "^4.17.13",
32
32
  "axios": "^0.27.2",
33
33
  "ccxt": "^3.0.30",