Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
srware committed May 10, 2023
2 parents 2d4ed7d + 98a9c45 commit ff3ff96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/proxies/iot.spb.mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,7 @@ IoTKitSparkplugBCloud.prototype.data = function (devProf,payloadMetric, callback
"metrics" : payloadMetric,
"seq" : incSeqNum()
};
var options = {
retain:false,
qos:0 };
return me.client.publish(topic, payload, options, function(err) {
return me.client.publish(topic, payload, me.pubArgs, function(err) {
if (err) {
return callback("fail");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-iot-service-platform/oisp-sdk-js",
"version": "1.4.1",
"version": "1.4.2",
"description": "OISP SDK for Node.js",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ff3ff96

Please sign in to comment.