@liteguard/core 0.2.20260314
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/README.md +36 -0
- package/dist/index.d.mts +729 -0
- package/dist/index.d.ts +729 -0
- package/dist/index.js +1372 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1343 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +35 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @liteguard/core
|
|
2
|
+
|
|
3
|
+
[](https://github.com/liteguard/liteguard/actions/workflows/test-js.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@liteguard/core)
|
|
5
|
+
[](https://github.com/liteguard/liteguard/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
Shared runtime primitives and generated wire types for the Liteguard JavaScript SDK family.
|
|
8
|
+
|
|
9
|
+
This is an **internal package** consumed by `@liteguard/liteguard-node`, `@liteguard/liteguard-browser`, and `@liteguard/liteguard-react`. Unless you are building a custom Liteguard runtime adapter, you should install one of those packages instead.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Contents
|
|
14
|
+
|
|
15
|
+
- Guard evaluation engine (rule matching, operator evaluation, first-match-wins semantics)
|
|
16
|
+
- Signal buffer and flush logic
|
|
17
|
+
- Generated TypeScript types derived from `proto/liteguard.proto`
|
|
18
|
+
- HTTP client primitives for guard rule fetching and signal submission
|
|
19
|
+
- Rate limiting state management
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Related packages
|
|
24
|
+
|
|
25
|
+
| Package | Description |
|
|
26
|
+
|---|---|
|
|
27
|
+
| [`@liteguard/liteguard`](https://www.npmjs.com/package/@liteguard/liteguard) | Umbrella package — automatic runtime resolution |
|
|
28
|
+
| [`@liteguard/liteguard-node`](https://www.npmjs.com/package/@liteguard/liteguard-node) | Node.js runtime |
|
|
29
|
+
| [`@liteguard/liteguard-browser`](https://www.npmjs.com/package/@liteguard/liteguard-browser) | Browser runtime |
|
|
30
|
+
| [`@liteguard/liteguard-react`](https://www.npmjs.com/package/@liteguard/liteguard-react) | React bindings |
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
Apache 2.0 — see [LICENSE](https://github.com/liteguard/liteguard/blob/main/LICENSE).
|