Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 微信小程序新增接口
Browse files Browse the repository at this point in the history
fix: #1687 #1693 # 1467 

Co-authored-by: wangjue <348748267@qq.com>
  • Loading branch information
watsonhaw5566 and wangjue authored Sep 9, 2021
1 parent 4ddb7e0 commit 23e8307
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/remax-wechat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "MIT",
"dependencies": {
"@remax/shared": "2.15.5",
"miniprogram-api-typings": "^3.1.3"
"miniprogram-api-typings": "^3.4.3"
},
"devDependencies": {
"@remax/types": "2.15.5",
Expand Down
7 changes: 7 additions & 0 deletions packages/remax-wechat/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,10 @@ export const requestSubscribeMessage = promisify(wx.requestSubscribeMessage);
export const hideHomeButton = promisify(wx.hideHomeButton);
export const getRealtimeLogManager = wx.getRealtimeLogManager;
export const hideKeyboard = promisify(wx.hideKeyboard);
export const getUserProfile = promisify(wx.getUserProfile);
export const showShareImageMenu = promisify(wx.showShareImageMenu);
export const shareVideoMessage = promisify(wx.shareVideoMessage);
export const shareFileMessage = promisify(wx.shareFileMessage);
export const onCopyUrl = promisify(wx.onCopyUrl);
export const offCopyUrl = promisify(wx.offCopyUrl);
export const authPrivateMessage = promisify(wx.authPrivateMessage);
2 changes: 1 addition & 1 deletion packages/remax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@remax/web": "2.15.5",
"@remax/wechat": "2.15.5",
"mini-types": "^0.1.1",
"miniprogram-api-typings": "^3.1.3"
"miniprogram-api-typings": "^3.4.3"
},
"gitHead": "06dcaa3df31f6bde22b6d07a979c361dc137351f"
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14211,10 +14211,10 @@ minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3:
dependencies:
yallist "^4.0.0"

miniprogram-api-typings@^3.1.3:
version "3.2.0"
resolved "https://registry.yarnpkg.com/miniprogram-api-typings/-/miniprogram-api-typings-3.2.0.tgz#5ba1225393167e242039e4131c343b5a688aea80"
integrity sha512-6A4UX9nCvJolPrgqZ0MIg2+3ZuROi1ExN+JcI0/R1SLroU3R3mjsg+hRkz4RWShYsumMsqmiicP7U4yeXICxiw==
miniprogram-api-typings@^3.4.3:
version "3.4.3"
resolved "https://registry.npmjs.org/miniprogram-api-typings/-/miniprogram-api-typings-3.4.3.tgz#c88cc624973322d990353d94ae765db90938d132"
integrity sha512-wdBZG2IImFjkTFv66r225455J+//gn4c7Ja99aC3mVV0AqTRl45FwAFA7ur9KZd2j+ORGtyK1ldBT49rXpVE2w==

minizlib@^1.2.1:
version "1.3.3"
Expand Down

0 comments on commit 23e8307

Please sign in to comment.