Changelog

On this page

Each package also ships its changelog as CHANGELOG.md. Versions follow semantic versioning; before 1.0, a minor version may include breaking changes, and the notes say so.

0.1.2

@tenthbilling/expo

  • purchase() takes a googleOfferId option, to buy a specific Google Play offer. See Google Play offers.
  • On Google Play, buying a different subscription while one is active now replaces the existing subscription instead of adding a second one.
  • On the web, Stripe.js loads only when a payment form opens, and the payment form no longer requests fonts from Google Fonts.
  • Smaller web bundles: the paywall's icons are imported one by one, which roughly halved the startup JavaScript of Tenth's example app.
  • debit metadata accepts numbers, booleans and null as well as strings, as the API always did.
  • The 15-second request timeout now covers reading the response too.
  • expo-modules-core is no longer a peer dependency; it comes with expo. This fixes expo-doctor reporting it as missing, and as installed directly once added.

@tenthbilling/node

  • verifyWebhook accepts the raw body as a Uint8Array or ArrayBuffer, as well as a string or Buffer, for Web-standard runtimes such as Deno.

API

  • current can no longer be used as an offering key: /v1/offerings/current always means the current offering.

0.1.1

  • Smaller packages: the bundled API types cover only the public API, and the built JavaScript has no comments (the type definitions keep their doc comments). No API changes.

0.1.0

  • First release of @tenthbilling/expo and @tenthbilling/node.