@portal-hq/passkey-storage 4.5.1 → 4.6.0
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/package.json +4 -4
- package/src/index.ts +7 -7
- package/types.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portal-hq/passkey-storage",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Portal's Passkey storage adapter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Portal Labs, Inc.",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"test": "jest --pass-with-no-tests"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@portal-hq/core": "^4.
|
|
26
|
-
"@portal-hq/utils": "^4.
|
|
25
|
+
"@portal-hq/core": "^4.6.0",
|
|
26
|
+
"@portal-hq/utils": "^4.6.0",
|
|
27
27
|
"react-native-passkey": "^3.3.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react-native-passkey": "^3.3.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "81e3ade6164a87aa8fc8942af4c770d04f73bc55"
|
|
41
41
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { HttpRequester, IPortalApi, type Storage } from '@portal-hq/utils'
|
|
2
|
+
import {
|
|
3
|
+
Passkey,
|
|
4
|
+
type PasskeyCreateRequest,
|
|
5
|
+
type PasskeyCreateResult,
|
|
6
|
+
type PasskeyGetRequest,
|
|
7
|
+
type PasskeyGetResult,
|
|
8
|
+
} from 'react-native-passkey'
|
|
2
9
|
|
|
3
10
|
import type {
|
|
4
11
|
AuthenticationResponse,
|
|
@@ -7,13 +14,6 @@ import type {
|
|
|
7
14
|
PasskeyStatusResponse,
|
|
8
15
|
RegistrationResponse,
|
|
9
16
|
} from '../types'
|
|
10
|
-
import {
|
|
11
|
-
Passkey,
|
|
12
|
-
type PasskeyCreateRequest,
|
|
13
|
-
type PasskeyCreateResult,
|
|
14
|
-
type PasskeyGetRequest,
|
|
15
|
-
type PasskeyGetResult,
|
|
16
|
-
} from 'react-native-passkey'
|
|
17
17
|
|
|
18
18
|
export class PasskeyStorage implements Storage {
|
|
19
19
|
public api?: IPortalApi
|