@eka-care/ekascribe-ts-sdk 2.1.35 → 2.1.36
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 +4 -1
- package/dist/index.mjs +10 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -31624,7 +31624,10 @@ const REQUEST_TIMEOUT_MS = 1e4, fetchChunkTranscript = async (s, n) => {
|
|
|
31624
31624
|
return { success: !1, error: "network_error" };
|
|
31625
31625
|
}
|
|
31626
31626
|
};
|
|
31627
|
-
async function patchSessionContext(
|
|
31627
|
+
async function patchSessionContext({
|
|
31628
|
+
txn_id: s,
|
|
31629
|
+
context: n
|
|
31630
|
+
}) {
|
|
31628
31631
|
try {
|
|
31629
31632
|
const i = new Headers();
|
|
31630
31633
|
i.append("Content-Type", "application/json");
|
|
@@ -31648,7 +31651,10 @@ async function patchSessionContext(s, n) {
|
|
|
31648
31651
|
};
|
|
31649
31652
|
}
|
|
31650
31653
|
}
|
|
31651
|
-
async function deleteSessionContext(
|
|
31654
|
+
async function deleteSessionContext({
|
|
31655
|
+
txn_id: s,
|
|
31656
|
+
context: n
|
|
31657
|
+
}) {
|
|
31652
31658
|
try {
|
|
31653
31659
|
const i = new Headers();
|
|
31654
31660
|
i.append("Content-Type", "application/json");
|
|
@@ -32033,10 +32039,10 @@ const _n = class _n {
|
|
|
32033
32039
|
return fetchChunkTranscript(n, i);
|
|
32034
32040
|
}
|
|
32035
32041
|
async addSessionContext({ txn_id: n, context: i }) {
|
|
32036
|
-
return await patchSessionContext(n, i);
|
|
32042
|
+
return await patchSessionContext({ txn_id: n, context: i });
|
|
32037
32043
|
}
|
|
32038
32044
|
async removeSessionContext({ txn_id: n, context: i }) {
|
|
32039
|
-
return await deleteSessionContext(n, i);
|
|
32045
|
+
return await deleteSessionContext({ txn_id: n, context: i });
|
|
32040
32046
|
}
|
|
32041
32047
|
};
|
|
32042
32048
|
_n.instance = null;
|