@quiltt/capacitor 5.1.2 → 5.2.0

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 +58 -0
  2. package/package.json +7 -14
package/CHANGELOG.md ADDED
@@ -0,0 +1,58 @@
1
+ # @quiltt/capacitor
2
+
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#427](https://github.com/quiltt/quiltt-js/pull/427) [`6d4b768`](https://github.com/quiltt/quiltt-js/commit/6d4b7683f49d0a6e649a4bdfaff0398669102a63) Thanks [@zubairaziz](https://github.com/zubairaziz)! - Bump minor version to be consistent with SemVer standards
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`6d4b768`](https://github.com/quiltt/quiltt-js/commit/6d4b7683f49d0a6e649a4bdfaff0398669102a63)]:
12
+ - @quiltt/react@5.2.0
13
+ - @quiltt/vue@5.2.0
14
+
15
+ ## 5.1.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [#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
20
+
21
+ - Framework-agnostic by default — works with Vue, Angular, Svelte, or vanilla JS
22
+ - Vue 3 components via `@quiltt/capacitor/vue` subpath
23
+ - React components via `@quiltt/capacitor/react` subpath
24
+ - Native iOS (Swift) and Android (Kotlin) plugins for OAuth deep linking
25
+ - Supports Capacitor 6, 7, and 8
26
+
27
+ Add @quiltt/vue package for Vue 3 applications
28
+
29
+ - `QuilttPlugin` for session management via Vue's provide/inject
30
+ - `useQuilttSession` composable for authentication
31
+ - `useQuilttConnector` composable for programmatic control
32
+ - `QuilttButton`, `QuilttConnector`, `QuilttContainer` components
33
+ - Add `@quiltt/capacitor/vue` entry point for Capacitor apps
34
+
35
+ Rename `oauthRedirectUrl` to `appLauncherUrl` for mobile OAuth flows
36
+
37
+ 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.
38
+
39
+ **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.
40
+
41
+ **Migration:**
42
+
43
+ - Replace `oauthRedirectUrl` with `appLauncherUrl` in your component props
44
+ - The behavior remains identical; only the property name has changed
45
+
46
+ **Example:**
47
+
48
+ ```tsx
49
+ // Before (deprecated, still works)
50
+ <QuilttConnector oauthRedirectUrl="https://myapp.com/callback" />
51
+
52
+ // After (recommended)
53
+ <QuilttConnector appLauncherUrl="https://myapp.com/callback" />
54
+ ```
55
+
56
+ - Updated dependencies [[`c684b3b`](https://github.com/quiltt/quiltt-js/commit/c684b3b5f6ea2829e2abfa2a75c0d430edad66a5)]:
57
+ - @quiltt/react@5.1.3
58
+ - @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.2.0",
4
4
  "description": "Capacitor plugin for Quiltt Connector",
5
5
  "keywords": [
6
6
  "quiltt",
@@ -53,9 +53,12 @@
53
53
  "QuilttConnector.podspec",
54
54
  "CHANGELOG.md"
55
55
  ],
56
- "dependencies": {},
56
+ "dependencies": {
57
+ "@quiltt/react": "5.2.0",
58
+ "@quiltt/vue": "5.2.0"
59
+ },
57
60
  "devDependencies": {
58
- "@biomejs/biome": "2.4.3",
61
+ "@biomejs/biome": "2.4.5",
59
62
  "@capacitor/android": "8.1.0",
60
63
  "@capacitor/core": "8.1.0",
61
64
  "@capacitor/ios": "8.1.0",
@@ -67,25 +70,15 @@
67
70
  "react-dom": "19.2.4",
68
71
  "rimraf": "6.1.3",
69
72
  "typescript": "5.9.3",
70
- "vue": "3.5.28",
71
- "@quiltt/react": "5.1.2",
72
- "@quiltt/vue": "5.1.2"
73
+ "vue": "3.5.28"
73
74
  },
74
75
  "peerDependencies": {
75
76
  "@capacitor/core": "^6.0.0 || ^7.0.0 || ^8.0.0",
76
- "@quiltt/react": "^5.0.0",
77
- "@quiltt/vue": "^5.0.0",
78
77
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
79
78
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
80
79
  "vue": "^3.3.0"
81
80
  },
82
81
  "peerDependenciesMeta": {
83
- "@quiltt/react": {
84
- "optional": true
85
- },
86
- "@quiltt/vue": {
87
- "optional": true
88
- },
89
82
  "react": {
90
83
  "optional": true
91
84
  },