capacitor-camera-module 0.0.47 → 0.0.48

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.
@@ -31,7 +31,10 @@ public class CameraModulePlugin: CAPPlugin,CAPBridgedPlugin,AVCaptureVideoDataOu
31
31
 
32
32
  // MARK: - Capacitor Bridge
33
33
 
34
- public let pluginMethods: [CAPPluginMethod] = [
34
+ public static let identifier = "CameraModule"
35
+ public static let jsName = "CameraModule"
36
+
37
+ public static let pluginMethods: [CAPPluginMethod] = [
35
38
  CAPPluginMethod(name: "checkPermission", returnType: CAPPluginReturnPromise),
36
39
  CAPPluginMethod(name: "requestPermission", returnType: CAPPluginReturnPromise),
37
40
 
@@ -52,6 +55,7 @@ public class CameraModulePlugin: CAPPlugin,CAPBridgedPlugin,AVCaptureVideoDataOu
52
55
  CAPPluginMethod(name: "stopBarcodeScan", returnType: CAPPluginReturnPromise)
53
56
  ]
54
57
 
58
+
55
59
  // MARK: - Lifecycle
56
60
 
57
61
  public override func load() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-camera-module",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "Plugin to request permissiones view camera take phots",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",