@tdacorp/hyle-sdk 0.9.0 → 0.11.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/README.md +80 -2
- package/bin/hyle-sdk-engage-keygen.mjs +3 -0
- package/dist/check-routes-bin.js +5 -1
- package/dist/{chunk-54JF4E53.js → chunk-N7ZQUAGM.js} +45 -2
- package/dist/chunk-R5EMI4HQ.js +61 -0
- package/dist/{chunk-6LW33475.js → chunk-S3LT6G4M.js} +536 -50
- package/dist/{chunk-XKR74Y5G.js → chunk-S7PCCEHP.js} +1 -1
- package/dist/comments.cjs +1048 -0
- package/dist/comments.d.cts +152 -0
- package/dist/comments.d.ts +152 -0
- package/dist/comments.js +1025 -0
- package/dist/{types-C1eCQ2As.d.ts → embed-BC8Tlc6A.d.cts} +44 -3
- package/dist/{types-BPPZrYOZ.d.cts → embed-CwSzvBUO.d.ts} +44 -3
- package/dist/engage-keygen-bin.js +67 -0
- package/dist/index.cjs +26 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +5 -1
- package/dist/mermaid-diagram.js +9 -54
- package/dist/next.cjs +940 -58
- package/dist/next.d.cts +149 -6
- package/dist/next.d.ts +149 -6
- package/dist/next.js +390 -11
- package/dist/react.cjs +339 -49
- package/dist/react.d.cts +112 -7
- package/dist/react.d.ts +112 -7
- package/dist/react.js +7 -1
- package/dist/{resolve-Dpb6Orsj.d.ts → resolve-BYL8jMg0.d.ts} +1 -1
- package/dist/{resolve-D2rnnho9.d.cts → resolve-Ra8-y2U-.d.cts} +1 -1
- package/dist/styles.css +117 -0
- package/dist/{types-CHxH5E0S.d.cts → types-C72FwzOd.d.cts} +57 -1
- package/dist/{types-CHxH5E0S.d.ts → types-C72FwzOd.d.ts} +57 -1
- package/dist/use-cache.cjs +5 -1
- package/dist/use-cache.d.cts +2 -2
- package/dist/use-cache.d.ts +2 -2
- package/dist/use-cache.js +2 -2
- package/package.json +4 -3
package/dist/use-cache.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HyleResolver } from './resolve-
|
|
2
|
-
import './types-
|
|
1
|
+
import { H as HyleResolver } from './resolve-Ra8-y2U-.cjs';
|
|
2
|
+
import './types-C72FwzOd.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The exact caching strategy: a `'use cache'` function that fetches, then tags its own entry with the tags the response
|
package/dist/use-cache.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HyleResolver } from './resolve-
|
|
2
|
-
import './types-
|
|
1
|
+
import { H as HyleResolver } from './resolve-BYL8jMg0.js';
|
|
2
|
+
import './types-C72FwzOd.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The exact caching strategy: a `'use cache'` function that fetches, then tags its own entry with the tags the response
|
package/dist/use-cache.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_REVALIDATE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S7PCCEHP.js";
|
|
4
4
|
import {
|
|
5
5
|
createHyleClient,
|
|
6
6
|
isValidCacheTag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N7ZQUAGM.js";
|
|
8
8
|
import "./chunk-67IOIAVW.js";
|
|
9
9
|
|
|
10
10
|
// src/next/use-cache.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tdacorp/hyle-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "hyle SDK: a typed client for hyle's resolve endpoint, a hast renderer for React, and a Next.js catch-all page with tag-based revalidation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"./package.json": "./package.json"
|
|
65
65
|
},
|
|
66
66
|
"bin": {
|
|
67
|
-
"hyle-sdk-check-routes": "./bin/hyle-sdk-check-routes.mjs"
|
|
67
|
+
"hyle-sdk-check-routes": "./bin/hyle-sdk-check-routes.mjs",
|
|
68
|
+
"hyle-sdk-engage-keygen": "./bin/hyle-sdk-engage-keygen.mjs"
|
|
68
69
|
},
|
|
69
70
|
"main": "./dist/index.cjs",
|
|
70
71
|
"module": "./dist/index.js",
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
"tsup": "^8.5.1",
|
|
102
103
|
"typescript": "^5.9.3",
|
|
103
104
|
"vitest": "^4.1.10",
|
|
104
|
-
"@hyle/renderer": "0.
|
|
105
|
+
"@hyle/renderer": "0.3.0"
|
|
105
106
|
},
|
|
106
107
|
"keywords": [
|
|
107
108
|
"hyle",
|