@riocrypto/common 1.0.446 → 1.0.447

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.
@@ -12,5 +12,5 @@ interface KushkiPaymentDoc extends mongoose.Document {
12
12
  interface KushkiPaymentModel extends mongoose.Model<KushkiPaymentDoc> {
13
13
  build(attrs: KushkiPaymentAttrs): KushkiPaymentDoc;
14
14
  }
15
- declare const buildKushkiPayment: (mongoose: typeof mongoose) => KushkiPaymentModel | undefined;
15
+ declare const buildKushkiPayment: (mongoose: typeof mongoose) => KushkiPaymentModel;
16
16
  export { buildKushkiPayment, KushkiPaymentDoc };
@@ -32,5 +32,6 @@ const buildKushkiPayment = (mongoose) => {
32
32
  return new KushkiPayment(attrs);
33
33
  };
34
34
  const KushkiPayment = mongoose.model("KushkiPayment", KushkiPaymentSchema);
35
+ return KushkiPayment;
35
36
  };
36
37
  exports.buildKushkiPayment = buildKushkiPayment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.446",
3
+ "version": "1.0.447",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",