bitfab 0.38.9 → 0.38.10
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/dist/{chunk-J73FXDFA.js → chunk-RPEHXTSG.js} +2 -2
- package/dist/chunk-RPEHXTSG.js.map +1 -0
- package/dist/{chunk-EPU5AUT4.js → chunk-YDAHL42D.js} +6 -5
- package/dist/chunk-YDAHL42D.js.map +1 -0
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +2 -2
- package/dist/node.cjs +4 -3
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-OFQPJZZD.js → replay-TUI5LXMG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EPU5AUT4.js.map +0 -1
- package/dist/chunk-J73FXDFA.js.map +0 -1
- /package/dist/{replay-OFQPJZZD.js.map → replay-TUI5LXMG.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -2209,6 +2209,12 @@ interface TraceOptions {
|
|
|
2209
2209
|
name?: string;
|
|
2210
2210
|
/** Root span type. Descendants are always `function` spans. */
|
|
2211
2211
|
type?: SpanType;
|
|
2212
|
+
/**
|
|
2213
|
+
* Default replay-mocking policy for automatically captured descendants.
|
|
2214
|
+
* When true, those descendants are mocked by the default "marked" strategy
|
|
2215
|
+
* unless a node explicitly sets `mockOnReplay: false`. Defaults to false.
|
|
2216
|
+
*/
|
|
2217
|
+
mockOnReplayDefault?: boolean;
|
|
2212
2218
|
/** Maximum number of recorded descendant levels. Defaults to 30. */
|
|
2213
2219
|
maxDepth?: number;
|
|
2214
2220
|
/** Maximum descendant spans recorded per root invocation. Defaults to 500. */
|
|
@@ -2885,7 +2891,7 @@ declare class BitfabFunction {
|
|
|
2885
2891
|
/**
|
|
2886
2892
|
* SDK version from package.json (injected at build time)
|
|
2887
2893
|
*/
|
|
2888
|
-
declare const __version__ = "0.38.
|
|
2894
|
+
declare const __version__ = "0.38.10";
|
|
2889
2895
|
|
|
2890
2896
|
/**
|
|
2891
2897
|
* Constants for the Bitfab SDK.
|
package/dist/index.d.ts
CHANGED
|
@@ -2209,6 +2209,12 @@ interface TraceOptions {
|
|
|
2209
2209
|
name?: string;
|
|
2210
2210
|
/** Root span type. Descendants are always `function` spans. */
|
|
2211
2211
|
type?: SpanType;
|
|
2212
|
+
/**
|
|
2213
|
+
* Default replay-mocking policy for automatically captured descendants.
|
|
2214
|
+
* When true, those descendants are mocked by the default "marked" strategy
|
|
2215
|
+
* unless a node explicitly sets `mockOnReplay: false`. Defaults to false.
|
|
2216
|
+
*/
|
|
2217
|
+
mockOnReplayDefault?: boolean;
|
|
2212
2218
|
/** Maximum number of recorded descendant levels. Defaults to 30. */
|
|
2213
2219
|
maxDepth?: number;
|
|
2214
2220
|
/** Maximum descendant spans recorded per root invocation. Defaults to 500. */
|
|
@@ -2885,7 +2891,7 @@ declare class BitfabFunction {
|
|
|
2885
2891
|
/**
|
|
2886
2892
|
* SDK version from package.json (injected at build time)
|
|
2887
2893
|
*/
|
|
2888
|
-
declare const __version__ = "0.38.
|
|
2894
|
+
declare const __version__ = "0.38.10";
|
|
2889
2895
|
|
|
2890
2896
|
/**
|
|
2891
2897
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getCurrentReplayBranch,
|
|
23
23
|
getCurrentSpan,
|
|
24
24
|
getCurrentTrace
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YDAHL42D.js";
|
|
26
26
|
import "./chunk-ZUD7OFYB.js";
|
|
27
27
|
import {
|
|
28
28
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
flushTraces,
|
|
37
37
|
reportReplayProgress,
|
|
38
38
|
serializeReplayResult
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RPEHXTSG.js";
|
|
40
40
|
import "./chunk-H6LZRFMN.js";
|
|
41
41
|
export {
|
|
42
42
|
BITFAB_PROGRESS_PREFIX,
|
package/dist/node.cjs
CHANGED
|
@@ -97,7 +97,7 @@ var __version__, __packageName__;
|
|
|
97
97
|
var init_version_generated = __esm({
|
|
98
98
|
"src/version.generated.ts"() {
|
|
99
99
|
"use strict";
|
|
100
|
-
__version__ = "0.38.
|
|
100
|
+
__version__ = "0.38.10";
|
|
101
101
|
__packageName__ = "bitfab";
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -6185,6 +6185,7 @@ var Bitfab = class {
|
|
|
6185
6185
|
return invokeWithoutNode();
|
|
6186
6186
|
}
|
|
6187
6187
|
spansUsed += 1;
|
|
6188
|
+
const mockOnReplay = nodeConfiguration?.mockOnReplay ?? options.mockOnReplayDefault;
|
|
6188
6189
|
const childOptions = {
|
|
6189
6190
|
name: nodeConfiguration?.name ?? definition.name,
|
|
6190
6191
|
type: nodeConfiguration?.type ?? "function",
|
|
@@ -6195,8 +6196,8 @@ var Bitfab = class {
|
|
|
6195
6196
|
...nodeConfiguration?.testRunId !== void 0 && {
|
|
6196
6197
|
testRunId: nodeConfiguration.testRunId
|
|
6197
6198
|
},
|
|
6198
|
-
...
|
|
6199
|
-
mockOnReplay
|
|
6199
|
+
...mockOnReplay !== void 0 && {
|
|
6200
|
+
mockOnReplay
|
|
6200
6201
|
},
|
|
6201
6202
|
...nodeConfiguration?.finalize !== void 0 && {
|
|
6202
6203
|
finalize: nodeConfiguration.finalize
|