Doc commit tag conventions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import {
|
||||
Encrypter,
|
||||
PrivateKey,
|
||||
StoreRemoteHTTP,
|
||||
} from '../../packages/stack/src/index.js';
|
||||
|
||||
const privateKey = PrivateKey.generateRandom();
|
||||
const encrypter = Encrypter.generateRandom();
|
||||
const storeHTTP = new StoreRemoteHTTP(
|
||||
'http://localhost:3000/store',
|
||||
privateKey,
|
||||
encrypter,
|
||||
);
|
||||
|
||||
const keys = await storeHTTP.keys();
|
||||
|
||||
console.log(keys);
|
||||
Reference in New Issue
Block a user