pshenmic-dpp 2.0.0-dev.2 → 2.0.0-dev.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.
Files changed (90) hide show
  1. package/dist/binaries/bindingsTypes.d.ts +5 -4
  2. package/dist/binaries/bindingsTypes.js +3 -3
  3. package/dist/binaries/pshenmic_dpp.android.node/x86_64/libpshenmic_dpp.so +0 -0
  4. package/dist/binaries/wasm/wasmBytes.js +1 -1
  5. package/dist/src/dpp/structs/Address/PlatformAddress.js +1 -1
  6. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.js +1 -1
  7. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.js +2 -2
  8. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.js +2 -2
  9. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.js +1 -1
  10. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.js +1 -1
  11. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.js +1 -1
  12. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.js +1 -1
  13. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.js +1 -1
  14. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.js +1 -1
  15. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.js +1 -1
  16. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.js +1 -1
  17. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.js +1 -1
  18. package/dist/src/dpp/structs/AssetLockProof/OutPoint.js +1 -1
  19. package/dist/src/dpp/structs/AssetLockProof/Transaction.js +1 -1
  20. package/dist/src/dpp/structs/AssetLockProof/TxIn.js +1 -1
  21. package/dist/src/dpp/structs/AssetLockProof/TxOut.js +1 -1
  22. package/dist/src/dpp/structs/AssetLockProof/Witness.js +1 -1
  23. package/dist/src/dpp/structs/Batch/BatchTransition.js +1 -1
  24. package/dist/src/dpp/structs/Batch/BatchedTransition.js +1 -1
  25. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.js +1 -1
  26. package/dist/src/dpp/structs/Batch/DocumentTransition.d.ts +1 -0
  27. package/dist/src/dpp/structs/Batch/DocumentTransition.js +4 -1
  28. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.js +1 -1
  29. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.js +1 -1
  30. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.js +1 -1
  31. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.js +1 -1
  32. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.js +1 -1
  33. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.js +1 -1
  34. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.js +1 -1
  35. package/dist/src/dpp/structs/Batch/TokenBaseTransition.js +1 -1
  36. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.js +1 -1
  37. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.js +1 -1
  38. package/dist/src/dpp/structs/Batch/TokenTransition.d.ts +1 -0
  39. package/dist/src/dpp/structs/Batch/TokenTransition.js +4 -1
  40. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.js +1 -1
  41. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.js +1 -1
  42. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.js +1 -1
  43. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.js +1 -1
  44. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.js +1 -1
  45. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.js +1 -1
  46. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.js +1 -1
  47. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.js +1 -1
  48. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.js +1 -1
  49. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.d.ts +3 -0
  50. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.js +8 -1
  51. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.js +1 -1
  52. package/dist/src/dpp/structs/ContractBounds.js +1 -1
  53. package/dist/src/dpp/structs/CoreScript.js +1 -1
  54. package/dist/src/dpp/structs/DataContract.d.ts +2 -0
  55. package/dist/src/dpp/structs/DataContract.js +7 -1
  56. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.js +1 -1
  57. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.js +1 -1
  58. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.js +1 -1
  59. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.js +1 -1
  60. package/dist/src/dpp/structs/GroupStateTransitionInfo.js +1 -1
  61. package/dist/src/dpp/structs/Identifier.js +1 -1
  62. package/dist/src/dpp/structs/Identity.js +1 -1
  63. package/dist/src/dpp/structs/IdentityPublicKey.js +1 -1
  64. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.js +1 -1
  65. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.js +1 -1
  66. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.js +1 -1
  67. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.js +1 -1
  68. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.js +1 -1
  69. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.js +1 -1
  70. package/dist/src/dpp/structs/InstantLock.js +1 -1
  71. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.js +1 -1
  72. package/dist/src/dpp/structs/MasternodeVote/Vote.js +1 -1
  73. package/dist/src/dpp/structs/MasternodeVote/VotePoll.d.ts +1 -1
  74. package/dist/src/dpp/structs/MasternodeVote/VotePoll.js +3 -3
  75. package/dist/src/dpp/structs/PartialIdentity.js +1 -1
  76. package/dist/src/dpp/structs/PrivateKey.js +1 -1
  77. package/dist/src/dpp/structs/PublicKey.js +1 -1
  78. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.js +1 -1
  79. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.js +1 -1
  80. package/dist/src/dpp/structs/TokenConfiguration/Group.js +1 -1
  81. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.js +1 -1
  82. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.js +1 -1
  83. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.js +1 -1
  84. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.js +1 -1
  85. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.js +1 -1
  86. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.js +1 -1
  87. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.js +1 -1
  88. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.js +1 -1
  89. package/package.json +1 -1
  90. package/tests/unit/DynamicValue.spec.ts +27 -0
