@openfort/openfort-js 0.7.18 → 0.7.19
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/index.cjs +15 -0
- package/dist/index.js +15 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5178,6 +5178,8 @@ class AuthManager {
|
|
|
5178
5178
|
}
|
|
5179
5179
|
}
|
|
5180
5180
|
|
|
5181
|
+
const VERSION = '0.7.19';
|
|
5182
|
+
|
|
5181
5183
|
var Event;
|
|
5182
5184
|
(function (Event) {
|
|
5183
5185
|
Event["LOADED"] = "loaded";
|
|
@@ -5263,6 +5265,18 @@ class ExportPrivateKeyRequest {
|
|
|
5263
5265
|
this.requestConfiguration = requestConfiguration;
|
|
5264
5266
|
}
|
|
5265
5267
|
}
|
|
5268
|
+
class ExportPrivateKeyResponse {
|
|
5269
|
+
uuid;
|
|
5270
|
+
success;
|
|
5271
|
+
action = Event.EXPORT;
|
|
5272
|
+
key;
|
|
5273
|
+
version = VERSION;
|
|
5274
|
+
constructor(uuid, key) {
|
|
5275
|
+
this.success = true;
|
|
5276
|
+
this.key = key;
|
|
5277
|
+
this.uuid = uuid;
|
|
5278
|
+
}
|
|
5279
|
+
}
|
|
5266
5280
|
function isErrorResponse(response) {
|
|
5267
5281
|
return 'error' in response;
|
|
5268
5282
|
}
|
|
@@ -5921,6 +5935,7 @@ class IframeManager {
|
|
|
5921
5935
|
[Event.CURRENT_DEVICE]: GetCurrentDeviceResponse,
|
|
5922
5936
|
[Event.SIGNED]: SignResponse,
|
|
5923
5937
|
[Event.LOGGED_OUT]: LogoutResponse,
|
|
5938
|
+
[Event.EXPORT]: ExportPrivateKeyResponse,
|
|
5924
5939
|
};
|
|
5925
5940
|
waitForResponse(uuid) {
|
|
5926
5941
|
return new Promise((resolve, reject) => {
|
package/dist/index.js
CHANGED
|
@@ -5155,6 +5155,8 @@ class AuthManager {
|
|
|
5155
5155
|
}
|
|
5156
5156
|
}
|
|
5157
5157
|
|
|
5158
|
+
const VERSION = '0.7.19';
|
|
5159
|
+
|
|
5158
5160
|
var Event;
|
|
5159
5161
|
(function (Event) {
|
|
5160
5162
|
Event["LOADED"] = "loaded";
|
|
@@ -5240,6 +5242,18 @@ class ExportPrivateKeyRequest {
|
|
|
5240
5242
|
this.requestConfiguration = requestConfiguration;
|
|
5241
5243
|
}
|
|
5242
5244
|
}
|
|
5245
|
+
class ExportPrivateKeyResponse {
|
|
5246
|
+
uuid;
|
|
5247
|
+
success;
|
|
5248
|
+
action = Event.EXPORT;
|
|
5249
|
+
key;
|
|
5250
|
+
version = VERSION;
|
|
5251
|
+
constructor(uuid, key) {
|
|
5252
|
+
this.success = true;
|
|
5253
|
+
this.key = key;
|
|
5254
|
+
this.uuid = uuid;
|
|
5255
|
+
}
|
|
5256
|
+
}
|
|
5243
5257
|
function isErrorResponse(response) {
|
|
5244
5258
|
return 'error' in response;
|
|
5245
5259
|
}
|
|
@@ -5898,6 +5912,7 @@ class IframeManager {
|
|
|
5898
5912
|
[Event.CURRENT_DEVICE]: GetCurrentDeviceResponse,
|
|
5899
5913
|
[Event.SIGNED]: SignResponse,
|
|
5900
5914
|
[Event.LOGGED_OUT]: LogoutResponse,
|
|
5915
|
+
[Event.EXPORT]: ExportPrivateKeyResponse,
|
|
5901
5916
|
};
|
|
5902
5917
|
waitForResponse(uuid) {
|
|
5903
5918
|
return new Promise((resolve, reject) => {
|
package/package.json
CHANGED