@datadog/webpack-plugin 2.2.1 → 2.3.0-dev

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.
@@ -1,4 +1,5 @@
1
1
  import * as webpack from 'webpack';
2
+ import * as src from 'src';
2
3
 
3
4
  declare const CONFIG_KEY$1: "rum";
4
5
 
@@ -36,7 +37,6 @@ type types = {
36
37
  type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
37
38
  type AuthOptions = {
38
39
  apiKey?: string;
39
- endPoint?: string;
40
40
  };
41
41
  interface GetPluginsOptions {
42
42
  auth?: AuthOptions;
@@ -58,29 +58,30 @@ type Filter = (metric: Metric) => Metric | null;
58
58
  type OutputOptions = boolean | string | {
59
59
  destination: string;
60
60
  timings?: boolean;
61
- dependencies?: boolean;
62
- bundler?: boolean;
63
61
  metrics?: boolean;
64
- logs?: boolean;
65
62
  };
66
63
  type TelemetryOptions = {
67
64
  disabled?: boolean;
65
+ /** @deprecated */
66
+ enableTracing?: boolean;
67
+ endPoint?: string;
68
+ filters?: Filter[];
68
69
  output?: OutputOptions;
69
70
  prefix?: string;
70
71
  tags?: string[];
71
72
  timestamp?: number;
72
- filters?: Filter[];
73
73
  };
74
74
 
75
- declare const datadogWebpackPlugin: (options: Options) => webpack.WebpackPluginInstance;
75
+ declare const datadogWebpackPlugin: (options: src.WebpackPluginOptions) => webpack.WebpackPluginInstance;
76
76
 
77
+ declare const version: string;
77
78
  declare const helpers: {
78
79
  telemetry: {
79
80
  filters: ((metric: Metric) => Metric | null)[];
80
81
  };
81
82
  };
82
83
 
83
- export { type types$1 as RumTypes, type types as TelemetryTypes, type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers };
84
+ export { type types$1 as RumTypes, type types as TelemetryTypes, type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers, version };
84
85
 
85
86
 
86
87
  if (typeof module !== 'undefined') {
@@ -89,7 +90,8 @@ if (typeof module !== 'undefined') {
89
90
  TelemetryTypes,
90
91
  WebpackPluginOptions,
91
92
  datadogWebpackPlugin,
92
- helpers
93
+ helpers,
94
+ version
93
95
  };
94
96
  }
95
97
  //# sourceMappingURL=index.d.ts.map