Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "persistenceonejs",
"version": "2.3.0-rc1",
"version": "2.3.0-rc2",
"description": "Client side JS libraries for persistenceSDK transaction generation, signing and broadcasting.",
"main": "main/index.js",
"module": "module/index.js",
Expand Down
13 changes: 12 additions & 1 deletion scripts/telescope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,18 @@ telescope({
includeCosmosDefaultTypes: false
},
aminoEncoding: {
enabled: true
enabled: true,
exceptions: {
"/cosmos.staking.v1beta1.MsgTransferTokenizeShareRecord": {
aminoType: "cosmos-sdk/MsgTransferTokenizeRecord"
},
"/cosmos.distribution.v1beta1.MsgWithdrawTokenizeShareRecordReward": {
aminoType: "cosmos-sdk/MsgWithdrawTokenizeReward"
},
"/cosmos.distribution.v1beta1.MsgWithdrawAllTokenizeShareRecordReward": {
aminoType: "cosmos-sdk/MsgWithdrawAllTokenizeReward"
}
}
}
}
}).then(() => {
Expand Down
8 changes: 4 additions & 4 deletions src/cosmos/distribution/v1beta1/tx.amino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ export interface MsgCommunityPoolSpendAminoType extends AminoMsg {
};
}
export interface MsgWithdrawTokenizeShareRecordRewardAminoType extends AminoMsg {
type: "cosmos-sdk/MsgWithdrawTokenizeShareRecordReward";
type: "cosmos-sdk/MsgWithdrawTokenizeReward";
value: {
owner_address: string;
record_id: string;
};
}
export interface MsgWithdrawAllTokenizeShareRecordRewardAminoType extends AminoMsg {
type: "cosmos-sdk/MsgWithdrawAllTokenizeShareRecordReward";
type: "cosmos-sdk/MsgWithdrawAllTokenizeReward";
value: {
owner_address: string;
};
Expand Down Expand Up @@ -214,7 +214,7 @@ export const AminoConverter = {
},
},
"/cosmos.distribution.v1beta1.MsgWithdrawTokenizeShareRecordReward": {
aminoType: "cosmos-sdk/MsgWithdrawTokenizeShareRecordReward",
aminoType: "cosmos-sdk/MsgWithdrawTokenizeReward",
toAmino: ({
ownerAddress,
recordId,
Expand All @@ -235,7 +235,7 @@ export const AminoConverter = {
},
},
"/cosmos.distribution.v1beta1.MsgWithdrawAllTokenizeShareRecordReward": {
aminoType: "cosmos-sdk/MsgWithdrawAllTokenizeShareRecordReward",
aminoType: "cosmos-sdk/MsgWithdrawAllTokenizeReward",
toAmino: ({
ownerAddress,
}: MsgWithdrawAllTokenizeShareRecordReward): MsgWithdrawAllTokenizeShareRecordRewardAminoType["value"] => {
Expand Down
4 changes: 2 additions & 2 deletions src/cosmos/staking/v1beta1/tx.amino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export interface MsgRedeemTokensForSharesAminoType extends AminoMsg {
};
}
export interface MsgTransferTokenizeShareRecordAminoType extends AminoMsg {
type: "cosmos-sdk/MsgTransferTokenizeShareRecord";
type: "cosmos-sdk/MsgTransferTokenizeRecord";
value: {
tokenize_share_record_id: string;
sender: string;
Expand Down Expand Up @@ -530,7 +530,7 @@ export const AminoConverter = {
},
},
"/cosmos.staking.v1beta1.MsgTransferTokenizeShareRecord": {
aminoType: "cosmos-sdk/MsgTransferTokenizeShareRecord",
aminoType: "cosmos-sdk/MsgTransferTokenizeRecord",
toAmino: ({
tokenizeShareRecordId,
sender,
Expand Down