@dorafactory/maci-sdk 0.0.37 → 0.0.38
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 +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/dist/maci.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/maci.ts +8 -2
- package/src/types/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -5913,7 +5913,13 @@ var MaciClient2 = class {
|
|
|
5913
5913
|
});
|
|
5914
5914
|
}
|
|
5915
5915
|
getSigner(signer) {
|
|
5916
|
-
|
|
5916
|
+
if (signer) {
|
|
5917
|
+
return signer;
|
|
5918
|
+
}
|
|
5919
|
+
if (this.signer) {
|
|
5920
|
+
return this.signer;
|
|
5921
|
+
}
|
|
5922
|
+
throw new Error("No signer provided, please provide a signer");
|
|
5917
5923
|
}
|
|
5918
5924
|
getMaciKeypair() {
|
|
5919
5925
|
return this.maciKeypair;
|