@renaiss-protocol/client@0.1.0-beta.3, which makes the package root the entry point for the /v2 HTTP API. It is a breaking prerelease change for the alpha root API. Check release availability before installing.
Choose a version
Pin your existing alpha version exactly until you have migrated its wallet and authentication flows. For example, an app using0.1.0-alpha.2 can keep that release with:
^0.1.0-alpha.2 to stay on the alpha API: that range also admits 0.1.0-beta.3.
After migrating and confirming the beta version is published, install the version these guides cover:
Existing EOA integrations
Use root imports:@renaiss-protocol/client/v2 package subpath has been removed. Update every EOA client import to @renaiss-protocol/client; there is no compatibility alias. The optional viem adapter stays at @renaiss-protocol/client/viem.
Each client requires an explicit baseUrl. Pass the matching network and keep all pre-signing validation; changing an import does not change the HTTP routes or approval requirements.
Existing alpha integrations
createPublicClient, createSecureClient, createBuilderClient and createSigningClient are no longer exported. Safe addresses and v1 signatures cannot be reused as EOA signing payloads. The SDK does not transfer assets out of an existing Safe.
Remove configuration requests
Remove the loading and error states for the two
/config endpoints. Keep server calls for shipping eligibility, quotes and checkout preparation. Update the SDK when network constants change; never substitute an unexpected response value to bypass signing validation.
Shipping verification
Register your frontend’s exact origins and configure the API issuer separately. Passorigin to connectRedemptionWallet. The readable shipping challenge includes validation metadata in the nonce response’s context; sign the original message without appending that metadata.
The current SDK also accepts the previous challenge format with signed SIWE resources. Upgrade the SDK before switching the API to the readable format. Follow authentication for timing, logout and wallet-change handling.