@polymeshassociation/polymesh-sdk 29.1.0-beta.4 → 29.1.0-beta.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.
Files changed (39) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
  4. package/api/entities/CustomPermissionGroup.js +3 -1
  5. package/api/entities/CustomPermissionGroup.js.map +1 -1
  6. package/api/entities/KnownPermissionGroup.d.ts.map +1 -1
  7. package/api/entities/KnownPermissionGroup.js +3 -1
  8. package/api/entities/KnownPermissionGroup.js.map +1 -1
  9. package/api/procedures/createTransactionBatch.d.ts +3 -0
  10. package/api/procedures/createTransactionBatch.d.ts.map +1 -1
  11. package/api/procedures/createTransactionBatch.js +26 -8
  12. package/api/procedures/createTransactionBatch.js.map +1 -1
  13. package/api/procedures/transferPolyx.d.ts.map +1 -1
  14. package/api/procedures/transferPolyx.js +30 -17
  15. package/api/procedures/transferPolyx.js.map +1 -1
  16. package/api/procedures/types.d.ts +113 -64
  17. package/api/procedures/types.d.ts.map +1 -1
  18. package/api/procedures/types.js +98 -57
  19. package/api/procedures/types.js.map +1 -1
  20. package/base/PolymeshTransactionBase.d.ts +8 -0
  21. package/base/PolymeshTransactionBase.d.ts.map +1 -1
  22. package/base/PolymeshTransactionBase.js +10 -2
  23. package/base/PolymeshTransactionBase.js.map +1 -1
  24. package/npm-package/{polymeshassociation-polymesh-sdk-29.1.0-beta.4.tgz → polymeshassociation-polymesh-sdk-29.1.0-beta.6.tgz} +0 -0
  25. package/package.json +1 -1
  26. package/types/index.d.ts +1 -0
  27. package/types/index.d.ts.map +1 -1
  28. package/types/index.js +1 -0
  29. package/types/index.js.map +1 -1
  30. package/types/internal.d.ts +8 -0
  31. package/types/internal.d.ts.map +1 -1
  32. package/types/internal.js.map +1 -1
  33. package/types/txGroupConstants.d.ts +318 -0
  34. package/types/txGroupConstants.d.ts.map +1 -0
  35. package/types/txGroupConstants.js +506 -0
  36. package/types/txGroupConstants.js.map +1 -0
  37. package/utils/conversion.d.ts.map +1 -1
  38. package/utils/conversion.js +1 -87
  39. package/utils/conversion.js.map +1 -1
@@ -691,93 +691,7 @@ function textToString(value) {
691
691
  * Retrieve every Transaction Tag associated to a Transaction Group
692
692
  */
693
693
  function txGroupToTxTags(group) {
694
- switch (group) {
695
- case types_3.TxGroup.PortfolioManagement: {
696
- return [
697
- types_3.TxTags.identity.AddInvestorUniquenessClaim,
698
- types_3.TxTags.portfolio.MovePortfolioFunds,
699
- types_3.TxTags.settlement.AddInstruction,
700
- types_3.TxTags.settlement.AddInstructionWithMemo,
701
- types_3.TxTags.settlement.AddAndAffirmInstruction,
702
- types_3.TxTags.settlement.AddAndAffirmInstructionWithMemo,
703
- types_3.TxTags.settlement.AffirmInstruction,
704
- types_3.TxTags.settlement.RejectInstruction,
705
- types_3.TxTags.settlement.CreateVenue,
706
- ];
707
- }
708
- case types_3.TxGroup.AssetManagement: {
709
- return [
710
- types_3.TxTags.asset.MakeDivisible,
711
- types_3.TxTags.asset.RenameAsset,
712
- types_3.TxTags.asset.SetFundingRound,
713
- types_3.TxTags.asset.AddDocuments,
714
- types_3.TxTags.asset.RemoveDocuments,
715
- ];
716
- }
717
- case types_3.TxGroup.AdvancedAssetManagement: {
718
- return [
719
- types_3.TxTags.asset.Freeze,
720
- types_3.TxTags.asset.Unfreeze,
721
- types_3.TxTags.identity.AddAuthorization,
722
- types_3.TxTags.identity.RemoveAuthorization,
723
- ];
724
- }
725
- case types_3.TxGroup.Distribution: {
726
- return [
727
- types_3.TxTags.identity.AddInvestorUniquenessClaim,
728
- types_3.TxTags.settlement.CreateVenue,
729
- types_3.TxTags.settlement.AddInstruction,
730
- types_3.TxTags.settlement.AddInstructionWithMemo,
731
- types_3.TxTags.settlement.AddAndAffirmInstruction,
732
- types_3.TxTags.settlement.AddAndAffirmInstructionWithMemo,
733
- ];
734
- }
735
- case types_3.TxGroup.Issuance: {
736
- return [types_3.TxTags.asset.Issue];
737
- }
738
- case types_3.TxGroup.TrustedClaimIssuersManagement: {
739
- return [
740
- types_3.TxTags.complianceManager.AddDefaultTrustedClaimIssuer,
741
- types_3.TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer,
742
- ];
743
- }
744
- case types_3.TxGroup.ClaimsManagement: {
745
- return [types_3.TxTags.identity.AddClaim, types_3.TxTags.identity.RevokeClaim];
746
- }
747
- case types_3.TxGroup.ComplianceRequirementsManagement: {
748
- return [
749
- types_3.TxTags.complianceManager.AddComplianceRequirement,
750
- types_3.TxTags.complianceManager.RemoveComplianceRequirement,
751
- types_3.TxTags.complianceManager.PauseAssetCompliance,
752
- types_3.TxTags.complianceManager.ResumeAssetCompliance,
753
- types_3.TxTags.complianceManager.ResetAssetCompliance,
754
- ];
755
- }
756
- case types_3.TxGroup.CorporateActionsManagement: {
757
- return [
758
- types_3.TxTags.checkpoint.CreateSchedule,
759
- types_3.TxTags.checkpoint.RemoveSchedule,
760
- types_3.TxTags.checkpoint.CreateCheckpoint,
761
- types_3.TxTags.corporateAction.InitiateCorporateAction,
762
- types_3.TxTags.capitalDistribution.Distribute,
763
- types_3.TxTags.capitalDistribution.Claim,
764
- types_3.TxTags.identity.AddInvestorUniquenessClaim,
765
- ];
766
- }
767
- case types_3.TxGroup.StoManagement: {
768
- return [
769
- types_3.TxTags.sto.CreateFundraiser,
770
- types_3.TxTags.sto.FreezeFundraiser,
771
- types_3.TxTags.sto.Invest,
772
- types_3.TxTags.sto.ModifyFundraiserWindow,
773
- types_3.TxTags.sto.Stop,
774
- types_3.TxTags.sto.UnfreezeFundraiser,
775
- types_3.TxTags.identity.AddInvestorUniquenessClaim,
776
- types_3.TxTags.asset.Issue,
777
- types_3.TxTags.settlement.CreateVenue,
778
- ];
779
- }
780
- }
694
+ return types_3.TX_GROUP_TO_TAGS_MAP[group];
781
695
  }
782
696
  /**
783
697
  * @hidden