rerobe-js-orm 2.4.95 → 2.4.96

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.
@@ -309,7 +309,10 @@ class ProductStateManager extends Base_1.default {
309
309
  if (status.includes(ProductStateManager.PRODUCT_STATES.clearance)) {
310
310
  return this.state.toClearance();
311
311
  }
312
- return this.state.toListed();
312
+ if (status.includes(ProductStateManager.PRODUCT_STATES.listed)) {
313
+ return this.state.toListed();
314
+ }
315
+ return this.state.toSold();
313
316
  }
314
317
  toLoading() {
315
318
  this.state.toLoading();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.4.95",
3
+ "version": "2.4.96",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",