opensips-js 0.1.0 → 0.1.2

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
@@ -10,7 +10,7 @@ navigation:
10
10
  ## Installation
11
11
  ### Using npm:
12
12
  ```shell[Terminal]
13
- $ npm i @voicenter-team/opensips-js
13
+ $ npm i opensips-js
14
14
  ```
15
15
 
16
16
  ### Using via CDN:
@@ -18,7 +18,7 @@ You can include the OpensipsJS library directly in your HTML file using a CDN li
18
18
 
19
19
  Add the following script tag to your HTML file:
20
20
  ```html [index.html]
21
- <script src="https://cdn.opensipsjs.org/opensipsjs/v1.0.96/opensips-js.iife.js"></script>
21
+ <script src="https://cdn.opensipsjs.org/opensipsjs/v0.1.1/opensips-js.iife.js"></script>
22
22
  ```
23
23
  This will load the library and attach the OpensipsJS class to the global window object as OpensipsJS.
24
24
 
@@ -26,7 +26,7 @@ This will load the library and attach the OpensipsJS class to the global window
26
26
  ### Using npm (ES Modules):
27
27
  Firstly lets import the library and create the OpenSIPS instance:
28
28
  ```javascript [file.js]
29
- import OpenSIPSJS from '@voicenter-team/opensips-js'
29
+ import OpenSIPSJS from 'opensips-js'
30
30
 
31
31
  const openSIPSJS = new OpenSIPSJS({
32
32
  configuration: {
@@ -68,7 +68,7 @@ After including the script via CDN, you can access the OpensipsJS class directly
68
68
  </head>
69
69
  <body>
70
70
  <!-- Include the library via CDN -->
71
- <script src="https://cdn.opensipsjs.org/opensipsjs/v1.0.96/opensips-js.iife.js"></script>
71
+ <script src="https://cdn.opensipsjs.org/opensipsjs/v0.1.1/opensips-js.iife.js"></script>
72
72
 
73
73
  <script>
74
74
  // Create an instance of OpensipsJS
@@ -116,9 +116,7 @@ If you prefer using ES modules in the browser and your environment supports them
116
116
  </head>
117
117
  <body>
118
118
  <script type="module">
119
- import OpensipsJS from 'https://cdn.opensipsjs.org/opensipsjs/v1.0.96/opensips-js.es.js';
120
- // Or using jsDelivr
121
- // import OpensipsJS from 'https://cdn.jsdelivr.net/npm/@voicenter-team/opensips-js/dist/opensips-js.es.js';
119
+ import OpensipsJS from 'https://cdn.opensipsjs.org/opensipsjs/v0.1.1/opensips-js.es.js';\
122
120
 
123
121
  const opensipsJS = new OpensipsJS({
124
122
  configuration: {