Skip to content

Releases: ardriveapp/turbo-sdk

v1.0.0

26 Sep 22:02
Compare
Choose a tag to compare

1.0.0 (2023-09-26)

Bug Fixes

  • add command that removes type module from package.json (c2ce7d3)
  • add command that removes type module from package.json (8675df5)
  • add main import and allow wildcard imports (edf9d27)
  • add module to package.json and tweak types (0afba5f)
  • add one more step to make esm useable (20fec23)
  • add owner to TurboUploadDataItemResponse and remove byteCount (14f75bd)
  • add separate folder for types, use it in named exports (7bd1e63)
  • change name of public facing clients. (7925b99)
  • cjs: add separate cjs and esm outputs (c8b2101)
  • content-length: require content length factory for uploads (ba53d03)
  • exports: move turbo configurations to turbo.ts so it is available to clients (5a04d7f)
  • fix package.json (b2cf260)
  • modify return type of signDataItem function, tweak implementation of ArweaveSigner header (305312b)
  • move from getWincPriceForBytes to getUploadCosts (1b50b2d)
  • package.json: add back module to package.json (8b252c6)
  • remove package.json from lib directory (46a5946)
  • remove postinstall command (e51141c)
  • replace retry-axios, add additional retry logic (2da9334)
  • retry-axios: pin retry-axios to 3.0.0 (2afbc26)
  • revert to single file upload/data item upload (1ccbbfa)
  • swap adding package.json to esm to cjs (dd921c8)
  • top up: export type PE-4465 (8a237fb)
  • type imports for web and node (9602f17)
  • types: finalize types, update default payment and upload URLs (5364846)
  • update main and types path in package.json (b44678c)
  • update package.json output for esm (2f37ae5)
  • update web signer and cleanup examples (97fd29b)
  • use .cjs as base for types to avoid reference require errors (18101b6)
  • use declare in sub-classes to overwrite parent class type (3a656fa)
  • wildcard: allow wildcard exports for older projects (1aa0827)
  • wrong path for types! (d98897e)

Features

  • abstract axios to TurboHTTPService class (6592ac8)
  • abstract JWKInterface used in AuthenticatedPayment and AuthenticatedUploadService (bd4f69d)
  • add remaining unauthenticated apis for payment service, introduce some new types, add tests (8d56fd7)
  • add uploadFiles implementation for node and web (7c454f5)
  • break services into auth vs unauth (56269be)
  • inital implementation of TurboWebClient and TurboNodeClient (39ea171)
  • introduce AbortController (8f636b1)
  • introduce uploadSignedDataItem interface, implement for node (c2448fd)
  • remove TurboDataItemVerifier (fee5675)
  • sdk: all uphill from here 🚀 PE-4064 (aa4f06f)
  • top-up: init get checkout session PE-4465 (ca4385c)
  • winc for fiat: extend AmountMapper pattern and add promoCode support PE-4465 (53f9f8e)