Shadow for Wechat Javascript SDK, NPM purpose.
Version is same as Wechat Javascript SDK itself.
微信Javascript SDK影子版, 为了能够从NPM中引入而存在.
版本与微信Javascript SDK的版本是一致的.
wechat.js
is the original javascript file from wechat.- Change
this
towindow
in original js file for webpack packaging. index.js
add ES6 supporting.
wechat.js
是原始的微信文件.- 为了使用
webpack
打包, 源文件中的this
被改成window
. index.js
添加了ES6支持.
- The original SDK doesn't support the Node environment, so there is no test script.
wechat.js
is pretty formatted by VSCode pluginprettier
.
- 原生的SDK不支持NODE环境, 所以没有测试脚本.
- 使用VSCode的
prettier
插件格式化了原始wechat.js
文件.
There are many libs for this purpose in npm, but with a different version. This lib is try to let your find all wechat versions in one lib.
NPM已经上有很多相同目的的库, 但是版本不一致, 因此本库的目的在于可以在一个库中找到不同的版本.
Supported versions as below:
本库的版本支持的版本如下:
1.2.0
: https://res.wx.qq.com/open/js/jweixin-1.2.0.js1.2.1
: https://res.wx.qq.com/open/js/jweixin-1.2.1.js1.2.2
: https://res.wx.qq.com/open/js/jweixin-1.2.2.js1.3.0
: https://res.wx.qq.com/open/js/jweixin-1.3.0.js1.3.1
: https://res.wx.qq.com/open/js/jweixin-1.3.1.js1.3.2
: https://res.wx.qq.com/open/js/jweixin-1.3.2.js1.4.0-a
: https://res.wx.qq.com/open/js/jweixin-1.4.0.js1.5.0
: https://res.wx.qq.com/open/js/jweixin-1.5.0.js