@capgo/capacitor-printer 8.1.6 → 8.1.8

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/README.md CHANGED
@@ -2,15 +2,16 @@
2
2
 
3
3
  Print documents, HTML, PDFs, images and the current web view from your Capacitor app with the native print dialogs on iOS and Android.
4
4
 
5
- <a href="https://capgo.app/?ref=plugin_printer"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-printer" alt="Capgo - Instant updates for Capacitor" /></a>
5
+ <a href="https://capgo.app/?ref=plugin_printer"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-printer" alt="Capgo - Build Capacitor apps with AI, ship updates instantly" /></a>
6
6
 
7
7
  <div align="center">
8
8
  <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
9
  <h2><a href="https://capgo.app/register/?ref=plugin_printer">➡️ Get started for free</a></h2>
10
10
  <p>14-day unlimited free trial. No credit card required</p>
11
- <p><a href="https://capgo.app/consulting/?ref=plugin_printer">Missing a feature? We'll build the plugin for you 💪</a></p>
12
11
  </div>
13
12
 
13
+ > 🤖 **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_printer) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-printer` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-printer to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_printer) · [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_printer)
14
+
14
15
  <p align="center">
15
16
  <img src="https://raw.githubusercontent.com/Cap-go/capacitor-printer/main/assets/github-social-preview.png" alt="@capgo/capacitor-printer for Capacitor apps" width="300" />
16
17
  </p>
@@ -9,7 +9,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
9
9
  @CapacitorPlugin(name = "Printer")
10
10
  public class PrinterPlugin extends Plugin {
11
11
 
12
- private final String pluginVersion = "8.1.6";
12
+ private final String pluginVersion = "8.1.8";
13
13
 
14
14
  private Printer implementation;
15
15
 
@@ -3,7 +3,7 @@ import Capacitor
3
3
 
4
4
  @objc(PrinterPlugin)
5
5
  public class PrinterPlugin: CAPPlugin, CAPBridgedPlugin {
6
- private let pluginVersion: String = "8.1.6"
6
+ private let pluginVersion: String = "8.1.8"
7
7
  public let identifier = "PrinterPlugin"
8
8
  public let jsName = "Printer"
9
9
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-printer",
3
- "version": "8.1.6",
3
+ "version": "8.1.8",
4
4
  "description": "Capacitor plugin for printing documents, HTML, PDFs, images and web views",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -42,7 +42,7 @@
42
42
  "verify:web": "npm run build",
43
43
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
44
44
  "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
45
- "eslint": "eslint . --ext ts",
45
+ "eslint": "eslint",
46
46
  "prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
47
47
  "swiftlint": "node-swiftlint",
48
48
  "docgen": "docgen --api PrinterPlugin --output-readme README.md --output-json dist/docs.json",
@@ -62,18 +62,18 @@
62
62
  "@capacitor/core": "^8.0.0",
63
63
  "@capacitor/docgen": "^0.3.1",
64
64
  "@capacitor/ios": "^8.0.0",
65
- "@ionic/eslint-config": "^0.4.0",
65
+ "@ionic/eslint-config": "^0.5.0",
66
66
  "@ionic/prettier-config": "^4.0.0",
67
67
  "@ionic/swiftlint-config": "^2.0.0",
68
68
  "@types/node": "^24.10.1",
69
- "eslint": "^8.57.1",
69
+ "eslint": "^10.0.0",
70
70
  "eslint-plugin-import": "^2.31.0",
71
71
  "prettier": "^3.6.2",
72
72
  "prettier-plugin-java": "^2.7.7",
73
73
  "rimraf": "^6.1.0",
74
74
  "rollup": "^4.53.2",
75
75
  "swiftlint": "^2.0.0",
76
- "typescript": "^5.9.3",
76
+ "typescript": "^6.0.3",
77
77
  "prettier-pretty-check": "^0.2.0"
78
78
  },
79
79
  "peerDependencies": {
@@ -81,9 +81,6 @@
81
81
  },
82
82
  "prettier": "@ionic/prettier-config",
83
83
  "swiftlint": "@ionic/swiftlint-config",
84
- "eslintConfig": {
85
- "extends": "@ionic/eslint-config/recommended"
86
- },
87
84
  "capacitor": {
88
85
  "ios": {
89
86
  "src": "ios"