@valtown/sdk 1.6.0 → 1.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.0 (2025-07-29)
4
+
5
+ Full Changelog: [v1.6.0...v1.7.0](https://github.com/val-town/sdk/compare/v1.6.0...v1.7.0)
6
+
7
+ ### Features
8
+
9
+ * clean up environment call outs ([72f87ab](https://github.com/val-town/sdk/commit/72f87abf6c665e92298ca593712057c7a4dea9f6))
10
+
3
11
  ## 1.6.0 (2025-07-10)
4
12
 
5
13
  Full Changelog: [v1.5.0...v1.6.0](https://github.com/val-town/sdk/compare/v1.5.0...v1.6.0)
package/README.md CHANGED
@@ -37,7 +37,9 @@ The full API of this library can be found in [api.md](api.md).
37
37
  ```js
38
38
  import ValTown from '@valtown/sdk';
39
39
 
40
- const client = new ValTown();
40
+ const client = new ValTown({
41
+ bearerToken: process.env['VAL_TOWN_API_KEY'], // This is the default and can be omitted
42
+ });
41
43
 
42
44
  const response = await client.emails.send();
43
45
 
@@ -52,7 +54,9 @@ This library includes TypeScript definitions for all request params and response
52
54
  ```ts
53
55
  import ValTown from '@valtown/sdk';
54
56
 
55
- const client = new ValTown();
57
+ const client = new ValTown({
58
+ bearerToken: process.env['VAL_TOWN_API_KEY'], // This is the default and can be omitted
59
+ });
56
60
 
57
61
  const response: ValTown.EmailSendResponse = await client.emails.send();
58
62
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valtown/sdk",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "The official TypeScript library for the Val Town API",
5
5
  "author": "Val Town <support@val.town>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.6.0'; // x-release-please-version
1
+ export const VERSION = '1.7.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.6.0";
1
+ export declare const VERSION = "1.7.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.6.0'; // x-release-please-version
4
+ exports.VERSION = '1.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.6.0'; // x-release-please-version
1
+ export const VERSION = '1.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map