Closed josephkkin closed 2 years ago
After a bit of investigating the issue, noticed that the documentation of the usage of decodeTransactions on the NPM repo site is different from the README in the Git repo.
The NPM site mentions it as follows.
// Decoding not only reveals the contents of the transactions but also verifies that they were signed by Apple. const transactions = await api.decodeTransactions(response.signedTransactions)
In the Git README it is documented as follows.
// Decoding not only reveals the contents of the transactions but also verifies that they were signed by Apple. const transactions = await decodeTransactions(response.signedTransactions)
The README has been updated on npm. 😊
The types definition files needs to be updated for the latest updates.