@trigger.dev/sdk 4.4.0 → 4.4.1

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.
@@ -1,3 +1,4 @@
1
1
  export declare const otel: {
2
2
  withExternalTrace: <T>(fn: () => T) => T;
3
+ metrics: import("@opentelemetry/api").MetricsAPI;
3
4
  };
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.otel = void 0;
4
+ const api_1 = require("@opentelemetry/api");
4
5
  const v3_1 = require("@trigger.dev/core/v3");
5
6
  exports.otel = {
6
7
  withExternalTrace: (fn) => {
7
8
  return v3_1.traceContext.withExternalTrace(fn);
8
9
  },
10
+ metrics: api_1.metrics,
9
11
  };
10
12
  //# sourceMappingURL=otel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"otel.js","sourceRoot":"","sources":["../../../src/v3/otel.ts"],"names":[],"mappings":";;;AAAA,6CAAoD;AAEvC,QAAA,IAAI,GAAG;IAClB,iBAAiB,EAAE,CAAI,EAAW,EAAK,EAAE;QACvC,OAAO,iBAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"otel.js","sourceRoot":"","sources":["../../../src/v3/otel.ts"],"names":[],"mappings":";;;AAAA,4CAA6C;AAC7C,6CAAoD;AAEvC,QAAA,IAAI,GAAG;IAClB,iBAAiB,EAAE,CAAI,EAAW,EAAK,EAAE;QACvC,OAAO,iBAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,EAAP,aAAO;CACR,CAAC"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "4.4.0";
4
+ exports.VERSION = "4.4.1";
5
5
  //# sourceMappingURL=version.js.map
@@ -1,3 +1,4 @@
1
1
  export declare const otel: {
2
2
  withExternalTrace: <T>(fn: () => T) => T;
3
+ metrics: import("@opentelemetry/api").MetricsAPI;
3
4
  };
@@ -1,7 +1,9 @@
1
+ import { metrics } from "@opentelemetry/api";
1
2
  import { traceContext } from "@trigger.dev/core/v3";
2
3
  export const otel = {
3
4
  withExternalTrace: (fn) => {
4
5
  return traceContext.withExternalTrace(fn);
5
6
  },
7
+ metrics,
6
8
  };
7
9
  //# sourceMappingURL=otel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"otel.js","sourceRoot":"","sources":["../../../src/v3/otel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,iBAAiB,EAAE,CAAI,EAAW,EAAK,EAAE;QACvC,OAAO,YAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"otel.js","sourceRoot":"","sources":["../../../src/v3/otel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,iBAAiB,EAAE,CAAI,EAAW,EAAK,EAAE;QACvC,OAAO,YAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO;CACR,CAAC"}
@@ -1,2 +1,2 @@
1
- export const VERSION = "4.4.0";
1
+ export const VERSION = "4.4.1";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/sdk",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "description": "trigger.dev Node.JS SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@opentelemetry/api": "1.9.0",
45
45
  "@opentelemetry/semantic-conventions": "1.36.0",
46
- "@trigger.dev/core": "4.4.0",
46
+ "@trigger.dev/core": "4.4.1",
47
47
  "chalk": "^5.2.0",
48
48
  "cronstrue": "^2.21.0",
49
49
  "debug": "^4.3.4",