🐧微信JSSDK与NodeJS及Web端集成 WeChat JSSDK integration with NodeJS & Web
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/JasonBoy/wechat-jssdk/compare/v5.0.8...v5.1.0
PR: #74
Published by JasonBoy about 3 years ago
Published by JasonBoy over 3 years ago
openTagList
support #61Published by JasonBoy over 3 years ago
decryptRefundNotifyResult
, #57Published by JasonBoy about 4 years ago
Published by JasonBoy over 4 years ago
Published by JasonBoy almost 5 years ago
[email protected]
Published by JasonBoy over 5 years ago
Published by JasonBoy over 5 years ago
files
property to pack specific filesPublished by JasonBoy over 5 years ago
request
with got
(#32 )Published by JasonBoy over 5 years ago
wechat-jssdk/dist/client.js
to wechat-jssdk/dist/client.umd.js
to be more specificPublished by JasonBoy almost 6 years ago
getsessionkey from code
, decrypt phone data
...appId
) change on initializationclient.js
, which will change the init process, see browser-side-usage
Wechat
} here is like the old const Wechat = require('wechat-jssdk')
to be backward compatible, which will compose all the sub modules together(like JSSDK
, OAuth
, MiniProgram
)const {Wechat, JSSDK} = require('wechat-jssdk')
bluebird
dependencecrypto-js
, use native cryptodist
from repo, only build before publishlib
MongoStore
fixesevent-stream
incident, see npm blog
package-lock
from yarn.lock
date-fns
to format datePublished by JasonBoy almost 6 years ago
event-stream
incident, see npm blog
package-lock
from yarn.lock
Published by JasonBoy almost 6 years ago
getsessionkey from code
, decrypt phone data
...appId
) change on initializationclient.js
, which will change the init processconst {Wechat, JSSDK} = require('wechat-jssdk')
bluebird
dependencecrypto-js
, use native cryptodist
from repo, only build before publishlib
MongoStore
fixesdate-fns
to format datePublished by JasonBoy about 6 years ago
Published by JasonBoy over 6 years ago
◀️ Revert client.js bundles:
which caused in v3.1.3
in which changed to export default
, since webpack 2.x resolve modules as commonjs, you may need to use window.WechatJSSDK.default
or require('wechat-jssdk/dist/client').default
in a non es module env in version 3.1.3, this version revert that back to module.exports
, so you don't need the verbose .default
TODO: will upgrade webpack to 4 to solve the
default
issue
Published by JasonBoy over 6 years ago
export default WechatJSSDK
in client.js,wechat-jssdk/lib/client
to use itPublished by JasonBoy over 6 years ago
appId
returned from the JSSDK#getSignature()
api, e.g:{
appId: "", //new added
timestamp: "",
nonceStr: "",
signature: "",
url: "",
}
Published by JasonBoy over 6 years ago