@machinat/create-app
Advanced tools
Comparing version 0.4.1-alpha.18 to 0.4.1-alpha.19
@@ -27,3 +27,4 @@ "use strict"; | ||
import { ServerDomain, LineLiffId } from './interface'; | ||
import nextConfigs from './webview/next.config.js'`} | ||
import nextConfigs from './webview/next.config.js'; | ||
import { WebAppEventValue } from './types';`} | ||
@@ -105,3 +106,4 @@ const { | ||
| TelegramAuthorizer`}${(0, _utils.when)(platforms.includes('line'))` | ||
| LineAuthorizer`} | ||
| LineAuthorizer`}, | ||
WebAppEventValue | ||
>({ | ||
@@ -108,0 +110,0 @@ webviewHost: DOMAIN, |
@@ -36,4 +36,6 @@ "use strict"; | ||
payload: string; | ||
} | ||
}; | ||
export type WebAppEventValue = ConnectionEventValue | HelloEventValue; | ||
export type WebAppEventContext = WebviewEventContext<${(0, _utils.when)(platforms.includes('messenger'))` | ||
@@ -43,3 +45,3 @@ | MessengerServerAuthorizer`}${(0, _utils.when)(platforms.includes('telegram'))` | ||
| LineServerAuthorizer`}, | ||
HelloEventValue | ConnectionEventValue | ||
WebAppEventValue | ||
>;`} | ||
@@ -46,0 +48,0 @@ |
{ | ||
"name": "@machinat/create-app", | ||
"version": "0.4.1-alpha.18", | ||
"version": "0.4.1-alpha.19", | ||
"author": "Patrick Liu <zeldalink0515@gmail.com> (https://github.com/lrills)", | ||
@@ -35,3 +35,3 @@ "repository": { | ||
}, | ||
"gitHead": "aa237e77d176d279d405385b5c812d3e1d2a50ee" | ||
"gitHead": "053bae00471bfe975af4e9d6d88b816addd3ef70" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
117326
1356