@capgo/capacitor-file-compressor 8.1.5 → 8.1.6

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.
@@ -20,7 +20,7 @@ import java.util.UUID;
20
20
  @CapacitorPlugin(name = "FileCompressor")
21
21
  public class FileCompressorPlugin extends Plugin {
22
22
 
23
- private final String pluginVersion = "8.1.5";
23
+ private final String pluginVersion = "8.1.6";
24
24
  private static final float MIN_QUALITY = 0.1f;
25
25
  private static final float QUALITY_STEP = 0.05f;
26
26
  private static final List<String> SUPPORTED_OUTPUT_MIME_TYPES = Arrays.asList("image/jpeg", "image/png", "image/webp");
@@ -6,7 +6,7 @@ import UniformTypeIdentifiers
6
6
 
7
7
  @objc(FileCompressorPlugin)
8
8
  public class FileCompressorPlugin: CAPPlugin, CAPBridgedPlugin {
9
- private let pluginVersion: String = "8.1.5"
9
+ private let pluginVersion: String = "8.1.6"
10
10
  private let minimumQuality: CGFloat = 0.1
11
11
  private let qualityStep: CGFloat = 0.05
12
12
  public let identifier = "FileCompressorPlugin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-file-compressor",
3
- "version": "8.1.5",
3
+ "version": "8.1.6",
4
4
  "description": "Capacitor plugin for efficient image compression supporting PNG, JPEG, and WebP formats across iOS, Android, and Web platforms",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -46,6 +46,7 @@
46
46
  "watch": "tsc --watch",
47
47
  "prepublishOnly": "bun run build",
48
48
  "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
49
+ "check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
49
50
  "example:install": "cd example-app && bun install --frozen-lockfile",
50
51
  "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
51
52
  "changelog:ai": "node scripts/generate-ai-changelog.mjs"