Skip to content

Commit 8c7c2ae

Browse files
committed
Remove Sled crypto store, use SQLite by default
on account of it being removed from the crypto-sdk
1 parent 10eb6b3 commit 8c7c2ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/storage/RustSdkCryptoStorageProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class RustSdkCryptoStorageProvider implements ICryptoStorageProvider {
2626
*/
2727
public constructor(
2828
public readonly storagePath: string,
29-
public readonly storageType: RustSdkCryptoStoreType = RustSdkCryptoStoreType.Sled,
29+
public readonly storageType: RustSdkCryptoStoreType = RustSdkCryptoStoreType.Sqlite,
3030
) {
3131
this.storagePath = path.resolve(this.storagePath);
3232
mkdirp.sync(storagePath);
@@ -69,7 +69,7 @@ export class RustSdkAppserviceCryptoStorageProvider extends RustSdkCryptoStorage
6969
* @param baseStoragePath The *directory* to persist database details to.
7070
* @param storageType The storage type to use. Must be supported by the rust-sdk.
7171
*/
72-
public constructor(private baseStoragePath: string, storageType: RustSdkCryptoStoreType = RustSdkCryptoStoreType.Sled) {
72+
public constructor(private baseStoragePath: string, storageType: RustSdkCryptoStoreType = RustSdkCryptoStoreType.Sqlite) {
7373
super(path.join(baseStoragePath, "_default"), storageType);
7474
}
7575

0 commit comments

Comments
 (0)