Skip to content

1.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Oct 16:25

Rust: anyswap-sdk, anyswap-core

  • Breaking: HttpClient::new takes the Wallet that signs protected
    requests instead of its identity PrivateKey, and returns a Result.
    set_private_key is gone.

Minor

  • Wallet erases its master key and seeds once its keys are derived, and its
    keys when it drops. A Mnemonic erases its words when it drops.

TypeScript: @blockstream/anyswap-sdk, @blockstream/anyswap-wasm

  • Breaking: AnySwapClient takes the wallet that signs protected
    requests instead of auth.identityPrivkey. AnySwapAuth is gone.
  • Breaking: signals and subscribe take no userId; they use the
    client's wallet.
  • Breaking: Wallet.identityPrivkey is gone, and so are the bindings'
    signRequest and getPubkey: the client signs inside the wasm module, so
    the identity key never leaves it.