@seamapi/nextlove-sdk-generator
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -26,7 +26,7 @@ export const generateSeamClient = ({ resource_clients, resource_object_names, }) => { | ||
public function __construct( | ||
$api_key, | ||
$api_key = null, | ||
$endpoint = "https://connect.getseam.com", | ||
$throw_http_errors = false | ||
) { | ||
$this->api_key = $api_key; | ||
$this->api_key = $api_key ?: (getenv('SEAM_API_KEY') ?: null); | ||
$seam_sdk_version = PackageVersion::get(); | ||
@@ -33,0 +33,0 @@ $this->client = new HTTPClient([ |
{ | ||
"name": "@seamapi/nextlove-sdk-generator", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Utilities for building NextLove SDK Generators", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -39,7 +39,7 @@ import type { PhpClient } from "./php-client.js" | ||
public function __construct( | ||
$api_key, | ||
$api_key = null, | ||
$endpoint = "https://connect.getseam.com", | ||
$throw_http_errors = false | ||
) { | ||
$this->api_key = $api_key; | ||
$this->api_key = $api_key ?: (getenv('SEAM_API_KEY') ?: null); | ||
$seam_sdk_version = PackageVersion::get(); | ||
@@ -46,0 +46,0 @@ $this->client = new HTTPClient([ |
687269