capacitor-camera-module 0.0.40 → 0.0.41

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.swift CHANGED
@@ -2,11 +2,11 @@
2
2
  import PackageDescription
3
3
 
4
4
  let package = Package(
5
- name: "CapacitorCameraModule",
5
+ name: "CameraModule",
6
6
  platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
- name: "CapacitorCameraModule",
9
+ name: "CameraModule",
10
10
  targets: ["CameraModulePlugin"])
11
11
  ],
12
12
  dependencies: [
@@ -3,7 +3,7 @@ import AVFoundation
3
3
  import Vision
4
4
  import UIKit
5
5
 
6
- @objc(CameraModulePlugin)
6
+ @objc(CameraModule)
7
7
  public class CameraModulePlugin: CAPPlugin,
8
8
  AVCaptureVideoDataOutputSampleBufferDelegate {
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-camera-module",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
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",
@@ -1,8 +0,0 @@
1
- import Foundation
2
-
3
- @objc public class CameraModule: NSObject {
4
- @objc public func echo(_ value: String) -> String {
5
- print(value)
6
- return value
7
- }
8
- }