@@ -451,6 +451,7 @@ export declare class DynamicValue {
451
451
  get value(): any;
452
452
  set value(value: any);
453
453
  isBigInt(): boolean;
454
+ getType(): string;
454
455
  }
455
456
  export declare class EpochBasedDistributionNAPI {
456
457
  interval: number;
@@ -1484,7 +1485,7 @@ export declare class VotePollNAPI {
1484
1485
  get contractId(): IdentifierNAPI;
1485
1486
  get documentTypeName(): string;
1486
1487
  get indexName(): string;
1487
- get indexValues(): Array<DynamicValue>;
1488
+ get indexValues(): Array<string>;
1488
1489
  set contractId(jsContractId: IdentifierLikeNAPI);
1489
1490
  set documentTypeName(documentTypeName: string);
1490
1491
  set indexName(indexName: string);
@@ -1694,7 +1695,7 @@ export declare function verifyTokenTotalSupplyProof(proof: Uint8Array, jsTokenId
1694
1695
  export declare function verifyTotalCreditsProof(proof: Uint8Array, coreSubsidyHalvingInterval: number, activationCoreHeight: number, currentCoreHeight: number, jsPlatformVersion: DynamicValue): VerifiedTotalCreditsNAPI;
1695
1696
  export declare function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractNAPI, documentTypeName: string, indexName: string, jsIndexValues: Array<Uint8Array>, jsResultType: DynamicValue, allowIncludeLockedAndAbstainingVoteTally: boolean, count: number | undefined | null, jsStartAt: DynamicValue, jsPlatformVersion: DynamicValue): VerifiedVoteStateNAPI;
1696
1697
  export declare const enum VoteStateResultTypeNAPI {
1697
- Documents = 0,
1698
- VoteTally = 1,
1699
- DocumentsAndVoteTally = 2
1698
+ DOCUMENTS = 0,
1699
+ VOTE_TALLY = 1,
1700
+ DOCUMENTS_AND_VOTE_TALLY = 2
1700
1701
  }
@@ -93,7 +93,7 @@ export var TokenEmergencyActionNAPI;
93
93
  })(TokenEmergencyActionNAPI || (TokenEmergencyActionNAPI = {}));
94
94
  export var VoteStateResultTypeNAPI;
95
95
  (function (VoteStateResultTypeNAPI) {
96
- VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["Documents"] = 0] = "Documents";
97
- VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["VoteTally"] = 1] = "VoteTally";
98
- VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["DocumentsAndVoteTally"] = 2] = "DocumentsAndVoteTally";
96
+ VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["DOCUMENTS"] = 0] = "DOCUMENTS";
97
+ VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["VOTE_TALLY"] = 1] = "VOTE_TALLY";
98
+ VoteStateResultTypeNAPI[VoteStateResultTypeNAPI["DOCUMENTS_AND_VOTE_TALLY"] = 2] = "DOCUMENTS_AND_VOTE_TALLY";
99
99
  })(VoteStateResultTypeNAPI || (VoteStateResultTypeNAPI = {}));