Repository navigation
docs: fix consumer and contributor docs and check Package.swift version - #46
Conversation
Correct inaccurate doc comments, add a Package.swift install snippet, Solana network and walletSelectionInFlight docs, and refresh the TESTING, publishing, and AGENTS guidance.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @tolgahan-arikan's task in 1m 38s —— View job Review: PR #46 — docs: fix consumer and contributor docs
Verdict: Looks good. Approve-equivalent. Every doc claim in this PR checks out against the source, and the new Doc-comment fixes — all verified correct
README / docs
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 655451b6a4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Documentation fixes, one release-tooling check, and the PR-review model change. Doc-comment text in
Sources/is corrected, with no code changes.scripts/verify.shgains one README version check. Does not changePackage.swift, the podspec, or versions.Changes
Doc comments that contradicted signatures (corrections only; no new method descriptions, per
AGENTS.md)signMessage:networkis theNetworktype, not a string.createWallet: cited a nonexistent.ethereumEoa; now lists.ethereum(default) and.solana..unknown(String)is a decoding fallback, not a creatable type.useWallet: described awalletTypeparameter; it takeswalletId.Keccak256: the result is0xplus 64 hex digits (66 characters).signOut: the reference tostartEmailAuthnow includessessionLifetimeSeconds.README
Package.swiftsnippet (.product(name: "OMSWallet", package: "swift-sdk")).SolanaNetworkand its values..walletSelectionInFlightto error handling.docs/error-contracts.md: adds
OMS_WALLET_SELECTION_IN_FLIGHT.TESTING.md: describes test files by area instead of a partial file list, and replaces a nonexistent example test name.
publishing.md: the README version text is required by
verify.sh, not optional. The checklist also covers the newPackage.swiftexample.scripts/verify.sh: also fails when the README
Package.swiftexample (from: "<version>") does not match the podspec version, so a release cannot leave it pinned to an old minor.AGENTS.md: the utils description no longer mentions time helpers, which don't exist.
AGENTS.md Maintenance Matrix: the platform and Swift-version row now includes the podspec. It also notes that raising iOS or Swift/Xcode requirements raises the React Native SDK's supported minimum, which builds this SDK in
compatibility-tests/expo-min(ci: build minimum and current Expo apps natively and fix docs 0xPolygon/oms-wallet-react-native-sdk#123).Claude PR review (
.github/workflows/claude-review.yml): both the automatic review and@claudereplies now use Claude Sonnet 5.5 (claude-sonnet-5-5) instead of Opus 4.8. The branch mergesmasterfirst to pick up its pinnedclaude-code-action(ci: pin claude-code-action to v1.0.237 by SHA (GHSA-8q5r-mmjf-575q) #47).Testing
swift buildpassesswift testpasses (124 tests)SDK demo app builds: not run, only doc comments changedTrails Actions demo app builds: not run, only doc comments changedAlso:
Package.swiftsnippet resolves the 0.3.0 tag and builds in a scratch package.scripts/generate-api.sh --checkandscripts/test-generate-api.pypass. API.md is unchanged because the generator does not include doc-comment text.Sources/diffs are///lines only.verify.shguard passes for the current 0.3.0 README. For a simulated 0.4.0 release with the prose and CocoaPods line bumped but the manifest example forgotten, it fails:README.md must use podspec version 0.4.0 in the Package.swift example.git diff --checkis clean.Not included
swift_version "6.0"andverify.shlints with--swift-version=6.0, whilePackage.swiftneeds tools 6.2. That is release configuration and belongs in a release PR.AGENTS.mdstill says to avoid method descriptions in source, which contradicts the existing///comments. Changing that rule needs a decision.Related
Part of one documentation pass across the OMS Wallet SDKs and docs site: