@microsoft/applicationinsights-react-js 3.3.3-nightly.2205-03 → 3.3.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights react plugin, 3.3.3-nightly.2205-03
2
+ * Microsoft Application Insights react plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  *
@@ -67,7 +67,7 @@ export declare class AppInsightsErrorBoundary extends React_3.Component<IAppInsi
67
67
  hasError: boolean;
68
68
  };
69
69
  componentDidCatch(error: Error, errorInfo: React_3.ErrorInfo): void;
70
- render(): React_3.ReactNode;
70
+ render(): React_3.ReactElement<any, string | React_3.JSXElementConstructor<any>> & React_3.ReactNode;
71
71
  }
72
72
 
73
73
  declare type AppInsightsReactContext = Context<ReactPlugin>;
@@ -75,6 +75,7 @@ declare type AppInsightsReactContext = Context<ReactPlugin>;
75
75
  declare interface IAppInsightsErrorBoundaryProps {
76
76
  appInsights: ReactPlugin;
77
77
  onError: React_3.ComponentType<any>;
78
+ children: React_3.ReactElement;
78
79
  }
79
80
 
80
81
  declare interface IAppInsightsErrorBoundaryState {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { createContext, useContext } from "react";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { __assignFn as __assign } from "@microsoft/applicationinsights-shims";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - React Plugin, 3.3.3-nightly.2205-03
2
+ * Application Insights JavaScript SDK - React Plugin, 3.3.3
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,74 +1,71 @@
1
- {
2
- "name": "@microsoft/applicationinsights-react-js",
3
- "version": "3.3.3-nightly.2205-03",
4
- "description": "Microsoft Application Insights React plugin",
5
- "main": "dist/applicationinsights-react-js.js",
6
- "module": "dist-esm/applicationinsights-react-js.js",
7
- "types": "types/applicationinsights-react-js.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-react-js"
12
- },
13
- "scripts": {
14
- "build": "npm run build:esm && npm run build:package && npm run dtsgen",
15
- "build:esm": "tsc -p tsconfig.json",
16
- "build:package": "rollup -c",
17
- "rebuild": "npm run build",
18
- "testx": "grunt reacttests",
19
- "test": "jest --config test/jestconfig.json",
20
- "test-watch": "jest --config test/jestconfig.json --watch",
21
- "lint": "tslint -p tsconfig.json",
22
- "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights react plugin\""
23
- },
24
- "devDependencies": {
25
- "@microsoft/ai-test-framework": "0.0.1",
26
- "@microsoft/applicationinsights-rollup-es3": "1.1.3",
27
- "@microsoft/api-extractor": "^7.18.1",
28
- "@testing-library/dom": "^7.29.6",
29
- "@testing-library/jest-dom": "^5.11.9",
30
- "@testing-library/react": "^11.2.5",
31
- "@testing-library/user-event": "^12.8.1",
32
- "@types/cheerio": "0.22.13",
33
- "@types/history": "^4.7.9",
34
- "@types/jest": "^27.0.2",
35
- "@types/node": "11.13.2",
36
- "@types/prop-types": "^15.7.3",
37
- "@types/react": "^16.9.11",
38
- "@types/react-dom": "^16.9.4",
39
- "csstype": "~2.6.7",
40
- "grunt": "^1.4.1",
41
- "grunt-cli": "^1.4.3",
42
- "jest": "^27.3.1",
43
- "react": "^17.0.2",
44
- "react-dom": "^17.0.2",
45
- "globby": "^11.0.0",
46
- "magic-string": "^0.25.7",
47
- "@rollup/plugin-commonjs": "^18.0.0",
48
- "@rollup/plugin-node-resolve": "^11.2.1",
49
- "@rollup/plugin-replace": "^2.3.3",
50
- "rollup-plugin-cleanup": "^3.2.1",
51
- "rollup-plugin-peer-deps-external": "^2.2.4",
52
- "rollup": "^2.32.0",
53
- "ts-jest": "^27.0.7",
54
- "typescript": "^4.3.4",
55
- "tslib": "^2.0.0",
56
- "uglify-js": "^3.11.0",
57
- "history": "^5.1.0"
58
- },
59
- "dependencies": {
60
- "@microsoft/applicationinsights-shims": "2.0.1",
61
- "@microsoft/applicationinsights-core-js": "2.8.3-nightly.2205-03",
62
- "@microsoft/applicationinsights-common": "2.8.3-nightly.2205-03",
63
- "@microsoft/dynamicproto-js": "^1.1.6"
64
- },
65
- "peerDependencies": {
66
- "tslib": "*",
67
- "react": "^17.0.1",
68
- "history": ">= 4.10.1"
69
- },
70
- "license": "MIT",
71
- "publishConfig": {
72
- "tag": "nightly"
73
- }
74
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-react-js",
3
+ "version": "3.3.3",
4
+ "description": "Microsoft Application Insights React plugin",
5
+ "main": "dist/applicationinsights-react-js.js",
6
+ "module": "dist-esm/applicationinsights-react-js.js",
7
+ "types": "types/applicationinsights-react-js.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-react-js"
12
+ },
13
+ "scripts": {
14
+ "build": "npm run build:esm && npm run build:package && npm run dtsgen",
15
+ "build:esm": "tsc -p tsconfig.json",
16
+ "build:package": "rollup -c",
17
+ "rebuild": "npm run build",
18
+ "testx": "grunt reacttests",
19
+ "test": "jest --config test/jestconfig.json",
20
+ "test-watch": "jest --config test/jestconfig.json --watch",
21
+ "lint": "tslint -p tsconfig.json",
22
+ "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights react plugin\""
23
+ },
24
+ "devDependencies": {
25
+ "@microsoft/ai-test-framework": "0.0.1",
26
+ "@microsoft/applicationinsights-rollup-es3": "1.1.3",
27
+ "@microsoft/api-extractor": "^7.18.1",
28
+ "@testing-library/dom": "^7.29.6",
29
+ "@testing-library/jest-dom": "^5.11.9",
30
+ "@testing-library/react": "^11.2.5",
31
+ "@testing-library/user-event": "^12.8.1",
32
+ "@types/cheerio": "0.22.13",
33
+ "@types/history": "^4.7.9",
34
+ "@types/jest": "^27.0.2",
35
+ "@types/node": "11.13.2",
36
+ "@types/prop-types": "^15.7.3",
37
+ "@types/react": "^16.9.11",
38
+ "@types/react-dom": "^16.9.4",
39
+ "csstype": "~2.6.7",
40
+ "grunt": "^1.4.1",
41
+ "grunt-cli": "^1.4.3",
42
+ "jest": "^27.3.1",
43
+ "react": "^17.0.2",
44
+ "react-dom": "^17.0.2",
45
+ "globby": "^11.0.0",
46
+ "magic-string": "^0.25.7",
47
+ "@rollup/plugin-commonjs": "^18.0.0",
48
+ "@rollup/plugin-node-resolve": "^11.2.1",
49
+ "@rollup/plugin-replace": "^2.3.3",
50
+ "rollup-plugin-cleanup": "^3.2.1",
51
+ "rollup-plugin-peer-deps-external": "^2.2.4",
52
+ "rollup": "^2.32.0",
53
+ "ts-jest": "^27.0.7",
54
+ "typescript": "^4.3.4",
55
+ "tslib": "^2.0.0",
56
+ "uglify-js": "^3.11.0",
57
+ "history": "^5.1.0"
58
+ },
59
+ "dependencies": {
60
+ "@microsoft/applicationinsights-shims": "2.0.1",
61
+ "@microsoft/applicationinsights-core-js": "2.8.3",
62
+ "@microsoft/applicationinsights-common": "2.8.3",
63
+ "@microsoft/dynamicproto-js": "^1.1.6"
64
+ },
65
+ "peerDependencies": {
66
+ "tslib": "*",
67
+ "react": "^17.0.1",
68
+ "history": ">= 4.10.1"
69
+ },
70
+ "license": "MIT"
71
+ }
@@ -8,6 +8,7 @@ import ReactPlugin from "./ReactPlugin";
8
8
  export interface IAppInsightsErrorBoundaryProps {
9
9
  appInsights: ReactPlugin
10
10
  onError: React.ComponentType<any>
11
+ children: React.ReactElement
11
12
  }
12
13
 
13
14
  export interface IAppInsightsErrorBoundaryState {
@@ -3,6 +3,7 @@ import ReactPlugin from "./ReactPlugin";
3
3
  export interface IAppInsightsErrorBoundaryProps {
4
4
  appInsights: ReactPlugin;
5
5
  onError: React.ComponentType<any>;
6
+ children: React.ReactElement;
6
7
  }
7
8
  export interface IAppInsightsErrorBoundaryState {
8
9
  hasError: boolean;
@@ -12,5 +13,5 @@ export default class AppInsightsErrorBoundary extends React.Component<IAppInsigh
12
13
  hasError: boolean;
13
14
  };
14
15
  componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
15
- render(): React.ReactNode;
16
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> & React.ReactNode;
16
17
  }
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.23.0"
8
+ "packageVersion": "7.23.1"
9
9
  }
10
10
  ]
11
11
  }