@riocrypto/common-server 1.0.2638 → 1.0.2641

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.
@@ -1,4 +1,4 @@
1
- import { APIKey, AuthRole, SecurityQuestion, AuthPermission, AuthKYCStatus } from "@riocrypto/common";
1
+ import { APIKey, AuthRole, SecurityQuestion, AuthPermission } from "@riocrypto/common";
2
2
  import { Mongoose, Model, Document } from "mongoose";
3
3
  interface AuthAttrs {
4
4
  phoneNumber: string;
@@ -28,7 +28,6 @@ interface AuthAttrs {
28
28
  secondLastName?: string;
29
29
  role?: AuthRole;
30
30
  permissions?: AuthPermission[];
31
- KYCStatus: AuthKYCStatus;
32
31
  }
33
32
  interface AuthDoc extends Document {
34
33
  phoneNumber: string;
@@ -58,7 +57,6 @@ interface AuthDoc extends Document {
58
57
  secondLastName?: string;
59
58
  role?: AuthRole;
60
59
  permissions?: AuthPermission[];
61
- KYCStatus: AuthKYCStatus;
62
60
  }
63
61
  interface AuthModel extends Model<AuthDoc> {
64
62
  build(attrs: AuthAttrs): AuthDoc;
@@ -87,9 +87,14 @@ const buildAuth = (mongoose) => {
87
87
  type: String,
88
88
  },
89
89
  ],
90
- KYCStatus: {
91
- type: String,
92
- },
90
+ // KYC: {
91
+ // status: {
92
+ // type: String,
93
+ // },
94
+ // AiPriseUserVerificationSessionUrl: {
95
+ // type: String,
96
+ // },
97
+ // },
93
98
  apiKeys: [
94
99
  {
95
100
  value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2638",
3
+ "version": "1.0.2641",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2443",
31
+ "@riocrypto/common": "^1.0.2444",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",