@atomsolution/invoice-sdk-api 1.21.0 → 1.22.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ Document *https://stag-invoice-docs.atomsolution.vn/docs/intro*
10
10
  ### NPM Package
11
11
 
12
12
  ```bash
13
- npm install @atomsolution/invoice-sdk-api/api
13
+ npm install @atomsolution/invoice-sdk-api
14
14
  ```
15
15
 
16
16
  ### CDN Usage
@@ -21,7 +21,7 @@ npm install @atomsolution/invoice-sdk-api/api
21
21
  <script src="https://unpkg.com/crypto-js/crypto-js.js"></script>
22
22
 
23
23
  <!-- Include the SDK -->
24
- <script src="https://unpkg.com/@atomsolution/invoice-sdk-api/api@latest/dist/index.umd.js"></script>
24
+ <script src="https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js"></script>
25
25
 
26
26
  <script>
27
27
  // SDK is available as window.InvoiceSDK
@@ -34,7 +34,7 @@ npm install @atomsolution/invoice-sdk-api/api
34
34
  ### ES Modules (Node.js/Modern Browsers)
35
35
 
36
36
  ```typescript
37
- import { Configuration, Provider, InvoiceApi } from '@atomsolution/invoice-sdk-api/api';
37
+ import { Configuration, Provider, InvoiceApi } from '@atomsolution/invoice-sdk-api';
38
38
 
39
39
  const config = new Configuration({
40
40
  provider: Provider.MInvoice,
@@ -48,7 +48,7 @@ const invoiceApi = new InvoiceApi(config);
48
48
  ### CommonJS (Node.js)
49
49
 
50
50
  ```javascript
51
- const { Configuration, Provider, InvoiceApi } = require('@atomsolution/invoice-sdk-api/api');
51
+ const { Configuration, Provider, InvoiceApi } = require('@atomsolution/invoice-sdk-api');
52
52
 
53
53
  const config = new Configuration({
54
54
  provider: Provider.MInvoice,
@@ -62,7 +62,7 @@ const invoiceApi = new InvoiceApi(config);
62
62
  ### Browser UMD
63
63
 
64
64
  ```html
65
- <script src="https://unpkg.com/@atomsolution/invoice-sdk-api/api@latest/dist/index.umd.js"></script>
65
+ <script src="https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js"></script>
66
66
  <script>
67
67
  const { Configuration, Provider, InvoiceApi } = window.InvoiceSDK;
68
68
 
@@ -115,8 +115,8 @@ The package provides multiple build formats:
115
115
 
116
116
  You can use the package directly from CDN services:
117
117
 
118
- - **unpkg**: `https://unpkg.com/@atomsolution/invoice-sdk-api/api@latest/dist/index.umd.js`
119
- - **jsDelivr**: `https://cdn.jsdelivr.net/npm/@atomsolution/invoice-sdk-api/api@latest/dist/index.umd.js`
118
+ - **unpkg**: `https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js`
119
+ - **jsDelivr**: `https://cdn.jsdelivr.net/npm/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js`
120
120
 
121
121
  ## License
122
122
 
package/package.json CHANGED
@@ -50,5 +50,5 @@
50
50
  "types": "./dist/index.d.ts"
51
51
  }
52
52
  },
53
- "version": "1.21.0"
53
+ "version": "1.22.0"
54
54
  }