@devtion/devcli 0.0.0-c749be4 → 0.0.0-e22d20d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.env +14 -0
- package/dist/index.js +448 -49
- package/dist/public/mini-semaphore.wasm +0 -0
- package/dist/public/mini-semaphore.zkey +0 -0
- package/dist/types/commands/authBandada.d.ts +2 -0
- package/dist/types/commands/authSIWE.d.ts +7 -0
- package/dist/types/commands/ceremony/index.d.ts +3 -0
- package/dist/types/commands/ceremony/listParticipants.d.ts +2 -0
- package/dist/types/commands/index.d.ts +2 -0
- package/dist/types/commands/setup.d.ts +2 -2
- package/dist/types/lib/bandada.d.ts +6 -0
- package/dist/types/lib/files.d.ts +1 -0
- package/dist/types/lib/localConfigs.d.ts +38 -0
- package/dist/types/lib/prompts.d.ts +1 -1
- package/dist/types/types/index.d.ts +69 -0
- package/package.json +10 -3
- package/src/commands/auth.ts +7 -1
- package/src/commands/authBandada.ts +120 -0
- package/src/commands/authSIWE.ts +185 -0
- package/src/commands/ceremony/index.ts +20 -0
- package/src/commands/ceremony/listParticipants.ts +56 -0
- package/src/commands/contribute.ts +47 -24
- package/src/commands/finalize.ts +8 -4
- package/src/commands/index.ts +2 -0
- package/src/commands/logout.ts +3 -1
- package/src/commands/observe.ts +5 -1
- package/src/commands/setup.ts +26 -13
- package/src/index.ts +18 -5
- package/src/lib/bandada.ts +51 -0
- package/src/lib/errors.ts +2 -2
- package/src/lib/localConfigs.ts +54 -0
- package/src/lib/prompts.ts +3 -6
- package/src/lib/services.ts +38 -13
- package/src/lib/utils.ts +7 -4
- package/src/types/index.ts +75 -0
package/dist/.env
CHANGED
|
@@ -23,6 +23,13 @@ FIREBASE_CF_URL_VERIFY_CONTRIBUTION=https://verifycontribution-mq4aqokliq-ew.a.r
|
|
|
23
23
|
|
|
24
24
|
# The unique identifier for the Github client associated to the OAuth Application.
|
|
25
25
|
AUTH_GITHUB_CLIENT_ID=e9f8a5fabdfe0d95618c
|
|
26
|
+
### BANDADA AUTHENTICATION ###
|
|
27
|
+
# The Bandada API URL to be used for authentication.
|
|
28
|
+
BANDADA_API_URL=https://api.bandada.pse.dev/
|
|
29
|
+
# The Bandada group id that will be used for the credentials criteria (e.g. GH followers)
|
|
30
|
+
BANDADA_GROUP_ID=40887196405294111455930028907236
|
|
31
|
+
# The Bandada dashboard URL to administrate the groups
|
|
32
|
+
BANDADA_DASHBOARD_URL=https://bandada.pse.dev/
|
|
26
33
|
|
|
27
34
|
### AWS S3 STORAGE ###
|
|
28
35
|
### These configs are related to the configuration of the interaction with the
|
|
@@ -38,4 +45,11 @@ CONFIG_CEREMONY_BUCKET_POSTFIX=-p0tion-development-environment
|
|
|
38
45
|
# The amount of time in seconds which indicates the duration about the validity of a pre-signed URL.
|
|
39
46
|
# default: 7200 seconds = 2 hours.
|
|
40
47
|
CONFIG_PRESIGNED_URL_EXPIRATION_IN_SECONDS=7200
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# Sign In With Ethereum
|
|
51
|
+
# Auth0 client id
|
|
52
|
+
AUTH_SIWE_CLIENT_ID=tRuFnJNoPTJtKr1RynYfty6uJ16QzHXA
|
|
53
|
+
# The Auth0 application url that support SIWE + Device Flow Authentication
|
|
54
|
+
AUTH0_APPLICATION_URL=https://dev-l0tyk1agsmopw1xa.us.auth0.com
|
|
41
55
|
|