Swift Changelog
Release notes for the Silent Shard Trio Swift SDK.
1.0.0
This release renames the SDK module and migrates the public API to a keyId-addressed model.
Breaking Changes
- Renamed the Swift module and SPM product/target from
trioinitiatortotrio. Update your imports toimport trio. The SPM package repository (silent-shard-artifacts) is unchanged. - Session factory renamed from
createTrioSessiontotrioInitiator(SilentShard.ECDSA.trioInitiator(...)/SilentShard.EdDSA.trioInitiator(...)). - Migrated to a
keyId-addressed model. Keyshare bytes are no longer passed in or out — the SDK persists them through yourStorageClient, keyed by an opaquekeyIdstring:keygen(),`import`(keysharePrivateKey:)andrecover(keysharePublicKey:)now return akeyId(String).sign,refresh,reconcile,exportanddeletenow take akeyId.
export(keyId:)and`import`(keysharePrivateKey:)are now single-argument (the SDK handles backup encryption / root chain code internally).- Renamed
preSignature→preSignandpreSignatureFinal→preSignFinal(ECDSA only); renamedrecovery→recover. - Implement the
StorageClientprotocol (notBaseStorageClient). It now requires akeyType: StorageKeyTypeproperty, is addressed bykeyId, and reads/writesReconcileStoreDao, which is nowCodable. WebsocketConfignow uses a verbatim-URL model: a fullwss:///ws://URL is used as-is (port andisSecureare ignored); for local development pass a bare host/IP withportandisSecure.
Added
delete(keyId:)to remove a stored key.hardDerivation(keyId:derivationPath:)(ECDSA only) to derive a new hardened child key, returning a newkeyId.