@vleap/warps-adapter-fastset 0.1.0-beta.41 → 0.1.0-beta.42

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.mjs CHANGED
@@ -2933,6 +2933,13 @@ var WarpFastsetWallet = class {
2933
2933
  getAddress() {
2934
2934
  return getWarpWalletAddressFromConfig3(this.config, this.chain.name);
2935
2935
  }
2936
+ getPublicKey() {
2937
+ const privateKey = getWarpWalletPrivateKeyFromConfig(this.config, this.chain.name);
2938
+ if (!privateKey) return null;
2939
+ const privateKeyBytes = hexToUint8Array(privateKey);
2940
+ const publicKey = ed25519_exports.getPublicKey(privateKeyBytes);
2941
+ return uint8ArrayToHex(publicKey);
2942
+ }
2936
2943
  };
2937
2944
 
2938
2945
  // src/main.ts