@vleap/warps-adapter-fastset 0.1.0-alpha.31 → 0.1.0-alpha.32
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2918,7 +2918,7 @@ var WarpFastsetWallet = class {
|
|
|
2918
2918
|
return { address, privateKey: uint8ArrayToHex(privateKey), mnemonic };
|
|
2919
2919
|
}
|
|
2920
2920
|
generate() {
|
|
2921
|
-
const privateKey = ed25519_exports.utils.
|
|
2921
|
+
const privateKey = ed25519_exports.utils.randomSecretKey();
|
|
2922
2922
|
const publicKey = ed25519_exports.getPublicKey(privateKey);
|
|
2923
2923
|
const address = FastsetClient.encodeBech32Address(publicKey);
|
|
2924
2924
|
return { address, privateKey: uint8ArrayToHex(privateKey), mnemonic: null };
|