@ledgerhq/revault-sdk 0.21.0 → 0.21.1
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.
- package/lib/bake.cjs +27 -9
- package/lib/bake.cjs.map +1 -1
- package/lib/bake.d.cts +101 -101
- package/lib/bake.d.ts +101 -101
- package/lib/bake.js +26 -8
- package/lib/bake.js.map +1 -1
- package/lib/chunk-CZLZUISN.js +262 -0
- package/lib/chunk-CZLZUISN.js.map +1 -0
- package/lib/chunk-JGXOGWYB.cjs +262 -0
- package/lib/chunk-JGXOGWYB.cjs.map +1 -0
- package/lib/crypto.cjs +3 -257
- package/lib/crypto.cjs.map +1 -1
- package/lib/crypto.js +3 -257
- package/lib/crypto.js.map +1 -1
- package/lib/engine.d.cts +3 -3
- package/lib/engine.d.ts +3 -3
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/onboarding.d.cts +2 -2
- package/lib/onboarding.d.ts +2 -2
- package/lib/{types-DRJ-VSEJ.d.ts → types-Cp-L-rsW.d.ts} +1 -1
- package/lib/{index-Ckpsy2Dz.d.ts → types-Ct-F-l82.d.cts} +2 -3
- package/lib/{index-CSP28O_x.d.cts → types-Ct-F-l82.d.ts} +2 -3
- package/lib/{types-BoemqbL9.d.cts → types-DEyShR5S.d.cts} +1 -1
- package/lib/types.d.cts +3 -0
- package/lib/types.d.ts +3 -0
- package/package.json +7 -7
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { L as Logger } from './logger-C-TPbnjv.js';
|
|
2
|
-
export { R as RevaultApiTRPCClient } from './
|
|
2
|
+
export { R as RevaultApiTRPCClient, a as RouterInputs, b as RouterOutputs } from './types-Ct-F-l82.js';
|
|
3
3
|
export * from '@ledgerhq/revault-api';
|
|
4
4
|
import '@trpc/client';
|
|
5
5
|
import '@trpc/server';
|
package/lib/onboarding.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
3
|
+
import { E as Engine, W as WithOnboarding } from './types-DEyShR5S.cjs';
|
|
4
4
|
import './types-DJfbanPz.cjs';
|
|
5
|
-
import './
|
|
5
|
+
import './types-Ct-F-l82.cjs';
|
|
6
6
|
import '@trpc/client';
|
|
7
7
|
import '@trpc/server';
|
|
8
8
|
|
package/lib/onboarding.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
3
|
+
import { E as Engine, W as WithOnboarding } from './types-Cp-L-rsW.js';
|
|
4
4
|
import './types-DJfbanPz.js';
|
|
5
|
-
import './
|
|
5
|
+
import './types-Ct-F-l82.js';
|
|
6
6
|
import '@trpc/client';
|
|
7
7
|
import '@trpc/server';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VaultRequestResponse, PsdChallenge, ApiChallenge, UserRegistrationResponse, ClaimedRole, WrappingKeyResponse, OnboardingSeedChallenge } from '@ledgerhq/revault-api';
|
|
2
2
|
import { D as Device } from './types-DJfbanPz.js';
|
|
3
|
-
import { R as RevaultApiTRPCClient, T as TRPCClientOptions,
|
|
3
|
+
import { R as RevaultApiTRPCClient, T as TRPCClientOptions, b as RouterOutputs } from './types-Ct-F-l82.js';
|
|
4
4
|
|
|
5
5
|
type EngineOptions = {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './logger-C-TPbnjv.js';
|
|
2
1
|
import { AppRouter } from '@ledgerhq/revault-api';
|
|
3
2
|
import { TRPCClient } from '@trpc/client';
|
|
4
|
-
import {
|
|
3
|
+
import { inferRouterInputs, inferRouterOutputs } from '@trpc/server';
|
|
5
4
|
|
|
6
5
|
type TRPCClientOptions = {
|
|
7
6
|
baseUrl: string;
|
|
@@ -14,4 +13,4 @@ type RevaultApiTRPCClient = TRPCClient<AppRouter>;
|
|
|
14
13
|
type RouterInputs = inferRouterInputs<AppRouter>;
|
|
15
14
|
type RouterOutputs = inferRouterOutputs<AppRouter>;
|
|
16
15
|
|
|
17
|
-
export type { RevaultApiTRPCClient as R, TRPCClientOptions as T,
|
|
16
|
+
export type { RevaultApiTRPCClient as R, TRPCClientOptions as T, RouterInputs as a, RouterOutputs as b };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './logger-C-TPbnjv.cjs';
|
|
2
1
|
import { AppRouter } from '@ledgerhq/revault-api';
|
|
3
2
|
import { TRPCClient } from '@trpc/client';
|
|
4
|
-
import {
|
|
3
|
+
import { inferRouterInputs, inferRouterOutputs } from '@trpc/server';
|
|
5
4
|
|
|
6
5
|
type TRPCClientOptions = {
|
|
7
6
|
baseUrl: string;
|
|
@@ -14,4 +13,4 @@ type RevaultApiTRPCClient = TRPCClient<AppRouter>;
|
|
|
14
13
|
type RouterInputs = inferRouterInputs<AppRouter>;
|
|
15
14
|
type RouterOutputs = inferRouterOutputs<AppRouter>;
|
|
16
15
|
|
|
17
|
-
export type { RevaultApiTRPCClient as R, TRPCClientOptions as T,
|
|
16
|
+
export type { RevaultApiTRPCClient as R, TRPCClientOptions as T, RouterInputs as a, RouterOutputs as b };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VaultRequestResponse, PsdChallenge, ApiChallenge, UserRegistrationResponse, ClaimedRole, WrappingKeyResponse, OnboardingSeedChallenge } from '@ledgerhq/revault-api';
|
|
2
2
|
import { D as Device } from './types-DJfbanPz.cjs';
|
|
3
|
-
import { R as RevaultApiTRPCClient, T as TRPCClientOptions,
|
|
3
|
+
import { R as RevaultApiTRPCClient, T as TRPCClientOptions, b as RouterOutputs } from './types-Ct-F-l82.cjs';
|
|
4
4
|
|
|
5
5
|
type EngineOptions = {
|
|
6
6
|
/**
|
package/lib/types.d.cts
CHANGED
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/revault-sdk",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@ledgerhq/errors": "^6.
|
|
47
|
+
"@ledgerhq/errors": "^6.25.0",
|
|
48
48
|
"@ledgerhq/hw-transport": "^6.31.10",
|
|
49
49
|
"@trpc/client": "11.5.1",
|
|
50
50
|
"@trpc/server": "11.4.2",
|
|
51
51
|
"asn1.js": "^5.4.1",
|
|
52
|
-
"axios": "^1.
|
|
52
|
+
"axios": "^1.12.2",
|
|
53
53
|
"axios-retry": "^4.5.0",
|
|
54
54
|
"bn.js": "^5.2.2",
|
|
55
55
|
"elliptic": "^6.6.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"superjson": "^2.2.2",
|
|
60
60
|
"uuid": "^11.1.0",
|
|
61
61
|
"zod": "^3.25.76",
|
|
62
|
-
"@ledgerhq/revault-api": "1.
|
|
62
|
+
"@ledgerhq/revault-api": "1.37.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@eslint/js": "^9.35.0",
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"@types/elliptic": "^6.4.18",
|
|
68
68
|
"@types/invariant": "^2.2.37",
|
|
69
69
|
"@types/lodash": "^4.17.20",
|
|
70
|
-
"@types/node": "^22.18.
|
|
70
|
+
"@types/node": "^22.18.3",
|
|
71
71
|
"@vitest/coverage-v8": "^3.2.4",
|
|
72
72
|
"@vitest/ui": "^3.2.4",
|
|
73
73
|
"eslint": "^9.35.0",
|
|
74
|
-
"eslint-plugin-unicorn": "^61.0.
|
|
74
|
+
"eslint-plugin-unicorn": "^61.0.2",
|
|
75
75
|
"tsup": "^8.5.0",
|
|
76
76
|
"tsx": "^4.20.5",
|
|
77
77
|
"typescript": "^5.9.2",
|
|
78
|
-
"typescript-eslint": "^8.
|
|
78
|
+
"typescript-eslint": "^8.43.0",
|
|
79
79
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
80
80
|
"vitest": "^3.2.4",
|
|
81
81
|
"vitest-mock-extended": "^3.1.0"
|