Skip to content

Commit 281f0d6

Browse files
committed
modified readfromsmart contract transaction, prepare-sign-execute transaction actions
1 parent ee22f40 commit 281f0d6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/overledger/overledger.app.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
});

components/overledger/sources/watch-new-account-event-instant/watch-new-account-event-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
};
2828
},
2929
getSummary(body) {
30-
return `New asccount event with transaction Id: ${body.transactionId}`;
30+
return `New account event with transaction Id: ${body.transactionId}`;
3131
},
3232
},
3333
sampleEmit,

0 commit comments

Comments
 (0)