File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ export default {
89
89
const publicKeyMultibase = kp .publicKeyMultibase
90
90
91
91
const didDoc = await hsSdk .did .generate ({ publicKeyMultibase });
92
+ didDoc .keyAgreement = [];
92
93
// if(didDoc.id.split(":").at(-1).length!==45){
93
94
// console.log("DID length is not 45. Trying again with index "+ (hdIndex+1));
94
95
// return this.generateNewDid(hdIndex+1);
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ export default {
163
163
const publicKeyMultibase = kp .publicKeyMultibase
164
164
165
165
const didDoc = await hsSdk .did .generate ({ publicKeyMultibase });
166
+ didDoc .keyAgreement = [];
166
167
// const didDoc = JSON.parse(didDocString);
167
168
168
169
const did = didDoc .id ;
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ export default {
97
97
// Generating dummy key
98
98
const kp = await this .hsSDK .did .generateKeys ();
99
99
let didDoc = await this .hsSDK .did .generate ({ publicKeyMultibase: kp .publicKeyMultibase });
100
+ didDoc .keyAgreement = [];
100
101
// let didDoc = JSON.parse(didDocString);
101
-
102
102
const { controllers , alsoKnownAs , serviceEndpoint } = this .didRaw ;
103
103
104
104
if (! Array .isArray (controllers)){
Original file line number Diff line number Diff line change 1
1
// export const SUPERHERO_HS_AUTH_BASE_URL = process.env.VUE_APP_HS_AUTH_BASE_URL || "https://stage.hypermine.in/authserver/";
2
2
// export const SUPERHERO_HS_AUTH_BASE_URL = process.env.VUE_APP_HS_AUTH_BASE_URL || "http://localhost:8001/";
3
3
export const SUPERHERO_HS_AUTH_BASE_URL = process . env . VUE_APP_HS_AUTH_BASE_URL || "https://api.fyre.hypersign.id/auth/" ;
4
- export const HS_VC_STATUS_CHECK_ATTEMPT = process . env . VUE_APP_HS_VC_STATUS_CHECK_ATTEMPT || 15 ;
5
- export const HS_VC_STATUS_CHECK_INTERVAL = process . env . VUE_APP_ || 7000 ;
4
+ export const HS_VC_STATUS_CHECK_ATTEMPT = process . env . VUE_APP_HS_VC_STATUS_CHECK_ATTEMPT || 15 ;
5
+ export const HS_VC_STATUS_CHECK_INTERVAL = process . env . VUE_APP_ || 7000 ;
6
6
export const SUPERHERO_HS_AUTH_CREDENTIAL_ISSUE_API = "hs/api/v2/register" ; // change supero to hypersign later
7
7
export const HS_AUTH_DID_URL = SUPERHERO_HS_AUTH_BASE_URL + "hs/api/v2/authdid"
8
8
export const HS_VC_STATUS_PATH = SUPERHERO_HS_AUTH_BASE_URL + "hs/api/v2/vcstatus"
9
9
export const WALLET_URL = process . env . VUE_APP_WALLET_URL || "https://wallet-jagrat.hypersign.id/" ;
10
10
// export const WALLET_URL=process.env.VUE_APP_WALLET_URL || "http://localhost:4999/chrome/popup/popup#/";
11
11
// export const BUSINESSCARD_SCHEMA='sch:hid:testnet:zFc19V37DPHmdysvPDJJdeHQTLPWzuSVZq4Tn9GPXcEj2:1.0'
12
- export const BUSINESSCARD_SCHEMA = 'sch:hid:testnet:zDt4ZZwoA5vBV3t7tn8Y4KNKjH4fBDkwYxLfQK1nJC8BR:1.0'
12
+ export const BUSINESSCARD_SCHEMA = 'sch:hid:testnet:zDt4ZZwoA5vBV3t7tn8Y4KNKjH4fBDkwYxLfQK1nJC8BR:1.0'
13
13
export const AUTH_SERVER_FAUCET_PATH = "hs/api/v2/faucet/"
14
14
export const WALLET_TYPE = process . env . VUE_APP_HS_WALLET_TYPE || "web"
15
15
export const HYPERSIGN_AUTH_PROVIDER = {
You can’t perform that action at this time.
0 commit comments