@agentcash/router 1.1.7 → 1.1.8
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2252,8 +2252,8 @@ function createRouter(config) {
|
|
|
2252
2252
|
};
|
|
2253
2253
|
let feePayerAccount;
|
|
2254
2254
|
if (config.mpp.feePayerKey) {
|
|
2255
|
-
const {
|
|
2256
|
-
feePayerAccount =
|
|
2255
|
+
const { Account } = await import("viem/tempo");
|
|
2256
|
+
feePayerAccount = Account.fromSecp256k1(config.mpp.feePayerKey);
|
|
2257
2257
|
}
|
|
2258
2258
|
deps.mppx = Mppx.create({
|
|
2259
2259
|
methods: [
|
package/dist/index.js
CHANGED
|
@@ -2213,8 +2213,8 @@ function createRouter(config) {
|
|
|
2213
2213
|
};
|
|
2214
2214
|
let feePayerAccount;
|
|
2215
2215
|
if (config.mpp.feePayerKey) {
|
|
2216
|
-
const {
|
|
2217
|
-
feePayerAccount =
|
|
2216
|
+
const { Account } = await import("viem/tempo");
|
|
2217
|
+
feePayerAccount = Account.fromSecp256k1(config.mpp.feePayerKey);
|
|
2218
2218
|
}
|
|
2219
2219
|
deps.mppx = Mppx.create({
|
|
2220
2220
|
methods: [
|