@bazariodev/docket 0.0.0 → 1.0.0
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/CHANGELOG.md +36 -0
- package/README.md +715 -173
- package/dist/{chunk-B-SP8Od_.js → chunk-DkvWLziD.js} +3 -3
- package/dist/{chunk-B-SP8Od_.js.map → chunk-DkvWLziD.js.map} +1 -1
- package/dist/{chunk-Bvq4tF_F.cjs → chunk-ieB8yTEn.cjs} +2 -3
- package/dist/{chunk-Bvq4tF_F.cjs.map → chunk-ieB8yTEn.cjs.map} +1 -1
- package/dist/client/index.cjs +167 -0
- package/dist/client/index.cjs.map +1 -0
- package/dist/client/index.d.cts +40 -0
- package/dist/client/index.d.ts +40 -0
- package/dist/client/index.js +165 -0
- package/dist/client/index.js.map +1 -0
- package/dist/constants.d.cts +2 -4
- package/dist/constants.d.ts +2 -4
- package/dist/export/index.cjs +39 -11
- package/dist/export/index.cjs.map +1 -1
- package/dist/export/index.js +39 -11
- package/dist/export/index.js.map +1 -1
- package/dist/history/index.cjs +21 -1187
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +10 -112
- package/dist/history/index.d.ts +10 -112
- package/dist/history/index.js +22 -1188
- package/dist/history/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/indexeddb/index.cjs +18 -7
- package/dist/indexeddb/index.cjs.map +1 -1
- package/dist/indexeddb/index.d.cts +19 -4
- package/dist/indexeddb/index.d.ts +19 -4
- package/dist/indexeddb/index.js +18 -8
- package/dist/indexeddb/index.js.map +1 -1
- package/dist/storage/contracts.d.cts +0 -4
- package/dist/storage/contracts.d.ts +0 -4
- package/dist/upload/constants.d.cts +17 -0
- package/dist/upload/constants.d.ts +17 -0
- package/dist/upload/index.cjs +246 -0
- package/dist/upload/index.cjs.map +1 -0
- package/dist/upload/index.d.cts +51 -0
- package/dist/upload/index.d.ts +51 -0
- package/dist/upload/index.js +244 -0
- package/dist/upload/index.js.map +1 -0
- package/package.json +25 -2
- package/dist/core/errors.d.cts +0 -8
- package/dist/core/errors.d.ts +0 -8
- package/dist/history/constants.d.cts +0 -35
- package/dist/history/constants.d.ts +0 -35
- package/dist/sip/constants.d.cts +0 -5
- package/dist/sip/constants.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bazariodev/docket",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Structured diagnostic logging with injected redaction, storage, history, and archive capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"logging",
|
|
@@ -102,6 +102,26 @@
|
|
|
102
102
|
"types": "./dist/devtools/index.d.cts",
|
|
103
103
|
"default": "./dist/devtools/index.cjs"
|
|
104
104
|
}
|
|
105
|
+
},
|
|
106
|
+
"./upload": {
|
|
107
|
+
"import": {
|
|
108
|
+
"types": "./dist/upload/index.d.ts",
|
|
109
|
+
"default": "./dist/upload/index.js"
|
|
110
|
+
},
|
|
111
|
+
"require": {
|
|
112
|
+
"types": "./dist/upload/index.d.cts",
|
|
113
|
+
"default": "./dist/upload/index.cjs"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"./client": {
|
|
117
|
+
"import": {
|
|
118
|
+
"types": "./dist/client/index.d.ts",
|
|
119
|
+
"default": "./dist/client/index.js"
|
|
120
|
+
},
|
|
121
|
+
"require": {
|
|
122
|
+
"types": "./dist/client/index.d.cts",
|
|
123
|
+
"default": "./dist/client/index.cjs"
|
|
124
|
+
}
|
|
105
125
|
}
|
|
106
126
|
},
|
|
107
127
|
"files": [
|
|
@@ -111,6 +131,9 @@
|
|
|
111
131
|
"LICENSE"
|
|
112
132
|
],
|
|
113
133
|
"sideEffects": false,
|
|
134
|
+
"dependencies": {
|
|
135
|
+
"@bazariodev/coordination": "^1.2.0"
|
|
136
|
+
},
|
|
114
137
|
"publishConfig": {
|
|
115
138
|
"access": "public"
|
|
116
139
|
},
|
|
@@ -118,7 +141,7 @@
|
|
|
118
141
|
"fake-indexeddb": "^6.2.5",
|
|
119
142
|
"fflate": "^0.8.2",
|
|
120
143
|
"@bazariodev/baler": "^0.1.0",
|
|
121
|
-
"@bazariodev/hopper": "^0.
|
|
144
|
+
"@bazariodev/hopper": "^0.2.0",
|
|
122
145
|
"@bazariodev/winnow": "^0.1.0"
|
|
123
146
|
},
|
|
124
147
|
"scripts": {
|
package/dist/core/errors.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function loggingError(code: any): Error & {
|
|
2
|
-
code: any;
|
|
3
|
-
};
|
|
4
|
-
export const LOGGING_ERRORS: Readonly<{
|
|
5
|
-
"recursive-logging": "Recursive logging is rejected";
|
|
6
|
-
"root-logger-cache-limit": "Root logger cache exceeds 1000 pairs";
|
|
7
|
-
stopped: "Logging is stopped";
|
|
8
|
-
}>;
|
package/dist/core/errors.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function loggingError(code: any): Error & {
|
|
2
|
-
code: any;
|
|
3
|
-
};
|
|
4
|
-
export const LOGGING_ERRORS: Readonly<{
|
|
5
|
-
"recursive-logging": "Recursive logging is rejected";
|
|
6
|
-
"root-logger-cache-limit": "Root logger cache exceeds 1000 pairs";
|
|
7
|
-
stopped: "Logging is stopped";
|
|
8
|
-
}>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export const HISTORY_MODES: Readonly<{
|
|
2
|
-
OFF: "off";
|
|
3
|
-
MEMORY: "memory";
|
|
4
|
-
PERSISTENT: "persistent";
|
|
5
|
-
}>;
|
|
6
|
-
export const HISTORY_STATES: Readonly<{
|
|
7
|
-
IDLE: "idle";
|
|
8
|
-
ACTIVE: "active";
|
|
9
|
-
TRANSITIONING: "transitioning";
|
|
10
|
-
BLOCKED: "blocked";
|
|
11
|
-
STALE: "stale";
|
|
12
|
-
STOPPED: "stopped";
|
|
13
|
-
}>;
|
|
14
|
-
export const HISTORY_ERROR_CODES: Readonly<{
|
|
15
|
-
METADATA: "metadata";
|
|
16
|
-
CLEANUP: "cleanup";
|
|
17
|
-
STALE: "stale";
|
|
18
|
-
SETUP: "setup";
|
|
19
|
-
MIGRATION: "migration";
|
|
20
|
-
STOPPED: "stopped";
|
|
21
|
-
ROTATION: "rotation";
|
|
22
|
-
}>;
|
|
23
|
-
export const HISTORY_ERRORS: Readonly<{
|
|
24
|
-
metadata: "Log history metadata failed";
|
|
25
|
-
cleanup: "Log history cleanup failed";
|
|
26
|
-
stale: "Log history stale failed";
|
|
27
|
-
setup: "Log history setup failed";
|
|
28
|
-
migration: "Log history migration failed";
|
|
29
|
-
stopped: "Log history stopped failed";
|
|
30
|
-
rotation: "Log history rotation failed";
|
|
31
|
-
}>;
|
|
32
|
-
export const HISTORY_LIMITS: Readonly<{
|
|
33
|
-
STARTUP_DEFAULT_MAX_SIZE_PER_AREA: 250000;
|
|
34
|
-
STARTUP_MAX_TOTAL_SIZE: 1000000;
|
|
35
|
-
}>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export const HISTORY_MODES: Readonly<{
|
|
2
|
-
OFF: "off";
|
|
3
|
-
MEMORY: "memory";
|
|
4
|
-
PERSISTENT: "persistent";
|
|
5
|
-
}>;
|
|
6
|
-
export const HISTORY_STATES: Readonly<{
|
|
7
|
-
IDLE: "idle";
|
|
8
|
-
ACTIVE: "active";
|
|
9
|
-
TRANSITIONING: "transitioning";
|
|
10
|
-
BLOCKED: "blocked";
|
|
11
|
-
STALE: "stale";
|
|
12
|
-
STOPPED: "stopped";
|
|
13
|
-
}>;
|
|
14
|
-
export const HISTORY_ERROR_CODES: Readonly<{
|
|
15
|
-
METADATA: "metadata";
|
|
16
|
-
CLEANUP: "cleanup";
|
|
17
|
-
STALE: "stale";
|
|
18
|
-
SETUP: "setup";
|
|
19
|
-
MIGRATION: "migration";
|
|
20
|
-
STOPPED: "stopped";
|
|
21
|
-
ROTATION: "rotation";
|
|
22
|
-
}>;
|
|
23
|
-
export const HISTORY_ERRORS: Readonly<{
|
|
24
|
-
metadata: "Log history metadata failed";
|
|
25
|
-
cleanup: "Log history cleanup failed";
|
|
26
|
-
stale: "Log history stale failed";
|
|
27
|
-
setup: "Log history setup failed";
|
|
28
|
-
migration: "Log history migration failed";
|
|
29
|
-
stopped: "Log history stopped failed";
|
|
30
|
-
rotation: "Log history rotation failed";
|
|
31
|
-
}>;
|
|
32
|
-
export const HISTORY_LIMITS: Readonly<{
|
|
33
|
-
STARTUP_DEFAULT_MAX_SIZE_PER_AREA: 250000;
|
|
34
|
-
STARTUP_MAX_TOTAL_SIZE: 1000000;
|
|
35
|
-
}>;
|
package/dist/sip/constants.d.cts
DELETED
package/dist/sip/constants.d.ts
DELETED