Skip to content

Commit d073972

Browse files
committed
打包上传
1 parent 4328787 commit d073972

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

TLSSigAPITest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
var TLSSigAPI = require('./TLSSigAPI');
1+
var TLSSigAPIv2 = require('./TLSSigAPIv2');
22

3-
var api = new TLSSigAPI.Api(1400000000, "5bd2850fff3ecb11d7c805251c51ee463a25727bddc2385f3fa8bfee1bb93b5e");
3+
var api = new TLSSigAPIv2.Api(1400000000, "5bd2850fff3ecb11d7c805251c51ee463a25727bddc2385f3fa8bfee1bb93b5e");
44
var sig = api.genSig("xiaojun", 86400*180);
55
console.log("sig " + sig);
66

File renamed without changes.

package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "tls-sig-api-v2",
3+
"description": "tls-sig-api-v2 适用于腾讯云通信生成用户账号签名。",
4+
"version": "1.0.0",
5+
"main": "TLSSigAPIv2.js",
6+
"author": "weijunyi",
7+
"license": "MIT",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/tencentyun/tls-sig-api-v2-node.git"
11+
},
12+
"keywords": [ "tencent", "im" ],
13+
"bugs": {
14+
"url": "https://github.com/tencentyun/tls-sig-api-v2-node/issues"
15+
},
16+
"homepage": "https://github.com/tencentyun/tls-sig-api-v2-node"
17+
}

0 commit comments

Comments
 (0)