Skip to content

Commit

Permalink
reverse eta reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornkihlberg committed Dec 13, 2023
1 parent 7f0fed1 commit 97479da
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions packages/runtime/client/rest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,18 @@ export function mkRestClient(baseURL: string): RestClient {
createContractSources(mainId, bundle) {
return Sources.createContractSources(axiosInstance)(mainId, bundle);
},
getContractSourceById: Sources.getContractSourceById(axiosInstance),
getContractSourceAdjacency:
Sources.getContractSourceAdjacency(axiosInstance),
getContractSourceClosure: Sources.getContractSourceClosure(axiosInstance),
getNextStepsForContract: Next.getNextStepsForContract(axiosInstance),
getContractSourceById(request) {
return Sources.getContractSourceById(axiosInstance)(request);
},
getContractSourceAdjacency(request) {
return Sources.getContractSourceAdjacency(axiosInstance)(request);
},
getContractSourceClosure(request) {
return Sources.getContractSourceClosure(axiosInstance)(request);
},
getNextStepsForContract(request) {
return Next.getNextStepsForContract(axiosInstance)(request);
},
submitContract(contractId, txEnvelope) {
return submitContractViaAxios(axiosInstance)(contractId, txEnvelope);
},
Expand Down

0 comments on commit 97479da

Please sign in to comment.