@codama/renderers-rust 1.0.5 → 1.0.6

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.
@@ -20,4 +20,10 @@ impl solana_program::program_error::PrintProgramError for {{ program.name | pasc
20
20
  }
21
21
  }
22
22
 
23
+ impl<T> solana_program::decode_error::DecodeError<T> for {{ program.name | pascalCase }}Error {
24
+ fn type_of() -> &'static str {
25
+ "{{ program.name | pascalCase }}Error"
26
+ }
27
+ }
28
+
23
29
  {% endblock %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codama/renderers-rust",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Renders Rust clients for your programs",
5
5
  "exports": {
6
6
  "types": "./dist/types/index.d.ts",