@datadog/esbuild-plugin 3.3.3-dev.4 → 3.3.3-dev.6
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/src/index.d.ts +9 -2
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ type ServiceVersionSourcemapsOptions = SourcemapsUploadOptions & {
|
|
|
74
74
|
debugId?: false;
|
|
75
75
|
minifiedPathPrefix: MinifiedPathPrefix;
|
|
76
76
|
releaseVersion?: string;
|
|
77
|
-
service
|
|
77
|
+
service?: string;
|
|
78
78
|
};
|
|
79
79
|
type SourcemapsOptions = DebugIdSourcemapsOptions | ServiceVersionSourcemapsOptions;
|
|
80
80
|
type ErrorTrackingOptions = {
|
|
@@ -114,6 +114,8 @@ type LiveDebuggerOptions = {
|
|
|
114
114
|
};
|
|
115
115
|
type LiveDebuggerOptionsWithDefaults = {
|
|
116
116
|
version: string | undefined;
|
|
117
|
+
service: string | undefined;
|
|
118
|
+
enableGit: boolean;
|
|
117
119
|
debugId: boolean;
|
|
118
120
|
include: (string | RegExp)[];
|
|
119
121
|
exclude: (string | RegExp)[];
|
|
@@ -5137,7 +5139,7 @@ type DebugIdSourceCodeContextOptions = {
|
|
|
5137
5139
|
};
|
|
5138
5140
|
type ServiceVersionSourceCodeContextOptions = {
|
|
5139
5141
|
debugId?: false;
|
|
5140
|
-
service
|
|
5142
|
+
service?: string;
|
|
5141
5143
|
version?: string;
|
|
5142
5144
|
};
|
|
5143
5145
|
type SourceCodeContextOptions = DebugIdSourceCodeContextOptions | ServiceVersionSourceCodeContextOptions;
|
|
@@ -5251,6 +5253,7 @@ type Timer = {
|
|
|
5251
5253
|
};
|
|
5252
5254
|
type BuildMetadata = {
|
|
5253
5255
|
name?: string;
|
|
5256
|
+
service?: string;
|
|
5254
5257
|
version?: string;
|
|
5255
5258
|
};
|
|
5256
5259
|
type BuildReport = {
|
|
@@ -5343,10 +5346,14 @@ type GlobalContext = {
|
|
|
5343
5346
|
env: GlobalData["env"];
|
|
5344
5347
|
getLogger: GetLogger;
|
|
5345
5348
|
git?: RepositoryData;
|
|
5349
|
+
gitPending: boolean;
|
|
5350
|
+
gitReady: Promise<void>;
|
|
5346
5351
|
hook: TriggerHook<void>;
|
|
5347
5352
|
inject: (item: ToInjectItem) => void;
|
|
5348
5353
|
markArtifactsPending: () => void;
|
|
5349
5354
|
markArtifactsReady: (error?: unknown) => void;
|
|
5355
|
+
markGitPending: () => void;
|
|
5356
|
+
markGitReady: () => void;
|
|
5350
5357
|
pluginNames: string[];
|
|
5351
5358
|
plugins: (PluginOptions | CustomPluginOptions)[];
|
|
5352
5359
|
queue: (promise: Promise<any>) => void;
|