@karibulab/wsdl2tsx 0.27.0 → 0.28.2
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/dist/cli.js +3766 -16095
- package/dist/templates/component.hbs +6 -1
- package/package.json +7 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { soap, ns
|
|
1
|
+
import { soap, ns } from "@karibulab/wsdl2tsx-runtime";
|
|
2
2
|
|
|
3
3
|
{{#each namespaces}}
|
|
4
4
|
const {{@key}} = ns("{{@key}}", [{{tagNamesArray this}}] as const);
|
|
@@ -31,6 +31,11 @@ export interface {{pascalCase responseType}}Props {
|
|
|
31
31
|
{{/if}}
|
|
32
32
|
|
|
33
33
|
export function {{pascalCase requestType}}(props: {{pascalCase requestType}}Props) {
|
|
34
|
+
{{#if unqualifiedTags}}
|
|
35
|
+
{{#each unqualifiedTags}}
|
|
36
|
+
const {{this}} = () => "{{this}}";
|
|
37
|
+
{{/each}}
|
|
38
|
+
{{/if}}
|
|
34
39
|
return <soap.Envelope xmlns:soap="{{soapNamespaceURI}}"
|
|
35
40
|
{{xmlnsAttributes xmlnsAttributes}}>
|
|
36
41
|
<soap.Header>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karibulab/wsdl2tsx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"description": "Generador de código TSX desde archivos WSDL",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "./dist/cli.js",
|
|
@@ -13,15 +13,14 @@
|
|
|
13
13
|
"start": "node dist/cli.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@karibulab/wsdl2tsx-runtime": "0.
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"handlebars": "4.7.8"
|
|
16
|
+
"@karibulab/wsdl2tsx-runtime": "0.28.2",
|
|
17
|
+
"fast-xml-parser": "5.7.1",
|
|
18
|
+
"handlebars": "4.7.9"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|
|
22
|
-
"@types/node": "25.0
|
|
23
|
-
"esbuild": "^0.
|
|
24
|
-
"typescript": "
|
|
21
|
+
"@types/node": "25.6.0",
|
|
22
|
+
"esbuild": "^0.28.0",
|
|
23
|
+
"typescript": "6.0.3"
|
|
25
24
|
},
|
|
26
25
|
"keywords": [
|
|
27
26
|
"wsdl",
|