@learncard/learn-cloud-plugin 2.1.6 → 2.1.7

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.
@@ -15651,6 +15651,9 @@ __name(n, "n");
15651
15651
 
15652
15652
  // src/helpers.ts
15653
15653
  var hash = /* @__PURE__ */ __name(async (learnCard, message) => {
15654
+ const lcHash = await learnCard.invoke.hash?.(message, "PBKDF2-HMAC-SHA256");
15655
+ if (lcHash)
15656
+ return lcHash;
15654
15657
  const crypto2 = learnCard.invoke.crypto();
15655
15658
  const uint8Message = new TextEncoder().encode(message);
15656
15659
  const pk = learnCard.id.keypair("secp256k1").d;