@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.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -612,6 +612,17 @@ function normalizeSignature(sig) {
|
|
|
612
612
|
);
|
|
613
613
|
return normalizeSignature(innerBytes);
|
|
614
614
|
} catch {
|
|
615
|
+
try {
|
|
616
|
+
const [wrapper] = viem.decodeAbiParameters(
|
|
617
|
+
[{
|
|
618
|
+
type: "tuple",
|
|
619
|
+
components: [{ type: "uint8" }, { type: "bytes" }]
|
|
620
|
+
}],
|
|
621
|
+
`0x${hex}`
|
|
622
|
+
);
|
|
623
|
+
return normalizeSignature(wrapper[1]);
|
|
624
|
+
} catch {
|
|
625
|
+
}
|
|
615
626
|
}
|
|
616
627
|
}
|
|
617
628
|
throw new Error(
|