@instadapp/avocado-base 0.0.25 → 0.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instadapp/avocado-base",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
package/utils/metadata.ts CHANGED
@@ -387,7 +387,7 @@ export const decodeMetadata = (data: string) => {
387
387
  break;
388
388
  case "auth":
389
389
  payload = {
390
- type,
390
+ type: decodedData.remove ? "remove-authority" : "add-authority",
391
391
  address: decodedData.address,
392
392
  chainId: decodedData.chainId
393
393
  ? decodedData.chainId.toString()