@simplysm/capacitor-plugin-usb-storage 12.16.27 → 12.16.29
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/package.json +2 -2
- package/src/UsbStorage.ts +1 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/capacitor-plugin-usb-storage",
|
|
3
|
-
"version": "12.16.
|
|
3
|
+
"version": "12.16.29",
|
|
4
4
|
"description": "심플리즘 패키지 - Capacitor USB Storage Plugin",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@capacitor/core": "^7.
|
|
21
|
+
"@capacitor/core": "^7.5.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@capacitor/core": "^7.0.0"
|
package/src/UsbStorage.ts
CHANGED
|
@@ -41,10 +41,7 @@ export abstract class UsbStorage {
|
|
|
41
41
|
* @param filter 권한을 확인할 USB 장치의 vendorId와 productId
|
|
42
42
|
* @returns 권한 보유 여부
|
|
43
43
|
*/
|
|
44
|
-
static async hasPermission(filter: {
|
|
45
|
-
vendorId: number;
|
|
46
|
-
productId: number;
|
|
47
|
-
}): Promise<boolean> {
|
|
44
|
+
static async hasPermission(filter: { vendorId: number; productId: number }): Promise<boolean> {
|
|
48
45
|
const result = await UsbStoragePlugin.hasPermission(filter);
|
|
49
46
|
return result.granted;
|
|
50
47
|
}
|