anymal-protocol 1.0.134 → 1.0.135

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 CHANGED
@@ -3055,10 +3055,10 @@ function useCoinbaseCreateOrganizationWallet() {
3055
3055
  }
3056
3056
  let proxyAddress;
3057
3057
  try {
3058
- if (data?.transactionHash) {
3059
- const receipt = await publicClient.waitForTransactionReceipt({
3060
- hash: data.transactionHash,
3061
- timeout: 3e4
3058
+ const txHash = data?.receipts?.[0]?.transactionHash || data?.transactionHash;
3059
+ if (txHash) {
3060
+ const receipt = await publicClient.getTransactionReceipt({
3061
+ hash: txHash
3062
3062
  });
3063
3063
  for (const log of receipt.logs) {
3064
3064
  try {
package/dist/index.mjs CHANGED
@@ -2976,10 +2976,10 @@ function useCoinbaseCreateOrganizationWallet() {
2976
2976
  }
2977
2977
  let proxyAddress;
2978
2978
  try {
2979
- if (data?.transactionHash) {
2980
- const receipt = await publicClient.waitForTransactionReceipt({
2981
- hash: data.transactionHash,
2982
- timeout: 3e4
2979
+ const txHash = data?.receipts?.[0]?.transactionHash || data?.transactionHash;
2980
+ if (txHash) {
2981
+ const receipt = await publicClient.getTransactionReceipt({
2982
+ hash: txHash
2983
2983
  });
2984
2984
  for (const log of receipt.logs) {
2985
2985
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymal-protocol",
3
- "version": "1.0.134",
3
+ "version": "1.0.135",
4
4
  "description": "A React/TypeScript-based utility library for reusable functions and hooks inside of the Anymal Ecosystem.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {