@arrirpc/codegen-dart 0.65.1 → 0.66.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/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
@@ -1085,7 +1085,8 @@ function dartRefFromSchema(schema, context) {
|
|
1085
1085
|
const dartClientGenerator = codegenUtils.defineGeneratorPlugin(
|
1086
1086
|
(options) => {
|
1087
1087
|
return {
|
1088
|
-
|
1088
|
+
options,
|
1089
|
+
async run(def) {
|
1089
1090
|
if (!options.outputFile) {
|
1090
1091
|
throw new Error(
|
1091
1092
|
'Missing "outputFile" cannot generate dart code'
|
@@ -1101,8 +1102,7 @@ const dartClientGenerator = codegenUtils.defineGeneratorPlugin(
|
|
1101
1102
|
} catch (err) {
|
1102
1103
|
console.error(err);
|
1103
1104
|
}
|
1104
|
-
}
|
1105
|
-
options
|
1105
|
+
}
|
1106
1106
|
};
|
1107
1107
|
}
|
1108
1108
|
);
|
package/dist/index.mjs
CHANGED
@@ -1078,7 +1078,8 @@ function dartRefFromSchema(schema, context) {
|
|
1078
1078
|
const dartClientGenerator = defineGeneratorPlugin(
|
1079
1079
|
(options) => {
|
1080
1080
|
return {
|
1081
|
-
|
1081
|
+
options,
|
1082
|
+
async run(def) {
|
1082
1083
|
if (!options.outputFile) {
|
1083
1084
|
throw new Error(
|
1084
1085
|
'Missing "outputFile" cannot generate dart code'
|
@@ -1094,8 +1095,7 @@ const dartClientGenerator = defineGeneratorPlugin(
|
|
1094
1095
|
} catch (err) {
|
1095
1096
|
console.error(err);
|
1096
1097
|
}
|
1097
|
-
}
|
1098
|
-
options
|
1098
|
+
}
|
1099
1099
|
};
|
1100
1100
|
}
|
1101
1101
|
);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arrirpc/codegen-dart",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.66.0",
|
4
4
|
"type": "module",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": {
|
@@ -23,6 +23,6 @@
|
|
23
23
|
],
|
24
24
|
"dependencies": {
|
25
25
|
"pathe": "^1.1.2",
|
26
|
-
"@arrirpc/codegen-utils": "0.
|
26
|
+
"@arrirpc/codegen-utils": "0.66.0"
|
27
27
|
}
|
28
28
|
}
|