Comparing version 4.0.2 to 4.0.3
@@ -14,3 +14,6 @@ 'use strict'; | ||
this.address = address; | ||
this.args = args; | ||
this.args = []; | ||
args.forEach((arg) => { | ||
this.append(arg); | ||
}); | ||
} | ||
@@ -17,0 +20,0 @@ |
{ | ||
"name": "node-osc", | ||
"description": "pyOSC inspired library", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -30,6 +30,6 @@ 'use strict'; | ||
const client = new osc.Client('0.0.0.0', 3333); | ||
const m = new osc.Message('/address', 'testing', 123); | ||
const m = new osc.Message('/address', 'testing', 123, true); | ||
oscServer.on('message', (msg) => { | ||
const expected = ['/address', 'testing', 123]; | ||
const expected = ['/address', 'testing', 123, true]; | ||
t.deepEqual(msg, expected, `We reveived the payload: ${msg}`); | ||
@@ -36,0 +36,0 @@ oscServer.close(); |
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
48049
752