Comparing version 0.0.3 to 0.0.4
@@ -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" | ||
} | ||
} |
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
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
34722
4
57
1
6
+ Addedpaho-mqtt@^1.1.0
+ Addedpaho-mqtt@1.1.0(transitive)