@arrirpc/codegen-kotlin 0.63.1 → 0.63.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -670,7 +670,7 @@ function kotlinMapFromSchema(schema, context) {
670
670
  if (__index != 0) {
671
671
  ${target} += ","
672
672
  }
673
- ${target} += "\\"\${__entry.key}\\":"
673
+ ${target} += "\${buildString { printQuoted(__entry.key) }}:"
674
674
  ${subType.toJson("__entry.value", target)}
675
675
  }
676
676
  ${target} += "}"
@@ -681,7 +681,7 @@ function kotlinMapFromSchema(schema, context) {
681
681
  if (__index != 0) {
682
682
  ${target} += ","
683
683
  }
684
- ${target} += "\\"\${__entry.key}\\":"
684
+ ${target} += "\${buildString { printQuoted(__entry.key) }}:"
685
685
  ${subType.toJson("__entry.value", target)}
686
686
  }
687
687
  ${target} += "}"`;
package/dist/index.mjs CHANGED
@@ -664,7 +664,7 @@ function kotlinMapFromSchema(schema, context) {
664
664
  if (__index != 0) {
665
665
  ${target} += ","
666
666
  }
667
- ${target} += "\\"\${__entry.key}\\":"
667
+ ${target} += "\${buildString { printQuoted(__entry.key) }}:"
668
668
  ${subType.toJson("__entry.value", target)}
669
669
  }
670
670
  ${target} += "}"
@@ -675,7 +675,7 @@ function kotlinMapFromSchema(schema, context) {
675
675
  if (__index != 0) {
676
676
  ${target} += ","
677
677
  }
678
- ${target} += "\\"\${__entry.key}\\":"
678
+ ${target} += "\${buildString { printQuoted(__entry.key) }}:"
679
679
  ${subType.toJson("__entry.value", target)}
680
680
  }
681
681
  ${target} += "}"`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-kotlin",
3
- "version": "0.63.1",
3
+ "version": "0.63.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -22,6 +22,6 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@arrirpc/codegen-utils": "0.63.1"
25
+ "@arrirpc/codegen-utils": "0.63.2"
26
26
  }
27
27
  }