@fireproof/core 0.3.21 → 0.3.22
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/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +2 -2
- package/dist/src/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/valet.js +2 -2
package/dist/src/index.mjs
CHANGED
@@ -36928,8 +36928,8 @@ function rawSha1 (b) {
|
|
36928
36928
|
|
36929
36929
|
const chunker = bf(3);
|
36930
36930
|
|
36931
|
-
const NO_ENCRYPT = process.env?.NO_ENCRYPT;
|
36932
|
-
//
|
36931
|
+
const NO_ENCRYPT = typeof process !== 'undefined' && !!process.env?.NO_ENCRYPT;
|
36932
|
+
// ? process.env.NO_ENCRYPT : import.meta && import.meta.env.VITE_NO_ENCRYPT
|
36933
36933
|
|
36934
36934
|
class Valet {
|
36935
36935
|
idb = null
|