voidai-sdk 0.2.0 → 0.2.1

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.
@@ -71,9 +71,6 @@ export declare class VoidAIBridgeClient {
71
71
  cancelBridgeSwap(params: CancelBridgeSwapRequest): Promise<CancelOperationResponse>;
72
72
  /**
73
73
  * Get recent API transactions (tenant-level)
74
- *
75
- * Maps to:
76
- * POST /api/v1/bridge/api-transactions?page={page}&limit={limit}
77
74
  */
78
75
  getApiTransactions(page?: number, limit?: number): Promise<ApiTransactionsResponse>;
79
76
  /**
@@ -323,13 +323,13 @@ class VoidAIBridgeClient {
323
323
  }
324
324
  /**
325
325
  * Get recent API transactions (tenant-level)
326
- *
327
- * Maps to:
328
- * POST /api/v1/bridge/api-transactions?page={page}&limit={limit}
329
326
  */
330
327
  async getApiTransactions(page = 1, limit = 20) {
331
- const path = `api/v1/bridge/api-transactions?page=${encodeURIComponent(String(page))}&limit=${encodeURIComponent(String(limit))}`;
332
- return this.post(path, undefined);
328
+ const queryParams = {
329
+ page: String(page),
330
+ limit: String(limit),
331
+ };
332
+ return this.get('api/v1/bridge/api-transactions', queryParams);
333
333
  }
334
334
  /**
335
335
  * Manually validate a bridge burn transaction (EVM burn completion)