carbon-js-sdk 0.11.66-beta.21 → 0.11.66-beta.22

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.
@@ -136,7 +136,7 @@ const feegrantAminoProcess = {
136
136
  toAminoProcess: (amino, input, aminoTypesMap) => {
137
137
  const { allowance } = input;
138
138
  console.log('xx input to amino process: ', input);
139
- const innerAllowance = codec_1.registry.decode(allowance);
139
+ const innerAllowance = codec_1.registry.decode(allowance).allowance;
140
140
  const decodedInnerAllowance = codec_1.registry.decode({ typeUrl: innerAllowance.type_url, value: innerAllowance.value });
141
141
  const newInput = Object.assign(Object.assign({}, input), { allowance: aminoTypesMap.toAmino({ typeUrl: allowance.typeUrl, value: Object.assign(Object.assign({}, innerAllowance), { allowance: decodedInnerAllowance }) }) });
142
142
  console.log('xx newInput to amino process: ', newInput);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-js-sdk",
3
- "version": "0.11.66-beta.21",
3
+ "version": "0.11.66-beta.22",
4
4
  "description": "TypeScript SDK for Carbon blockchain",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",