@stellar-expert/contract-wasm-interface-parser 1.0.0 → 1.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar-expert/contract-wasm-interface-parser",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Contract interface metadata parser for binary WASM",
5
5
  "main": "index.js",
6
6
  "module": "./index.js",
@@ -95,7 +95,7 @@ function parseParameterType(type) {
95
95
  const typeName = type.switch().name
96
96
  switch (typeName) {
97
97
  case 'scSpecTypeOption':
98
- return `option<${parseParameterType(type.valueType())}>`
98
+ return `option<${parseParameterType(type.value().valueType())}>`
99
99
  case 'scSpecTypeBytesN':
100
100
  return `bytesn<${type.value().n()}>`
101
101
  case 'scSpecTypeVec':