mol_dump_lib 0.0.142 → 0.0.144
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.d.ts +9 -0
- package/node.deps.json +1 -1
- package/node.js +38 -3
- package/node.js.map +1 -1
- package/node.mjs +38 -3
- package/node.test.js +38 -3
- package/node.test.js.map +1 -1
- package/package.json +2 -1
- package/web.d.ts +18 -0
- package/web.deps.json +1 -1
- package/web.js +50 -3
- package/web.js.map +1 -1
- package/web.mjs +50 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mol_dump_lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.144",
|
|
4
4
|
"exports": {
|
|
5
5
|
"node": {
|
|
6
6
|
"import": "./node.mjs",
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"$mol_wire_sync",
|
|
157
157
|
"$mol_locale",
|
|
158
158
|
"$mol_state_local",
|
|
159
|
+
"$mol_storage",
|
|
159
160
|
"$mol_file",
|
|
160
161
|
"$mol_charset_decode",
|
|
161
162
|
"$mol_charset",
|
package/web.d.ts
CHANGED
|
@@ -1840,6 +1840,24 @@ declare namespace $.$$ {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
|
+
declare namespace $ {
|
|
1844
|
+
let $mol_mem_persist: typeof $mol_wire_solid;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
declare namespace $ {
|
|
1848
|
+
class $mol_storage extends $mol_object2 {
|
|
1849
|
+
static native(): {
|
|
1850
|
+
estimate: () => StorageEstimate;
|
|
1851
|
+
getDirectory: () => FileSystemDirectoryHandle;
|
|
1852
|
+
persist: () => boolean;
|
|
1853
|
+
persisted: () => boolean;
|
|
1854
|
+
};
|
|
1855
|
+
static persisted(next?: boolean): boolean;
|
|
1856
|
+
static estimate(): StorageEstimate;
|
|
1857
|
+
static dir(): FileSystemDirectoryHandle;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1843
1861
|
declare namespace $ {
|
|
1844
1862
|
class $mol_state_local<Value> extends $mol_object {
|
|
1845
1863
|
static 'native()': Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
|