@ganaka/sdk 1.4.0 → 1.4.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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8045,14 +8045,14 @@ const fetchQuoteTimeline = ({
|
|
|
8045
8045
|
runId,
|
|
8046
8046
|
currentTimestamp,
|
|
8047
8047
|
currentTimezone = "Asia/Kolkata"
|
|
8048
|
-
}) => async (symbol,
|
|
8048
|
+
}) => async (symbol, end_datetime) => {
|
|
8049
8049
|
if (!developerToken) {
|
|
8050
8050
|
throw new Error("Developer token not found. Please set DEVELOPER_KEY environment variable.");
|
|
8051
8051
|
}
|
|
8052
8052
|
try {
|
|
8053
8053
|
const validatedParams = je.getGrowwQuoteTimeline.query.parse({
|
|
8054
8054
|
symbol,
|
|
8055
|
-
|
|
8055
|
+
end_datetime
|
|
8056
8056
|
});
|
|
8057
8057
|
const headers = {
|
|
8058
8058
|
Authorization: `Bearer ${developerToken}`
|