@keyringnetwork/keyring-connect-sdk 1.0.6 → 1.0.7
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/dist/main.js +1 -2
- package/dist/types.d.ts +10 -11
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -123,8 +123,7 @@ class KeyringConnect {
|
|
|
123
123
|
},
|
|
124
124
|
krn_config: config.krn_config
|
|
125
125
|
? {
|
|
126
|
-
|
|
127
|
-
datastore_api_url: config.krn_config.datastore_api_url,
|
|
126
|
+
keyring_api_url: config.krn_config.keyring_api_url,
|
|
128
127
|
analytics_api_url: config.krn_config.analytics_api_url,
|
|
129
128
|
isolate_proving: config.krn_config.isolate_proving,
|
|
130
129
|
notaryUrl: config.krn_config.notaryUrl,
|
package/dist/types.d.ts
CHANGED
|
@@ -33,8 +33,7 @@ export type ExtensionSDKConfig = {
|
|
|
33
33
|
* @note this is meant to be used for internal testing and development purposes.
|
|
34
34
|
*/
|
|
35
35
|
krn_config?: {
|
|
36
|
-
|
|
37
|
-
datastore_api_url?: string;
|
|
36
|
+
keyring_api_url?: string;
|
|
38
37
|
analytics_api_url?: string;
|
|
39
38
|
auth0_id_token?: string;
|
|
40
39
|
entity_id?: string;
|
|
@@ -57,8 +56,7 @@ export type ExtensionLaunchConfig = {
|
|
|
57
56
|
entity_type?: string;
|
|
58
57
|
};
|
|
59
58
|
krn_config?: {
|
|
60
|
-
|
|
61
|
-
datastore_api_url?: string;
|
|
59
|
+
keyring_api_url?: string;
|
|
62
60
|
analytics_api_url?: string;
|
|
63
61
|
isolate_proving?: boolean;
|
|
64
62
|
notaryUrl?: string;
|
|
@@ -67,9 +65,9 @@ export type ExtensionLaunchConfig = {
|
|
|
67
65
|
};
|
|
68
66
|
auth_user?: any;
|
|
69
67
|
};
|
|
70
|
-
export type ExtensionStatus =
|
|
71
|
-
export type AttestationStatus =
|
|
72
|
-
export type CredentialStatus =
|
|
68
|
+
export type ExtensionStatus = "idle" | "mounted" | "proving" | "prove_success" | "error";
|
|
69
|
+
export type AttestationStatus = "onboarding_required" | "onboarding_pending" | "attestation_ready" | "non_compliant";
|
|
70
|
+
export type CredentialStatus = "expired" | "valid" | "none";
|
|
73
71
|
export type User = {
|
|
74
72
|
/**
|
|
75
73
|
* Off-chain attestation status.
|
|
@@ -103,7 +101,7 @@ export interface DataSource {
|
|
|
103
101
|
id: string;
|
|
104
102
|
name: string;
|
|
105
103
|
label: string;
|
|
106
|
-
user_actions
|
|
104
|
+
user_actions: string[];
|
|
107
105
|
link: string;
|
|
108
106
|
login_url: string;
|
|
109
107
|
target_url: string | null;
|
|
@@ -121,9 +119,9 @@ export interface TlsnEndpoint {
|
|
|
121
119
|
method: string;
|
|
122
120
|
headers: string[];
|
|
123
121
|
disclosable_fields: DisclosableField[];
|
|
124
|
-
required_cookies
|
|
125
|
-
data_bounds
|
|
126
|
-
body
|
|
122
|
+
required_cookies: string[] | null;
|
|
123
|
+
data_bounds: DataBounds | null;
|
|
124
|
+
body: string | null;
|
|
127
125
|
}
|
|
128
126
|
export interface Claim {
|
|
129
127
|
id: string;
|
|
@@ -138,4 +136,5 @@ export interface DataBounds {
|
|
|
138
136
|
export interface DisclosableField {
|
|
139
137
|
label: string;
|
|
140
138
|
path: string;
|
|
139
|
+
key: string;
|
|
141
140
|
}
|