@acala-network/chopsticks 0.9.5-3 → 0.9.5-4

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.
@@ -102,8 +102,8 @@ const getZodType = (option)=>{
102
102
  default:
103
103
  break;
104
104
  }
105
- if (option._def.innerType) {
106
- return getZodType(option._def.innerType);
105
+ if (option._def.innerType ?? option._def.left) {
106
+ return getZodType(option._def.innerType ?? option._def.left);
107
107
  }
108
108
  return undefined;
109
109
  };
@@ -70,8 +70,8 @@ const getZodType = (option)=>{
70
70
  default:
71
71
  break;
72
72
  }
73
- if (option._def.innerType) {
74
- return getZodType(option._def.innerType);
73
+ if (option._def.innerType ?? option._def.left) {
74
+ return getZodType(option._def.innerType ?? option._def.left);
75
75
  }
76
76
  return undefined;
77
77
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks",
3
- "version": "0.9.5-3",
3
+ "version": "0.9.5-4",
4
4
  "author": "Acala Developers <hello@acala.network>",
5
5
  "license": "Apache-2.0",
6
6
  "bin": "./chopsticks.cjs",
@@ -13,8 +13,8 @@
13
13
  "docs:prep": "typedoc"
14
14
  },
15
15
  "dependencies": {
16
- "@acala-network/chopsticks-core": "0.9.5-3",
17
- "@acala-network/chopsticks-db": "0.9.5-3",
16
+ "@acala-network/chopsticks-core": "0.9.5-4",
17
+ "@acala-network/chopsticks-db": "0.9.5-4",
18
18
  "@pnpm/npm-conf": "^2.2.2",
19
19
  "@polkadot/api-augment": "^10.10.1",
20
20
  "@polkadot/types": "^10.10.1",