@tinycloud/cli 0.9.1-beta.3 → 0.9.1-beta.4

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.
@@ -26068,7 +26068,7 @@ async function verifyPkhSignature(did, payload, signature) {
26068
26068
  }
26069
26069
  function verifyDidKeySignature(did, payload, signature) {
26070
26070
  const publicKey = ed25519PublicKeyFromDidKey2(did);
26071
- const signatureBytes = decodeBase64Url3(signature);
26071
+ const signatureBytes = decodeBase64Url4(signature);
26072
26072
  if (signatureBytes.length !== 64) {
26073
26073
  throw new LocationRecordValidationError(
26074
26074
  "did:key signature must be a base64url Ed25519 signature"
@@ -26098,7 +26098,7 @@ function ed25519PublicKeyFromDidKey2(did) {
26098
26098
  "did:key must be an Ed25519 public key"
26099
26099
  );
26100
26100
  }
26101
- function decodeBase64Url3(value) {
26101
+ function decodeBase64Url4(value) {
26102
26102
  const alphabet2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
26103
26103
  const bytes2 = [];
26104
26104
  let buffer = 0;