Compare commits

..

1 Commits

Author SHA1 Message Date
3204f1d676 Merge branch 'master' into polish-ui-project-view 2023-08-07 03:09:31 -04:00
4 changed files with 17 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
export enum AppString { export enum AppString {
APP_NAME = "Kick-Start with Time", APP_NAME = "Kick-Start with Time",
PROD_ENDORSER_API_SERVER = "https://api.endorser.ch", PROD_ENDORSER_API_SERVER = "https://endorser.ch:3000",
TEST_ENDORSER_API_SERVER = "https://test.endorser.ch:8000", TEST_ENDORSER_API_SERVER = "https://test.endorser.ch:8000",
LOCAL_ENDORSER_API_SERVER = "http://localhost:3000", LOCAL_ENDORSER_API_SERVER = "http://localhost:3000",

View File

@@ -106,7 +106,7 @@ export function didInfo(
} }
/** /**
* For result, see https://api.endorser.ch/api-docs/#/claims/post_api_v2_claim * For result, see https://endorser.ch:3000/api-docs/#/claims/post_api_v2_claim
* *
* @param identity * @param identity
* @param fromDid may be null * @param fromDid may be null

View File

@@ -218,13 +218,13 @@ export default class NewEditProjectView extends Vue {
try { try {
const resp = await this.axios.post(url, payload, { headers }); const resp = await this.axios.post(url, payload, { headers });
// handleId is new in server v release-1.6.0; remove fullIri when that // handleId is new in server v release-1.6.0; remove fullIri when that
// version shows up here: https://api.endorser.ch/api-docs/ // version shows up here: https://endorser.ch:3000/api-docs/
if (resp.data?.success?.handleId || resp.data?.success?.fullIri) { if (resp.data?.success?.handleId || resp.data?.success?.fullIri) {
this.errorMessage = ""; this.errorMessage = "";
this.alertTitle = ""; this.alertTitle = "";
this.alertMessage = ""; this.alertMessage = "";
// handleId is new in server v release-1.6.0; remove fullIri when that // handleId is new in server v release-1.6.0; remove fullIri when that
// version shows up here: https://api.endorser.ch/api-docs/ // version shows up here: https://endorser.ch:3000/api-docs/
useAppStore().setProjectId( useAppStore().setProjectId(
resp.data.success.handleId || resp.data.success.fullIri, resp.data.success.handleId || resp.data.success.fullIri,
); );

View File

@@ -20,26 +20,22 @@
</div> </div>
<div v-if="activeAccount"> <div v-if="activeAccount">
<p class="text-center mb-4"> <p>
<b class="text-red-600">BEWARE!</b> Anyone who has this seed phrase will BEWARE: Anyone who gets hold of this mnemonic seed phrase will be able
be able impersonate you and take over any digital holdings based on it. impersonate you and take over any digital holdings based on it. So only
Reveal it when you are somewhere only you can see your screen, and reveal it when you are in a private place out of sight of other eyes,
record it somewhere only you have access. and only record it in something private -- don't take a screenshot or
<i>Don't take a screenshot or send it to any online service.</i> send it to any online service.
</p> </p>
<div class="bg-slate-100 rounded-md overflow-hidden p-4 mb-4"> <button
<button class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md"
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md" @click="showSeedPhrase"
@click="showSeedPhrase" >
> Click here when you're ready to see it.
Reveal my Seed Phrase </button>
</button>
<p v-if="showSeed" class="text-center text-slate-700 mt-2"> <p v-if="showSeed">{{ activeAccount.mnemonic }}</p>
{{ activeAccount.mnemonic }}
</p>
</div>
</div> </div>
<div v-else>You do not have an active identity.</div> <div v-else>You do not have an active identity.</div>
<AlertMessage <AlertMessage