@riocrypto/common-server 1.0.1268 → 1.0.1269

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,9 +1,10 @@
1
- import { CircleChain } from "@riocrypto/common";
1
+ import { CircleChain, Crypto } from "@riocrypto/common";
2
2
  import { Mongoose, Model, Document } from "mongoose";
3
3
  interface CircleAddressBookRecipientAttrs {
4
4
  createdAt: Date;
5
5
  userId: string;
6
6
  circleRecipientId: string;
7
+ crypto: Crypto;
7
8
  address: string;
8
9
  chain: CircleChain;
9
10
  status: "pending" | "inactive" | "active" | "denied";
@@ -12,6 +13,7 @@ interface CircleAddressBookRecipientDoc extends Document {
12
13
  createdAt: Date;
13
14
  userId: string;
14
15
  circleRecipientId: string;
16
+ crypto: Crypto;
15
17
  address: string;
16
18
  chain: CircleChain;
17
19
  status: "pending" | "inactive" | "active" | "denied";
@@ -19,6 +19,10 @@ const buildCircleAddressBookRecipient = (mongoose) => {
19
19
  type: String,
20
20
  required: true,
21
21
  },
22
+ crypto: {
23
+ type: String,
24
+ required: true,
25
+ },
22
26
  chain: {
23
27
  type: String,
24
28
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1268",
3
+ "version": "1.0.1269",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",