@riocrypto/common-server 1.0.1834 → 1.0.1836

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.
@@ -53,14 +53,14 @@ interface OrderAttrs {
53
53
  attributes?: OrderAttribute[];
54
54
  settleBy?: Date;
55
55
  originOfFunds?: {
56
- blockchainAddresses?: string[];
56
+ blockchainAddress?: string;
57
57
  accountHolderName?: string;
58
58
  accountNumber?: string;
59
59
  CCI?: string;
60
60
  CLABE?: string;
61
61
  };
62
62
  destinationOfFunds?: {
63
- blockchainAddress?: string[];
63
+ blockchainAddress?: string;
64
64
  accountHolderName?: string;
65
65
  accountNumber?: string;
66
66
  CCI?: string;
@@ -120,14 +120,14 @@ interface OrderDoc extends Document {
120
120
  attributes?: OrderAttribute[];
121
121
  settleBy?: Date;
122
122
  originOfFunds?: {
123
- blockchainAddresses?: string[];
123
+ blockchainAddresses?: string;
124
124
  accountHolderName?: string;
125
125
  accountNumber?: string;
126
126
  CCI?: string;
127
127
  CLABE?: string;
128
128
  };
129
129
  destinationOfFunds?: {
130
- blockchainAddress?: string[];
130
+ blockchainAddress?: string;
131
131
  accountHolderName?: string;
132
132
  accountNumber?: string;
133
133
  CCI?: string;
@@ -232,11 +232,9 @@ const buildOrder = (mongoose) => {
232
232
  },
233
233
  ],
234
234
  originOfFunds: {
235
- blockchainAddresses: [
236
- {
237
- type: String,
238
- },
239
- ],
235
+ blockchainAddresses: {
236
+ type: String,
237
+ },
240
238
  accountHolderName: {
241
239
  type: String,
242
240
  },
@@ -251,11 +249,9 @@ const buildOrder = (mongoose) => {
251
249
  },
252
250
  },
253
251
  destinationOfFunds: {
254
- blockchainAddress: [
255
- {
256
- type: String,
257
- },
258
- ],
252
+ blockchainAddress: {
253
+ type: String,
254
+ },
259
255
  accountHolderName: {
260
256
  type: String,
261
257
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1834",
3
+ "version": "1.0.1836",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",