@mercuryworkshop/wisp-client-js
Advanced tools
Comparing version 1.1.0 to 1.2.1
{ | ||
"name": "@mercuryworkshop/wisp-client-js", | ||
"version": "1.1.0", | ||
"version": "1.2.1", | ||
"description": "A Wisp client implementation, written in Javascript for the use on the web. ", | ||
@@ -15,6 +15,12 @@ "repository": { | ||
"homepage": "https://github.com/MercuryWorkshop/wisp-client-js#readme", | ||
"main": "wisp.js", | ||
"main": "./src/wisp.mjs", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "mkdir -p dist; esbuild --bundle --external:ws --platform=neutral src/wisp.mjs | head -n -6 > dist/wisp.js" | ||
}, | ||
"dependencies": { | ||
"ws": "^8.16.0" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.20.2" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # JavaScript Wisp Client | ||
### Importing the Library: | ||
To use this library, clone this repository and link to `wisp.js` via a script tag. If you want to use the WebSocket API polyfill, then you can also link the `polyfill.js` file. | ||
To use this library on either NodeJS or the browser, import the `wisp.mjs` file. Alternatively, use the `dist/wisp.js` file in the NPM package if you don't want to use an ES6 module. | ||
@@ -11,0 +11,0 @@ ### Connecting to a Wisp Server: |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
52204
7
390
0
1
1
1
+ Addedws@^8.16.0
+ Addedws@8.18.0(transitive)