diff --git a/code_examples/sdk_examples/src/core_features/signCallback/index.ts b/code_examples/sdk_examples/src/core_features/signCallback/index.ts index da9341892..9d68391a8 100644 --- a/code_examples/sdk_examples/src/core_features/signCallback/index.ts +++ b/code_examples/sdk_examples/src/core_features/signCallback/index.ts @@ -5,8 +5,8 @@ import { useSignExtrinsicCallback } from './useExtrinsicCallback' import { useStoreTxSignCallback } from './useStoreTxSignCallback' // The _keyUri parameter is there to show that the DID key pair is looked up using the URI -// eslint-disable-next-line @typescript-eslint/no-unused-vars export function lookupDidKeyPair( + // eslint-disable-next-line @typescript-eslint/no-unused-vars _keyUri: Kilt.DidResourceUri ): Kilt.KiltKeyringPair { return Kilt.Utils.Crypto.makeKeypairFromSeed() diff --git a/code_examples/sdk_examples/src/workshop/attester/attestCredential.ts b/code_examples/sdk_examples/src/workshop/attester/attestCredential.ts index 44a5101cb..94f692af7 100644 --- a/code_examples/sdk_examples/src/workshop/attester/attestCredential.ts +++ b/code_examples/sdk_examples/src/workshop/attester/attestCredential.ts @@ -11,6 +11,8 @@ export async function attestCredential( attesterAccount: Kilt.KiltKeyringPair, attesterDid: Kilt.DidUri, credential: Kilt.ICredential, + // TODO: Sort later + // eslint-disable-next-line @typescript-eslint/no-unused-vars signCallback: Kilt.SignExtrinsicCallback ): Promise { const api = Kilt.ConfigService.get('api') diff --git a/code_examples/sdk_examples/src/workshop/attester/generateDid.ts b/code_examples/sdk_examples/src/workshop/attester/generateDid.ts index def627d5b..c1911c9e6 100644 --- a/code_examples/sdk_examples/src/workshop/attester/generateDid.ts +++ b/code_examples/sdk_examples/src/workshop/attester/generateDid.ts @@ -1,5 +1,5 @@ -import { config as envConfig } from 'dotenv' import * as Kilt from '@kiltprotocol/sdk-js' +import { config as envConfig } from 'dotenv' import { generateAccount } from './generateAccount' export async function createFullDid(