@peerbit/any-store-opfs 1.0.6 → 1.0.7-a2796fd
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/dist/src/create.d.ts.map +1 -1
- package/dist/src/opfs-store.d.ts +1 -1
- package/package.json +79 -79
package/dist/src/create.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/create.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI,WAAW,MAAM,WAStC,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
package/dist/src/opfs-store.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class OPFSStore implements AnyStore {
|
|
|
8
8
|
private _responseCallbacks;
|
|
9
9
|
private _createStorage;
|
|
10
10
|
constructor(directory?: string);
|
|
11
|
-
status(): MaybePromise<"
|
|
11
|
+
status(): MaybePromise<"closed" | "closing" | "open" | "opening">;
|
|
12
12
|
close(): Promise<void>;
|
|
13
13
|
open(): Promise<void>;
|
|
14
14
|
get(key: string): MaybePromise<Uint8Array | undefined>;
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@peerbit/any-store-opfs",
|
|
3
|
+
"version": "1.0.7-a2796fd",
|
|
4
|
+
"description": "OPFS worker",
|
|
5
|
+
"sideEffects": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"types": "./dist/src/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"src",
|
|
10
|
+
"dist",
|
|
11
|
+
"!dist/test",
|
|
12
|
+
"!**/*.tsbuildinfo"
|
|
13
|
+
],
|
|
14
|
+
"typesVersions": {
|
|
15
|
+
"*": {
|
|
16
|
+
"*": [
|
|
17
|
+
"*",
|
|
18
|
+
"dist/*",
|
|
19
|
+
"dist/src/*",
|
|
20
|
+
"dist/src/*/index"
|
|
21
|
+
],
|
|
22
|
+
"src/*": [
|
|
23
|
+
"*",
|
|
24
|
+
"dist/*",
|
|
25
|
+
"dist/src/*",
|
|
26
|
+
"dist/src/*/index"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/src/index.d.ts",
|
|
33
|
+
"import": "./dist/src/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./opfs-store": {
|
|
36
|
+
"types": "./dist/src/opfs-store.d.ts",
|
|
37
|
+
"import": "./dist/src/opfs-store.js"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"eslintConfig": {
|
|
41
|
+
"extends": "peerbit",
|
|
42
|
+
"parserOptions": {
|
|
43
|
+
"project": true,
|
|
44
|
+
"sourceType": "module"
|
|
45
|
+
},
|
|
46
|
+
"ignorePatterns": [
|
|
47
|
+
"!.aegir.js",
|
|
48
|
+
"test/ts-use",
|
|
49
|
+
"*.d.ts"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "https://github.com/dao-xyz/peerbit"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/dao-xyz/peerbit",
|
|
60
|
+
"bugs": "https://github.com/dao-xyz/peerbit/issues",
|
|
61
|
+
"scripts": {
|
|
62
|
+
"clean": "aegir clean",
|
|
63
|
+
"build": "aegir build",
|
|
64
|
+
"test": "",
|
|
65
|
+
"lint": "aegir lint"
|
|
66
|
+
},
|
|
67
|
+
"license": "MIT",
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@peerbit/crypto": "2.3.6-a2796fd",
|
|
70
|
+
"@peerbit/logger": "1.0.3-a2796fd",
|
|
71
|
+
"@peerbit/time": "2.0.8-a2796fd",
|
|
72
|
+
"@peerbit/any-store-interface": "1.0.0-a2796fd",
|
|
73
|
+
"uuid": "^10.0.0"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@types/uuid": "^9.0.8"
|
|
77
|
+
},
|
|
78
|
+
"localMaintainers": [
|
|
79
|
+
"dao.xyz"
|
|
80
|
+
]
|
|
81
81
|
}
|