@hyperdrive.bot/sign-cli 0.1.4 → 0.1.5

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.
@@ -44,12 +44,10 @@ const loadCachedManifest = async () => {
44
44
  }
45
45
  };
46
46
  /**
47
- * Fetch manifest from the tenants API Gateway (no auth required).
48
- * Uses the bootstrap URL base to reach the tenants gateway directly.
47
+ * Fetch manifest from the tenants API Gateway (unauthenticated for now).
48
+ * TODO: Move to authenticated endpoint once ABAC feature registration is sorted.
49
49
  */
50
50
  const fetchManifest = async (apiClient) => {
51
- // The manifest endpoint is on the tenants gateway (same as bootstrap).
52
- // It's unauthenticated, so we fetch it with plain HTTP.
53
51
  const bootstrapUrl = process.env.SIGN_BOOTSTRAP_URL || 'https://oo2wp0ax27.execute-api.us-east-1.amazonaws.com/dev/tenant/bootstrap-dev';
54
52
  const baseUrl = bootstrapUrl.replace(/\/tenant\/bootstrap.*$/, '');
55
53
  const manifestUrl = `${baseUrl}/tenant/manifest`;
@@ -11,7 +11,7 @@ import { SigV4ApiClient } from '@hyperdrive.bot/cli-auth';
11
11
  export declare class SignApiClient extends SigV4ApiClient {
12
12
  constructor(domain?: string);
13
13
  /**
14
- * GET request to the primary API (tenants gateway)
14
+ * GET request to the primary API (sign gateway)
15
15
  */
16
16
  get<T = unknown>(path: string): Promise<T>;
17
17
  /**
@@ -25,7 +25,7 @@ export class SignApiClient extends SigV4ApiClient {
25
25
  });
26
26
  }
27
27
  /**
28
- * GET request to the primary API (tenants gateway)
28
+ * GET request to the primary API (sign gateway)
29
29
  */
30
30
  async get(path) {
31
31
  return this.makeSignedRequest('GET', path);
@@ -120,5 +120,5 @@
120
120
  ]
121
121
  }
122
122
  },
123
- "version": "0.1.4"
123
+ "version": "0.1.5"
124
124
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/sign-cli",
3
3
  "description": "Sign CLI — runtime-discovered API client for the Sign platform",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "author": "marcelomarra",
6
6
  "bin": {
7
7
  "sign": "./bin/run.js"