@smbcloud/tauri-plugin-android-tv-check-api 1.1.0

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/README.md ADDED
@@ -0,0 +1 @@
1
+ # Tauri Plugin android-tv-check
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var core = require('@tauri-apps/api/core');
4
+
5
+ async function check() {
6
+ return await core.invoke("plugin:android-tv-check|check");
7
+ }
8
+
9
+ exports.check = check;
@@ -0,0 +1,3 @@
1
+ export declare function check(): Promise<{
2
+ isAndroidTv: boolean;
3
+ }>;
@@ -0,0 +1,7 @@
1
+ import { invoke } from '@tauri-apps/api/core';
2
+
3
+ async function check() {
4
+ return await invoke("plugin:android-tv-check|check");
5
+ }
6
+
7
+ export { check };
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@smbcloud/tauri-plugin-android-tv-check-api",
3
+ "version": "1.1.0",
4
+ "author": "setoelkahfi@gmail.com",
5
+ "description": "",
6
+ "type": "module",
7
+ "types": "./dist-js/index.d.ts",
8
+ "main": "./dist-js/index.cjs",
9
+ "module": "./dist-js/index.js",
10
+ "exports": {
11
+ "types": "./dist-js/index.d.ts",
12
+ "import": "./dist-js/index.js",
13
+ "require": "./dist-js/index.cjs"
14
+ },
15
+ "files": [
16
+ "dist-js",
17
+ "README.md"
18
+ ],
19
+ "scripts": {
20
+ "build": "rollup -c",
21
+ "prepublishOnly": "pnpm build",
22
+ "pretest": "pnpm build"
23
+ },
24
+ "dependencies": {
25
+ "@tauri-apps/api": "^2.7.0"
26
+ },
27
+ "devDependencies": {
28
+ "@rollup/plugin-typescript": "^12.1.4",
29
+ "rollup": "^4.46.3",
30
+ "tslib": "^2.8.1",
31
+ "typescript": "^5.9.2"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ }
36
+ }