reportify-sdk 0.2.5 → 0.2.6

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.d.mts CHANGED
@@ -335,14 +335,14 @@ declare class StockModule {
335
335
  * @example
336
336
  * ```typescript
337
337
  * // Get CSI 300 tracking funds
338
- * const funds = await client.stock.indexFunds('000300');
338
+ * const funds = await client.stock.indexTrackingFunds('000300');
339
339
  * console.log(funds);
340
340
  *
341
341
  * // Get SSE 50 tracking funds
342
- * const funds = await client.stock.indexFunds('000016');
342
+ * const funds = await client.stock.indexTrackingFunds('000016');
343
343
  * ```
344
344
  */
345
- indexFunds(symbol: string): Promise<IndexFund[]>;
345
+ indexTrackingFunds(symbol: string): Promise<IndexFund[]>;
346
346
  private normalizeArrayResponse;
347
347
  }
348
348
 
package/dist/index.d.ts CHANGED
@@ -335,14 +335,14 @@ declare class StockModule {
335
335
  * @example
336
336
  * ```typescript
337
337
  * // Get CSI 300 tracking funds
338
- * const funds = await client.stock.indexFunds('000300');
338
+ * const funds = await client.stock.indexTrackingFunds('000300');
339
339
  * console.log(funds);
340
340
  *
341
341
  * // Get SSE 50 tracking funds
342
- * const funds = await client.stock.indexFunds('000016');
342
+ * const funds = await client.stock.indexTrackingFunds('000016');
343
343
  * ```
344
344
  */
345
- indexFunds(symbol: string): Promise<IndexFund[]>;
345
+ indexTrackingFunds(symbol: string): Promise<IndexFund[]>;
346
346
  private normalizeArrayResponse;
347
347
  }
348
348
 
package/dist/index.js CHANGED
@@ -307,14 +307,14 @@ var StockModule = class {
307
307
  * @example
308
308
  * ```typescript
309
309
  * // Get CSI 300 tracking funds
310
- * const funds = await client.stock.indexFunds('000300');
310
+ * const funds = await client.stock.indexTrackingFunds('000300');
311
311
  * console.log(funds);
312
312
  *
313
313
  * // Get SSE 50 tracking funds
314
- * const funds = await client.stock.indexFunds('000016');
314
+ * const funds = await client.stock.indexTrackingFunds('000016');
315
315
  * ```
316
316
  */
317
- async indexFunds(symbol) {
317
+ async indexTrackingFunds(symbol) {
318
318
  const response = await this.client.post("/v1/stock/index-tracking-funds", { symbol });
319
319
  return this.normalizeArrayResponse(response);
320
320
  }
package/dist/index.mjs CHANGED
@@ -271,14 +271,14 @@ var StockModule = class {
271
271
  * @example
272
272
  * ```typescript
273
273
  * // Get CSI 300 tracking funds
274
- * const funds = await client.stock.indexFunds('000300');
274
+ * const funds = await client.stock.indexTrackingFunds('000300');
275
275
  * console.log(funds);
276
276
  *
277
277
  * // Get SSE 50 tracking funds
278
- * const funds = await client.stock.indexFunds('000016');
278
+ * const funds = await client.stock.indexTrackingFunds('000016');
279
279
  * ```
280
280
  */
281
- async indexFunds(symbol) {
281
+ async indexTrackingFunds(symbol) {
282
282
  const response = await this.client.post("/v1/stock/index-tracking-funds", { symbol });
283
283
  return this.normalizeArrayResponse(response);
284
284
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reportify-sdk",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "TypeScript SDK for Reportify API - Financial data and document search",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",