Skip to content

Commit

Permalink
Merge pull request #6 from makeflow/3909
Browse files Browse the repository at this point in the history
#3909 Add set height api
  • Loading branch information
boenfu committed Jul 22, 2020
2 parents 3a5fc28 + 5bc53dc commit 9328b32
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/power-app-page/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@makeflow/power-app-page",
"version": "0.1.0-wip.4",
"version": "0.1.0-wip.5",
"description": "Makeflow PowerApp Page Framework.",
"publishConfig": {
"access": "public"
Expand All @@ -18,7 +18,7 @@
"main": "bld/library/index.js",
"types": "bld/library/index.d.ts",
"dependencies": {
"@makeflow/types": "^0.1.12",
"@makeflow/types": "^0.1.14",
"@makeflow/types-nominal": "^0.1.1",
"tslib": "^2.0.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/power-app-page/src/library/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export class PowerAppPage {
return this.request('show-modal', params);
}

setHeight(params: PowerAppPageAPI.SetHeightOptions): void {
this.send('set-height', params);
}

async getUser(
options: PowerAppPageAPI.GetUserOptions = {},
): Promise<PowerAppPageAPI.GetUserResult> {
Expand Down
4 changes: 2 additions & 2 deletions packages/power-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@makeflow/power-app",
"version": "0.2.0-wip.26",
"version": "0.2.0-wip.27",
"description": "Makeflow PowerApp Node.js Framework.",
"publishConfig": {
"access": "public"
Expand All @@ -19,7 +19,7 @@
],
"dependencies": {
"@hapi/hapi": "^19.1.1",
"@makeflow/types": "0.1.12",
"@makeflow/types": "0.1.14",
"@makeflow/types-nominal": "^0.1.1",
"express": "^4.17.1",
"koa": "^2.13.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2136,10 +2136,10 @@
dependencies:
tslang "^0.1.21"

"@makeflow/types@0.1.12", "@makeflow/types@^0.1.12":
version "0.1.12"
resolved "https://registry.yarnpkg.com/@makeflow/types/-/types-0.1.12.tgz#c91458c2da29bae69a080be0c889dddd6e465998"
integrity sha512-dBBPBRRXGE4VgaWGZOOPkHwoY0OLZEMTAic9CUVv/20G5Fqi/5Z8LzpStF/8ZuM2o5mvwkoE92oOuWFWs6IrAw==
"@makeflow/types@0.1.14", "@makeflow/types@^0.1.14":
version "0.1.14"
resolved "https://registry.yarnpkg.com/@makeflow/types/-/types-0.1.14.tgz#d28720bfc6ca4a7639872cbb2f83f69844a50583"
integrity sha512-R4NmOOZjdijFJvuJ9ZsTVBRvSGii1Olba/P4x2ZaE08UgfOopm0KRXncphDEs34rb2cv/g0fch3OQdHfg/P5QQ==
dependencies:
"@types/draft-js" "^0.10.32"
tslang "^0.1.22"
Expand Down

0 comments on commit 9328b32

Please sign in to comment.