@atelierlogos/hotcross 0.0.1 → 0.1.0

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.
Files changed (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,10 +6,6 @@ Developer-friendly & type-safe Typescript SDK specifically catered to leverage *
6
6
  [![License: MIT](https://img.shields.io/badge/LICENSE_//_MIT-3b5bdb?style=for-the-badge&labelColor=eff6ff)](https://opensource.org/licenses/MIT)
7
7
 
8
8
 
9
- <br /><br />
10
- > [!IMPORTANT]
11
- > This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/usenabla/dev). Delete this section before > publishing to a package manager.
12
-
13
9
  <!-- Start Summary [summary] -->
14
10
  ## Summary
15
11
 
@@ -353,12 +349,14 @@ run();
353
349
 
354
350
  ### Override Server URL Per-Client
355
351
 
356
- The default server can be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
352
+ The default server can be overridden globally by supplying the `serverVariables.server` value (or setting `serverURL`) when initializing the SDK client instance. For example:
357
353
  ```typescript
358
354
  import { Hotcross } from "hotcross";
359
355
 
360
356
  const hotcross = new Hotcross({
361
- serverURL: "http://localhost:3000",
357
+ serverVariables: {
358
+ server: process.env["HOTCROSS_SERVER_URL"] ?? "http://localhost:5143",
359
+ },
362
360
  bearerAuth: process.env["HOTCROSS_BEARER_AUTH"] ?? "",
363
361
  });
364
362
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelierlogos/hotcross",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "tshy": {