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