🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@dingrtc/token-generator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dingrtc/token-generator - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+2
-5
package.json
{
"name": "@dingrtc/token-generator",
"version": "1.0.1",
"version": "1.0.2",
"description": "dingRTC token generator",

@@ -18,6 +18,3 @@ "main": "./dist/index.js",

},
"repository": "git@gitlab.alibaba-inc.com:dingtalk-iot/oneRTC.git",
"devDependencies": {
"rollup-plugin-node-builtins": "^2.1.2"
}
"repository": "git@gitlab.alibaba-inc.com:dingtalk-iot/oneRTC.git"
}

@@ -35,8 +35,8 @@ # DingRTC token generator SDK

*/
const token = produce({
appId: 'xxxx',
channelId: 'xxxx',
userId: 'xxxx',
appKey: 'xxxx',
});
const token = produce(
'appId',
'channelId',
'userId',
'appKey',
);
console.log(token)

@@ -43,0 +43,0 @@ ```