@codama/renderers-js 1.2.10 → 1.2.11

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.
@@ -14,7 +14,7 @@ let {{ programErrorMessagesMap }}: Record<{{ programErrorUnion }}, string> | und
14
14
  if (process.env.NODE_ENV !== 'production') {
15
15
  {{ programErrorMessagesMap }} = {
16
16
  {% for error in errors | sort(false, false, 'name') %}
17
- [{{ getProgramErrorConstant(error.name) }}]: `{{ error.message }}`,
17
+ [{{ getProgramErrorConstant(error.name) }}]: `{{ escapeProgramErrorMessage(error.message) }}`,
18
18
  {% endfor %}
19
19
  };
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"programErrors.d.ts","sourceRoot":"","sources":["../../../src/fragments/programErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,wBAAwB,CACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,WAAW,EAAE,WAAW,CAAC;CAC5B,GACF,QAAQ,CAiBV"}
1
+ {"version":3,"file":"programErrors.d.ts","sourceRoot":"","sources":["../../../src/fragments/programErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,wBAAwB,CACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,WAAW,EAAE,WAAW,CAAC;CAC5B,GACF,QAAQ,CAkBV"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codama/renderers-js",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "JavaScript renderer compatible with the Solana Kit library",
5
5
  "exports": {
6
6
  "types": "./dist/types/index.d.ts",
@@ -31,11 +31,11 @@
31
31
  "@solana/codecs-strings": "rc",
32
32
  "nunjucks": "^3.2.4",
33
33
  "prettier": "^3.5.3",
34
- "@codama/errors": "1.2.11",
35
- "@codama/nodes": "1.2.11",
36
- "@codama/nodes-from-anchor": "1.1.11",
37
- "@codama/renderers-core": "1.0.13",
38
- "@codama/visitors-core": "1.2.11"
34
+ "@codama/errors": "1.2.12",
35
+ "@codama/nodes": "1.2.12",
36
+ "@codama/nodes-from-anchor": "1.1.12",
37
+ "@codama/renderers-core": "1.0.14",
38
+ "@codama/visitors-core": "1.2.12"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/nunjucks": "^3.2.6"