@dolphinweex/weex-harmony-transform 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/adapter.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/adapter.ts CHANGED
@@ -258,6 +258,12 @@ let bridgeModule = {
258
258
  showControlPanelPage:function(options, callback, failCallback) {
259
259
  weexModule.callNative('bridgeModule.showControlPanelPage', { 'options': options }, callback, undefined, failCallback)
260
260
  },
261
+ getAuthToken:function(options, callback, failCallback) {
262
+ weexModule.callNative('bridgeModule.getAuthToken', { 'options': options }, callback, undefined, failCallback)
263
+ },
264
+ backToNative:function(options, callback, failCallback) {
265
+ weexModule.callNative('bridgeModule.backToNative', { 'options': options }, callback, undefined, failCallback)
266
+ },
261
267
  }
262
268
 
263
269
  let deviceInfo = {