File tree Expand file tree Collapse file tree
packages/wasm/src/services/credential Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,33 +141,6 @@ export async function issueDelegationCredential(
141141 keyPair : KeyPair ,
142142 credential : any
143143) : Promise < DelegationCredential > {
144- // const {
145- // id,
146- // issuerDid,
147- // delegateDid,
148- // mayClaim,
149- // context,
150- // types,
151- // additionalSubjectProperties = {},
152- // previousCredentialId = null,
153- // rootCredentialId,
154- // } = params;
155-
156- // const credential = {
157- // '@context': context,
158- // id,
159- // type: types,
160- // issuer: issuerDid,
161- // issuanceDate: new Date().toISOString(),
162- // credentialSubject: {
163- // id: delegateDid,
164- // [MAY_CLAIM_IRI]: mayClaim,
165- // ...additionalSubjectProperties,
166- // },
167- // rootCredentialId: undefined,
168- // previousCredentialId,
169- // };
170-
171144 const preparedKey = prepareKeyForSigning ( keyPair ) ;
172145 return issueCredential ( preparedKey , credential ) ;
173146}
You can’t perform that action at this time.
0 commit comments