@vizamodo/aws-sts-core 0.1.49 → 0.1.50

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/sts/issue.js CHANGED
@@ -153,6 +153,15 @@ export async function issueAwsCredentials(input) {
153
153
  }
154
154
  const json = await res.json();
155
155
  const creds = json?.credentialSet?.[0]?.credentials;
156
+ console.log("[issueAwsCredentials][aws-response]", {
157
+ raw: json,
158
+ });
159
+ console.log("[issueAwsCredentials][parsed-credentials]", {
160
+ accessKeyId: creds?.accessKeyId,
161
+ secretAccessKey: creds.secretAccessKey,
162
+ sessionToken: creds.sessionToken,
163
+ expiration: creds?.expiration,
164
+ });
156
165
  return {
157
166
  accessKeyId: creds.accessKeyId,
158
167
  secretAccessKey: creds.secretAccessKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizamodo/aws-sts-core",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "Pure AWS STS + SigV4 (X509 Roles Anywhere) core logic",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",