Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

feat: apply renewalstate, error messages, md rules#5

Merged
hyochan merged 3 commits intomainfrom
feat/renewalstate-error-messages-mdlint
Sep 9, 2025
Merged

feat: apply renewalstate, error messages, md rules#5
hyochan merged 3 commits intomainfrom
feat/renewalstate-error-messages-mdlint

Conversation

@hyochan
Copy link
Member

@hyochan hyochan commented Sep 9, 2025

Switch subscription status to StoreKit RenewalState and keep JSON compatibility by encoding the enum as a string. Add default messages for all error codes and expose an errorMessages() map for bridging. Also fill missing error code mappings and disable markdownlint MD013/MD033 for the docs.

- Use StoreKit RenewalState for subscription status and encode as string for JSON compatibility.
- Add default messages for all error codes and expose errorMessages() for bridging.
- Fill missing error code mappings and disable markdownlint MD013/MD033.
@hyochan hyochan added the 🎯 feature New feature label Sep 9, 2025
Replace PurchaseError struct with OpenIapErrorEvent under OpenIapError namespace and re-export via typealiases for backward compatibility. Move constants and default messages to OpenIapError namespace to avoid duplication.
Remove legacy PurchaseError and OpenIapPurchaseError; integrate error event into OpenIapError as OpenIapErrorEvent. Update all references, listeners, and examples to use the unified type and OpenIapError E_* constants. Remove backward-compat typealiases as requested.
@hyochan hyochan merged commit 16a92d6 into main Sep 9, 2025
1 check passed
@hyochan hyochan deleted the feat/renewalstate-error-messages-mdlint branch September 9, 2025 03:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🎯 feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant