Skip to main content

Swift Changelog

Release notes for the Silent Shard Duo Swift SDK.


1.0.0

Breaking Changes

  • Renamed the Swift Package Manager product/target and module from duoinitiator to duo (import duoinitiatorimport duo).
  • Moved to a keyId-addressed API. keygen and import now return an opaque keyId (String), and sign, refresh, export, verifyBackup, and reconcile take a keyId instead of raw keyshare bytes. The SDK persists keyshares through your StorageClient.
  • Renamed the session factory SilentShard.ECDSA.createDuoSession(...) / SilentShard.EdDSA.createDuoSession(...) to duoInitiator(...).
  • Renamed signature(keyshare:message:chainPath:) to sign(keyId:message:derivationPath:).
  • The storage protocol is StorageClient (conform to it directly — there is no BaseStorageClient). It now requires a keyType: StorageKeyType property, and write(dao:) is async throws. ReconcileStoreDao is now Codable.
  • WebsocketConfig now uses a verbatim-URL model: a full wss:///ws:// URL is used as-is (port and isSecure ignored), or pass a bare host/IP with port and isSecure.

Added

  • delete(keyId:) to remove a stored keyshare.