@keyringnetwork/keyring-connect-sdk 1.1.1 → 1.1.2

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 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, _c;
128
128
  const launchConfig = {
129
129
  client: {
130
130
  client_name: config.name,
@@ -146,6 +146,7 @@ class KeyringConnect {
146
146
  proof_config: config.proof_config,
147
147
  session_info: {
148
148
  access_token: (_b = config.krn_config) === null || _b === void 0 ? void 0 : _b.keyring_access_token,
149
+ refresh_token: (_c = config.krn_config) === null || _c === void 0 ? void 0 : _c.keyring_refresh_token,
149
150
  },
150
151
  };
151
152
  return launchConfig;
package/dist/types.d.ts CHANGED
@@ -42,6 +42,7 @@ export type ExtensionSDKConfig = {
42
42
  keyring_api_url?: string;
43
43
  analytics_api_url?: string;
44
44
  keyring_access_token?: string;
45
+ keyring_refresh_token?: string;
45
46
  entity_id?: string;
46
47
  isolate_proving?: boolean;
47
48
  notaryUrl?: string;
@@ -71,6 +72,7 @@ export type ExtensionLaunchConfig = {
71
72
  };
72
73
  session_info?: {
73
74
  access_token?: string;
75
+ refresh_token?: string;
74
76
  };
75
77
  };
76
78
  export type ExtensionStatus = "idle" | "mounted" | "proving" | "prove_success" | "error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyringnetwork/keyring-connect-sdk",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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",