wechat-jssdk

🐧微信JSSDK与NodeJS及Web端集成 WeChat JSSDK integration with NodeJS & Web

MIT License

Downloads
1K
Stars
721
Committers
6

Bot releases are hidden (Show)

wechat-jssdk - v.3.0.0-beta.2

Published by JasonBoy almost 8 years ago

  • add MongoStore to store signatures to MongoDB
  • initialize tokens and signatures from db to memory for better performence
  • Store class extends EventEmitter to make it events noticiable
  • move client.js to lib dir, using webpack to transpile the client js
wechat-jssdk - v3.0.0-beta.1

Published by JasonBoy almost 8 years ago

Using ES6 to refactor all APIs

Breaking Changes:

  • change all syntax to ES6 style
  • create JSSDK, OAuth class to handle jssdk and oauth requests
  • create Store class to extract logic to store jssdk signatures, create subclass of Store to add custom store logic
  • add simple FileStore extending from Store
  • make all store apis promiseble
  • add missing jsdoc for apis
  • couple other updates and fixes
wechat-jssdk - v2.1.0

Published by JasonBoy almost 8 years ago

  • client side js refactoring
  • remove updateConfig method from wechatObj, use signSignature directly if need to resign the signature
  • optimize the wechat script loading logic
wechat-jssdk - v2.0.4

Published by JasonBoy about 8 years ago

  • fix redirect_uri hash order, put redirect_uri query before the last query paramater
wechat-jssdk - v2.0.1

Published by JasonBoy about 8 years ago

  • fix oauth access token cache
  • fix getting oauth callback url api
wechat-jssdk - v2.0.0 with Promise style

Published by JasonBoy about 8 years ago

  • change all apis to promise style
  • other fixes
wechat-jssdk - v1.1.12

Published by JasonBoy about 8 years ago

  • add returnToken option for getUserInfo api to return access_token , refresh_token with other user info
  • add getUserInfoByOptions api to support passing options object, instead of passing parameter one by one
wechat-jssdk - v1.1.10

Published by JasonBoy about 8 years ago

  • OAuth feature fixes and updates
  • add cached OAuth access token
  • update OAuth URL config
wechat-jssdk - v1.1.2

Published by JasonBoy over 8 years ago

  • fix global token check
wechat-jssdk - v1.1.1

Published by JasonBoy over 8 years ago

  • renew url signature upon time expiration(2hs)
  • couple of minor fixes
wechat-jssdk - v1.1.0

Published by JasonBoy over 8 years ago

  • add client side js to work together with nodejs side
  • bugfixes
Package Rankings
Top 2.5% on Npmjs.org
Badges
Extracted from project README
npm node Coverage Status npm code style: prettier