@awadheshs109/billing 1.0.15 → 1.0.27

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.
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
-
2
- ```
3
- zentris-billing
4
- ├─ examples
5
- │ ├─ angular
6
- │ ├─ javascript
7
- │ ├─ node
8
- │ └─ react
9
- ├─ package-lock.json
10
- ├─ package.json
11
- ├─ src
12
- │ ├─ constants
13
- │ ├─ core
14
- │ ├─ models
15
- │ └─ utils
16
- └─ tests
17
-
1
+
2
+ ```
3
+ zentris-billing
4
+ ├─ examples
5
+ │ ├─ angular
6
+ │ ├─ javascript
7
+ │ ├─ node
8
+ │ └─ react
9
+ ├─ package-lock.json
10
+ ├─ package.json
11
+ ├─ src
12
+ │ ├─ constants
13
+ │ ├─ core
14
+ │ ├─ models
15
+ │ └─ utils
16
+ └─ tests
17
+
18
18
  ```
package/dist/index.d.mts CHANGED
@@ -53,6 +53,7 @@ declare class Billing {
53
53
  static calculateDiscount: typeof calculateDiscount;
54
54
  static formatCurrency: typeof formatCurrency;
55
55
  static createInvoice: typeof createInvoice;
56
+ static getVersion(): string;
56
57
  }
57
58
 
58
59
  declare class BillingError extends Error {
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ declare class Billing {
53
53
  static calculateDiscount: typeof calculateDiscount;
54
54
  static formatCurrency: typeof formatCurrency;
55
55
  static createInvoice: typeof createInvoice;
56
+ static getVersion(): string;
56
57
  }
57
58
 
58
59
  declare class BillingError extends Error {
package/dist/index.js CHANGED
@@ -201,6 +201,9 @@ function createInvoice(invoice) {
201
201
 
202
202
  // src/core/billing.ts
203
203
  var Billing = class {
204
+ static getVersion() {
205
+ return "1.0.16";
206
+ }
204
207
  };
205
208
  Billing.calculateGST = calculateGST;
206
209
  Billing.calculateTax = calculateTax;
package/dist/index.mjs CHANGED
@@ -161,6 +161,9 @@ function createInvoice(invoice) {
161
161
 
162
162
  // src/core/billing.ts
163
163
  var Billing = class {
164
+ static getVersion() {
165
+ return "1.0.16";
166
+ }
164
167
  };
165
168
  Billing.calculateGST = calculateGST;
166
169
  Billing.calculateTax = calculateTax;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awadheshs109/billing",
3
- "version": "1.0.15",
3
+ "version": "1.0.27",
4
4
  "description": "Framework-independent TypeScript billing library for Angular, React, Vue, Node.js and JavaScript projects",
5
5
  "author": "Awadhesh Sharma",
6
6
  "license": "MIT",