Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Feb 19, 2024
1 parent 7022f95 commit 4d5fb3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 1 addition & 6 deletions examples/integration-scripts/multisig-holder.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { strict as assert } from 'assert';
import signify, {
SignifyClient,
IssueCredentialArgs,
Operation,
CredentialData,
} from 'signify-ts';
import signify, { SignifyClient, Operation, CredentialData } from 'signify-ts';
import { resolveEnvironment } from './utils/resolve-env';
import {
assertOperations,
Expand Down
7 changes: 4 additions & 3 deletions examples/integration-scripts/singlesig-vlei-issuance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ async function getOrIssueCredential(
credData: any,
schema: string,
rules?: any,
source?: any
source?: any,
privacy = false
): Promise<any> {
const credentialList = await issuerClient.credentials().list();

Expand All @@ -509,10 +510,10 @@ async function getOrIssueCredential(
const issResult = await issuerClient.credentials().issue(issuerAid.name, {
ri: issuerRegistry.regk,
s: schema,
u: new Salter({}).qb64,
u: privacy ? new Salter({}).qb64 : undefined,
a: {
i: recipientAid.prefix,
u: new Salter({}).qb64,
u: privacy ? new Salter({}).qb64 : undefined,
...credData,
},
r: rules,
Expand Down

0 comments on commit 4d5fb3b

Please sign in to comment.