@vizamodo/aws-sts-core 0.4.20 → 0.4.21

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
@@ -197,6 +197,9 @@ function parseCertSerialDec(normalizedCertBase64) {
197
197
  if (der[offset++] !== 0x30)
198
198
  throw new Error("bad tbs");
199
199
  readLen();
200
+ // Log raw DER bytes to diagnose parser mismatch
201
+ const rawBytes8to20 = Array.from(der.slice(8, 20)).map(b => b.toString(16).padStart(2, '0')).join(' ');
202
+ console.debug("[der-raw]", { rawBytes8to20, derLen: der.length });
200
203
  const beforeVersionOffset = offset;
201
204
  if (der[offset] === 0xa0) {
202
205
  offset++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizamodo/aws-sts-core",
3
- "version": "0.4.20",
3
+ "version": "0.4.21",
4
4
  "description": "Pure AWS STS + SigV4 (X509 Roles Anywhere) core logic",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",