@fireproof/core 0.7.0-alpha.5 → 0.7.0-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/loader.js +4 -4
- package/dist/src/fireproof.js +46 -7211
- package/dist/src/fireproof.js.map +1 -1
- package/dist/src/fireproof.mjs +46 -7211
- package/dist/src/fireproof.mjs.map +1 -1
- package/dist/storage/base.js +5 -3
- package/package.json +2 -4
- package/src/loader.js +4 -4
- package/src/storage/base.js +5 -3
package/dist/loader.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { Browser } from './storage/browser.js';
|
2
|
-
import { Rest } from './storage/rest.js'
|
2
|
+
// import { Rest } from './storage/rest.js'
|
3
3
|
export const Loader = {
|
4
4
|
appropriate: (name, config = {}) => {
|
5
5
|
if (config.StorageClass) {
|
6
6
|
return new config.StorageClass(name, config);
|
7
7
|
}
|
8
|
-
if (config.type === 'rest') {
|
9
|
-
|
10
|
-
}
|
8
|
+
// if (config.type === 'rest') {
|
9
|
+
// return new Rest(name, config)
|
10
|
+
// }
|
11
11
|
return new Browser(name, config);
|
12
12
|
}
|
13
13
|
};
|