puter-cli 1.5.5 → 1.5.6

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/.env.example CHANGED
@@ -1,3 +1,3 @@
1
1
  # Default Puter's API
2
- PUTER_API_BASE='https://api.puter.com'
3
- PUTER_BASE_URL='https://puter.com'
2
+ PUTER_API_BASE='http://api.puter.localhost:4100'
3
+ PUTER_BASE_URL='http://puter.localhost:4100'
package/CHANGELOG.md CHANGED
@@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v1.5.6](https://github.com/HeyPuter/puter-cli/compare/v1.5.5...v1.5.6)
8
+
9
+ - fix: default api values [`146eda5`](https://github.com/HeyPuter/puter-cli/commit/146eda560da02f21a04523333b615c9ee2372322)
10
+
7
11
  #### [v1.5.5](https://github.com/HeyPuter/puter-cli/compare/v1.5.4...v1.5.5)
8
12
 
13
+ > 13 February 2025
14
+
9
15
  - fix: improve error handling [`d1fa91d`](https://github.com/HeyPuter/puter-cli/commit/d1fa91db09f08238c6be684ffe4688a0064f06cd)
10
16
 
11
17
  #### [v1.5.4](https://github.com/HeyPuter/puter-cli/compare/v1.5.3...v1.5.4)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puter-cli",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "Command line interface for Puter cloud platform",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/commons.js CHANGED
@@ -10,8 +10,8 @@ dotenv.config();
10
10
 
11
11
  export const PROJECT_NAME = 'puter-cli';
12
12
  // If you haven't defined your own values in .env file, we'll assume you're running Puter on a local instance:
13
- export const API_BASE = process.env.PUTER_API_BASE || 'http://api.puter.localhost:4100';
14
- export const BASE_URL = process.env.PUTER_BASE_URL || 'http://puter.localhost:4100';
13
+ export const API_BASE = process.env.PUTER_API_BASE || 'https://api.puter.com';
14
+ export const BASE_URL = process.env.PUTER_BASE_URL || 'https://puter.com';
15
15
 
16
16
  /**
17
17
  * Get headers with the correct Content-Type for multipart form data.