pshenmic-dpp 1.1.2-dev.1 → 1.1.2-dev.10
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.
- package/dist/wasm/index.d.ts +22 -0
- package/dist/wasm/pshenmic_dpp.d.ts +702 -114
- package/dist/wasm/pshenmic_dpp.js +7669 -4729
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +294 -103
- package/dist/wasm/pshenmic_dpp_zipped.js +1 -1
- package/package.json +1 -1
- package/tests/AsyncImportTest.spec.cjs +2 -2
- package/tests/DataContract.spec.cjs +1 -1
- package/tests/DataContractCreateStateTransition.spec.cjs +9 -10
- package/tests/DataContractUpdateStateTransition.spec.cjs +9 -9
- package/tests/IdentityCreateTransition.spec.cjs +0 -1
- package/tests/IdentityPublicKey.spec.cjs +40 -0
- package/tests/mocks/DataContract/DataContract.json +16 -5
- package/tests/mocks/DataContract/index.js +1 -1
package/dist/wasm/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import * as DPP from './pshenmic_dpp.js';
|
|
2
|
+
import type{
|
|
3
|
+
AddressCreditWithdrawalTransitionWASM, AddressFundingFromAssetLockTransitionWASM,
|
|
4
|
+
AddressFundsFeeStrategyStepWASM, AddressFundsTransferTransitionWASM, AddressWitnessWASM,
|
|
5
|
+
IdentityCreateFromAddressesTransitionWASM, IdentityCreditTransferToAddressesTransitionWASM,
|
|
6
|
+
IdentityTopUpFromAddressesTransitionWASM, InputAddressWASM, OutputAddressWASM,
|
|
7
|
+
PlatformAddressWASM, RecipientAddressWASM
|
|
8
|
+
} from "../wasm/pshenmic_dpp.d.ts";
|
|
2
9
|
|
|
3
10
|
export * from './pshenmic_dpp.js';
|
|
4
11
|
|
|
@@ -93,6 +100,19 @@ export class DashPlatformProtocolWASM {
|
|
|
93
100
|
VoteWASM: DPP.VoteWASM
|
|
94
101
|
VotePollWASM: DPP.VotePollWASM
|
|
95
102
|
ResourceVoteChoiceWASM: DPP.ResourceVoteChoiceWASM
|
|
103
|
+
AddressCreditWithdrawalTransitionWASM: DPP.AddressCreditWithdrawalTransitionWASM
|
|
104
|
+
AddressFundingFromAssetLockTransitionWASM: DPP.AddressFundingFromAssetLockTransitionWASM
|
|
105
|
+
AddressFundsFeeStrategyStepWASM: DPP.AddressFundsFeeStrategyStepWASM
|
|
106
|
+
AddressFundsTransferTransitionWASM: DPP.AddressFundsTransferTransitionWASM
|
|
107
|
+
IdentityCreateFromAddressesTransitionWASM: DPP.IdentityCreateFromAddressesTransitionWASM
|
|
108
|
+
IdentityCreditTransferToAddressesTransitionWASM: DPP.IdentityCreditTransferToAddressesTransitionWASM
|
|
109
|
+
OutputAddressWASM: DPP.OutputAddressWASM
|
|
110
|
+
InputAddressWASM: DPP.InputAddressWASM
|
|
111
|
+
IdentityTopUpFromAddressesTransitionWASM: DPP.IdentityTopUpFromAddressesTransitionWASM
|
|
112
|
+
RecipientAddressWASM: DPP.RecipientAddressWASM
|
|
113
|
+
AddressWitnessWASM: DPP.AddressWitnessWASM
|
|
114
|
+
PlatformAddressWASM: DPP.PlatformAddressWASM
|
|
115
|
+
|
|
96
116
|
// ENUMS
|
|
97
117
|
AssetLockProofTypeWASM: DPP.AssetLockProofTypeWASM
|
|
98
118
|
BatchType: DPP.BatchType
|
|
@@ -103,6 +123,7 @@ export class DashPlatformProtocolWASM {
|
|
|
103
123
|
Purpose: DPP.Purpose
|
|
104
124
|
SecurityLevel: DPP.SecurityLevel
|
|
105
125
|
ActionGoalWASM: DPP.ActionGoalWASM
|
|
126
|
+
GroupActionStatusWASM: DPP.GroupActionStatusWASM
|
|
106
127
|
// METHODS
|
|
107
128
|
initSync: Function
|
|
108
129
|
verifyVotePollVoteStateProof: Function
|
|
@@ -123,4 +144,5 @@ export class DashPlatformProtocolWASM {
|
|
|
123
144
|
verifyTokenTotalSupply: Function
|
|
124
145
|
verifyTokensBalancesForIdentity: Function
|
|
125
146
|
verifyTokenDirectPurchasePrices: Function
|
|
147
|
+
verifyStateTransitionResult: Function
|
|
126
148
|
}
|