@keyringnetwork/keyring-connect-sdk 1.0.2 → 1.0.3
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 +3 -0
- package/dist/types.d.ts +7 -0
- package/package.json +5 -5
package/dist/main.js
CHANGED
|
@@ -118,6 +118,9 @@ class KeyringConnect {
|
|
|
118
118
|
onboarding_api_url: config.krn_config.onboarding_api_url,
|
|
119
119
|
datastore_api_url: config.krn_config.datastore_api_url,
|
|
120
120
|
analytics_api_url: config.krn_config.analytics_api_url,
|
|
121
|
+
isolate_proving: config.krn_config.isolate_proving,
|
|
122
|
+
notaryUrl: config.krn_config.notaryUrl,
|
|
123
|
+
notaryWebsocketUrl: config.krn_config.notaryWebsocketUrl,
|
|
121
124
|
}
|
|
122
125
|
: undefined,
|
|
123
126
|
proof_config: config.proof_config,
|
package/dist/types.d.ts
CHANGED
|
@@ -38,6 +38,9 @@ export type ExtensionSDKConfig = {
|
|
|
38
38
|
analytics_api_url?: string;
|
|
39
39
|
auth0_id_token?: string;
|
|
40
40
|
entity_id?: string;
|
|
41
|
+
isolate_proving?: boolean;
|
|
42
|
+
notaryUrl?: string;
|
|
43
|
+
notaryWebsocketUrl?: string;
|
|
41
44
|
};
|
|
42
45
|
};
|
|
43
46
|
export type ExtensionLaunchConfig = {
|
|
@@ -56,6 +59,9 @@ export type ExtensionLaunchConfig = {
|
|
|
56
59
|
onboarding_api_url?: string;
|
|
57
60
|
datastore_api_url?: string;
|
|
58
61
|
analytics_api_url?: string;
|
|
62
|
+
isolate_proving?: boolean;
|
|
63
|
+
notaryUrl?: string;
|
|
64
|
+
notaryWebsocketUrl?: string;
|
|
59
65
|
};
|
|
60
66
|
auth_user?: any;
|
|
61
67
|
};
|
|
@@ -89,6 +95,7 @@ export interface ExtensionState {
|
|
|
89
95
|
manifest?: any;
|
|
90
96
|
error?: string;
|
|
91
97
|
user?: User;
|
|
98
|
+
tlsn_proof?: string;
|
|
92
99
|
}
|
|
93
100
|
export interface DataSource {
|
|
94
101
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keyringnetwork/keyring-connect-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "An SDK for interacting with Keyring Connect browser extension",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"dev": "tsc --watch"
|
|
10
|
-
},
|
|
11
7
|
"files": [
|
|
12
8
|
"dist"
|
|
13
9
|
],
|
|
@@ -20,5 +16,9 @@
|
|
|
20
16
|
},
|
|
21
17
|
"dependencies": {
|
|
22
18
|
"jwt-decode": "^4.0.0"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"dev": "tsc --watch"
|
|
23
23
|
}
|
|
24
24
|
}
|