@dorafactory/maci-sdk 0.1.2-pre.2 → 0.1.2-pre.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.
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/maci.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -7121,7 +7121,9 @@ var MaciClient2 = class {
|
|
|
7121
7121
|
address,
|
|
7122
7122
|
contractAddress
|
|
7123
7123
|
}) {
|
|
7124
|
-
address
|
|
7124
|
+
if (address === void 0) {
|
|
7125
|
+
address = await this.getAddress(signer);
|
|
7126
|
+
}
|
|
7125
7127
|
return await this.maci.hasFeegrant({
|
|
7126
7128
|
address,
|
|
7127
7129
|
contractAddress
|