@keystrokehq/eodhd_apis 0.1.3 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-eod-yahoo-style.cjs +1 -0
- package/dist/actions/get-eod-yahoo-style.cjs.map +1 -1
- package/dist/actions/get-eod-yahoo-style.d.cts +3 -11
- package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -1
- package/dist/actions/get-eod-yahoo-style.d.mts +3 -11
- package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -1
- package/dist/actions/get-eod-yahoo-style.mjs +1 -0
- package/dist/actions/get-eod-yahoo-style.mjs.map +1 -1
- package/dist/actions/get-id-mapping.cjs +1 -0
- package/dist/actions/get-id-mapping.cjs.map +1 -1
- package/dist/actions/get-id-mapping.d.cts +3 -12
- package/dist/actions/get-id-mapping.d.cts.map +1 -1
- package/dist/actions/get-id-mapping.d.mts +3 -12
- package/dist/actions/get-id-mapping.d.mts.map +1 -1
- package/dist/actions/get-id-mapping.mjs +1 -0
- package/dist/actions/get-id-mapping.mjs.map +1 -1
- package/dist/actions/get-macro-indicators.cjs +1 -0
- package/dist/actions/get-macro-indicators.cjs.map +1 -1
- package/dist/actions/get-macro-indicators.d.cts +3 -4
- package/dist/actions/get-macro-indicators.d.cts.map +1 -1
- package/dist/actions/get-macro-indicators.d.mts +3 -4
- package/dist/actions/get-macro-indicators.d.mts.map +1 -1
- package/dist/actions/get-macro-indicators.mjs +1 -0
- package/dist/actions/get-macro-indicators.mjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.cjs +1 -0
- package/dist/actions/get-mutual-funds-data.cjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.d.cts +3 -4
- package/dist/actions/get-mutual-funds-data.d.cts.map +1 -1
- package/dist/actions/get-mutual-funds-data.d.mts +3 -4
- package/dist/actions/get-mutual-funds-data.d.mts.map +1 -1
- package/dist/actions/get-mutual-funds-data.mjs +1 -0
- package/dist/actions/get-mutual-funds-data.mjs.map +1 -1
- package/dist/actions/get-real-time-quote.cjs +1 -0
- package/dist/actions/get-real-time-quote.cjs.map +1 -1
- package/dist/actions/get-real-time-quote.d.cts +3 -5
- package/dist/actions/get-real-time-quote.d.cts.map +1 -1
- package/dist/actions/get-real-time-quote.d.mts +3 -5
- package/dist/actions/get-real-time-quote.d.mts.map +1 -1
- package/dist/actions/get-real-time-quote.mjs +1 -0
- package/dist/actions/get-real-time-quote.mjs.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.cjs +1 -0
- package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.d.cts +3 -3
- package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.d.mts +3 -3
- package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.mjs +1 -0
- package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.cjs +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.d.cts +3 -4
- package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.d.mts +3 -4
- package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.mjs +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.cjs +1 -0
- package/dist/actions/get-ust-yield-rates.cjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.d.cts +3 -7
- package/dist/actions/get-ust-yield-rates.d.cts.map +1 -1
- package/dist/actions/get-ust-yield-rates.d.mts +3 -7
- package/dist/actions/get-ust-yield-rates.d.mts.map +1 -1
- package/dist/actions/get-ust-yield-rates.mjs +1 -0
- package/dist/actions/get-ust-yield-rates.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +1 -0
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +3 -3
- package/dist/actions/list-exchanges.d.cts.map +1 -1
- package/dist/actions/list-exchanges.d.mts +3 -3
- package/dist/actions/list-exchanges.d.mts.map +1 -1
- package/dist/actions/list-exchanges.mjs +1 -0
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/search-instruments.cjs +1 -0
- package/dist/actions/search-instruments.cjs.map +1 -1
- package/dist/actions/search-instruments.d.cts +3 -6
- package/dist/actions/search-instruments.d.cts.map +1 -1
- package/dist/actions/search-instruments.d.mts +3 -6
- package/dist/actions/search-instruments.d.mts.map +1 -1
- package/dist/actions/search-instruments.mjs +1 -0
- package/dist/actions/search-instruments.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-instruments.d.ts
|
|
@@ -21,12 +23,7 @@ declare const EodhdApisSearchInstrumentsOutput: z.ZodObject<{
|
|
|
21
23
|
previousCloseDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const eodhdApisSearchInstruments:
|
|
25
|
-
query: string;
|
|
26
|
-
type?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
exchange?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const eodhdApisSearchInstruments: AppAction<typeof EodhdApisSearchInstrumentsInput, typeof EodhdApisSearchInstrumentsOutput, typeof eodhdApis.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { eodhdApisSearchInstruments };
|
|
32
29
|
//# sourceMappingURL=search-instruments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-instruments.d.cts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-instruments.d.cts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-instruments.d.ts
|
|
@@ -21,12 +23,7 @@ declare const EodhdApisSearchInstrumentsOutput: z.ZodObject<{
|
|
|
21
23
|
previousCloseDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const eodhdApisSearchInstruments:
|
|
25
|
-
query: string;
|
|
26
|
-
type?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
exchange?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const eodhdApisSearchInstruments: AppAction<typeof EodhdApisSearchInstrumentsInput, typeof EodhdApisSearchInstrumentsOutput, typeof eodhdApis.credential>;
|
|
30
27
|
//#endregion
|
|
31
28
|
export { eodhdApisSearchInstruments };
|
|
32
29
|
//# sourceMappingURL=search-instruments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-instruments.d.mts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-instruments.d.mts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAkB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-instruments.mjs","names":[],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-instruments.mjs","names":[],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments: AppAction<\n typeof EodhdApisSearchInstrumentsInput,\n typeof EodhdApisSearchInstrumentsOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_token: require("zod").z.string() };
|
|
4
|
+
const eodhdApis = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "eodhd_apis",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.eodhdApis = eodhdApis;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const eodhdApis = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_token: z.string(),\n};\n\nexport const eodhdApis: KeystrokeApp<\"eodhd_apis\", typeof credential> = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,4BAAeA,CAAAA,CAAAA,EAAE,OAAO,EAC1B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAqE;CAChF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_token: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const eodhdApis: KeystrokeApp<"eodhd_apis", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { eodhdApis };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;iBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_token: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const eodhdApis: KeystrokeApp<"eodhd_apis", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { eodhdApis };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;iBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const eodhdApis = defineApp({
|
|
4
4
|
slug: "eodhd_apis",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_token: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { eodhdApis };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const eodhdApis = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_token: z.string(),\n};\n\nexport const eodhdApis: KeystrokeApp<\"eodhd_apis\", typeof credential> = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA2D,UAAU;CAChF,MAAM;CACN,MAAM;CACN,cANA,eAAe,EAAE,OAAO,EAMxB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { eodhdApis } from "./app.cjs";
|
|
1
2
|
import { eodhdApisGetEodYahooStyle } from "./actions/get-eod-yahoo-style.cjs";
|
|
2
3
|
import { eodhdApisGetIdMapping } from "./actions/get-id-mapping.cjs";
|
|
3
4
|
import { eodhdApisGetMacroIndicators } from "./actions/get-macro-indicators.cjs";
|
|
@@ -9,6 +10,5 @@ import { eodhdApisGetUserInfo } from "./actions/get-user-info.cjs";
|
|
|
9
10
|
import { eodhdApisGetUstYieldRates } from "./actions/get-ust-yield-rates.cjs";
|
|
10
11
|
import { eodhdApisListExchanges } from "./actions/list-exchanges.cjs";
|
|
11
12
|
import { eodhdApisSearchInstruments } from "./actions/search-instruments.cjs";
|
|
12
|
-
import { eodhdApis } from "./app.cjs";
|
|
13
13
|
import { eodhdApisCatalog } from "./catalog.cjs";
|
|
14
14
|
export { eodhdApis, eodhdApisCatalog, eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { eodhdApis } from "./app.mjs";
|
|
1
2
|
import { eodhdApisGetEodYahooStyle } from "./actions/get-eod-yahoo-style.mjs";
|
|
2
3
|
import { eodhdApisGetIdMapping } from "./actions/get-id-mapping.mjs";
|
|
3
4
|
import { eodhdApisGetMacroIndicators } from "./actions/get-macro-indicators.mjs";
|
|
@@ -9,6 +10,5 @@ import { eodhdApisGetUserInfo } from "./actions/get-user-info.mjs";
|
|
|
9
10
|
import { eodhdApisGetUstYieldRates } from "./actions/get-ust-yield-rates.mjs";
|
|
10
11
|
import { eodhdApisListExchanges } from "./actions/list-exchanges.mjs";
|
|
11
12
|
import { eodhdApisSearchInstruments } from "./actions/search-instruments.mjs";
|
|
12
|
-
import { eodhdApis } from "./app.mjs";
|
|
13
13
|
import { eodhdApisCatalog } from "./catalog.mjs";
|
|
14
14
|
export { eodhdApis, eodhdApisCatalog, eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/eodhd_apis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|