pshenmic-dpp 1.0.7-rc.18 → 1.0.7-rc.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 (48) hide show
  1. package/README.md +1 -46
  2. package/dist/wasm/index.d.ts +1 -5
  3. package/dist/wasm/pshenmic_dpp.d.ts +165 -465
  4. package/dist/wasm/pshenmic_dpp.js +2240 -4799
  5. package/dist/wasm/pshenmic_dpp_bg.js +1 -1
  6. package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +96 -248
  7. package/package.json +3 -4
  8. package/tests/AssetLockProof.spec.js +8 -2
  9. package/tests/BatchTransition.spec.js +17 -11
  10. package/tests/ChainLockProof.spec.js +9 -3
  11. package/tests/CoreScript.spec.js +9 -3
  12. package/tests/DataContract.spec.js +9 -5
  13. package/tests/DataContractCreateStateTransition.spec.js +14 -8
  14. package/tests/DataContractUpdateStateTransition.spec.js +14 -8
  15. package/tests/Document.spec.js +9 -4
  16. package/tests/DocumentTransition.spec.js +4 -1
  17. package/tests/DocumentsTransitions.spec.js +61 -55
  18. package/tests/Identifier.spec.js +3 -1
  19. package/tests/Identity.spec.js +11 -5
  20. package/tests/IdentityCreateTransition.spec.js +9 -3
  21. package/tests/IdentityCreditTransferTransition.spec.js +8 -2
  22. package/tests/IdentityCreditWithdrawalTransition.spec.js +8 -2
  23. package/tests/IdentityPublicKey.spec.js +10 -4
  24. package/tests/IdentityTopUpTransition.spec.js +8 -2
  25. package/tests/IdentityUpdateTransition.spec.js +8 -2
  26. package/tests/InstantLockProof.spec.js +8 -2
  27. package/tests/OutPoint.spec.js +9 -3
  28. package/tests/PrivateKey.spec.js +8 -2
  29. package/tests/PublicKeyInCreation.spec.js +8 -2
  30. package/tests/TokensTransitions.spec.js +4 -1
  31. package/tests/TxOut.spec.js +8 -2
  32. package/tests/mocks/PublicKey/index.js +1 -1
  33. package/tests/utils/wasm.js +14 -0
  34. package/dist/wasm/index.js +0 -14
  35. package/tests/AuthorizedActionTakers.spec.js +0 -75
  36. package/tests/ChangeControlRules.spec.js +0 -184
  37. package/tests/DistributionFunction.spec.js +0 -416
  38. package/tests/RewardDistributionType.spec.js +0 -90
  39. package/tests/TokenBaseTransition.spec.js +0 -96
  40. package/tests/TokenConfiguration.spec.js +0 -110
  41. package/tests/TokenConfigurationConvention.spec.js +0 -93
  42. package/tests/TokenConfigurationLocalization.spec.js +0 -59
  43. package/tests/TokenDistributionRecipient.spec.js +0 -49
  44. package/tests/TokenDistributionRules.spec.js +0 -313
  45. package/tests/TokenKeepsHistoryRules.spec.js +0 -67
  46. package/tests/TokenPerpetualDistribution.spec.js +0 -130
  47. package/tests/TokenPreProgrammedDistribution.spec.js +0 -61
  48. package/tests/mocks/TokenConfiguration/index.js +0 -7
package/README.md CHANGED
@@ -37,43 +37,10 @@ ___
37
37
 
38
38
  **At this moment available structs:**
39
39
  - `Document`
40
- - `Batch`
40
+ - `DocumentsBatch`
41
41
  - `DocumentsBaseTransition`
42
- - `TokenBaseTransitionWASM`
43
- - `TokenPricingScheduleWASM`
44
- - `TokenTransitionWASM`
45
- - `BatchedTransitionWASM`
46
- - `TokenConfigurationChangeItemWASM`
47
- - `TokenConfigurationWASM`
48
- - `ActionTakerWASM`
49
- - `AuthorizedActionTakersWASM`
50
- - `ChangeControlRulesWASM`
51
- - `TokenConfigurationConventionWASM`
52
- - `DistributionFunctionWASM`
53
- - `TokenDistributionRecipientWASM`
54
- - `TokenDistributionRulesWASM`
55
- - distribution structs:
56
- - `DistributionFixedAmountWASM`
57
- - `DistributionRandomWASM`
58
- - `DistributionStepDecreasingAmountWASM`
59
- - `DistributionLinearWASM`
60
- - `DistributionPolynomialWASM`
61
- - `DistributionExponentialWASM`
62
- - `DistributionLogarithmicWASM`
63
- - `DistributionInvertedLogarithmicWASM`
64
- - `GroupWASM`
65
- - `TokenKeepsHistoryRulesWASM`
66
- - `TokenConfigurationLocalizationWASM`
67
- - `TokenMarketplaceRulesWASM`
68
- - `TokenPerpetualDistributionWASM`
69
- - `TokenPreProgrammedDistributionWASM`
70
- - `RewardDistributionTypeWASM`
71
- - `TokenTradeModeWASM`
72
- - `GroupStateTransitionInfoWASM`
73
42
  - `DocumentsTransition`
74
43
  - `PrefundedVotingBalance`
75
- - `PrivateEncryptedNoteWASM`
76
- - `SharedEncryptedNoteWASM`
77
44
  - DocumentsTransitions:
78
45
  - `DocuemntCreateTransition`
79
46
  - `DocuemntDeleteTransition`
@@ -81,18 +48,6 @@ ___
81
48
  - `DocuemntReplaceTransition`
82
49
  - `DocumentTransferTransition`
83
50
  - `DocumentUpdatePriceTransition`
84
- - Tokens Transitions:
85
- - `TokenConfigUpdateTransitionWASM`
86
- - `TokenDirectPurchaseTransitionWASM`
87
- - `TokenSetPriceForDirectPurchaseTransitionWASM`
88
- - `TokenBurnTransitionWASM`
89
- - `TokenClaimTransitionWASM`
90
- - `TokenDestroyFrozenFundsTransitionWASM`
91
- - `TokenEmergencyActionTransitionWASM`
92
- - `TokenFreezeTransitionWASM`
93
- - `TokenMintTransitionWASM`
94
- - `TokenTransferTransitionWASM`
95
- - `TokenUnFreezeTransitionWASM`
96
51
  - `IdentityPublicKey`
97
52
  - IdentityTransitions:
98
53
  - `IdentityCreateTransition`
@@ -1,10 +1,6 @@
1
1
  import * as DPP from './pshenmic_dpp';
2
2
 
3
- export * from './pshenmic_dpp'
4
-
5
- export default dpp;
6
-
7
- declare const dpp: DashPlatformProtocolWASM;
3
+ export * from './pshenmic_dpp';
8
4
 
9
5
  export class DashPlatformProtocolWASM {
10
6
  // CLASSES