pshenmic-dpp 2.0.0-dev.1 → 2.0.0-dev.2

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 (116) hide show
  1. package/dist/binaries/bindingsTypes.d.ts +6 -2
  2. package/dist/binaries/bindingsTypes.js +1 -0
  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/enums.d.ts +1 -1
  6. package/dist/src/dpp/enums.js +1 -1
  7. package/dist/src/dpp/structs/Address/AddressWitness.d.ts +1 -1
  8. package/dist/src/dpp/structs/Address/PlatformAddress.d.ts +1 -1
  9. package/dist/src/dpp/structs/AddressTransitions/AddressCreditWithdrawalTransition.d.ts +1 -1
  10. package/dist/src/dpp/structs/AddressTransitions/AddressFundingFromAssetLockTransition.d.ts +1 -1
  11. package/dist/src/dpp/structs/AddressTransitions/AddressFundsTransferTransition.d.ts +1 -1
  12. package/dist/src/dpp/structs/AddressTransitions/IdentityCreateFromAddressesTransition.d.ts +1 -1
  13. package/dist/src/dpp/structs/AddressTransitions/IdentityCreditTransferToAddressesTransition.d.ts +1 -1
  14. package/dist/src/dpp/structs/AddressTransitions/IdentityTopUpFromAddressesTransition.d.ts +1 -1
  15. package/dist/src/dpp/structs/AddressTransitions/entities/AddressFundsFeeStrategyStep.d.ts +1 -1
  16. package/dist/src/dpp/structs/AddressTransitions/entities/InputAddress.d.ts +1 -1
  17. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddress.d.ts +1 -1
  18. package/dist/src/dpp/structs/AddressTransitions/entities/OutputAddressNullableCredits.d.ts +1 -1
  19. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.d.ts +1 -1
  20. package/dist/src/dpp/structs/AssetLockProof/AssetLockProof.js +1 -2
  21. package/dist/src/dpp/structs/AssetLockProof/ChainAssetLockProof.d.ts +1 -1
  22. package/dist/src/dpp/structs/AssetLockProof/InstantAssetLockProof.d.ts +1 -1
  23. package/dist/src/dpp/structs/AssetLockProof/OutPoint.d.ts +1 -1
  24. package/dist/src/dpp/structs/AssetLockProof/Transaction.d.ts +1 -1
  25. package/dist/src/dpp/structs/AssetLockProof/TxIn.d.ts +1 -1
  26. package/dist/src/dpp/structs/AssetLockProof/TxOut.d.ts +1 -1
  27. package/dist/src/dpp/structs/AssetLockProof/Witness.d.ts +1 -1
  28. package/dist/src/dpp/structs/Batch/BatchTransition.d.ts +1 -1
  29. package/dist/src/dpp/structs/Batch/BatchedTransition.d.ts +3 -2
  30. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.d.ts +3 -3
  31. package/dist/src/dpp/structs/Batch/DocumentBaseTransition.js +2 -2
  32. package/dist/src/dpp/structs/Batch/DocumentTransition.d.ts +1 -1
  33. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentCreateTransition.d.ts +1 -1
  34. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentDeleteTransition.d.ts +1 -1
  35. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentPurchaseTransition.d.ts +1 -1
  36. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentReplaceTransition.d.ts +1 -1
  37. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentTransferTransition.d.ts +1 -1
  38. package/dist/src/dpp/structs/Batch/DocumentTransitions/DocumentUpdatePriceTransition.d.ts +1 -1
  39. package/dist/src/dpp/structs/Batch/PrefundedVotingBalance.d.ts +1 -1
  40. package/dist/src/dpp/structs/Batch/TokenBaseTransition.d.ts +1 -1
  41. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.d.ts +2 -2
  42. package/dist/src/dpp/structs/Batch/TokenPaymentInfo.js +1 -1
  43. package/dist/src/dpp/structs/Batch/TokenPricingSchedule.d.ts +1 -1
  44. package/dist/src/dpp/structs/Batch/TokenTransition.d.ts +2 -2
  45. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenBurnTransition.d.ts +1 -1
  46. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenClaimTransition.d.ts +1 -1
  47. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenConfigUpdateTransition.d.ts +1 -1
  48. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDestroyFrozenFundsTransition.d.ts +1 -1
  49. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenDirectPurchaseTransition.d.ts +1 -1
  50. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenEmergencyActionTransition.d.ts +1 -1
  51. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenFreezeTransition.d.ts +1 -1
  52. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.d.ts +2 -2
  53. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenMintTransition.js +1 -1
  54. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenSetPriceForDirectPurchaseTransition.d.ts +1 -1
  55. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenTransferTransition.d.ts +1 -1
  56. package/dist/src/dpp/structs/Batch/TokenTransitions/TokenUnFreezeTransition.d.ts +1 -1
  57. package/dist/src/dpp/structs/ConsensusError.d.ts +2 -2
  58. package/dist/src/dpp/structs/ConsensusError.js +1 -1
  59. package/dist/src/dpp/structs/ContractBounds.d.ts +1 -1
  60. package/dist/src/dpp/structs/CoreScript.d.ts +1 -1
  61. package/dist/src/dpp/structs/DataContract.d.ts +3 -2
  62. package/dist/src/dpp/structs/DataContract.js +4 -1
  63. package/dist/src/dpp/structs/DataContractTransitions/DataContractCreateTransition.d.ts +1 -1
  64. package/dist/src/dpp/structs/DataContractTransitions/DataContractUpdateTransition.d.ts +1 -1
  65. package/dist/src/dpp/structs/Document.d.ts +2 -2
  66. package/dist/src/dpp/structs/Document.js +2 -2
  67. package/dist/src/dpp/structs/EncryptedNote/PrivateEncryptedNote.d.ts +1 -1
  68. package/dist/src/dpp/structs/EncryptedNote/SharedEncryptedNote.d.ts +1 -1
  69. package/dist/src/dpp/structs/GroupStateTransitionInfo.d.ts +1 -1
  70. package/dist/src/dpp/structs/Identifier.d.ts +1 -1
  71. package/dist/src/dpp/structs/Identity.d.ts +1 -1
  72. package/dist/src/dpp/structs/IdentityPublicKey.d.ts +1 -1
  73. package/dist/src/dpp/structs/IdentityPublicKeyInCreation.d.ts +1 -1
  74. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreateTransition.d.ts +1 -1
  75. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditTransfer.d.ts +1 -1
  76. package/dist/src/dpp/structs/IdentityTransitions/IdentityCreditWithdrawalTransition.d.ts +2 -2
  77. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.d.ts +2 -2
  78. package/dist/src/dpp/structs/IdentityTransitions/IdentityTopUpTransition.js +1 -1
  79. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.d.ts +2 -2
  80. package/dist/src/dpp/structs/IdentityTransitions/IdentityUpdateTransition.js +1 -1
  81. package/dist/src/dpp/structs/InstantLock.d.ts +1 -1
  82. package/dist/src/dpp/structs/MasternodeVote/MasternodeVoteTransition.d.ts +1 -1
  83. package/dist/src/dpp/structs/MasternodeVote/ResourceVoteChoice.d.ts +1 -1
  84. package/dist/src/dpp/structs/MasternodeVote/Vote.d.ts +1 -1
  85. package/dist/src/dpp/structs/MasternodeVote/VotePoll.d.ts +1 -1
  86. package/dist/src/dpp/structs/PartialIdentity.d.ts +1 -1
  87. package/dist/src/dpp/structs/PrivateKey.d.ts +1 -1
  88. package/dist/src/dpp/structs/PublicKey.d.ts +1 -1
  89. package/dist/src/dpp/structs/StateTransition.d.ts +1 -1
  90. package/dist/src/dpp/structs/TokenConfiguration/ActionTaker.d.ts +2 -2
  91. package/dist/src/dpp/structs/TokenConfiguration/AuthorizedActionTakers.d.ts +1 -1
  92. package/dist/src/dpp/structs/TokenConfiguration/ChangeControlRules.d.ts +1 -1
  93. package/dist/src/dpp/structs/TokenConfiguration/DistributionFunction.d.ts +1 -1
  94. package/dist/src/dpp/structs/TokenConfiguration/Group.d.ts +1 -1
  95. package/dist/src/dpp/structs/TokenConfiguration/RewardDistributionType.d.ts +1 -1
  96. package/dist/src/dpp/structs/TokenConfiguration/TokenConfiguration.d.ts +1 -1
  97. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationChangeItem.d.ts +1 -1
  98. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationConvention.d.ts +1 -1
  99. package/dist/src/dpp/structs/TokenConfiguration/TokenConfigurationLocalization.d.ts +1 -1
  100. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRecipient.d.ts +1 -1
  101. package/dist/src/dpp/structs/TokenConfiguration/TokenDistributionRules.d.ts +1 -1
  102. package/dist/src/dpp/structs/TokenConfiguration/TokenKeepsHistoryRules.d.ts +1 -1
  103. package/dist/src/dpp/structs/TokenConfiguration/TokenMarketplaceRules.d.ts +1 -1
  104. package/dist/src/dpp/structs/TokenConfiguration/TokenPerpetualDistribution.d.ts +1 -1
  105. package/dist/src/dpp/structs/TokenConfiguration/TokenPreProgrammedDistribution.d.ts +1 -1
  106. package/dist/src/dpp/structs/TokenConfiguration/TokenTradeMode.d.ts +1 -1
  107. package/dist/src/dpp/types.d.ts +29 -30
  108. package/dist/src/dpp/utils.d.ts +1 -1
  109. package/dist/src/dpp/utils.js +14 -0
  110. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.d.ts +1 -1
  111. package/dist/src/dpp/verify/Contested/verifyVotePollVoteStateProof.js +1 -1
  112. package/dist/src/dpp/verify/Document/verifyDocumentsProof.d.ts +1 -1
  113. package/dist/src/dpp/verify/Document/verifyDocumentsProof.js +1 -1
  114. package/dist/src/dpp/verify/StateTransition/utils.js +3 -3
  115. package/dist/src/dpp/verify/Tokens/verifyTokenDirectPurchasePrices.js +1 -1
  116. package/package.json +1 -1
