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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
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.
|
|
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.
|
|
342
|
+
* const funds = await client.stock.indexTrackingFunds('000016');
|
|
343
343
|
* ```
|
|
344
344
|
*/
|
|
345
|
-
|
|
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.
|
|
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.
|
|
342
|
+
* const funds = await client.stock.indexTrackingFunds('000016');
|
|
343
343
|
* ```
|
|
344
344
|
*/
|
|
345
|
-
|
|
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.
|
|
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.
|
|
314
|
+
* const funds = await client.stock.indexTrackingFunds('000016');
|
|
315
315
|
* ```
|
|
316
316
|
*/
|
|
317
|
-
async
|
|
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.
|
|
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.
|
|
278
|
+
* const funds = await client.stock.indexTrackingFunds('000016');
|
|
279
279
|
* ```
|
|
280
280
|
*/
|
|
281
|
-
async
|
|
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
|
}
|