@riocrypto/common 1.0.458 → 1.0.459

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.
@@ -33,7 +33,7 @@ interface OrderAttrs {
33
33
  depositTxId?: string;
34
34
  withdrawalTxId?: string;
35
35
  addressVerified?: boolean;
36
- brokerCustomerId?: string;
36
+ brokerId?: string;
37
37
  }
38
38
  interface OrderDoc extends Document {
39
39
  userId: string;
@@ -58,7 +58,7 @@ interface OrderDoc extends Document {
58
58
  depositTxId?: string;
59
59
  withdrawalTxId?: string;
60
60
  addressVerified?: boolean;
61
- brokerCustomerId?: string;
61
+ brokerId?: string;
62
62
  }
63
63
  interface OrderModel extends Model<OrderDoc> {
64
64
  build(attrs: OrderAttrs): OrderDoc;
@@ -102,7 +102,7 @@ const buildOrder = (mongoose) => {
102
102
  addressVerified: {
103
103
  type: Boolean,
104
104
  },
105
- brokerCustomerId: {
105
+ brokerId: {
106
106
  type: String,
107
107
  },
108
108
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.458",
3
+ "version": "1.0.459",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",