reddy-api-srm 1.0.11 → 1.0.12

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.
@@ -126,13 +126,9 @@ async function terminateSessions({ flowId, identifier, digest, csrfToken, sessio
126
126
  method: "DELETE",
127
127
  headers: {
128
128
  accept: "application/json, text/javascript, */*; q=0.01",
129
- "accept-language": "en-US,en;q=0.9",
130
129
  "content-type": "application/x-www-form-urlencoded;charset=UTF-8",
131
130
  ...(normalizedCsrfToken
132
- ? {
133
- "x-zcsrf-token": `iamcsrcoo=${encodeURIComponent(normalizedCsrfToken)}`,
134
- "X-ZCSRF-TOKEN": `iamcsrcoo=${encodeURIComponent(normalizedCsrfToken)}`,
135
- }
131
+ ? { "X-ZCSRF-TOKEN": `iamcsrcoo=${encodeURIComponent(normalizedCsrfToken)}` }
136
132
  : {}),
137
133
  cookie: sessionCookie,
138
134
  Referer: "https://academia.srmist.edu.in/accounts/p/40-10002227248/preannouncement/block-sessions",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reddy-api-srm",
3
3
  "description": "SRMIST KTR Academia portal",
4
- "version": "1.0.11",
4
+ "version": "1.0.12",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
7
7
  "exports": {