@basis-theory/basis-theory-js
Advanced tools
Comparing version 4.7.1 to 4.7.2
{ | ||
"name": "@basis-theory/basis-theory-js", | ||
"version": "4.7.1", | ||
"version": "4.7.2", | ||
"repository": "https://github.com/Basis-Theory/basis-theory-js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -14,11 +14,11 @@ "use strict"; | ||
getSessionById(sessionId) { | ||
return this.client.get(`/${sessionId}`).then(_common.dataExtractor); | ||
return this.client.get(`/sessions/${sessionId}`).then(_common.dataExtractor); | ||
} | ||
authenticateSession(sessionId, authenticateRequest) { | ||
return this.client.post(`/${sessionId}/authenticate`, authenticateRequest).then(_common.dataExtractor); | ||
return this.client.post(`/sessions/${sessionId}/authenticate`, authenticateRequest).then(_common.dataExtractor); | ||
} | ||
getChallengeResult(sessionId) { | ||
return this.client.get(`/${sessionId}/challenge-result`).then(_common.dataExtractor); | ||
return this.client.get(`/sessions/${sessionId}/challenge-result`).then(_common.dataExtractor); | ||
} | ||
@@ -25,0 +25,0 @@ |
175095