@fireproof/core 0.19.8-dev-cra → 0.19.8-dev-getid
Sign up to get free protection for your applications and to get access to all the features.
- package/index.cjs +2 -1
- package/index.cjs.map +1 -1
- package/index.global.js +2 -1
- package/index.global.js.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/metafile-iife.json +1 -1
- package/package.json +1 -1
package/index.global.js
CHANGED
@@ -24340,6 +24340,7 @@ You can use close({ resize: true }) to resize header`);
|
|
24340
24340
|
});
|
24341
24341
|
}
|
24342
24342
|
async get(id) {
|
24343
|
+
if (!id) throw this.logger.Error().Str("db", this.name).Msg(`Doc id is required`).AsError();
|
24343
24344
|
await this.ready();
|
24344
24345
|
this.logger.Debug().Str("id", id).Msg("get");
|
24345
24346
|
const got = await this._crdt.get(id).catch((e) => {
|
@@ -24492,7 +24493,7 @@ You can use close({ resize: true }) to resize header`);
|
|
24492
24493
|
|
24493
24494
|
// src/version.ts
|
24494
24495
|
var PACKAGE_VERSION = Object.keys({
|
24495
|
-
"0.19.8-dev-
|
24496
|
+
"0.19.8-dev-getid": "xxxx"
|
24496
24497
|
})[0];
|
24497
24498
|
return __toCommonJS(src_exports5);
|
24498
24499
|
})();
|