@aloma.io/integration-sdk 3.7.30 → 3.7.32

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.
@@ -24,6 +24,8 @@ const transform = (meta) => {
24
24
  const docs = sig.getJSDoc().serialize() || [];
25
25
  const desc = docs.find((what) => what.kind === "description")?.value;
26
26
  const example = docs.find((what) => what.kind === "example")?.value;
27
+ const ns = docs.find((what) => what.kind === 'namespace')?.value;
28
+ let space = ns ? `@namespace ${ns}` : '';
27
29
  let eg;
28
30
  if (example) {
29
31
  const parts = example.split(/```/);
@@ -61,6 +63,7 @@ const transform = (meta) => {
61
63
  /**
62
64
  * ${desc || ""}
63
65
  *
66
+ * ${space || ''}
64
67
  * ${eg || ""}
65
68
  **/
66
69
  declare function ${member.getName()}(${params}): ${retVal};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.7.30",
3
+ "version": "3.7.32",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -36,6 +36,9 @@ const transform = (meta: any) => {
36
36
  const example = docs.find(
37
37
  (what: any) => what.kind === "example",
38
38
  )?.value;
39
+
40
+ const ns = docs.find((what: any) => what.kind === 'namespace')?.value;
41
+ let space = ns?`@namespace ${ns}`:''
39
42
 
40
43
  let eg;
41
44
  if (example) {
@@ -91,6 +94,7 @@ const transform = (meta: any) => {
91
94
  /**
92
95
  * ${desc || ""}
93
96
  *
97
+ * ${space || ''}
94
98
  * ${eg || ""}
95
99
  **/
96
100
  declare function ${member.getName()}(${params}): ${retVal};