@quiltt/capacitor 5.1.2 → 5.1.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +5 -5
package/CHANGELOG.md ADDED
@@ -0,0 +1,46 @@
1
+ # @quiltt/capacitor
2
+
3
+ ## 5.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#425](https://github.com/quiltt/quiltt-js/pull/425) [`c684b3b`](https://github.com/quiltt/quiltt-js/commit/c684b3b5f6ea2829e2abfa2a75c0d430edad66a5) Thanks [@zubairaziz](https://github.com/zubairaziz)! - Add @quiltt/capacitor package for Ionic and Capacitor apps
8
+
9
+ - Framework-agnostic by default — works with Vue, Angular, Svelte, or vanilla JS
10
+ - Vue 3 components via `@quiltt/capacitor/vue` subpath
11
+ - React components via `@quiltt/capacitor/react` subpath
12
+ - Native iOS (Swift) and Android (Kotlin) plugins for OAuth deep linking
13
+ - Supports Capacitor 6, 7, and 8
14
+
15
+ Add @quiltt/vue package for Vue 3 applications
16
+
17
+ - `QuilttPlugin` for session management via Vue's provide/inject
18
+ - `useQuilttSession` composable for authentication
19
+ - `useQuilttConnector` composable for programmatic control
20
+ - `QuilttButton`, `QuilttConnector`, `QuilttContainer` components
21
+ - Add `@quiltt/capacitor/vue` entry point for Capacitor apps
22
+
23
+ Rename `oauthRedirectUrl` to `appLauncherUrl` for mobile OAuth flows
24
+
25
+ This change introduces `appLauncherUrl` as the new preferred property name for specifying the Universal Link (iOS) or App Link (Android) that redirects users back to your app after OAuth authentication.
26
+
27
+ **Deprecation Warning:** The `oauthRedirectUrl` property is now deprecated but remains fully functional for backwards compatibility. Existing code using `oauthRedirectUrl` will continue to work without modifications.
28
+
29
+ **Migration:**
30
+
31
+ - Replace `oauthRedirectUrl` with `appLauncherUrl` in your component props
32
+ - The behavior remains identical; only the property name has changed
33
+
34
+ **Example:**
35
+
36
+ ```tsx
37
+ // Before (deprecated, still works)
38
+ <QuilttConnector oauthRedirectUrl="https://myapp.com/callback" />
39
+
40
+ // After (recommended)
41
+ <QuilttConnector appLauncherUrl="https://myapp.com/callback" />
42
+ ```
43
+
44
+ - Updated dependencies [[`c684b3b`](https://github.com/quiltt/quiltt-js/commit/c684b3b5f6ea2829e2abfa2a75c0d430edad66a5)]:
45
+ - @quiltt/react@5.1.3
46
+ - @quiltt/vue@5.1.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quiltt/capacitor",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "Capacitor plugin for Quiltt Connector",
5
5
  "keywords": [
6
6
  "quiltt",
@@ -68,13 +68,13 @@
68
68
  "rimraf": "6.1.3",
69
69
  "typescript": "5.9.3",
70
70
  "vue": "3.5.28",
71
- "@quiltt/react": "5.1.2",
72
- "@quiltt/vue": "5.1.2"
71
+ "@quiltt/vue": "5.1.3",
72
+ "@quiltt/react": "5.1.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@capacitor/core": "^6.0.0 || ^7.0.0 || ^8.0.0",
76
- "@quiltt/react": "^5.0.0",
77
- "@quiltt/vue": "^5.0.0",
76
+ "@quiltt/react": "^5.1.3",
77
+ "@quiltt/vue": "^5.1.3",
78
78
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
79
79
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
80
80
  "vue": "^3.3.0"