@hyper-fetch/plugin-devtools 7.0.3 → 7.0.4
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.
- package/README.md +7 -7
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/types/plugin.types.ts +3 -3
package/README.md
CHANGED
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
|
|
27
27
|
## About
|
|
28
28
|
|
|
29
|
-
**`Hyper Fetch DevTools Plugin`** is an essential bridge between your application and
|
|
29
|
+
**`Hyper Fetch DevTools Plugin`** is an essential bridge between your application and HyperFlow. It enables real-time
|
|
30
30
|
streaming of request data, allowing you to monitor, debug, and optimize your application's network operations. This
|
|
31
|
-
plugin is the foundation that powers
|
|
31
|
+
plugin is the foundation that powers HyperFlow's advanced developer tools, providing the data pipeline needed for
|
|
32
32
|
comprehensive request inspection and management.
|
|
33
33
|
|
|
34
34
|
## Key Features
|
|
35
35
|
|
|
36
|
-
🔮 **Real-time Data Streaming** - Seamless streaming of request data to
|
|
36
|
+
🔮 **Real-time Data Streaming** - Seamless streaming of request data to HyperFlow
|
|
37
37
|
|
|
38
38
|
🎯 **Request Lifecycle Tracking** - Complete visibility into request lifecycle events
|
|
39
39
|
|
|
@@ -53,7 +53,7 @@ comprehensive request inspection and management.
|
|
|
53
53
|
|
|
54
54
|
## Integration
|
|
55
55
|
|
|
56
|
-
The DevTools Plugin is designed to work seamlessly with
|
|
56
|
+
The DevTools Plugin is designed to work seamlessly with HyperFlow. To get started:
|
|
57
57
|
|
|
58
58
|
1. Install the plugin:
|
|
59
59
|
|
|
@@ -71,13 +71,13 @@ const client = createClient({
|
|
|
71
71
|
url: "https://api.example.com",
|
|
72
72
|
}).addPlugin(
|
|
73
73
|
DevtoolsPlugin({
|
|
74
|
-
// Name displayed in the
|
|
74
|
+
// Name displayed in the HyperFlow
|
|
75
75
|
appName: "Adjusted App",
|
|
76
76
|
}),
|
|
77
77
|
);
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
3. Connect to
|
|
80
|
+
3. Connect to HyperFlow to start receiving real-time data.
|
|
81
81
|
|
|
82
82
|
## Help me keep working on this project ❤️
|
|
83
83
|
|
|
@@ -94,5 +94,5 @@ const client = createClient({
|
|
|
94
94
|
## Other Packages
|
|
95
95
|
|
|
96
96
|
- - #### [Hyper Fetch](https://github.com/BetterTyped/hyper-fetch/tree/main/packages/core)
|
|
97
|
-
- #### [
|
|
97
|
+
- #### [HyperFlow](https://github.com/BetterTyped/hyper-fetch/tree/main/packages/flow)
|
|
98
98
|
- #### [Hyper Fetch Sockets](https://github.com/BetterTyped/hyper-fetch/tree/main/packages/sockets)
|
package/dist/index.d.ts
CHANGED
|
@@ -83,12 +83,12 @@ type Message = HFEventMessage | PluginInternalMessage | AppInternalMessage;
|
|
|
83
83
|
|
|
84
84
|
type DevtoolsPluginOptions = {
|
|
85
85
|
/**
|
|
86
|
-
* Name of your application, it will be displayed in the
|
|
86
|
+
* Name of your application, it will be displayed in the HyperFlow app
|
|
87
87
|
*/
|
|
88
88
|
appName: string;
|
|
89
89
|
/**
|
|
90
|
-
* URL of the
|
|
91
|
-
* Needed only if you change the default port in the
|
|
90
|
+
* URL of the HyperFlow server
|
|
91
|
+
* Needed only if you change the default port in the HyperFlow app
|
|
92
92
|
* @default "ws://localhost:2137"
|
|
93
93
|
*/
|
|
94
94
|
url?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyper-fetch/plugin-devtools",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Socket devtool plugin for HyperFetch",
|
|
5
5
|
"author": "Maciej Pyrc <maciekpyrc@gmail.com>, Kacper Skawina <kacper.skawina@gmail.com>",
|
|
6
6
|
"homepage": "https://hyperfetch.bettertyped.com/",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type DevtoolsPluginOptions = {
|
|
2
2
|
/**
|
|
3
|
-
* Name of your application, it will be displayed in the
|
|
3
|
+
* Name of your application, it will be displayed in the HyperFlow app
|
|
4
4
|
*/
|
|
5
5
|
appName: string;
|
|
6
6
|
/**
|
|
7
|
-
* URL of the
|
|
8
|
-
* Needed only if you change the default port in the
|
|
7
|
+
* URL of the HyperFlow server
|
|
8
|
+
* Needed only if you change the default port in the HyperFlow app
|
|
9
9
|
* @default "ws://localhost:2137"
|
|
10
10
|
*/
|
|
11
11
|
url?: string;
|