@livequery/core 2.0.91 → 2.0.96

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.
Files changed (40) hide show
  1. package/README.md +320 -460
  2. package/dist/LivequeryCollection.d.ts +19 -17
  3. package/dist/LivequeryCollection.d.ts.map +1 -1
  4. package/dist/LivequeryCollection.js +231 -0
  5. package/dist/LivequeryCollection.js.map +1 -0
  6. package/dist/LivequeryCore.d.ts +4 -4
  7. package/dist/LivequeryCore.d.ts.map +1 -1
  8. package/dist/LivequeryCore.js +337 -0
  9. package/dist/LivequeryCore.js.map +1 -0
  10. package/dist/LivequeryDocument.d.ts +2 -2
  11. package/dist/LivequeryDocument.d.ts.map +1 -1
  12. package/dist/LivequeryDocument.js +22 -0
  13. package/dist/LivequeryDocument.js.map +1 -0
  14. package/dist/LivequeryMemoryStorage.d.ts +2 -2
  15. package/dist/LivequeryMemoryStorage.d.ts.map +1 -1
  16. package/dist/LivequeryMemoryStorage.js +89 -0
  17. package/dist/LivequeryMemoryStorage.js.map +1 -0
  18. package/dist/LivequeryStorge.d.ts +1 -1
  19. package/dist/LivequeryStorge.d.ts.map +1 -1
  20. package/dist/LivequeryStorge.js +2 -0
  21. package/dist/LivequeryStorge.js.map +1 -0
  22. package/dist/LivequeryTransporter.d.ts +1 -1
  23. package/dist/LivequeryTransporter.d.ts.map +1 -1
  24. package/dist/LivequeryTransporter.js +2 -0
  25. package/dist/LivequeryTransporter.js.map +1 -0
  26. package/dist/helpers/filterDocs.d.ts +1 -1
  27. package/dist/helpers/filterDocs.d.ts.map +1 -1
  28. package/dist/helpers/filterDocs.js +80 -0
  29. package/dist/helpers/filterDocs.js.map +1 -0
  30. package/dist/helpers/tryCatch.js +10 -0
  31. package/dist/helpers/tryCatch.js.map +1 -0
  32. package/dist/helpers/whenCompleted.js +5 -0
  33. package/dist/helpers/whenCompleted.js.map +1 -0
  34. package/dist/index.d.ts +8 -8
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +9 -3167
  37. package/dist/index.js.map +1 -100
  38. package/dist/types.js +2 -0
  39. package/dist/types.js.map +1 -0
  40. package/package.json +73 -4
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livequery/core",
3
- "version": "2.0.91",
3
+ "version": "2.0.96",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -10,6 +10,75 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.js",
12
12
  "default": "./dist/index.js"
13
+ },
14
+ "./LivequeryCollection": {
15
+ "types": "./dist/LivequeryCollection.d.ts",
16
+ "import": "./dist/LivequeryCollection.js",
17
+ "default": "./dist/LivequeryCollection.js"
18
+ },
19
+ "./LivequeryCore": {
20
+ "types": "./dist/LivequeryCore.d.ts",
21
+ "import": "./dist/LivequeryCore.js",
22
+ "default": "./dist/LivequeryCore.js"
23
+ },
24
+ "./LivequeryDocument": {
25
+ "types": "./dist/LivequeryDocument.d.ts",
26
+ "import": "./dist/LivequeryDocument.js",
27
+ "default": "./dist/LivequeryDocument.js"
28
+ },
29
+ "./LivequeryMemoryStorage": {
30
+ "types": "./dist/LivequeryMemoryStorage.d.ts",
31
+ "import": "./dist/LivequeryMemoryStorage.js",
32
+ "default": "./dist/LivequeryMemoryStorage.js"
33
+ },
34
+ "./LivequeryStorge": {
35
+ "types": "./dist/LivequeryStorge.d.ts",
36
+ "import": "./dist/LivequeryStorge.js",
37
+ "default": "./dist/LivequeryStorge.js"
38
+ },
39
+ "./LivequeryTransporter": {
40
+ "types": "./dist/LivequeryTransporter.d.ts",
41
+ "import": "./dist/LivequeryTransporter.js",
42
+ "default": "./dist/LivequeryTransporter.js"
43
+ },
44
+ "./types": {
45
+ "types": "./dist/types.d.ts",
46
+ "import": "./dist/types.js",
47
+ "default": "./dist/types.js"
48
+ },
49
+ "./helpers/filterDocs": {
50
+ "types": "./dist/helpers/filterDocs.d.ts",
51
+ "import": "./dist/helpers/filterDocs.js",
52
+ "default": "./dist/helpers/filterDocs.js"
53
+ },
54
+ "./package.json": "./package.json"
55
+ },
56
+ "typesVersions": {
57
+ "*": {
58
+ "LivequeryCollection": [
59
+ "./dist/LivequeryCollection.d.ts"
60
+ ],
61
+ "LivequeryCore": [
62
+ "./dist/LivequeryCore.d.ts"
63
+ ],
64
+ "LivequeryDocument": [
65
+ "./dist/LivequeryDocument.d.ts"
66
+ ],
67
+ "LivequeryMemoryStorage": [
68
+ "./dist/LivequeryMemoryStorage.d.ts"
69
+ ],
70
+ "LivequeryStorge": [
71
+ "./dist/LivequeryStorge.d.ts"
72
+ ],
73
+ "LivequeryTransporter": [
74
+ "./dist/LivequeryTransporter.d.ts"
75
+ ],
76
+ "types": [
77
+ "./dist/types.d.ts"
78
+ ],
79
+ "helpers/filterDocs": [
80
+ "./dist/helpers/filterDocs.d.ts"
81
+ ]
13
82
  }
14
83
  },
15
84
  "files": [
@@ -18,10 +87,10 @@
18
87
  "sideEffects": false,
19
88
  "scripts": {
20
89
  "clean": "rm -rf dist",
21
- "build:js": "bun build ./src/index.ts --outdir ./dist --target browser --format esm --sourcemap",
22
- "build:types": "bunx tsc -p tsconfig.build.json",
90
+ "build:js": "bunx tsc -p tsconfig.build.json --emitDeclarationOnly false --declaration false --declarationMap false",
91
+ "build:types": "bunx tsc -p tsconfig.build.json --emitDeclarationOnly",
23
92
  "build": "bun run clean && bun run build:js && bun run build:types",
24
- "build:watch": "bun build ./src/index.ts --outdir ./dist --target browser --format esm --watch",
93
+ "build:watch": "bunx tsc -p tsconfig.build.json --watch --preserveWatchOutput",
25
94
  "prepublishOnly": "bun run build"
26
95
  },
27
96
  "devDependencies": {