Skip to content

Releases

2.0.0

Choose a tag to compare

@sudoplatform-engineering sudoplatform-engineering released this 13 Nov 05:49

Breaking

  • deprovisionPhoneNumber now removes the number's key pair from the device unless enforceSingletonKeyPair is set. The service keeps a released number's messages, so they are now returned in a list's failed items with UnsealingFailedError instead of as plaintext.
  • deprovisionPhoneNumber can throw the new KeyPairRemovalFailedError when the number was released but its key pair couldn't be removed. The error's `deprovisioned` property holds the released number; treat the number as gone.
  • SudoTelephonyClient has a new method, createSingletonKeysIfAbsent(). Classes and mocks that implement the interface must add it.

New

  • sudoTelephonyClientConfig.enforceSingletonKeyPair client option (default false). When set, every phone number is provisioned with one shared key pair, so a key backup holds a single key however many numbers there are. The shared key pair is never removed when a number is deprovisioned or fails to provision; only reset() removes it.
  • createSingletonKeysIfAbsent() creates the shared key pair. Call it after the user signs in and before provisioning.

Fix

  • A failed provisionPhoneNumber now removes the key pair generated for it when the service refused the request. After network or internal service errors the key is kept, because the number may have been provisioned.
  • A key pair is no longer left on the device after its number is deprovisioned.

1.0.1

Choose a tag to compare

@sudoplatform-engineering sudoplatform-engineering released this 10 Nov 08:49

Fix

  • Fix initial public publish issue

1.0.0

Choose a tag to compare

@sudoplatform-engineering sudoplatform-engineering released this 10 Nov 05:18

New

  • Initial release