Skip to content

Commit af3e9e9

Browse files
committed
chore(examples): use restore
1 parent 77455cb commit af3e9e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { CAS } from "unilim/cas";
22
import { Signatures } from "unilim/iut/signatures";
33

4-
const cas = await CAS.initialize(Bun.env.USERNAME!, Bun.env.PASSWORD!);
4+
const cas = await CAS.restore(
5+
Bun.env.USERNAME!, Bun.env.PASSWORD!,
6+
Bun.env.CONNECTION!, Bun.env.KEY!
7+
);
8+
59
const signatures = await Signatures.fromCAS(cas);
610

711
console.log(signatures.session);

0 commit comments

Comments
 (0)