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

zab

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zab - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/index.js

8

dist/index.d.ts

@@ -1,11 +0,7 @@

declare global {
interface Window {
mqtt: any;
}
}
export type Json = {
[k: string]: any;
};
export declare function connect(url: string, username: string, password: string, cb: (t: string, p: Json) => void): void;
export declare function connect(userName: string, password: string, cb: (t: string, p: Json) => void): Promise<boolean>;
export declare function sub(topic: string): void;
export declare function pub(topic: string, payload: Json): void;
export declare const genId: () => string;
{
"name": "zab",
"version": "0.0.3",
"version": "0.0.4",
"description": "zab tools",

@@ -16,2 +16,3 @@ "author": "evanfeenstra",

"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
"terser-webpack-plugin": "^5.3.9",

@@ -22,3 +23,6 @@ "ts-loader": "^9.4.4",

"webpack-cli": "^5.1.4"
},
"dependencies": {
"paho-mqtt": "^1.1.0"
}
}
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