Skip to content

Commit 7aef74f

Browse files
committed
3.0.5
1 parent 4ffbb22 commit 7aef74f

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
# Lint TypeScript/JS (and Kotlin if available)
52
echo "Linting (tsc/eslint/prettier/kt)…"
63
if command -v bun >/dev/null 2>&1; then

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## 3.0.5 - 2025-09-17
4+
5+
- Types: Normalize OpenIAP literal unions to `'in-app'`, `'ios'`, and `'android'`, update `useIAP` helpers to the new `PurchaseRequestInput`, and refresh docs/examples/tests to the lowercase schema tokens.
6+
- Tooling: Regenerate `src/types.ts` with `openiap-gql` 1.0.2, add lint/format ignores for the generated file, and document the type update workflow.
7+
- Native: Upgrade the Android fallback/config plugin to [openiap-google 1.1.10](https://github.com/hyodotdev/openiap-google/releases/tag/1.1.10), bump the iOS pod to [openiap 1.1.12](https://github.com/hyodotdev/openiap-apple/releases/tag/1.1.12), adopt PascalCase error codes, and wire the new request parameter models through the bridges and config plugin.
8+
39
## 3.0.4 - 2025-09-16
410

511
- Types: Regenerate the OpenIAP schema with the canonical PascalCase names (`ProductIOS`, `PurchaseIOS`, etc.) and align docs/tests/examples with the new exports.

docs/blog/2025-09-17-v3.0.5.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
slug: v3.0.5
3+
title: v3.0.5 — Schema parity and native bumps
4+
tags: [types, native, tooling]
5+
---
6+
7+
Lowercase schema literals and refreshed native binaries shape this patch release.
8+
9+
<!-- truncate -->
10+
11+
import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";
12+
13+
<AdFitTopFixed />
14+
15+
Key updates:
16+
17+
- Standardized OpenIAP string unions to `'in-app'`, `'ios'`, and `'android'`, updated `useIAP` request helpers to the new `PurchaseRequestInput`, and synced docs, examples, and tests with the latest schema terminology.
18+
- Regenerated `src/types.ts` from `openiap-gql` 1.0.2, tightened the contributor workflow around type generation, and excluded the file from Prettier/ESLint churn.
19+
- Bumped the Android fallback to [openiap-google 1.1.10](https://github.com/hyodotdev/openiap-google/releases/tag/1.1.10) and the iOS pod to [openiap 1.1.12](https://github.com/hyodotdev/openiap-apple/releases/tag/1.1.12) while adopting PascalCase error codes and the revised request parameter models across the native bridges and config plugin.
20+
21+
Thanks for testing the schema churn quickly—your reports keep the hosted APIs and this wrapper aligned.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "expo-iap",
3-
"version": "3.0.4",
3+
"version": "3.0.5",
44
"description": "In App Purchase module in Expo",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)