@player-devtools/profiler-plugin-react 0.13.1--canary.16.915

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.
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/profiler/react/src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ ProfilerReactDevtoolsPlugin: () => ProfilerReactDevtoolsPlugin
24
+ });
25
+ module.exports = __toCommonJS(src_exports);
26
+ var import_plugin_react = require("@player-devtools/plugin-react");
27
+ var import_profiler_plugin = require("@player-devtools/profiler-plugin");
28
+ var ProfilerReactDevtoolsPlugin = class extends import_plugin_react.ReactDevtoolsPlugin {
29
+ constructor(id) {
30
+ super();
31
+ this.name = "ProfilerReactDevtoolsPlugin";
32
+ this.corePlugin = new import_profiler_plugin.ProfilerDevtoolsPlugin({
33
+ playerID: id ?? "default-id",
34
+ handler: this
35
+ });
36
+ }
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ ProfilerReactDevtoolsPlugin
41
+ });
42
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/profiler/react/src/index.ts"],"sourcesContent":["import { ReactDevtoolsPlugin } from \"@player-devtools/plugin-react\";\nimport { ProfilerDevtoolsPlugin } from \"@player-devtools/profiler-plugin\";\n\nexport class ProfilerReactDevtoolsPlugin extends ReactDevtoolsPlugin<ProfilerDevtoolsPlugin> {\n name = \"ProfilerReactDevtoolsPlugin\";\n\n corePlugin: ProfilerDevtoolsPlugin;\n\n constructor(id?: string) {\n super();\n\n this.corePlugin = new ProfilerDevtoolsPlugin({\n playerID: id ?? \"default-id\",\n handler: this,\n });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAoC;AACpC,6BAAuC;AAEhC,IAAM,8BAAN,cAA0C,wCAA4C;AAAA,EAK3F,YAAY,IAAa;AACvB,UAAM;AALR,gBAAO;AAOL,SAAK,aAAa,IAAI,8CAAuB;AAAA,MAC3C,UAAU,MAAM;AAAA,MAChB,SAAS;AAAA,IACX,CAAC;AAAA,EACH;AACF;","names":[]}
@@ -0,0 +1,17 @@
1
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/profiler/react/src/index.ts
2
+ import { ReactDevtoolsPlugin } from "@player-devtools/plugin-react";
3
+ import { ProfilerDevtoolsPlugin } from "@player-devtools/profiler-plugin";
4
+ var ProfilerReactDevtoolsPlugin = class extends ReactDevtoolsPlugin {
5
+ constructor(id) {
6
+ super();
7
+ this.name = "ProfilerReactDevtoolsPlugin";
8
+ this.corePlugin = new ProfilerDevtoolsPlugin({
9
+ playerID: id ?? "default-id",
10
+ handler: this
11
+ });
12
+ }
13
+ };
14
+ export {
15
+ ProfilerReactDevtoolsPlugin
16
+ };
17
+ //# sourceMappingURL=index.mjs.map
package/dist/index.mjs ADDED
@@ -0,0 +1,17 @@
1
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/profiler/react/src/index.ts
2
+ import { ReactDevtoolsPlugin } from "@player-devtools/plugin-react";
3
+ import { ProfilerDevtoolsPlugin } from "@player-devtools/profiler-plugin";
4
+ var ProfilerReactDevtoolsPlugin = class extends ReactDevtoolsPlugin {
5
+ constructor(id) {
6
+ super();
7
+ this.name = "ProfilerReactDevtoolsPlugin";
8
+ this.corePlugin = new ProfilerDevtoolsPlugin({
9
+ playerID: id ?? "default-id",
10
+ handler: this
11
+ });
12
+ }
13
+ };
14
+ export {
15
+ ProfilerReactDevtoolsPlugin
16
+ };
17
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/profiler/react/src/index.ts"],"sourcesContent":["import { ReactDevtoolsPlugin } from \"@player-devtools/plugin-react\";\nimport { ProfilerDevtoolsPlugin } from \"@player-devtools/profiler-plugin\";\n\nexport class ProfilerReactDevtoolsPlugin extends ReactDevtoolsPlugin<ProfilerDevtoolsPlugin> {\n name = \"ProfilerReactDevtoolsPlugin\";\n\n corePlugin: ProfilerDevtoolsPlugin;\n\n constructor(id?: string) {\n super();\n\n this.corePlugin = new ProfilerDevtoolsPlugin({\n playerID: id ?? \"default-id\",\n handler: this,\n });\n }\n}\n"],"mappings":";AAAA,SAAS,2BAA2B;AACpC,SAAS,8BAA8B;AAEhC,IAAM,8BAAN,cAA0C,oBAA4C;AAAA,EAK3F,YAAY,IAAa;AACvB,UAAM;AALR,gBAAO;AAOL,SAAK,aAAa,IAAI,uBAAuB;AAAA,MAC3C,UAAU,MAAM;AAAA,MAChB,SAAS;AAAA,IACX,CAAC;AAAA,EACH;AACF;","names":[]}
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "sideEffects": false,
3
+ "files": [
4
+ "dist",
5
+ "src",
6
+ "types"
7
+ ],
8
+ "name": "@player-devtools/profiler-plugin-react",
9
+ "version": "0.13.1--canary.16.915",
10
+ "main": "dist/cjs/index.cjs",
11
+ "dependencies": {
12
+ "@player-devtools/profiler-plugin": "0.13.1--canary.16.915",
13
+ "@player-devtools/plugin-react": "0.13.1--canary.16.915",
14
+ "@player-devtools/types": "0.13.1--canary.16.915",
15
+ "@devtools-ui/plugin": "0.4.0",
16
+ "@player-ui/react": "0.12.0-next.1",
17
+ "@types/uuid": "^8.3.4",
18
+ "dequal": "^2.0.2",
19
+ "dset": "^3.1.3",
20
+ "immer": "^10.0.3",
21
+ "uuid": "^8.3.2",
22
+ "tslib": "^2.6.2"
23
+ },
24
+ "module": "dist/index.legacy-esm.js",
25
+ "types": "types/index.d.ts",
26
+ "exports": {
27
+ "./package.json": "./package.json",
28
+ "./dist/index.css": "./dist/index.css",
29
+ ".": {
30
+ "types": "./types/index.d.ts",
31
+ "import": "./dist/index.mjs",
32
+ "default": "./dist/cjs/index.cjs"
33
+ }
34
+ },
35
+ "peerDependencies": {}
36
+ }
package/src/index.ts ADDED
@@ -0,0 +1,17 @@
1
+ import { ReactDevtoolsPlugin } from "@player-devtools/plugin-react";
2
+ import { ProfilerDevtoolsPlugin } from "@player-devtools/profiler-plugin";
3
+
4
+ export class ProfilerReactDevtoolsPlugin extends ReactDevtoolsPlugin<ProfilerDevtoolsPlugin> {
5
+ name = "ProfilerReactDevtoolsPlugin";
6
+
7
+ corePlugin: ProfilerDevtoolsPlugin;
8
+
9
+ constructor(id?: string) {
10
+ super();
11
+
12
+ this.corePlugin = new ProfilerDevtoolsPlugin({
13
+ playerID: id ?? "default-id",
14
+ handler: this,
15
+ });
16
+ }
17
+ }
@@ -0,0 +1,8 @@
1
+ import { ReactDevtoolsPlugin } from "@player-devtools/plugin-react";
2
+ import { ProfilerDevtoolsPlugin } from "@player-devtools/profiler-plugin";
3
+ export declare class ProfilerReactDevtoolsPlugin extends ReactDevtoolsPlugin<ProfilerDevtoolsPlugin> {
4
+ name: string;
5
+ corePlugin: ProfilerDevtoolsPlugin;
6
+ constructor(id?: string);
7
+ }
8
+ //# sourceMappingURL=index.d.ts.map