Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mercuryworkshop/wisp-client-js

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercuryworkshop/wisp-client-js - npm Package Compare versions

Comparing version 1.1.0 to 1.2.1

example.mjs

12

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc