mol_dump_lib 0.0.149 → 0.0.151
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/node.deps.json +1 -1
- package/node.js +5 -1
- package/node.js.map +1 -1
- package/node.mjs +5 -1
- package/node.test.js +6 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +26 -1
- package/web.deps.json +1 -1
- package/web.js +70 -4
- package/web.js.map +1 -1
- package/web.mjs +70 -4
- package/web.test.js +1 -53
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.d.ts
CHANGED
|
@@ -1844,10 +1844,35 @@ declare namespace $ {
|
|
|
1844
1844
|
let $mol_mem_persist: typeof $mol_wire_solid;
|
|
1845
1845
|
}
|
|
1846
1846
|
|
|
1847
|
+
declare namespace $ {
|
|
1848
|
+
type $mol_log3_event<Fields> = {
|
|
1849
|
+
[key in string]: unknown;
|
|
1850
|
+
} & {
|
|
1851
|
+
time?: string;
|
|
1852
|
+
place: unknown;
|
|
1853
|
+
message: string;
|
|
1854
|
+
} & Fields;
|
|
1855
|
+
type $mol_log3_logger<Fields, Res = void> = (this: $, event: $mol_log3_event<Fields>) => Res;
|
|
1856
|
+
let $mol_log3_come: $mol_log3_logger<{}>;
|
|
1857
|
+
let $mol_log3_done: $mol_log3_logger<{}>;
|
|
1858
|
+
let $mol_log3_fail: $mol_log3_logger<{}>;
|
|
1859
|
+
let $mol_log3_warn: $mol_log3_logger<{
|
|
1860
|
+
hint: string;
|
|
1861
|
+
}>;
|
|
1862
|
+
let $mol_log3_rise: $mol_log3_logger<{}>;
|
|
1863
|
+
let $mol_log3_area: $mol_log3_logger<{}, () => void>;
|
|
1864
|
+
function $mol_log3_area_lazy(this: $, event: $mol_log3_event<{}>): () => void;
|
|
1865
|
+
let $mol_log3_stack: (() => void)[];
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare namespace $ {
|
|
1869
|
+
function $mol_log3_web_make(level: $mol_type_keys_extract<Console, Function>, color: string): (this: $, event: $mol_log3_event<{}>) => () => void;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1847
1872
|
declare namespace $ {
|
|
1848
1873
|
class $mol_storage extends $mol_object2 {
|
|
1849
1874
|
static native(): StorageManager;
|
|
1850
|
-
static persisted(next?: boolean): boolean;
|
|
1875
|
+
static persisted(next?: boolean, cache?: 'cache'): boolean;
|
|
1851
1876
|
static estimate(): StorageEstimate;
|
|
1852
1877
|
static dir(): FileSystemDirectoryHandle;
|
|
1853
1878
|
}
|