kcommons 1.0.21 → 2.0.0

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,15 +1,6 @@
1
1
  export declare const ITEM_TAX_PREFERENCE: {
2
- NIL_RATED: {
3
- label: string;
4
- gst: number;
5
- };
6
- TAXABLE: {
7
- label: string;
8
- };
9
- EXEMPT: {
10
- label: string;
11
- };
12
- NON_GST: {
13
- label: string;
14
- };
2
+ NIL_RATED: string;
3
+ TAXABLE: string;
4
+ EXEMPT: string;
5
+ NON_GST: string;
15
6
  };
@@ -2,20 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ITEM_TAX_PREFERENCE = void 0;
4
4
  exports.ITEM_TAX_PREFERENCE = {
5
- NIL_RATED: {
6
- label: "Nil-Rated",
7
- gst: 0,
8
- },
9
- TAXABLE: {
10
- // Custom GST
11
- label: "Taxable",
12
- },
13
- EXEMPT: {
14
- // Disable gst field
15
- label: "Exempt",
16
- },
17
- NON_GST: {
18
- // Disable gst field
19
- label: "Exempt",
20
- },
5
+ // gst_perccent set to 0
6
+ NIL_RATED: "Nil-Rated",
7
+ // Custom GST
8
+ TAXABLE: "Taxable",
9
+ // Disable gst field
10
+ EXEMPT: "Exempt",
11
+ // Disable gst field
12
+ NON_GST: "Non-GST",
21
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "1.0.21",
3
+ "version": "2.0.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",