@datadog/esbuild-plugin 3.2.1 → 3.2.3

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.
@@ -10,12 +10,16 @@ declare class TrackedFilesMatcher {
10
10
  rawTrackedFilesList(): string[];
11
11
  private getFilename;
12
12
  }
13
+ type AuthMethod = "apiKey" | "oauth";
13
14
  type AppsOptions = {
14
15
  enable?: boolean;
15
16
  include?: string[];
16
17
  dryRun?: boolean;
17
18
  identifier?: string;
18
19
  name?: string;
20
+ authOverrides?: {
21
+ method?: AuthMethod;
22
+ };
19
23
  };
20
24
  declare const CONFIG_KEY: "apps";
21
25
  declare const PLUGIN_NAME: PluginName;
@@ -5075,8 +5079,9 @@ interface PrivacyOptions {
5075
5079
  helperCodeExpression?: string;
5076
5080
  }
5077
5081
  type SourceCodeContextOptions = {
5078
- service: string;
5082
+ service?: string;
5079
5083
  version?: string;
5084
+ debugId?: boolean;
5080
5085
  };
5081
5086
  type RumOptions = {
5082
5087
  enable?: boolean;
@@ -5209,7 +5214,7 @@ type BundlerReport = GlobalData["bundler"] & {
5209
5214
  outDir: string;
5210
5215
  rawConfig?: any;
5211
5216
  };
5212
- type InjectedValue = string | (() => Promise<string>);
5217
+ type InjectedValue = string | (() => Promise<string>) | ((sourceOrHash?: string) => string);
5213
5218
  declare enum InjectPosition {
5214
5219
  BEFORE = 0,
5215
5220
  MIDDLE = 1,