@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 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
- return new Rest(name, config);
10
- }
8
+ // if (config.type === 'rest') {
9
+ // return new Rest(name, config)
10
+ // }
11
11
  return new Browser(name, config);
12
12
  }
13
13
  };