@@ -445,6 +445,9 @@ export declare class DocumentUpdatePriceTransitionNAPI {
445
445
  export declare class DynamicValue {
446
446
  constructor(value: any);
447
447
  static fromBigIntString(value: string): DynamicValue;
448
+ static fromInt(value: number): DynamicValue;
449
+ static fromUInt(value: number): DynamicValue;
450
+ static fromFloat(value: number): DynamicValue;
448
451
  get value(): any;
449
452
  set value(value: any);
450
453
  isBigInt(): boolean;
@@ -1635,7 +1638,8 @@ export declare const enum PlatformVersionNAPI {
1635
1638
  PLATFORM_V7 = 7,
1636
1639
  PLATFORM_V8 = 8,
1637
1640
  PLATFORM_V9 = 9,
1638
- PLATFORM_V10 = 10
1641
+ PLATFORM_V10 = 10,
1642
+ PLATFORM_V11 = 11
1639
1643
  }
1640
1644
  export declare const enum PoolingNAPI {
1641
1645
  Never = 0,
@@ -1688,7 +1692,7 @@ export declare function verifyTokenDirectPurchasePrices(proof: Uint8Array, jsTok
1688
1692
  export declare function verifyTokensBalancesForIdentityProof(proof: Uint8Array, jsTokenIds: Array<IdentifierLikeNAPI>, jsIdentityId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokensBalancesForIdentityNAPI;
1689
1693
  export declare function verifyTokenTotalSupplyProof(proof: Uint8Array, jsTokenId: IdentifierLikeNAPI, verifySubsetOfProof: boolean, jsPlatformVersion: DynamicValue): VerifiedTokenTotalSupplyNAPI;
1690
1694
  export declare function verifyTotalCreditsProof(proof: Uint8Array, coreSubsidyHalvingInterval: number, activationCoreHeight: number, currentCoreHeight: number, jsPlatformVersion: DynamicValue): VerifiedTotalCreditsNAPI;
1691
- export declare function verifyVotePollVoteStateProof(proof: Uint8Array, contract: DataContractNAPI, documentTypeName: string, indexName: string, jsIndexValues: DynamicValue, jsResultType: DynamicValue, allowIncludeLockedAndAbstainingVoteTally: boolean, count: number | undefined | null, jsStartAt: DynamicValue, jsPlatformVersion: DynamicValue): VerifiedVoteStateNAPI;
1695
+ 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;
1692
1696
  export declare const enum VoteStateResultTypeNAPI {
1693
1697
  Documents = 0,
1694
1698
  VoteTally = 1,
@@ -56,6 +56,7 @@ export var PlatformVersionNAPI;
56
56
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V8"] = 8] = "PLATFORM_V8";
57
57
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V9"] = 9] = "PLATFORM_V9";
58
58
  PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V10"] = 10] = "PLATFORM_V10";
59
+ PlatformVersionNAPI[PlatformVersionNAPI["PLATFORM_V11"] = 11] = "PLATFORM_V11";
59
60
  })(PlatformVersionNAPI || (PlatformVersionNAPI = {}));
60
61
  export var PoolingNAPI;
61
62
  (function (PoolingNAPI) {