@riocrypto/common 1.0.453 → 1.0.455

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.
@@ -13,5 +13,5 @@ interface CheckedAddressDoc extends mongoose.Document {
13
13
  interface CheckedAddressModel extends mongoose.Model<CheckedAddressDoc> {
14
14
  build(attrs: CheckedAddressAttrs): CheckedAddressDoc;
15
15
  }
16
- declare const buildCheckedAddress: (mongoose: typeof mongoose) => CheckedAddressModel | undefined;
16
+ declare const buildCheckedAddress: (mongoose: typeof mongoose) => CheckedAddressModel;
17
17
  export { buildCheckedAddress, CheckedAddressDoc };
@@ -32,5 +32,6 @@ const buildCheckedAddress = (mongoose) => {
32
32
  return new CheckedAddress(attrs);
33
33
  };
34
34
  const CheckedAddress = mongoose.model("CheckedAddress", CheckedAddressSchema);
35
+ return CheckedAddress;
35
36
  };
36
37
  exports.buildCheckedAddress = buildCheckedAddress;
@@ -8,6 +8,7 @@ import { PayoutMethod } from "../types/payout-method";
8
8
  import { Processor } from "../types/processor";
9
9
  import { Side } from "../types/side";
10
10
  import { USState } from "../types/us-state";
11
+ import { Crypto } from "../types/crypto";
11
12
  import { Mongoose, Model, Document } from "mongoose";
12
13
  interface OrderAttrs {
13
14
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.453",
3
+ "version": "1.0.455",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",