@ledgerhq/revault-sdk 0.22.3 → 0.22.4

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.
@@ -1,6 +1,6 @@
1
1
  import { OnboardingFullStateResponse, OnboardingStep } from '@ledgerhq/revault-api';
2
2
  import { L as Logger } from './logger-C-TPbnjv.cjs';
3
- import { E as Engine, W as WithOnboarding } from './types-DTc1xNap.cjs';
3
+ import { E as Engine, W as WithOnboarding } from './types-mF8XT2Vl.cjs';
4
4
  import './types-DJfbanPz.cjs';
5
5
  import './types-CpGEbAxh.cjs';
6
6
  import '@trpc/client';
@@ -1,6 +1,6 @@
1
1
  import { OnboardingFullStateResponse, OnboardingStep } from '@ledgerhq/revault-api';
2
2
  import { L as Logger } from './logger-C-TPbnjv.js';
3
- import { E as Engine, W as WithOnboarding } from './types-XVM9jF-Z.js';
3
+ import { E as Engine, W as WithOnboarding } from './types-BTcYWX_0.js';
4
4
  import './types-DJfbanPz.js';
5
5
  import './types-CpGEbAxh.js';
6
6
  import '@trpc/client';
@@ -133,6 +133,7 @@ type CorrelationIdOpts = {
133
133
  };
134
134
  type ApproveRequestParams = {
135
135
  onScreenDisplayed?: () => void | Promise<void>;
136
+ onPsdChallengeSigned?: () => void | Promise<void>;
136
137
  } & CorrelationIdOpts;
137
138
  type DecorateWithWorkspacePsdAuthenticated = {
138
139
  /**
@@ -133,6 +133,7 @@ type CorrelationIdOpts = {
133
133
  };
134
134
  type ApproveRequestParams = {
135
135
  onScreenDisplayed?: () => void | Promise<void>;
136
+ onPsdChallengeSigned?: () => void | Promise<void>;
136
137
  } & CorrelationIdOpts;
137
138
  type DecorateWithWorkspacePsdAuthenticated = {
138
139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/revault-sdk",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@ledgerhq/errors": "^6.28.0",
48
- "@ledgerhq/hw-transport": "^6.31.15",
48
+ "@ledgerhq/hw-transport": "^6.31.16",
49
49
  "@trpc/client": "11.7.2",
50
50
  "@trpc/server": "11.8.0",
51
51
  "asn1.js": "^5.4.1",
@@ -60,25 +60,25 @@
60
60
  "superjson": "^2.2.6",
61
61
  "uuid": "^13.0.0",
62
62
  "zod": "^4.2.1",
63
- "@ledgerhq/revault-api": "1.45.0"
63
+ "@ledgerhq/revault-api": "1.46.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@eslint/js": "^9.39.2",
67
67
  "@types/bn.js": "^5.2.0",
68
68
  "@types/elliptic": "^6.4.18",
69
69
  "@types/invariant": "^2.2.37",
70
- "@types/lodash": "^4.17.21",
71
- "@types/node": "^22.19.3",
72
- "@vitest/coverage-v8": "^4.0.16",
73
- "@vitest/ui": "^4.0.16",
70
+ "@types/lodash": "^4.17.23",
71
+ "@types/node": "^22.19.7",
72
+ "@vitest/coverage-v8": "^4.0.17",
73
+ "@vitest/ui": "^4.0.17",
74
74
  "eslint": "^9.39.2",
75
75
  "eslint-plugin-unicorn": "^62.0.0",
76
76
  "tsup": "^8.5.1",
77
77
  "tsx": "^4.21.0",
78
78
  "typescript": "^5.9.3",
79
- "typescript-eslint": "^8.51.0",
79
+ "typescript-eslint": "^8.53.0",
80
80
  "vite-plugin-node-polyfills": "^0.24.0",
81
- "vitest": "^4.0.16",
81
+ "vitest": "^4.0.17",
82
82
  "vitest-mock-extended": "^3.1.0"
83
83
  },
84
84
  "scripts": {