@instadapp/avocado-base 0.0.27 → 0.0.29

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.27",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
package/utils/metadata.ts CHANGED
@@ -42,6 +42,7 @@ const actionMetadataTypes = {
42
42
  "uint160 amount",
43
43
  "uint48 expiration",
44
44
  ],
45
+ "instadapp-pro": ["string castDetails"],
45
46
  };
46
47
 
47
48
  const encodeMetadata = (props: MetadataProps) => {
@@ -395,6 +396,13 @@ export const decodeMetadata = (data: string) => {
395
396
  remove: decodedData.remove,
396
397
  };
397
398
 
399
+ break;
400
+ case "instadapp-pro":
401
+ payload = {
402
+ type,
403
+ castDetails: decodedData.castDetails,
404
+ };
405
+
398
406
  break;
399
407
  }
400
408