@ledgerhq/device-trusted-app-kit-ledger-keyring-protocol 0.0.0-intent-queue-6-20251114101759 → 0.0.0-intent-queue-6-20251204103625

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/lib/cjs/api/app-binder/AddToTrustchainDeviceActionTypes.js.map +1 -1
  2. package/lib/cjs/api/crypto/CryptoService.js.map +1 -1
  3. package/lib/cjs/api/model/Errors.js +1 -1
  4. package/lib/cjs/api/model/Errors.js.map +1 -1
  5. package/lib/cjs/internal/app-binder/LedgerKeyringProtocolBinder.js +1 -1
  6. package/lib/cjs/internal/app-binder/LedgerKeyringProtocolBinder.js.map +1 -1
  7. package/lib/cjs/internal/app-binder/device-action/AddToTrustchainDeviceAction.js +1 -1
  8. package/lib/cjs/internal/app-binder/device-action/AddToTrustchainDeviceAction.js.map +1 -1
  9. package/lib/cjs/internal/app-binder/device-action/AuthenticateWithDeviceDeviceAction.js +1 -1
  10. package/lib/cjs/internal/app-binder/device-action/AuthenticateWithDeviceDeviceAction.js.map +1 -1
  11. package/lib/cjs/internal/app-binder/device-action/AuthenticateWithKeypairDeviceAction.js +1 -1
  12. package/lib/cjs/internal/app-binder/device-action/AuthenticateWithKeypairDeviceAction.js.map +2 -2
  13. package/lib/cjs/internal/app-binder/device-action/models/AuthenticateWithDeviceDeviceActionTypes.js.map +1 -1
  14. package/lib/cjs/internal/app-binder/device-action/models/AuthenticateWithKeypairDeviceActionTypes.js +1 -1
  15. package/lib/cjs/internal/app-binder/device-action/models/AuthenticateWithKeypairDeviceActionTypes.js.map +1 -1
  16. package/lib/cjs/internal/app-binder/task/ExtractEncryptionKeyTask.js.map +2 -2
  17. package/lib/cjs/internal/app-binder/task/SignChallengeWithKeypairTask.js +1 -1
  18. package/lib/cjs/internal/app-binder/task/SignChallengeWithKeypairTask.js.map +2 -2
  19. package/lib/cjs/internal/app-binder/task/SignChallengeWithKeypairTask.test.js +1 -1
  20. package/lib/cjs/internal/app-binder/task/SignChallengeWithKeypairTask.test.js.map +2 -2
  21. package/lib/cjs/internal/use-cases/authentication/AuthenticateUseCase.js +1 -1
  22. package/lib/cjs/internal/use-cases/authentication/AuthenticateUseCase.js.map +1 -1
  23. package/lib/cjs/internal/use-cases/authentication/DecryptDataUseCase.js.map +1 -1
  24. package/lib/cjs/internal/use-cases/authentication/EncryptDataUseCase.js.map +1 -1
  25. package/lib/cjs/internal/utils/LKRPBlockStream.js +1 -1
  26. package/lib/cjs/internal/utils/LKRPBlockStream.js.map +2 -2
  27. package/lib/cjs/package.json +36 -32
  28. package/lib/esm/api/app-binder/AddToTrustchainDeviceActionTypes.js.map +1 -1
  29. package/lib/esm/api/crypto/CryptoService.js.map +1 -1
  30. package/lib/esm/api/model/Errors.js +1 -1
  31. package/lib/esm/api/model/Errors.js.map +1 -1
  32. package/lib/esm/internal/app-binder/LedgerKeyringProtocolBinder.js +1 -1
  33. package/lib/esm/internal/app-binder/LedgerKeyringProtocolBinder.js.map +1 -1
  34. package/lib/esm/internal/app-binder/device-action/AddToTrustchainDeviceAction.js +1 -1
  35. package/lib/esm/internal/app-binder/device-action/AddToTrustchainDeviceAction.js.map +1 -1
  36. package/lib/esm/internal/app-binder/device-action/AuthenticateWithDeviceDeviceAction.js +1 -1
  37. package/lib/esm/internal/app-binder/device-action/AuthenticateWithDeviceDeviceAction.js.map +1 -1
  38. package/lib/esm/internal/app-binder/device-action/AuthenticateWithKeypairDeviceAction.js +1 -1
  39. package/lib/esm/internal/app-binder/device-action/AuthenticateWithKeypairDeviceAction.js.map +2 -2
  40. package/lib/esm/internal/app-binder/task/ExtractEncryptionKeyTask.js.map +2 -2
  41. package/lib/esm/internal/app-binder/task/SignChallengeWithKeypairTask.js +1 -1
  42. package/lib/esm/internal/app-binder/task/SignChallengeWithKeypairTask.js.map +2 -2
  43. package/lib/esm/internal/app-binder/task/SignChallengeWithKeypairTask.test.js +1 -1
  44. package/lib/esm/internal/app-binder/task/SignChallengeWithKeypairTask.test.js.map +2 -2
  45. package/lib/esm/internal/use-cases/authentication/AuthenticateUseCase.js.map +1 -1
  46. package/lib/esm/internal/use-cases/authentication/DecryptDataUseCase.js.map +1 -1
  47. package/lib/esm/internal/use-cases/authentication/EncryptDataUseCase.js.map +1 -1
  48. package/lib/esm/internal/utils/LKRPBlockStream.js +2 -2
  49. package/lib/esm/internal/utils/LKRPBlockStream.js.map +2 -2
  50. package/lib/esm/package.json +36 -32
  51. package/lib/types/api/app-binder/AddToTrustchainDeviceActionTypes.d.ts +1 -1
  52. package/lib/types/internal/app-binder/LedgerKeyringProtocolBinder.d.ts +2 -2
  53. package/lib/types/internal/app-binder/device-action/AuthenticateWithDeviceDeviceAction.d.ts +1 -1
  54. package/lib/types/internal/app-binder/device-action/AuthenticateWithKeypairDeviceAction.d.ts +2 -2
  55. package/lib/types/internal/app-binder/device-action/models/AuthenticateWithDeviceDeviceActionTypes.d.ts +1 -1
  56. package/lib/types/internal/app-binder/device-action/models/AuthenticateWithKeypairDeviceActionTypes.d.ts +1 -1
  57. package/lib/types/internal/app-binder/task/ExtractEncryptionKeyTask.d.ts +1 -1
  58. package/lib/types/internal/app-binder/task/SignChallengeWithKeypairTask.d.ts +2 -2
  59. package/lib/types/internal/use-cases/authentication/AuthenticateUseCase.d.ts +1 -1
  60. package/lib/types/internal/utils/LKRPBlockStream.d.ts +1 -1
  61. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  62. package/package.json +35 -31
