@verified-network/verified-sdk 2.2.5 → 2.2.6

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.
@@ -427,6 +427,7 @@ class VerifiedContract {
427
427
  address: paymentToken,
428
428
  },
429
429
  instructions: [transactionInstruction],
430
+ upperBoundTimestamp: Date.now() + 3600, //1hour ???
430
431
  });
431
432
  txHash = hash;
432
433
  console.log(`MEE transaction hash: ${hash}`);
@@ -559,6 +560,7 @@ class VerifiedContract {
559
560
  }
560
561
  async getQuote(paymentTokenAddress, functionName, args, rpc, _apiKey) {
561
562
  var _a, _b, _c, _d;
563
+ console.log(paymentTokenAddress, functionName, args, rpc, _apiKey);
562
564
  const chainId = await this.signer.getChainId();
563
565
  if (this.supportsGasless(chainId)) {
564
566
  const _signer = this.signer;
@@ -605,6 +607,7 @@ class VerifiedContract {
605
607
  instructions: [transactionInstruction],
606
608
  feeToken: { address: tkAddress, chainId },
607
609
  });
610
+ // console.log("cont quote: ", quote);
608
611
  return {
609
612
  tokenAddress: paymentTokenAddress,
610
613
  amount: quote === null || quote === void 0 ? void 0 : quote.paymentInfo.tokenAmount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",