Skip to content

Commit

Permalink
update default weixin js to v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBoy committed Mar 10, 2017
1 parent 8b288f1 commit f19fc5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion dist/client.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const location = window.location;


//default wechat script url
let defaultScriptUrl = location.protocol + '//res.wx.qq.com/open/js/jweixin-1.0.0.js';
let defaultScriptUrl = location.protocol + '//res.wx.qq.com/open/js/jweixin-1.2.0.js';

//default apis with share-on-moment and share-on-chat
const defaultApiList = ['onMenuShareTimeline', 'onMenuShareAppMessage'];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechat-jssdk",
"version": "3.0.5",
"version": "3.0.6",
"description": "Next-Generation WeChat JS-SDK integration with NodeJS",
"main": "./lib/index.js",
"engines": {
Expand Down

0 comments on commit f19fc5b

Please sign in to comment.