Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

v1.4.0

Latest
Compare
Choose a tag to compare
@0xASK 0xASK released this 28 Aug 19:15
· 11 commits to master since this release
bfdc4d9

This release focuses on improving the developer experience of the PayID reference implementation, specifically reducing friction when using the PayID CLI tool for verifiable PayID. Additionally, we added some legal disclaimers and improved error notifications.

Features

  • New version of the Admin API (2020-08-25) (BREAKING CHANGE):
    • All edit endpoints (PUT & POST) now accept the same payload as the Public API when you pass in a newer date based version header (dates >= '2020-08-25'), retrieval endpoints (GET) also return the same format:
// Admin API now shares the same interface as the Public API
{
  payId: string
  version: string
  addresses: [
    paymentNetwork: string
    environment: string
    addressDetailsType: string
    addressDetails: {
      address: string
    }
  ]
  verifiedAddresses: [
    {
      payload: string
      signatures: [
        {
          name: string
          protected: string
          signature: string
        }
      ]
  ]
}
  • Updated legal terms disallowing the downloading, usage, reproduction or distribution of PayID code in Australia

Fixes

  • PATCH now throws an error if you update a PayID that has verifiedAddresses. Allowing this behavior would invalidate the signatures used to verify the previously stored verifiedAddresses.

Project Internals

  • Refactored some shared logic across POST and PUT
  • Extending tests to guarantee the Admin API works across versions