app-store-server-library-node
app-store-server-library-node copied to clipboard
fix: convert publicKey to KeyObject for compatibility with Bun
In previous versions of Bun, the publicKey was generated as a CryptoKey instead of a KeyObject, which caused compatibility issues with the library in the Bun environment. This PR adds support for transforming CryptoKey instances into KeyObjects, enabling Bun to successfully perform signature verifications.
Reference: https://github.com/oven-sh/bun/issues/16652