@instadapp/avocado-base 0.0.25 → 0.0.27

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.27",
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()
package/utils/network.ts CHANGED
@@ -114,7 +114,7 @@ export const networks: Network[] = [
114
114
  symbol: "AVAX",
115
115
  decimals: 18,
116
116
  },
117
- rpcUrls: ["https://api.avax.network/ext/bc/C/rpc"],
117
+ rpcUrls: ["https://rpc.ankr.com/avalanche"],
118
118
  },
119
119
  },
120
120
  {
@@ -174,7 +174,7 @@ export const networks: Network[] = [
174
174
  },
175
175
  params: {
176
176
  chainName: "polygon zkEVM",
177
- rpcUrls: ["https://rpc.ankr.com/polygon_zkevm"],
177
+ rpcUrls: ["https://zkevm-rpc.com"],
178
178
 
179
179
  nativeCurrency: {
180
180
  name: "Ethereum",