@dascompany/product 1.0.0 → 1.0.1

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.
@@ -29,9 +29,9 @@ export default class ProductsSchema {
29
29
  this.connection = connection;
30
30
  }
31
31
  get statusTypes() {
32
- if (!this.tables.get(TableNames.products))
33
- this.tables.set(TableNames.products, new StatusTypesTable(this.connection));
34
- return this.tables.get(TableNames.products);
32
+ if (!this.tables.get(TableNames.statusTypes))
33
+ this.tables.set(TableNames.statusTypes, new StatusTypesTable(this.connection));
34
+ return this.tables.get(TableNames.statusTypes);
35
35
  }
36
36
  get files() {
37
37
  if (!this.tables.get(TableNames.files))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "vitest",