Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rest-hooks/endpoint

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rest-hooks/endpoint - npm Package Compare versions

Comparing version 3.2.5 to 3.2.6

12

package.json
{
"name": "@rest-hooks/endpoint",
"version": "3.2.5",
"version": "3.2.6",
"description": "Declarative Network Interface Definitions",

@@ -92,3 +92,3 @@ "sideEffects": false,

"license": "Apache-2.0",
"homepage": "https://resthooks.io/docs/api/Endpoint",
"homepage": "https://resthooks.io/docs/guides/custom-protocol",
"repository": {

@@ -106,4 +106,4 @@ "type": "git",

"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.20.5",
"@babel/cli": "7.20.7",
"@babel/core": "7.20.7",
"@types/babel__core": "^7",

@@ -120,5 +120,5 @@ "downlevel-dts": "^0.10.0",

"rollup-plugin-terser": "^7.0.2",
"typescript": "4.9.3"
"typescript": "4.9.4"
},
"gitHead": "6706fb45ea5c8a3183cb9b216d8c9fec69c2f4b6"
"gitHead": "78a50ea056eb897adcb9b36b16d77947094c29ce"
}

@@ -13,3 +13,3 @@ # TypeScript Standard Endpoints

**[📖Read The Docs](https://resthooks.io/docs/api/Endpoint)**
**[📖Read The Docs](https://resthooks.io/docs/guides/custom-protocol)**

@@ -32,4 +32,4 @@ </div>

const user = useSuspense(UserDetail, { id });
const { fetch } = useController();
const updateUser = (data) => fetch(UserDetail, { id }, data);
const ctrl = useController();
const updateUser = (data) => ctrl.fetch(UserDetail, { id }, data);

@@ -113,3 +113,3 @@ return <UserForm user={user} onSubmit={updateUser} />

### EndpointOptions
### [EndpointOptions](https://resthooks.io/rest/api/Endpoint#endpointextraoptions)

@@ -156,3 +156,3 @@ #### key: (params) => string

### Endpoint
### [Endpoint](https://resthooks.io/rest/api/Endpoint)

@@ -159,0 +159,0 @@ #### extend(EndpointOptions): Endpoint

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc