Skip to content

Commit 402507a

Browse files
committed
adds missing exports
1 parent 3f0f6f7 commit 402507a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/tests/utils/selfClientProvider.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/* eslint-disable sort-exports/sort-exports */
44

55
import type {
6+
AuthAdapter,
67
CryptoAdapter,
78
DocumentsAdapter,
89
NetworkAdapter,
@@ -50,7 +51,12 @@ export const mockScanner: ScannerAdapter = {
5051
}),
5152
};
5253

54+
export const mockAuth: AuthAdapter = {
55+
getPrivateKey: async () => '0x-mock-private-key',
56+
};
57+
5358
export const mockAdapters = {
59+
auth: mockAuth,
5460
scanner: mockScanner,
5561
network: mockNetwork,
5662
crypto: mockCrypto,

packages/mobile-sdk-alpha/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
export type {
77
Adapters,
88
AnalyticsAdapter,
9+
AuthAdapter,
910
ClockAdapter,
1011
Config,
1112
CryptoAdapter,

0 commit comments

Comments
 (0)