@agilecustoms/envctl 0.3.3 → 0.4.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.
@@ -1,7 +1,7 @@
1
1
  import { fromEnv, fromSSO } from '@aws-sdk/credential-providers';
2
2
  import aws4 from 'aws4';
3
3
  import { KnownException } from '../exceptions.js';
4
- const HOST = 'dev-env.maintenance.agilecustoms.com';
4
+ const HOST = 'env-api.maintenance.agilecustoms.com';
5
5
  export class HttpClient {
6
6
  async fetch(path, options) {
7
7
  const creds = await this.getCredentials();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agilecustoms/envctl",
3
3
  "description": "node.js CLI client for manage environments",
4
- "version": "0.3.3",
4
+ "version": "0.4.0",
5
5
  "author": "Alex Chekulaev",
6
6
  "type": "module",
7
7
  "bin": {
@@ -4,7 +4,7 @@ import aws4 from 'aws4'
4
4
  import type { Credentials, Request as Aws4Request } from 'aws4'
5
5
  import { KnownException } from '../exceptions.js'
6
6
 
7
- const HOST = 'dev-env.maintenance.agilecustoms.com'
7
+ const HOST = 'env-api.maintenance.agilecustoms.com'
8
8
 
9
9
  export class HttpClient {
10
10
  public async fetch(path: string, options: RequestInit): Promise<string> {