@elisym/mcp 0.8.6 → 0.8.7
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 +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1236,7 +1236,15 @@ async function executePaymentFlow(agent, paymentRequest, jobId, providerPubkey,
|
|
|
1236
1236
|
const signer = await createKeyPairSignerFromBytes(agent.solanaKeypair.secretKey);
|
|
1237
1237
|
const httpUrl = rpcUrlFor(agent.network);
|
|
1238
1238
|
const rpc = createSolanaRpc(httpUrl);
|
|
1239
|
-
const signedTx = await paymentStrategy.buildTransaction(
|
|
1239
|
+
const signedTx = await paymentStrategy.buildTransaction(
|
|
1240
|
+
requestData,
|
|
1241
|
+
signer,
|
|
1242
|
+
rpc,
|
|
1243
|
+
protocolConfig,
|
|
1244
|
+
{
|
|
1245
|
+
jobEventId: jobId
|
|
1246
|
+
}
|
|
1247
|
+
);
|
|
1240
1248
|
const rpcSubscriptions = createSolanaRpcSubscriptions(wsUrlFor(httpUrl));
|
|
1241
1249
|
const sendAndConfirm = sendAndConfirmTransactionFactory({ rpc, rpcSubscriptions });
|
|
1242
1250
|
await sendAndConfirm(signedTx, {
|