@vizamodo/aws-sts-core 0.4.17 → 0.4.18

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.
Files changed (2) hide show
  1. package/dist/sts/issue.js +10 -2
  2. package/package.json +1 -1
package/dist/sts/issue.js CHANGED
@@ -139,8 +139,16 @@ export async function issueAwsCredentials(input) {
139
139
  throw new InternalError("aws_unreachable");
140
140
  }
141
141
  if (!res.ok) {
142
- const body = await res.text().catch(() => "<no-body>");
143
- console.error("[aws-rejected]", { status: res.status, region, profile, body });
142
+ const errorBody = await res.text().catch(() => "<no-body>");
143
+ console.error("[aws-rejected]", {
144
+ status: res.status,
145
+ region,
146
+ profile,
147
+ errorBody,
148
+ certSerial: certSerialDec,
149
+ amzDate,
150
+ credentialScope,
151
+ });
144
152
  throw new InternalError("aws_rejected");
145
153
  }
146
154
  const json = await res.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizamodo/aws-sts-core",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "Pure AWS STS + SigV4 (X509 Roles Anywhere) core logic",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",