@riocrypto/common-server 1.0.1835 → 1.0.1837

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,7 +53,7 @@ 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;
@@ -120,7 +120,7 @@ interface OrderDoc extends Document {
120
120
  attributes?: OrderAttribute[];
121
121
  settleBy?: Date;
122
122
  originOfFunds?: {
123
- blockchainAddresses?: string[];
123
+ blockchainAddress?: string;
124
124
  accountHolderName?: string;
125
125
  accountNumber?: string;
126
126
  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
+ blockchainAddress: {
236
+ type: String,
237
+ },
240
238
  accountHolderName: {
241
239
  type: String,
242
240
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1835",
3
+ "version": "1.0.1837",
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.1643",
29
+ "@riocrypto/common": "^1.0.1645",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",