@turtleclub/hooks 0.5.0-beta.28 → 0.5.0-beta.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/dist/index.cjs CHANGED
@@ -1387,7 +1387,7 @@ var streamWalletSchema = import_zod10.z.object({
1387
1387
  lastSnapshot: streamWalletSnapshotSchema
1388
1388
  });
1389
1389
  var getStreamWalletsResponseSchema = import_zod10.z.object({
1390
- wallets: import_zod10.z.array(streamWalletSchema)
1390
+ data: import_zod10.z.array(streamWalletSchema)
1391
1391
  });
1392
1392
  var streamWalletDetailsSchema = import_zod10.z.object({
1393
1393
  streamId: import_zod10.z.string(),
@@ -1430,7 +1430,7 @@ async function getStreamWallets(streamId) {
1430
1430
  );
1431
1431
  throw new Error(`Failed to parse stream wallets: ${result.error.message}`);
1432
1432
  }
1433
- return result.data.wallets;
1433
+ return result.data.data;
1434
1434
  }
1435
1435
  async function getStreamWalletDetails(streamId, userAddress) {
1436
1436
  const endpoint = `/streams/${streamId}/wallets/${userAddress}`;