@@ -14,8 +14,8 @@ export default {
1414 _baseUrl ( ) {
1515 return "https://api.overledger.io" ;
1616 } ,
17- //Sanbox base URL signing - allows for use on non
18- _sanboxBaseUrl ( ) {
17+ //Sandbox base URL - allows for use on Sandbox environments
18+ _sandboxBaseUrl ( ) {
1919 return "https://api.sandbox.overledger.io" ;
2020 } ,
2121 _headers ( ) {
@@ -37,7 +37,7 @@ export default {
3737 prepareSmartContractTransaction ( opts = { } ) {
3838 return this . _makeRequest ( {
3939 method : "POST" ,
40- baseUrl : this . _sanboxBaseUrl ( ) ,
40+ baseUrl : this . _sandboxBaseUrl ( ) ,
4141 path : "/api/preparations/transactions/smart-contracts/write" ,
4242 ...opts ,
4343 } ) ;
@@ -53,15 +53,15 @@ export default {
5353 signTransaction ( opts = { } ) {
5454 return this . _makeRequest ( {
5555 method : "POST" ,
56- baseUrl : this . _sanboxBaseUrl ( ) ,
56+ baseUrl : this . _sandboxBaseUrl ( ) ,
5757 path : "/api/transaction-signing-sandbox" ,
5858 ...opts ,
5959 } ) ;
6060 } ,
6161 executeSignedTransaction ( opts = { } ) {
6262 return this . _makeRequest ( {
6363 method : "POST" ,
64- baseUrl : this . _baseUrl ( ) ,
64+ baseUrl : this . _sandboxBaseUrl ( ) ,
6565 path : "/api/executions/transactions" ,
6666 ...opts ,
6767 } ) ;
0 commit comments