@arrirpc/codegen-ts 0.63.0 → 0.63.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/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -824,7 +824,7 @@ function tsRecordFromSchema(schema, context) {
|
|
|
824
824
|
if (${countVal} !== 0) {
|
|
825
825
|
${target} += ',';
|
|
826
826
|
}
|
|
827
|
-
${target} +=
|
|
827
|
+
${target} += \`\${serializeString(_key)}:\`;
|
|
828
828
|
${innerType.toJsonTemplate("_value", target, "_key")}
|
|
829
829
|
${countVal}++;
|
|
830
830
|
}
|
|
@@ -839,7 +839,7 @@ function tsRecordFromSchema(schema, context) {
|
|
|
839
839
|
if (${countVal} !== 0) {
|
|
840
840
|
${target} += ',';
|
|
841
841
|
}
|
|
842
|
-
${target} +=
|
|
842
|
+
${target} += \`\${serializeString(_key)}:\`;
|
|
843
843
|
${innerType.toJsonTemplate("_value", target, "_key")};
|
|
844
844
|
${countVal}++;
|
|
845
845
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -818,7 +818,7 @@ function tsRecordFromSchema(schema, context) {
|
|
|
818
818
|
if (${countVal} !== 0) {
|
|
819
819
|
${target} += ',';
|
|
820
820
|
}
|
|
821
|
-
${target} +=
|
|
821
|
+
${target} += \`\${serializeString(_key)}:\`;
|
|
822
822
|
${innerType.toJsonTemplate("_value", target, "_key")}
|
|
823
823
|
${countVal}++;
|
|
824
824
|
}
|
|
@@ -833,7 +833,7 @@ function tsRecordFromSchema(schema, context) {
|
|
|
833
833
|
if (${countVal} !== 0) {
|
|
834
834
|
${target} += ',';
|
|
835
835
|
}
|
|
836
|
-
${target} +=
|
|
836
|
+
${target} += \`\${serializeString(_key)}:\`;
|
|
837
837
|
${innerType.toJsonTemplate("_value", target, "_key")};
|
|
838
838
|
${countVal}++;
|
|
839
839
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arrirpc/codegen-ts",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"prettier": "^3.3.3",
|
|
26
|
-
"@arrirpc/codegen-utils": "0.63.
|
|
26
|
+
"@arrirpc/codegen-utils": "0.63.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {}
|
|
29
29
|
}
|