@datadog/esbuild-plugin 3.1.4 → 3.1.8-dev.0
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 +5 -3
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +1 -9
- package/dist/src/index.mjs.map +1 -1
- package/package.json +7 -4
package/dist/src/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ type SourcemapsOptions = {
|
|
|
32
32
|
dryRun?: boolean;
|
|
33
33
|
maxConcurrency?: number;
|
|
34
34
|
minifiedPathPrefix: MinifiedPathPrefix;
|
|
35
|
-
releaseVersion
|
|
35
|
+
releaseVersion?: string;
|
|
36
36
|
service: string;
|
|
37
37
|
};
|
|
38
38
|
type ErrorTrackingOptions = {
|
|
@@ -50,7 +50,6 @@ declare const VALID_FUNCTION_KINDS: readonly ["functionDeclaration", "functionEx
|
|
|
50
50
|
type FunctionKind = (typeof VALID_FUNCTION_KINDS)[number];
|
|
51
51
|
type LiveDebuggerOptions = {
|
|
52
52
|
enable?: boolean;
|
|
53
|
-
version?: string;
|
|
54
53
|
include?: (string | RegExp)[];
|
|
55
54
|
exclude?: (string | RegExp)[];
|
|
56
55
|
honorSkipComments?: boolean;
|
|
@@ -134,6 +133,7 @@ type types = {
|
|
|
134
133
|
|
|
135
134
|
declare const ALL_ENVS: readonly ["development", "production", "test"];
|
|
136
135
|
declare const SUPPORTED_BUNDLERS: readonly ["webpack", "vite", "esbuild", "rollup", "rspack"];
|
|
136
|
+
declare const SITES: readonly ["datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ddog-gov.com", "us2.ddog-gov.com", "ap1.datadoghq.com", "ap2.datadoghq.com", "datad0g.com"];
|
|
137
137
|
|
|
138
138
|
type Assign<A, B> = Omit<A, keyof B> & B;
|
|
139
139
|
type WithRequired<T, K extends keyof T> = T & {
|
|
@@ -203,6 +203,7 @@ type Timer = {
|
|
|
203
203
|
};
|
|
204
204
|
type BuildMetadata = {
|
|
205
205
|
name?: string;
|
|
206
|
+
version?: string;
|
|
206
207
|
};
|
|
207
208
|
type BuildReport = {
|
|
208
209
|
bundler: GlobalData['bundler'];
|
|
@@ -323,10 +324,11 @@ type GetPluginsArg = {
|
|
|
323
324
|
};
|
|
324
325
|
type GetCustomPlugins = (arg: GetPluginsArg) => CustomPluginOptions[];
|
|
325
326
|
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
|
|
327
|
+
type Site = (typeof SITES)[number];
|
|
326
328
|
type AuthOptions = {
|
|
327
329
|
apiKey?: string;
|
|
328
330
|
appKey?: string;
|
|
329
|
-
site?:
|
|
331
|
+
site?: Site;
|
|
330
332
|
};
|
|
331
333
|
type AuthOptionsWithDefaults = WithRequired<AuthOptions, 'site'>;
|
|
332
334
|
interface BaseOptions {
|