tb-apps-sdk
Advanced tools
Comparing version 0.6.6 to 0.6.7-alpha.0
@@ -7,2 +7,3 @@ import { IFactory } from './base'; | ||
openChatWindow(...params: any[]): Promise<void>; | ||
openPluginLayer(...params: any[]): Promise<void>; | ||
navigate(...params: any[]): Promise<void>; | ||
@@ -9,0 +10,0 @@ openDetail(type: 'task' | 'event' | 'work' | 'post' | 'entry' | 'collection', ...params: any[]): Promise<void>; |
@@ -103,2 +103,9 @@ "use strict"; | ||
}; | ||
HostAPI.prototype.openPluginLayer = function () { | ||
var params = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
params[_i] = arguments[_i]; | ||
} | ||
return this.call.apply(this, ['openPluginLayer'].concat(params)); | ||
}; | ||
HostAPI.prototype.navigate = function () { | ||
@@ -105,0 +112,0 @@ var params = []; |
{ | ||
"name": "tb-apps-sdk", | ||
"version": "0.6.6", | ||
"version": "0.6.7-alpha.0", | ||
"description": "A sdk for communications between teambiton web and other envs.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
31690
697