s3db.js 3.2.2 → 3.2.3

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/s3db.cjs.js CHANGED
@@ -1188,7 +1188,7 @@ async function dynamicCrypto() {
1188
1188
  let lib;
1189
1189
  if (process) {
1190
1190
  try {
1191
- const { webcrypto } = await Promise.resolve().then(function () { return _polyfillNode_crypto; });
1191
+ const { webcrypto } = await import('crypto');
1192
1192
  lib = webcrypto;
1193
1193
  } catch (error) {
1194
1194
  throw new Error("Crypto API not available");
@@ -13186,10 +13186,6 @@ class CachePlugin extends Plugin {
13186
13186
  }
13187
13187
  }
13188
13188
 
13189
- var _polyfillNode_crypto = /*#__PURE__*/Object.freeze({
13190
- __proto__: null
13191
- });
13192
-
13193
13189
  exports.BaseError = BaseError;
13194
13190
  exports.Cache = Cache;
13195
13191
  exports.CachePlugin = CachePlugin;