@riocrypto/common-server 1.0.1707 → 1.0.1709

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.
@@ -8,7 +8,7 @@ interface UserAttrs {
8
8
  middleName?: string;
9
9
  lastName: string;
10
10
  secondLastName?: string;
11
- birthday: Date;
11
+ birthday?: Date;
12
12
  };
13
13
  businessData?: {
14
14
  businessName: string;
@@ -19,7 +19,7 @@ interface UserAttrs {
19
19
  };
20
20
  risk: RiskTier;
21
21
  type: UserType;
22
- phoneNumber: string;
22
+ phoneNumber?: string;
23
23
  email: string;
24
24
  hasPassedEDD: boolean;
25
25
  cosignerGroupId?: string;
@@ -119,7 +119,7 @@ interface UserDoc extends Document {
119
119
  middleName?: string;
120
120
  lastName: string;
121
121
  secondLastName?: string;
122
- birthday: Date;
122
+ birthday?: Date;
123
123
  };
124
124
  businessData?: {
125
125
  businessName: string;
@@ -130,7 +130,7 @@ interface UserDoc extends Document {
130
130
  };
131
131
  risk: RiskTier;
132
132
  type: UserType;
133
- phoneNumber: string;
133
+ phoneNumber?: string;
134
134
  email: string;
135
135
  hasPassedEDD: boolean;
136
136
  cosignerGroupId?: string;
@@ -22,7 +22,6 @@ const buildUser = (mongoose) => {
22
22
  },
23
23
  phoneNumber: {
24
24
  type: String,
25
- required: true,
26
25
  },
27
26
  email: {
28
27
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1707",
3
+ "version": "1.0.1709",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@google-cloud/secret-manager": "^5.3.0",
27
27
  "@google-cloud/storage": "^6.9.5",
28
28
  "@hyperdx/node-opentelemetry": "^0.4.2",
29
- "@riocrypto/common": "^1.0.1501",
29
+ "@riocrypto/common": "^1.0.1502",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",