@etsoo/appscript 1.2.53 → 1.2.54
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.
- package/lib/cjs/bridges/FlutterHost.d.ts +1 -0
- package/lib/cjs/bridges/FlutterHost.js +3 -0
- package/lib/cjs/bridges/IBridgeHost.d.ts +4 -0
- package/lib/mjs/bridges/FlutterHost.d.ts +1 -0
- package/lib/mjs/bridges/FlutterHost.js +3 -0
- package/lib/mjs/bridges/IBridgeHost.d.ts +4 -0
- package/package.json +7 -7
- package/src/bridges/FlutterHost.ts +4 -0
- package/src/bridges/IBridgeHost.ts +5 -0
|
@@ -23,6 +23,7 @@ export declare class FlutterHost implements IBridgeHost {
|
|
|
23
23
|
});
|
|
24
24
|
cacheCommand(name: string, ...args: unknown[]): void;
|
|
25
25
|
changeCulture(locale: string): void;
|
|
26
|
+
closable(): boolean;
|
|
26
27
|
exit(): void;
|
|
27
28
|
getLabels<T extends string>(...keys: T[]): Promise<any>;
|
|
28
29
|
getStartUrl(): string | null | undefined;
|
|
@@ -23,6 +23,7 @@ export declare class FlutterHost implements IBridgeHost {
|
|
|
23
23
|
});
|
|
24
24
|
cacheCommand(name: string, ...args: unknown[]): void;
|
|
25
25
|
changeCulture(locale: string): void;
|
|
26
|
+
closable(): boolean;
|
|
26
27
|
exit(): void;
|
|
27
28
|
getLabels<T extends string>(...keys: T[]): Promise<any>;
|
|
28
29
|
getStartUrl(): string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.54",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
"@etsoo/notificationbase": "^1.1.1",
|
|
56
56
|
"@etsoo/restclient": "^1.0.64",
|
|
57
57
|
"@etsoo/shared": "^1.1.11",
|
|
58
|
-
"@types/crypto-js": "^4.1.
|
|
58
|
+
"@types/crypto-js": "^4.1.1",
|
|
59
59
|
"crypto-js": "^4.1.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@babel/cli": "^7.17.
|
|
63
|
-
"@babel/core": "^7.17.
|
|
62
|
+
"@babel/cli": "^7.17.6",
|
|
63
|
+
"@babel/core": "^7.17.5",
|
|
64
64
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
65
65
|
"@babel/preset-env": "^7.16.11",
|
|
66
66
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
67
67
|
"@types/jest": "^27.4.0",
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
69
|
-
"@typescript-eslint/parser": "^5.
|
|
70
|
-
"eslint": "^8.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
69
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
70
|
+
"eslint": "^8.9.0",
|
|
71
71
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
72
72
|
"eslint-plugin-import": "^2.25.4",
|
|
73
73
|
"jest": "^27.5.1",
|
|
@@ -56,6 +56,10 @@ export class FlutterHost implements IBridgeHost {
|
|
|
56
56
|
else this.cacheCommand('changeCulture', locale);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
closable(): boolean {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
|
|
59
63
|
exit(): void {
|
|
60
64
|
if (this.host.callHandler) this.host.callHandler('exit');
|
|
61
65
|
else this.cacheCommand('exit');
|