@icp-sdk/vetkeys 0.6.0 → 0.7.0
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/lib/encrypted_maps.es.js +60 -90
- package/dist/lib/index.es.js +18 -3737
- package/dist/lib/key_manager.es.js +7 -6
- package/dist/lib/utils-CiynM__c.mjs +901 -0
- package/package.json +7 -4
- package/dist/lib/actor-CFYb2LZx.mjs +0 -8929
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { T as u, a as _, E as l } from "./utils-CiynM__c.mjs";
|
|
2
|
+
import { Actor as h } from "@icp-sdk/core/agent";
|
|
3
|
+
import "@icp-sdk/core/candid";
|
|
3
4
|
const g = ({ IDL: e }) => {
|
|
4
5
|
const r = e.Record({ inner: e.Vec(e.Nat8) }), t = e.Variant({ Ok: r, Err: e.Text }), s = e.Variant({
|
|
5
6
|
Read: e.Null,
|
|
@@ -46,7 +47,7 @@ const g = ({ IDL: e }) => {
|
|
|
46
47
|
)
|
|
47
48
|
});
|
|
48
49
|
};
|
|
49
|
-
class
|
|
50
|
+
class E {
|
|
50
51
|
canisterId;
|
|
51
52
|
actor;
|
|
52
53
|
verificationKey = void 0;
|
|
@@ -79,7 +80,7 @@ class v {
|
|
|
79
80
|
return this.verificationKey ? this.verificationKey : (this.verificationKey = await this.actor.get_vetkey_verification_key(), this.verificationKey);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
class
|
|
83
|
+
class m {
|
|
83
84
|
/**
|
|
84
85
|
* The client instance for interacting with the KeyManager canister.
|
|
85
86
|
*/
|
|
@@ -269,6 +270,6 @@ function c(e) {
|
|
|
269
270
|
return { inner: e };
|
|
270
271
|
}
|
|
271
272
|
export {
|
|
272
|
-
|
|
273
|
-
|
|
273
|
+
E as DefaultKeyManagerClient,
|
|
274
|
+
m as KeyManager
|
|
274
275
|
};
|