@riocrypto/common-server 1.0.1708 → 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.
@@ -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.1708",
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",