@keyringnetwork/keyring-connect-sdk 1.1.3 → 1.1.4
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 +0 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -124,7 +124,7 @@ class KeyringConnect {
|
|
|
124
124
|
return validatedConfig;
|
|
125
125
|
}
|
|
126
126
|
static convertToLaunchConfig(config) {
|
|
127
|
-
var _a, _b
|
|
127
|
+
var _a, _b;
|
|
128
128
|
const launchConfig = {
|
|
129
129
|
client: {
|
|
130
130
|
client_name: config.name,
|
|
@@ -147,7 +147,6 @@ class KeyringConnect {
|
|
|
147
147
|
proof_config: config.proof_config,
|
|
148
148
|
session_info: {
|
|
149
149
|
access_token: (_b = config.krn_config) === null || _b === void 0 ? void 0 : _b.keyring_access_token,
|
|
150
|
-
refresh_token: (_c = config.krn_config) === null || _c === void 0 ? void 0 : _c.keyring_refresh_token,
|
|
151
150
|
},
|
|
152
151
|
};
|
|
153
152
|
return launchConfig;
|
package/dist/types.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ export type ExtensionSDKConfig = {
|
|
|
43
43
|
keyring_user_app_url?: string;
|
|
44
44
|
analytics_api_url?: string;
|
|
45
45
|
keyring_access_token?: string;
|
|
46
|
-
keyring_refresh_token?: string;
|
|
47
46
|
entity_id?: string;
|
|
48
47
|
isolate_proving?: boolean;
|
|
49
48
|
notaryUrl?: string;
|
|
@@ -74,7 +73,6 @@ export type ExtensionLaunchConfig = {
|
|
|
74
73
|
};
|
|
75
74
|
session_info?: {
|
|
76
75
|
access_token?: string;
|
|
77
|
-
refresh_token?: string;
|
|
78
76
|
};
|
|
79
77
|
};
|
|
80
78
|
export type ExtensionStatus = "idle" | "mounted" | "proving" | "prove_success" | "error";
|