@swype-org/react-sdk 0.1.22 → 0.1.23

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 CHANGED
@@ -609,6 +609,17 @@ function normalizeSignature(sig) {
609
609
  );
610
610
  return normalizeSignature(innerBytes);
611
611
  } catch {
612
+ try {
613
+ const [wrapper] = decodeAbiParameters(
614
+ [{
615
+ type: "tuple",
616
+ components: [{ type: "uint8" }, { type: "bytes" }]
617
+ }],
618
+ `0x${hex}`
619
+ );
620
+ return normalizeSignature(wrapper[1]);
621
+ } catch {
622
+ }
612
623
  }
613
624
  }
614
625
  throw new Error(