New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@seamapi/nextlove-sdk-generator

Package Overview
Dependencies
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seamapi/nextlove-sdk-generator - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

8

lib/generate-php-sdk/utils/generate-seam-client.js

@@ -56,3 +56,3 @@ export const generateSeamClient = ({ resource_clients, resource_object_names, }) => {

$response = $this->client->request($method, $path, $options);
$statusCode = $response->getStatusCode();
$status_code = $response->getStatusCode();

@@ -78,5 +78,7 @@ $res_json = null;

if ($statusCode >= 400) {
if ($status_code >= 400) {
$error_message = $response->getReasonPhrase();
throw new Exception(
"HTTP Error: [" . $statusCode . "] " . $method . " " . $path
"HTTP Error: " . $error_message . " [" . $status_code . "] " . $method . " " . $path
);

@@ -83,0 +85,0 @@ }

{
"name": "@seamapi/nextlove-sdk-generator",
"version": "1.5.0",
"version": "1.5.1",
"description": "Utilities for building NextLove SDK Generators",

@@ -5,0 +5,0 @@ "type": "module",

@@ -69,3 +69,3 @@ import type { PhpClient } from "./php-client.js"

$response = $this->client->request($method, $path, $options);
$statusCode = $response->getStatusCode();
$status_code = $response->getStatusCode();

@@ -91,5 +91,7 @@ $res_json = null;

if ($statusCode >= 400) {
if ($status_code >= 400) {
$error_message = $response->getReasonPhrase();
throw new Exception(
"HTTP Error: [" . $statusCode . "] " . $method . " " . $path
"HTTP Error: " . $error_message . " [" . $status_code . "] " . $method . " " . $path
);

@@ -96,0 +98,0 @@ }

Sorry, the diff of this file is not supported yet

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