@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.
- package/dist/lib/manifest.js +2 -4
- package/dist/lib/sign-api.d.ts +1 -1
- package/dist/lib/sign-api.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/lib/manifest.js
CHANGED
|
@@ -44,12 +44,10 @@ const loadCachedManifest = async () => {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
|
-
* Fetch manifest from the tenants API Gateway (
|
|
48
|
-
*
|
|
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`;
|
package/dist/lib/sign-api.d.ts
CHANGED
|
@@ -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 (
|
|
14
|
+
* GET request to the primary API (sign gateway)
|
|
15
15
|
*/
|
|
16
16
|
get<T = unknown>(path: string): Promise<T>;
|
|
17
17
|
/**
|
package/dist/lib/sign-api.js
CHANGED
package/oclif.manifest.json
CHANGED