@riocrypto/common-server 1.0.637 → 1.0.639
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.
|
@@ -110,7 +110,7 @@ class FireblocksClient {
|
|
|
110
110
|
}
|
|
111
111
|
getTransactions(crypto) {
|
|
112
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
-
let transactions = yield this.fireblocks.
|
|
113
|
+
let transactions = yield this.fireblocks.getTransactionsWithPageInfo({
|
|
114
114
|
assets: crypto,
|
|
115
115
|
});
|
|
116
116
|
return transactions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Country, KYCStatus, Language, PlatformFeeRange, USState, UserAttribute, UserType } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface BusinessUserAttrs {
|
|
4
|
-
|
|
4
|
+
authIds?: string[];
|
|
5
5
|
type: UserType;
|
|
6
6
|
companyName: string;
|
|
7
7
|
legalRepresentative: string;
|
|
@@ -27,7 +27,7 @@ interface BusinessUserModel extends Model<BusinessUserDoc> {
|
|
|
27
27
|
build(attrs: BusinessUserAttrs): BusinessUserDoc;
|
|
28
28
|
}
|
|
29
29
|
interface BusinessUserDoc extends Document {
|
|
30
|
-
|
|
30
|
+
authIds?: string[];
|
|
31
31
|
type: UserType;
|
|
32
32
|
companyName: string;
|
|
33
33
|
legalRepresentative: string;
|
|
@@ -7,9 +7,11 @@ const buildBusinessUser = (mongoose) => {
|
|
|
7
7
|
return mongoose.model("BusinessUser");
|
|
8
8
|
}
|
|
9
9
|
const BusinessUserSchema = new mongoose.Schema({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
authIds: [
|
|
11
|
+
{
|
|
12
|
+
type: String,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
13
15
|
type: {
|
|
14
16
|
type: String,
|
|
15
17
|
required: true,
|