Skip to content

Version 0.6.0 #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Aug 18, 2020
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
060d05c
Import node-red lib + massive refactoring
pirropirro Jun 15, 2020
dfc2b1d
Enable API Connection
pirropirro Jun 16, 2020
783cbff
Set config file
pirropirro Jun 16, 2020
f8e664f
Refactor w/ HttpClient
pirropirro Jun 16, 2020
dc0a1a1
Add encode uri
pirropirro Jun 16, 2020
9490c9a
Replace body on request
pirropirro Jun 16, 2020
ee5c876
Remove useless stringify
pirropirro Jun 16, 2020
ed691ef
Fix minor bug
pirropirro Jun 16, 2020
13c2a49
Fix typings
pirropirro Jun 16, 2020
2a9b541
Fixed test
pirropirro Jun 17, 2020
e5325f7
Fix tests
pirropirro Jun 17, 2020
b3bebc3
Bump beta version
pirropirro Jun 17, 2020
3362cf7
Rename
pirropirro Jun 17, 2020
8344fe3
Bump version
pirropirro Jun 17, 2020
df79564
Add default
pirropirro Jun 17, 2020
79fe50c
Fix minor bugs
pirropirro Jun 18, 2020
2432767
Remove default export
pirropirro Jun 18, 2020
509b194
Lint
pirropirro Jun 18, 2020
2b54033
Add lint process before build
pirropirro Jun 18, 2020
96917e0
Bump version
pirropirro Jun 18, 2020
4821372
Set useCloudProtocolV2 as true by default
pirropirro Jun 18, 2020
71ce299
Bump version
pirropirro Jun 18, 2020
1bafd8d
Run tests using GitHub actions
Jun 18, 2020
ce875a4
Update readme and add example (#234)
Jun 18, 2020
2367ab6
Add lint before run test
pirropirro Jun 18, 2020
a29c362
Merge pull request #236 from arduino/fmirabito/gh_actions
Jun 18, 2020
f4abbd9
Fix 0 values
pirropirro Jun 19, 2020
aa483f1
Bump version
pirropirro Jun 19, 2020
7a242ff
Fix typo
pirropirro Jun 19, 2020
a90d279
Bump version
pirropirro Jun 19, 2020
8075ba1
Add wildcard on example deps
pirropirro Jun 19, 2020
0c5ab14
Fix mqtt version
pirropirro Aug 14, 2020
3e213fa
Bump version
pirropirro Aug 14, 2020
29c98c3
Remove beta version
pirropirro Aug 18, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix minor bug
  • Loading branch information
pirropirro committed Jun 16, 2020
commit ed691efbb29a088c40e229f2844e93eaaadce23a
2 changes: 1 addition & 1 deletion src/cbor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function getSenML(name: string, value: CloudMessageValue, timestamp: number, use

if (Utils.isObject(value)) return Object.keys(value)
.map((key, i) => parse(value[key], `${name}:${key}`, i === 0 ? timestamp : -1, deviceId))
.map((cborValue) => this.options.useCloudProtocolV2 ? toCloudProtocolV2(cborValue) : cborValue);
.map((cborValue) => useCloudProtocolV2 ? toCloudProtocolV2(cborValue) : cborValue);

let cborValue = parse(value, name, timestamp, deviceId);
if (useCloudProtocolV2) cborValue = toCloudProtocolV2(cborValue);
Expand Down