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
duoinitiatortoduo(import duoinitiator→import duo). - Moved to a
keyId-addressed API.keygenandimportnow return an opaquekeyId(String), andsign,refresh,export,verifyBackup, andreconciletake akeyIdinstead of raw keyshare bytes. The SDK persists keyshares through yourStorageClient. - Renamed the session factory
SilentShard.ECDSA.createDuoSession(...)/SilentShard.EdDSA.createDuoSession(...)toduoInitiator(...). - Renamed
signature(keyshare:message:chainPath:)tosign(keyId:message:derivationPath:). - The storage protocol is
StorageClient(conform to it directly — there is noBaseStorageClient). It now requires akeyType: StorageKeyTypeproperty, andwrite(dao:)isasync throws.ReconcileStoreDaois nowCodable. WebsocketConfignow uses a verbatim-URL model: a fullwss:///ws://URL is used as-is (port andisSecureignored), or pass a bare host/IP withportandisSecure.
Added
delete(keyId:)to remove a stored keyshare.