@ecency/sdk 2.0.19 → 2.0.20

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.
@@ -313,14 +313,14 @@ interface PlatformAdapter {
313
313
  * Record user activity for analytics (optional).
314
314
  *
315
315
  * @param activityType - Numeric activity type code
316
- * @param blockNum - Block number of the activity
317
316
  * @param txId - Transaction ID
317
+ * @param blockNum - Block number of the activity
318
318
  *
319
319
  * @remarks
320
320
  * - Used for tracking user engagement
321
321
  * - Platform can implement custom analytics
322
322
  */
323
- recordActivity?: (activityType: number, blockNum: number, txId: string) => Promise<void>;
323
+ recordActivity?: (activityType: number, txId: string, blockNum?: number) => Promise<void>;
324
324
  /**
325
325
  * Invalidate React Query cache keys (optional).
326
326
  *