sendscript 2.3.8 → 2.3.9

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 CHANGED
@@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v2.3.9](https://github.com/bas080/sendscript/compare/v2.3.8...v2.3.9)
8
+
9
+ - Remove schema description from reference and schema shape [`7126829`](https://github.com/bas080/sendscript/commit/7126829b5968588d7c9377ee643b88465f3fe16e)
10
+
7
11
  #### [v2.3.8](https://github.com/bas080/sendscript/compare/v2.3.7...v2.3.8)
8
12
 
13
+ > 14 April 2026
14
+
9
15
  - Move typedoc dep to dev deps [`a084b1d`](https://github.com/bas080/sendscript/commit/a084b1dad2f76ceb3b79fac390210f1ccfa368f8)
10
16
 
11
17
  #### [v2.3.7](https://github.com/bas080/sendscript/compare/v2.3.6...v2.3.7)
package/README.md CHANGED
@@ -157,15 +157,10 @@ Returns **(any | [Promise](https://developer.mozilla.org/docs/Web/JavaScript/Ref
157
157
 
158
158
  Builds a nested API structure from a schema definition.
159
159
 
160
- Schema supports:
161
-
162
- * string => leaf function node
163
- * \[name, children] => namespace with nested schema
164
-
165
160
  #### Parameters
166
161
 
167
162
  * `schema` **[Schema](#schema)** 
168
- * `parentPath` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** (optional, default `[]`)
163
+ * `parentPath` (optional, default `[]`)
169
164
 
170
165
  <!---->
171
166
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **add**(`a`, `b`): `number`
10
10
 
11
- Defined in: [math.ts:1](https://github.com/bas080/sendscript/blob/a084b1dad2f76ceb3b79fac390210f1ccfa368f8/example/typescript/math.ts#L1)
11
+ Defined in: [math.ts:1](https://github.com/bas080/sendscript/blob/7126829b5968588d7c9377ee643b88465f3fe16e/example/typescript/math.ts#L1)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **square**(`a`): `number`
10
10
 
11
- Defined in: [math.ts:2](https://github.com/bas080/sendscript/blob/a084b1dad2f76ceb3b79fac390210f1ccfa368f8/example/typescript/math.ts#L2)
11
+ Defined in: [math.ts:2](https://github.com/bas080/sendscript/blob/7126829b5968588d7c9377ee643b88465f3fe16e/example/typescript/math.ts#L2)
12
12
 
13
13
  ## Parameters
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sendscript",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "description": "Blur the line between server and client code.",
5
5
  "module": true,
6
6
  "main": "index.mjs",
package/references.mjs CHANGED
@@ -100,12 +100,7 @@ function instrument (path) {
100
100
  /**
101
101
  * Builds a nested API structure from a schema definition.
102
102
  *
103
- * Schema supports:
104
- * - string => leaf function node
105
- * - [name, children] => namespace with nested schema
106
- *
107
103
  * @param {Schema} schema
108
- * @param {Array<string>} [parentPath=[]]
109
104
  * @returns {Object} Nested instrumented API object
110
105
  *
111
106
  * @throws {Error} If schema format is invalid