@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.js
CHANGED
@@ -36930,8 +36930,8 @@ function rawSha1 (b) {
|
|
36930
36930
|
|
36931
36931
|
const chunker = bf(3);
|
36932
36932
|
|
36933
|
-
const NO_ENCRYPT = process.env?.NO_ENCRYPT;
|
36934
|
-
//
|
36933
|
+
const NO_ENCRYPT = typeof process !== 'undefined' && !!process.env?.NO_ENCRYPT;
|
36934
|
+
// ? process.env.NO_ENCRYPT : import.meta && import.meta.env.VITE_NO_ENCRYPT
|
36935
36935
|
|
36936
36936
|
class Valet {
|
36937
36937
|
idb = null
|