opentok / opentok-node

OpenTok Server SDK for node.js
MIT License
164 stars 167 forks source link

Added Publisher Only role #313

Closed dragonmantank closed 7 months ago

dragonmantank commented 1 year ago

What is this PR doing?

Adding the new "publisher-only" role for token generation

How should this be manually tested?

This will be tested with the JS client SDK

What are the relevant tickets?

TBD, but trust me there will be JIRA tickets

codecov[bot] commented 1 year ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (111be34) 63.5% compared to head (cf458b7) 81.5%. Report is 7 commits behind head on main.

Additional details and impacted files | [Files](https://app.codecov.io/gh/opentok/opentok-node/pull/313?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opentok) | Coverage Δ | | |---|---|---| | [lib/render.js](https://app.codecov.io/gh/opentok/opentok-node/pull/313?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opentok#diff-bGliL3JlbmRlci5qcw==) | `19.6% <33.3%> (-2.0%)` | :arrow_down: | | [lib/opentok.js](https://app.codecov.io/gh/opentok/opentok-node/pull/313?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opentok#diff-bGliL29wZW50b2suanM=) | `76.4% <33.3%> (-0.4%)` | :arrow_down: | ... and [7 files with indirect coverage changes](https://app.codecov.io/gh/opentok/opentok-node/pull/313/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opentok)