Skip to content

Commit

Permalink
Merge pull request #43 from thinger-io/develop
Browse files Browse the repository at this point in the history
Release version 1.6.1
  • Loading branch information
bautisflow committed Nov 29, 2023
2 parents 22823ce + b4f5d60 commit fd92316
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.6.1] - 2023-11-30

### Fixed

- Asset iterator node ignoring asset id

## [1.6.0] - 2023-11-29

### Added
Expand Down Expand Up @@ -245,6 +251,7 @@ All notable changes to this project will be documented in this file.

## [0.0.6] - 2019-06-20

[1.6.1]: https://github.com/thinger-io/Node-RED/compare/1.6.0...1.6.1
[1.6.0]: https://github.com/thinger-io/Node-RED/compare/1.5.1...1.6.0
[1.5.1]: https://github.com/thinger-io/Node-RED/compare/1.5.0...1.5.1
[1.5.0]: https://github.com/thinger-io/Node-RED/compare/1.4.3...1.5.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-red-contrib-thinger

[![NPM Version](https://img.shields.io/static/v1?label=npm&message=v1.6.0&color=blue&style=flat)](https://www.npmjs.com/package/node-red-contrib-thinger)
[![NPM Version](https://img.shields.io/static/v1?label=npm&message=v1.6.1&color=blue&style=flat)](https://www.npmjs.com/package/node-red-contrib-thinger)

![Node-RED and Thinger.io Integration](./images/laptop.png "Thinger.io web console with Node-RED plugin and ad-hoc nodes")

Expand Down
3 changes: 2 additions & 1 deletion nodes/asset-iterator.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
: asset (string) : the type of asset.
: asset_filter (string) : the filter of the assets to match.
: *asset_type* (string) : the type of thinger asset.
: *asset_group* (string) : the type of thinger group.
: *asset_group* (string) : the group of thinger asset.
: *project* (string) : the project of thinger asset.
: *rate* (int) : the number of seconds between each message.
: *rate_units* (string) : the units to interpret the rate value (s or ms).

Expand Down
2 changes: 1 addition & 1 deletion nodes/asset-iterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function(RED) {
node.rate = (rateUnits === 's') ? parseInt(node.rate)*1000 : parseInt(node.rate);

const queryParameters = new Map();
queryParameters.set('filter',config.filter || msg.asset_filter);
queryParameters.set('name',config.filter || msg.asset_filter || "");
queryParameters.set('count',config.count || msg.count);
queryParameters.set('asset_type',config.assetType || msg.asset_type);
queryParameters.set('asset_group',config.assetGroup || msg.asset_group);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-thinger",
"version": "1.6.0",
"version": "1.6.1-alpha.2",
"description": "Node-Red library for Thinger.io Platform",
"keywords": [
"node-red",
Expand All @@ -13,7 +13,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thinger-io/Node-RED"
"url": "https://marketplace.thinger.io/plugins/node-red/"
},
"dependencies": {
"ws": ">=8.14.2",
Expand Down

0 comments on commit fd92316

Please sign in to comment.