Skip to content

Align React Native SDK with OMS Wallet 0.2.0#55

Draft
tolgahan-arikan wants to merge 2 commits into
masterfrom
align-oms-wallet-native-sdks
Draft

Align React Native SDK with OMS Wallet 0.2.0#55
tolgahan-arikan wants to merge 2 commits into
masterfrom
align-oms-wallet-native-sdks

Conversation

@tolgahan-arikan

Copy link
Copy Markdown
Collaborator

Summary

  • upgrade the wrapper to oms-wallet-swift-sdk and oms-wallet-kotlin-sdk 0.2.0 and rename the internal TurboModule/pod target accordingly
  • align the public API around OMSWallet, exported Networks, fixed OMS relay OIDC providers, custom provider redirects, structured session auth, stable OMS errors, fee selectors, and transaction status resolution
  • update the bare, Expo, and Trails examples together with focused bridge tests
  • add yarn verify and ensure the standalone Expo check installs a tarball from the pending local source
  • replace stale API and release documentation

Breaking API changes

  • OMSClient becomes OMSWallet
  • OidcProviders becomes fixed OmsRelayOidcProviders values; custom providers require providerRedirectUri
  • wallet, signing, transaction, and indexer methods use exported Network values instead of string chain IDs
  • signature verification methods are named isValidMessageSignature and isValidTypedDataSignature
  • redirect completion returns { type: "completed", result }
  • session state exposes structured email or OIDC auth details

Verification

  • yarn verify
  • yarn expo-example:install && npm --prefix examples/expo-example run typecheck
  • Android bridge compilation against the locally published Kotlin 0.2.0 artifact
  • full unsigned iOS Simulator build against the local Swift 0.2.0 pod

Release prerequisite

Keep this PR in draft until oms-wallet-kotlin-sdk:0.2.0 is available from Maven Central and oms-wallet-swift-sdk 0.2.0 is available from CocoaPods. The example lockfiles intentionally remain on the currently published native dependencies until those artifacts can be resolved normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant