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

@platformatic/client

Package Overview
Dependencies
Maintainers
6
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/client - npm Package Compare versions

Comparing version 0.35.4 to 0.35.5

4

index.d.ts

@@ -1,2 +0,2 @@

import { FastifyPluginAsync } from 'fastify'
import { FastifyPluginAsync, FastifyRequest } from 'fastify'

@@ -16,3 +16,3 @@ interface Headers {

serviceId?: string;
getHeaders?: () => Headers;
getHeaders?: (request: FastifyRequest) => Headers;
}

@@ -19,0 +19,0 @@

@@ -29,3 +29,3 @@ import { expectError, expectType } from 'tsd'

const check2 = server.register(pltClient, {
server.register(pltClient, {
fullResponse: false,

@@ -35,5 +35,3 @@ throwOnError: false,

url: 'http://127.0.0.1/path/42',
getHeaders: () => {
return { foo: 'bar' }
},
getHeaders: ({ url }) => ({ foo: 'bar', url }),
headers: { foo: 'bar' },

@@ -40,0 +38,0 @@ name: 'Frassica',

{
"name": "@platformatic/client",
"version": "0.35.4",
"version": "0.35.5",
"description": "A client for all platformatic backends",

@@ -26,3 +26,3 @@ "main": "index.js",

"tsd": "^0.28.1",
"@platformatic/telemetry": "0.35.4"
"@platformatic/telemetry": "0.35.5"
},

@@ -29,0 +29,0 @@ "dependencies": {

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