surflion-service 1.5.0 → 1.5.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.
- package/README.md +9 -3
- package/package.json +3 -2
- package/surflion.js +1865 -0
package/README.md
CHANGED
|
@@ -19,7 +19,13 @@ npm install surflion-service
|
|
|
19
19
|
|
|
20
20
|
## 🔧 Usage
|
|
21
21
|
|
|
22
|
-
###
|
|
22
|
+
### Node.js Environment (Main Entry)
|
|
23
|
+
```javascript
|
|
24
|
+
const SurfLion = require('surflion-service');
|
|
25
|
+
console.log(SurfLion);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Browser Environment (Script Tag)
|
|
23
29
|
```html
|
|
24
30
|
<script src="node_modules/surflion-service/surflion.min.js"></script>
|
|
25
31
|
<script>
|
|
@@ -28,9 +34,9 @@ npm install surflion-service
|
|
|
28
34
|
</script>
|
|
29
35
|
```
|
|
30
36
|
|
|
31
|
-
###
|
|
37
|
+
### ES6 Module
|
|
32
38
|
```javascript
|
|
33
|
-
|
|
39
|
+
import SurfLion from 'surflion-service';
|
|
34
40
|
console.log(SurfLion);
|
|
35
41
|
```
|
|
36
42
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "surflion-service",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "SurfLion WebRTC Service Library with integrated JsSIP for real-time communication",
|
|
5
|
-
"main": "surflion.
|
|
5
|
+
"main": "surflion.js",
|
|
6
6
|
"files": [
|
|
7
|
+
"surflion.js",
|
|
7
8
|
"surflion.min.js"
|
|
8
9
|
],
|
|
9
10
|
"keywords": [
|