@datadog/esbuild-plugin 3.1.4-dev.3 → 3.1.8
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 +3 -1
- 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 +5 -5
package/dist/src/index.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ type types = {
|
|
|
133
133
|
|
|
134
134
|
declare const ALL_ENVS: readonly ["development", "production", "test"];
|
|
135
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"];
|
|
136
137
|
|
|
137
138
|
type Assign<A, B> = Omit<A, keyof B> & B;
|
|
138
139
|
type WithRequired<T, K extends keyof T> = T & {
|
|
@@ -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 {
|