@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.
@@ -1,5 +1,6 @@
1
- import { TransportSecretKey as u, DerivedPublicKey as _, EncryptedVetKey as l } from "./index.es.js";
2
- import { A as h } from "./actor-CFYb2LZx.mjs";
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 v {
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 E {
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
- v as DefaultKeyManagerClient,
273
- E as KeyManager
273
+ E as DefaultKeyManagerClient,
274
+ m as KeyManager
274
275
  };