@@ -12,11 +12,11 @@ export declare class LedgerKeyringProtocolBinder {
12
12
  private readonly lkrpDataSource;
13
13
  constructor(dmk: DeviceManagementKit, applicationId: number, cryptoService: CryptoService, lkrpDataSource: LKRPDataSource);
14
14
  authenticateWithKeypair(args: {
15
- keypair: KeyPair;
15
+ keyPair: KeyPair;
16
16
  trustchainId: string;
17
17
  }): AuthenticateDAReturnType;
18
18
  authenticateWithDevice(args: {
19
- keypair: KeyPair;
19
+ keyPair: KeyPair;
20
20
  clientName: string;
21
21
  permissions: Permissions;
22
22
  sessionId: DeviceSessionId;
@@ -23,7 +23,7 @@ export declare class AuthenticateWithDeviceDeviceAction extends XStateDeviceActi
23
23
  extractEncryptionKey: ({ input, }: {
24
24
  input: {
25
25
  cryptoService: CryptoService;
26
- keypair: KeyPair;
26
+ keyPair: KeyPair;
27
27
  stream: Either<AuthenticateDAError, LKRPBlockStream>;
28
28
  };
29
29
  }) => Promise<Either<AuthenticateDAError, Uint8Array<ArrayBufferLike>>>;
@@ -11,7 +11,7 @@ export declare class AuthenticateWithKeypairDeviceAction extends XStateDeviceAct
11
11
  execute(): ExecuteDeviceActionReturnType<AuthenticateDAOutput, AuthenticateDAError, AuthenticateDAIntermediateValue>;
12
12
  makeStateMachine(): DeviceActionStateMachine<AuthenticateDAOutput, AuthenticateWithKeypairDAInput, AuthenticateDAError, AuthenticateDAIntermediateValue, AuthenticateWithKeypairDAInternalState>;
13
13
  extractDependencies(): {
14
- keypairAuth: ({ input }: {
14
+ keyPairAuth: ({ input }: {
15
15
  input: AuthenticateWithKeypairDAInput;
16
16
  }) => Promise<Either<AuthenticateDAError, import("../../lkrp-datasource/data/LKRPDataSource").AuthenticationResponse>>;
17
17
  getTrustchain: ({ input, }: {
@@ -24,7 +24,7 @@ export declare class AuthenticateWithKeypairDeviceAction extends XStateDeviceAct
24
24
  extractEncryptionKey: ({ input, }: {
25
25
  input: {
26
26
  cryptoService: CryptoService;
27
- keypair: KeyPair;
27
+ keyPair: KeyPair;
28
28
  stream: Either<AuthenticateDAError, LKRPBlockStream>;
29
29
  };
30
30
  }) => Promise<Either<AuthenticateDAError, Uint8Array<ArrayBufferLike>>>;
@@ -8,7 +8,7 @@ export type AuthenticateWithDeviceDAInput = {
8
8
  readonly lkrpDataSource: LKRPDataSource;
9
9
  readonly appId: number;
10
10
  readonly cryptoService: CryptoService;
11
- readonly keypair: KeyPair;
11
+ readonly keyPair: KeyPair;
12
12
  readonly clientName: string;
13
13
  readonly permissions: Permissions;
14
14
  };
@@ -8,7 +8,7 @@ export type AuthenticateWithKeypairDAInput = {
8
8
  readonly lkrpDataSource: LKRPDataSource;
9
9
  readonly appId: number;
10
10
  readonly cryptoService: CryptoService;
11
- readonly keypair: KeyPair;
11
+ readonly keyPair: KeyPair;
12
12
  readonly trustchainId: string;
13
13
  };
14
14
  export type AuthenticateWithKeypairDAInternalState = Either<AuthenticateDAError, {
@@ -3,6 +3,6 @@ import { type KeyPair } from "../../../api/crypto/KeyPair";
3
3
  import { LKRPUnknownError } from "../../../api/model/Errors";
4
4
  import { type LKRPBlockStream } from "../../utils/LKRPBlockStream";
5
5
  export declare class ExtractEncryptionKeyTask {
6
- run(cryptoService: CryptoService, keypair: KeyPair, stream: LKRPBlockStream): Promise<import("purify-ts").Either<LKRPUnknownError, Uint8Array<ArrayBufferLike>>>;
6
+ run(cryptoService: CryptoService, keyPair: KeyPair, stream: LKRPBlockStream): Promise<import("purify-ts").Either<LKRPUnknownError, Uint8Array<ArrayBufferLike>>>;
7
7
  }
8
8
  //# sourceMappingURL=ExtractEncryptionKeyTask.d.ts.map
@@ -5,9 +5,9 @@ import { LKRPMissingDataError, LKRPUnknownError } from "../../../api/model/Error
5
5
  import { type AuthenticationPayload, type Challenge } from "../../lkrp-datasource/data/LKRPDataSource";
6
6
  export declare class SignChallengeWithKeypairTask {
7
7
  private readonly cryptoService;
8
- private readonly keypair;
8
+ private readonly keyPair;
9
9
  private readonly trustchainId;
10
- constructor(cryptoService: CryptoService, keypair: KeyPair, trustchainId: string);
10
+ constructor(cryptoService: CryptoService, keyPair: KeyPair, trustchainId: string);
11
11
  run(challenge: Challenge): EitherAsync<LKRPMissingDataError | LKRPUnknownError, AuthenticationPayload>;
12
12
  private getAttestation;
13
13
  private getCredential;
@@ -4,7 +4,7 @@ import { KeyPair } from "../../../api/crypto/KeyPair";
4
4
  import { Permissions } from "../../../api/model/Permissions";
5
5
  import { LedgerKeyringProtocolBinder } from "../../app-binder/LedgerKeyringProtocolBinder";
6
6
  export type AuthenticateUsecaseInput = {
7
- keypair: KeyPair;
7
+ keyPair: KeyPair;
8
8
  clientName: string;
9
9
  permissions: Permissions;
10
10
  } & ({
@@ -21,6 +21,6 @@ export declare class LKRPBlockStream {
21
21
  getPath(): Maybe<string>;
22
22
  getMemberBlock(member: string): Maybe<LKRPBlockData>;
23
23
  hasMember(member: string): boolean;
24
- getPublishedKey(cryptoService: CryptoService, keypair: KeyPair): Promise<Maybe<PublishedKey>>;
24
+ getPublishedKey(cryptoService: CryptoService, keyPair: KeyPair): Promise<Maybe<PublishedKey>>;
25
25
  }
26
26
  //# sourceMappingURL=LKRPBlockStream.d.ts.map