v3.1.0.0
npm ver: 3.1.0
What's Changed
New Features
- Added
jsstp.list_info_t
to handlelist
type SSTP response - Added
jsstp.Get*
index reflector to Execute Get* commands conveniently
const { jsstp } = require('jsstp')
var SSPver=await jsstp.GetShortVersion()
console.log(SSPver)
var names=await jsstp.GetNames()
for(var name of names)
console.log(name)
- Added
jsstp.Set*
index reflector to Execute Set* commands conveniently
const { jsstp } = require('jsstp')
await jsstp.SetCookie('name','value')
- Added
jsstp.command
(getter) to Execute commands conveniently
Breaking Changes
- Removed
base_sstp_info_t.toString()
, use newbase_sstp_info_t.text_content
(getter) instead - Removed
base_sstp_info_t.to_string()
, use newbase_sstp_info_t.text_content
(getter) instead - Changed
new sstp_info_t(info_head: String, info_body: Object, unknown_lines?: String[])
tonew sstp_info_t(text_content: String)
- Removed
sstp_info_t.static from_string()
, usenew sstp_info_t
instead method_caller
now has new methodswith_type
andbind_args_processor
jsstp.get_caller_of_event
&jsstp.get_simple_caller_of_event
renamed tojsstp.get_caller_of_key
&jsstp.get_simple_caller_of_key
with argument list changes
Documentation
- Add language dropdown to docs site by @Gerrit0 in #4
- Japanese translation fixes by @nikolat in #6
- English translation fixes by @Zichqec in #5
Other improvements
- Use packer to further compress dist
- Refactored the dist and dts generation process
New Contributors
Full Changelog: v3.0.0.1...v3.1.0.0