Skip to content

Commit

Permalink
GITBOOK-524: typo: getReponse -> getResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
yum0e authored and gitbook-bot committed Sep 4, 2023
1 parent 92f335b commit 9650bbb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions build-with-sismo-connect/technical-documentation/auths.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The `useSismoConnect` hook is available from the [sismo-connect-react package](p

* One or multiple AuthRequests can be made using the `sismoConnect.request()` method available on the `sismoConnect` variable.
* The response could be received through either:
1.  the `sismoConnect.getReponse()` method for offchain verification or,
1.  the `sismoConnect.getResponse()` method for offchain verification or,
2.  the `sismoConnect.getResponseBytes()` method for onchain verification.

#### One AuthRequest - code example
Expand Down Expand Up @@ -163,7 +163,7 @@ function onClick(){
}

// Proofs are available in two differents types depending on usage (offchain or onchaon verification)
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand All @@ -179,7 +179,7 @@ The [`sismo-connect-client` package](packages/client.md) exposes a `SismoConnect

* One or multiple AuthRequests can be made using the `sismoConnect.request()` method available on a `SismoConnect` instance.
* The response could be received through either:
1.  the `sismoConnect.getReponse()` method for offchain verification or,
1.  the `sismoConnect.getResponse()` method for offchain verification or,
2.  the `sismoConnect.getResponseBytes()` method for onchain verification.

#### One AuthRequest - code example
Expand All @@ -199,7 +199,7 @@ function onClick(){
}

// Receive the proofs in two different formats
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down Expand Up @@ -229,7 +229,7 @@ function onClick(){
}

// Receive the proofs in two different formats
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down
12 changes: 6 additions & 6 deletions build-with-sismo-connect/technical-documentation/claims.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The `useSismoConnect` hook is available from the [sismo-connect-react package](p

* One or multiple claim requests can be made using the `sismoConnect.request()` method available on the `sismoConnect` variable.
* Responses could be received through either:
1. the `sismoConnect.getReponse()` method for offchain verification or,
1. the `sismoConnect.getResponse()` method for offchain verification or,
2. the `sismoConnect.getResponseBytes()` method for onchain verification.

**One ClaimRequest - code example**
Expand All @@ -136,7 +136,7 @@ function onClick(){
}

// Proofs are available in two differents types depending on usage (offchain or onchaon verification)
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down Expand Up @@ -167,7 +167,7 @@ function onClick(){
}

// Proofs are available in two differents types depending on usage (offchain or onchaon verification)
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand All @@ -183,7 +183,7 @@ The [`sismo-connect-client` package](packages/client.md) exposes a `SismoConnect

* One or multiple ClaimRequests can be made using the `sismoConnect.request()` method available on a `SismoConnect` instance.
* Responses could be received through either:
1. the `sismoConnect.getReponse()` method for offchain verification or,
1. the `sismoConnect.getResponse()` method for offchain verification or,
2. the `sismoConnect.getResponseBytes()` method for onchain verification.

**One ClaimRequest - code example**
Expand All @@ -203,7 +203,7 @@ function onClick(){
}

// Receive the proofs in two different formats
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down Expand Up @@ -233,7 +233,7 @@ function onClick(){
}

// Receive the proofs in two different formats
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down
8 changes: 4 additions & 4 deletions build-with-sismo-connect/technical-documentation/signature.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The `useSismoConnect` hook is available from the [sismo-connect-react package](p

* One or multiple claim requests can be made using the `sismoConnect.request()` method available on the `sismoConnect` variable.
* Responses could be received through either:
1.  the `sismoConnect.getReponse()` method for offchain verification or,
1.  the `sismoConnect.getResponse()` method for offchain verification or,
2.  the `sismoConnect.getResponseBytes()` method for onchain verification.

#### One ClaimRequest - code example
Expand All @@ -110,7 +110,7 @@ function onClick(){
}

// Proofs are available in two differents types depending on usage (offchain or onchaon verification)
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand All @@ -127,7 +127,7 @@ The [`sismo-connect-client` package](packages/client.md) exposes a `SismoConnect

* One or multiple ClaimRequests can be made using the `sismoConnect.request()` method available on a `SismoConnect` instance.
* Responses could be received through either:
1.  the `sismoConnect.getReponse()` method for offchain verification or,
1.  the `sismoConnect.getResponse()` method for offchain verification or,
2.  the `sismoConnect.getResponseBytes()` method for onchain verification.

#### One ClaimRequest - code example
Expand All @@ -150,7 +150,7 @@ function onClick(){
}

// Receive the proofs in two different formats
const response: SismoConnectResponse | null = sismoConnect.getReponse();
const response: SismoConnectResponse | null = sismoConnect.getResponse();
const responseBytes: string | null = sismoConnect.getResponseBytes();

if(response || responseBytes) {
Expand Down

0 comments on commit 9650bbb

Please sign in to comment.