import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{getDataAppStorage as t}from"../../../../clients/jsonApi/index.js";var n=function(){var n=r(e.mark((function r(n){var a;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=null,r.prev=1,r.next=4,t("corva","data.offset_wells",{query:JSON.stringify({asset_id:n}),sort:JSON.stringify({timestamp:-1}),limit:1});case 4:a=r.sent,r.next=10;break;case 7:r.prev=7,r.t0=r.catch(1),console.error(r.t0);case 10:return r.abrupt("return",a||[]);case 11:case"end":return r.stop()}}),r,null,[[1,7]])})));return function(r){return n.apply(this,arguments)}}();export{n as fetchWellhubSettingsOffsets};
//# sourceMappingURL=fetchWellhubSettingsOffsets.js.map
