@verified-network/verified-sdk 2.8.1 → 2.8.3

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.
@@ -376,7 +376,7 @@ class VerifiedContract {
376
376
  ?.join(", ")}`);
377
377
  }
378
378
  const signerAny = this.signer;
379
- const signerPk = signerAny?._signingKey()?.privateKey;
379
+ const signerPk = signerAny?._signingKey?.()?.privateKey;
380
380
  if (!signerPk) {
381
381
  //no pk on signer. Assume it's web wallets and use ethers
382
382
  console.log("Signer incomplete, will use ethers");
@@ -414,7 +414,7 @@ class VerifiedContract {
414
414
  chains_1.arbitrumSepolia,
415
415
  ].find((nt) => Number(nt?.id) === Number(chainId));
416
416
  const signerAny = this.signer;
417
- const signerPk = signerAny?._signingKey()?.privateKey;
417
+ const signerPk = signerAny?._signingKey?.()?.privateKey;
418
418
  if (chainToUse && paymentTokenAddress && signerPk) {
419
419
  try {
420
420
  let fn = this.contract.populateTransaction[functionName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.8.1",
3
+ "version": "2.8.3",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",