@logkit/client
Advanced tools
Comparing version 0.0.0-b3e0954 to 0.0.0-d072a2a
@@ -13,3 +13,3 @@ /** | ||
*/ | ||
export declare function log(event: never, fields: never): void; | ||
export declare function log(event: never, payload: never): void; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
"use strict";var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var p=(t,o)=>{for(var n in o)i(t,n,{get:o[n],enumerable:!0})},r=(t,o,n,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of g(o))!h.call(t,e)&&e!==n&&i(t,e,{get:()=>o[e],enumerable:!(l=c(o,e))||l.enumerable});return t};var s=t=>r(i({},"__esModule",{value:!0}),t);var d={};p(d,{log:()=>a});module.exports=s(d);function a(t,o){fetch("http://localhost:3001/ingest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:t,fields:o})}),console.log("[logkit]",t,o)}0&&(module.exports={log}); | ||
"use strict";var i=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=(t,o)=>{for(var n in o)i(t,n,{get:o[n],enumerable:!0})},r=(t,o,n,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!g.call(t,e)&&e!==n&&i(t,e,{get:()=>o[e],enumerable:!(l=s(o,e))||l.enumerable});return t};var p=t=>r(i({},"__esModule",{value:!0}),t);var f={};h(f,{log:()=>d});module.exports=p(f);function d(t,o){fetch("http://localhost:3000/ingest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:t,payload:o})}),console.log("[logkit]",t,o)}0&&(module.exports={log}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@logkit/client", | ||
"version": "0.0.0-b3e0954", | ||
"version": "0.0.0-d072a2a", | ||
"description": "Next generation logging infrastructure", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4357