@jitsu/protocols 1.9.12 → 1.9.13-canary.1167.20250215132227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/async-request.d.ts +1 -0
- package/functions.d.ts +2 -2
- package/package.json +1 -1
- package/profile.d.ts +1 -0
package/async-request.d.ts
CHANGED
package/functions.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface Store {
|
|
|
21
21
|
ttl(key: string): Promise<number>;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export interface
|
|
24
|
+
export interface FunctionMetrics {
|
|
25
25
|
counter(name: string): {
|
|
26
26
|
//increment / decrement counter. Supports negative values
|
|
27
27
|
inc: (value: number) => void;
|
|
@@ -70,7 +70,7 @@ export type FunctionContext<P extends AnyProps = AnyProps> = {
|
|
|
70
70
|
log: FunctionLogger;
|
|
71
71
|
fetch: FetchType;
|
|
72
72
|
store: TTLStore;
|
|
73
|
-
metrics?:
|
|
73
|
+
metrics?: FunctionMetrics;
|
|
74
74
|
props: P;
|
|
75
75
|
};
|
|
76
76
|
|
package/package.json
CHANGED