@choochmeque/tauri-plugin-iap-api 0.6.0 → 0.7.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.
package/README.md CHANGED
@@ -45,7 +45,7 @@ Add the plugin to your Tauri project's `Cargo.toml`:
45
45
 
46
46
  ```toml
47
47
  [dependencies]
48
- tauri-plugin-iap = "0.5"
48
+ tauri-plugin-iap = "0.7"
49
49
  ```
50
50
 
51
51
  Configure the plugin permissions in your `capabilities/default.json`:
@@ -78,6 +78,8 @@ export interface Purchase {
78
78
  signature: string;
79
79
  /** Original transaction ID. Used to link renewals and restores to the original purchase. (iOS/macOS only) */
80
80
  originalId?: string;
81
+ /** JWS representation of the signed transaction for server-side validation. (iOS/macOS only) */
82
+ jwsRepresentation?: string;
81
83
  }
82
84
  /**
83
85
  * Response containing restored purchases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-plugin-iap-api",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "author": "You",
6
6
  "description": "A Tauri v2 plugin that enables In-App Purchases (IAP)",
@@ -40,7 +40,7 @@
40
40
  "@vitest/coverage-v8": "^4.0.13",
41
41
  "@vitest/ui": "^4.0.13",
42
42
  "happy-dom": "^20.0.10",
43
- "prettier": "3.7.4",
43
+ "prettier": "3.8.0",
44
44
  "rollup": "^4.9.6",
45
45
  "tslib": "^2.6.2",
46
46
  "typescript": "^5.3.3",