@riocrypto/common 1.0.2011 → 1.0.2012

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,8 +1,9 @@
1
1
  import { Subjects } from "./subjects";
2
- export interface AxePriceUpdatedEvent {
3
- subject: Subjects.AxePriceUpdated;
2
+ export interface AxeUpdatedEvent {
3
+ subject: Subjects.AxeUpdated;
4
4
  data: {
5
5
  id: string;
6
- price: number;
6
+ netPrice?: number;
7
+ amount?: number;
7
8
  };
8
9
  }
@@ -147,5 +147,5 @@ export declare enum Subjects {
147
147
  AxePartiallyTaken = "axe:partiallyTaken",
148
148
  AxeTaken = "axe:taken",
149
149
  AxeCancelled = "axe:cancelled",
150
- AxePriceUpdated = "axe:priceUpdated"
150
+ AxeUpdated = "axe:updated"
151
151
  }
@@ -151,5 +151,5 @@ var Subjects;
151
151
  Subjects["AxePartiallyTaken"] = "axe:partiallyTaken";
152
152
  Subjects["AxeTaken"] = "axe:taken";
153
153
  Subjects["AxeCancelled"] = "axe:cancelled";
154
- Subjects["AxePriceUpdated"] = "axe:priceUpdated";
154
+ Subjects["AxeUpdated"] = "axe:updated";
155
155
  })(Subjects = exports.Subjects || (exports.Subjects = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2011",
3
+ "version": "1.0.2012",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",