forked from trent_larson/crowd-funder-for-time-pwa
Compare commits
1 Commits
update-api
...
polish-ui-
| Author | SHA1 | Date | |
|---|---|---|---|
| 3204f1d676 |
@@ -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",
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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"
|
||||||
>
|
>
|
||||||
Reveal my Seed Phrase
|
Click here when you're ready to see it.
|
||||||
</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
|
||||||
|
|||||||
Reference in New Issue
Block a user