@seamapi/nextlove-sdk-generator 1.4.0 → 1.4.1

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.
@@ -7,7 +7,7 @@ Check out [the documentation](https://docs.seam.co) or the usage below.
7
7
  ## Usage
8
8
 
9
9
  \`\`\`php
10
- $seam = new Seam\SeamClient("YOUR_API_KEY");
10
+ $seam = new Seam\\SeamClient("YOUR_API_KEY");
11
11
 
12
12
  # Create a Connect Webview to login to a provider
13
13
  $connect_webview = $seam->connect_webviews->create(
@@ -9,14 +9,14 @@ final class SmokeTest extends TestCase
9
9
  {
10
10
  public function testGetDevices(): void
11
11
  {
12
- $seam = Fixture::getTestSeamClient();
12
+ $seam = Fixture::getTestServer();
13
13
 
14
14
  $devices_response = $seam->devices->list();
15
15
  $this->assertIsString($devices_response[0]->device_id);
16
16
  }
17
17
  public function testCreateAccessCode(): void
18
18
  {
19
- $seam = Fixture::getTestSeamClient();
19
+ $seam = Fixture::getTestServer();
20
20
 
21
21
  $access_code = $seam->access_codes->create(
22
22
  device_id:"august_device_1", code:"1234"
@@ -6,7 +6,7 @@ use Seam\\SeamClient;
6
6
 
7
7
  final class Fixture
8
8
  {
9
- public static function getTestSeamClient()
9
+ public static function getTestServer()
10
10
  {
11
11
  $random_string = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'), 0, 10);
12
12
  $api_url = "https://{$random_string}.fakeseamconnect.seam.vc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/nextlove-sdk-generator",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Utilities for building NextLove SDK Generators",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,7 +7,7 @@ Check out [the documentation](https://docs.seam.co) or the usage below.
7
7
  ## Usage
8
8
 
9
9
  \`\`\`php
10
- $seam = new Seam\SeamClient("YOUR_API_KEY");
10
+ $seam = new Seam\\SeamClient("YOUR_API_KEY");
11
11
 
12
12
  # Create a Connect Webview to login to a provider
13
13
  $connect_webview = $seam->connect_webviews->create(
@@ -9,14 +9,14 @@ final class SmokeTest extends TestCase
9
9
  {
10
10
  public function testGetDevices(): void
11
11
  {
12
- $seam = Fixture::getTestSeamClient();
12
+ $seam = Fixture::getTestServer();
13
13
 
14
14
  $devices_response = $seam->devices->list();
15
15
  $this->assertIsString($devices_response[0]->device_id);
16
16
  }
17
17
  public function testCreateAccessCode(): void
18
18
  {
19
- $seam = Fixture::getTestSeamClient();
19
+ $seam = Fixture::getTestServer();
20
20
 
21
21
  $access_code = $seam->access_codes->create(
22
22
  device_id:"august_device_1", code:"1234"
@@ -6,7 +6,7 @@ use Seam\\SeamClient;
6
6
 
7
7
  final class Fixture
8
8
  {
9
- public static function getTestSeamClient()
9
+ public static function getTestServer()
10
10
  {
11
11
  $random_string = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'), 0, 10);
12
12
  $api_url = "https://{$random_string}.fakeseamconnect.seam.vc";