@capgo/capacitor-mute 2.0.13 → 6.0.1
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/android/build.gradle +3 -3
- package/dist/esm/web.js +0 -1
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +0 -1
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +0 -1
- package/dist/plugin.js.map +1 -1
- package/package.json +19 -22
package/android/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ buildscript {
|
|
|
11
11
|
google()
|
|
12
12
|
}
|
|
13
13
|
dependencies {
|
|
14
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
14
|
+
classpath 'com.android.tools.build:gradle:8.2.1'
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -19,10 +19,10 @@ apply plugin: 'com.android.library'
|
|
|
19
19
|
|
|
20
20
|
android {
|
|
21
21
|
namespace "ee.forgr.plugin.mute"
|
|
22
|
-
|
|
22
|
+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
|
|
23
23
|
defaultConfig {
|
|
24
24
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
25
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
25
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
|
|
26
26
|
versionCode 1
|
|
27
27
|
versionName "1.0"
|
|
28
28
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
package/dist/esm/web.js
CHANGED
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC,KAAK,CAAC,OAAO;QACX,
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC,KAAK,CAAC,OAAO;QACX,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
package/dist/plugin.cjs.js
CHANGED
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst Mute = registerPlugin(\"Mute\", {\n web: () => import(\"./web\").then((m) => new m.MuteWeb()),\n});\nexport * from \"./definitions\";\nexport { Mute };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class MuteWeb extends WebPlugin {\n async isMuted() {\n
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst Mute = registerPlugin(\"Mute\", {\n web: () => import(\"./web\").then((m) => new m.MuteWeb()),\n});\nexport * from \"./definitions\";\nexport { Mute };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class MuteWeb extends WebPlugin {\n async isMuted() {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,IAAI,GAAGA,mBAAc,CAAC,MAAM,EAAE;AACpC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;AAC3D,CAAC;;ACFM,MAAM,OAAO,SAASC,cAAS,CAAC;AACvC,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;AACnD,KAAK;AACL;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst Mute = registerPlugin(\"Mute\", {\n web: () => import(\"./web\").then((m) => new m.MuteWeb()),\n});\nexport * from \"./definitions\";\nexport { Mute };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class MuteWeb extends WebPlugin {\n async isMuted() {\n
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from \"@capacitor/core\";\nconst Mute = registerPlugin(\"Mute\", {\n web: () => import(\"./web\").then((m) => new m.MuteWeb()),\n});\nexport * from \"./definitions\";\nexport { Mute };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from \"@capacitor/core\";\nexport class MuteWeb extends WebPlugin {\n async isMuted() {\n throw new Error(\"Method not implemented.\");\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,IAAI,GAAGA,mBAAc,CAAC,MAAM,EAAE;IACpC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;IAC3D,CAAC;;ICFM,MAAM,OAAO,SAASC,cAAS,CAAC;IACvC,IAAI,MAAM,OAAO,GAAG;IACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,KAAK;IACL;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-mute",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Detect if the mute switch is enabled/disabled on a device",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"verify:web": "npm run build",
|
|
35
35
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
36
36
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
37
|
-
"eslint": "eslint .
|
|
37
|
+
"eslint": "eslint .",
|
|
38
38
|
"prettier": "prettier --config .prettierrc.js \"**/*.{css,html,ts,js,java}\"",
|
|
39
39
|
"swiftlint": "node-swiftlint",
|
|
40
40
|
"docgen": "docgen --api MutePlugin --output-readme README.md --output-json dist/docs.json",
|
|
@@ -44,34 +44,31 @@
|
|
|
44
44
|
"prepublishOnly": "npm run build"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@capacitor/android": "^
|
|
48
|
-
"@capacitor/cli": "^
|
|
49
|
-
"@capacitor/core": "^
|
|
50
|
-
"@capacitor/docgen": "^0.2.
|
|
51
|
-
"@capacitor/ios": "^
|
|
47
|
+
"@capacitor/android": "^6.0.0",
|
|
48
|
+
"@capacitor/cli": "^6.0.0",
|
|
49
|
+
"@capacitor/core": "^6.0.0",
|
|
50
|
+
"@capacitor/docgen": "^0.2.2",
|
|
51
|
+
"@capacitor/ios": "^6.0.0",
|
|
52
52
|
"@ionic/eslint-config": "^0.3.0",
|
|
53
|
-
"@ionic/prettier-config": "^
|
|
53
|
+
"@ionic/prettier-config": "^4.0.0",
|
|
54
54
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
56
|
-
"@typescript-eslint/parser": "^
|
|
57
|
-
"eslint": "^
|
|
58
|
-
"eslint-plugin-import": "^2.
|
|
59
|
-
"husky": "^
|
|
60
|
-
"prettier": "^2.
|
|
61
|
-
"prettier-plugin-java": "^2.
|
|
62
|
-
"rimraf": "^5.0.
|
|
63
|
-
"rollup": "^
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
56
|
+
"@typescript-eslint/parser": "^7.8.0",
|
|
57
|
+
"eslint": "^9.1.1",
|
|
58
|
+
"eslint-plugin-import": "^2.29.1",
|
|
59
|
+
"husky": "^9.0.11",
|
|
60
|
+
"prettier": "^3.2.5",
|
|
61
|
+
"prettier-plugin-java": "^2.6.0",
|
|
62
|
+
"rimraf": "^5.0.5",
|
|
63
|
+
"rollup": "^4.17.1",
|
|
64
64
|
"swiftlint": "^1.0.2",
|
|
65
|
-
"typescript": "^5.
|
|
65
|
+
"typescript": "^5.4.5"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@capacitor/core": "^
|
|
68
|
+
"@capacitor/core": "^6.0.0"
|
|
69
69
|
},
|
|
70
70
|
"prettier": "@ionic/prettier-config",
|
|
71
71
|
"swiftlint": "@ionic/swiftlint-config",
|
|
72
|
-
"eslintConfig": {
|
|
73
|
-
"extends": "@ionic/eslint-config/recommended"
|
|
74
|
-
},
|
|
75
72
|
"capacitor": {
|
|
76
73
|
"ios": {
|
|
77
74
|
"src": "ios"
|