-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: accepting the param values for examples
- Loading branch information
1 parent
37a8b45
commit a7c3322
Showing
9 changed files
with
151 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import VeraxSdk from "../../src/VeraxSdk"; | ||
import AttestationExamples from "./attestationExamples"; | ||
|
||
let argv: string | null | undefined = process.argv[3] as string; | ||
argv !== null && argv !== undefined ? (argv = argv.replaceAll("\\", "")) : (argv = ""); | ||
|
||
const veraxSdk = new VeraxSdk(VeraxSdk.DEFAULT_LINEA_TESTNET); | ||
|
||
await new AttestationExamples(veraxSdk).run(process.argv[2]); | ||
await new AttestationExamples(veraxSdk).run(process.argv[2], argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import VeraxSdk from "../../src/VeraxSdk"; | ||
import ModuleExamples from "./moduleExamples"; | ||
|
||
let argv: string | null | undefined = process.argv[3] as string; | ||
argv !== null && argv !== undefined ? (argv = argv.replaceAll("\\", "")) : (argv = ""); | ||
|
||
const veraxSdk = new VeraxSdk(VeraxSdk.DEFAULT_LINEA_TESTNET); | ||
|
||
await new ModuleExamples(veraxSdk).run(process.argv[2]); | ||
await new ModuleExamples(veraxSdk).run(process.argv[2], argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import VeraxSdk from "../../src/VeraxSdk"; | ||
import PortalExamples from "./portalExamples"; | ||
|
||
let argv: string | null | undefined = process.argv[3] as string; | ||
argv !== null && argv !== undefined ? (argv = argv.replaceAll("\\", "")) : (argv = ""); | ||
|
||
const veraxSdk = new VeraxSdk(VeraxSdk.DEFAULT_LINEA_TESTNET); | ||
|
||
await new PortalExamples(veraxSdk).run(process.argv[2]); | ||
await new PortalExamples(veraxSdk).run(process.argv[2], argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import VeraxSdk from "../../src/VeraxSdk"; | ||
import PortalExamples from "./schemaExamples"; | ||
|
||
let argv: string | null | undefined = process.argv[3] as string; | ||
argv !== null && argv !== undefined ? (argv = argv.replaceAll("\\", "")) : (argv = ""); | ||
|
||
const veraxSdk = new VeraxSdk(VeraxSdk.DEFAULT_LINEA_TESTNET); | ||
|
||
await new PortalExamples(veraxSdk).run(process.argv[2]); | ||
await new PortalExamples(veraxSdk).run(process.argv[2], argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters