New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xmpp/client-core

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmpp/client-core - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

24

index.js

@@ -18,6 +18,7 @@ const Connection = require('@xmpp/connection')

}
super.send(element, ...args)
return super.send(element, ...args)
}
connect (uri) {
this.connectOptions = uri
let params

@@ -36,3 +37,3 @@ const Transport = this.transports.find(Transport => {

'feature', 'element', 'stanza', 'send',
'nonza', 'fragment', 'online', 'ready',
'nonza', 'fragment', 'online',
'authenticated', 'authenticate'

@@ -43,13 +44,18 @@ ].forEach(e => {

return sock.connect(uri)
.then(() => {
this.uri = uri
return params
})
return sock.connect(params)
}
open (...args) {
return this.socket.open(...args)
write (...args) {
return this.socket.write(...args)
}
open (options) {
this.openOptions = options
return this.socket.open(options)
}
restart (...args) {
return this.socket.restart(...args)
}
close (...args) {

@@ -56,0 +62,0 @@ return this.socket.close(...args)

@@ -6,7 +6,7 @@ {

"bugs": "http://github.com/node-xmpp/node-xmpp/issues",
"version": "0.0.1",
"version": "0.0.2",
"license": "ISC",
"dependencies": {
"@xmpp/connection": "^0.0.5"
"@xmpp/connection": "^0.0.6"
}
}
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