mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
rename sdk function for clarity
This commit is contained in:
@@ -75,8 +75,8 @@ export class OpenPassportVerifier extends AttestationVerifier {
|
||||
return this;
|
||||
}
|
||||
|
||||
setDevMode(devMode: boolean): this {
|
||||
this.devMode = devMode;
|
||||
allowMockPassports(): this {
|
||||
this.devMode = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ export default function Prove() {
|
||||
|
||||
const openPassportVerifier = new OpenPassportVerifier('prove_offchain', scope)
|
||||
.excludeCountries('Finland', 'Norway')
|
||||
.setDevMode(true)
|
||||
.allowMockPassports()
|
||||
.setMinimumAge(12);
|
||||
return (
|
||||
<div className="h-screen w-full bg-white flex flex-col items-center justify-center gap-4">
|
||||
|
||||
Reference in New Issue
Block a user