@cardananium/cquisitor-lib 0.1.0-beta.15 → 0.1.0-beta.16
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/browser/cquisitor_lib.d.ts +98 -98
- package/browser/cquisitor_lib_bg.js +46 -46
- package/browser/cquisitor_lib_bg.wasm +0 -0
- package/node/cquisitor_lib.d.ts +98 -98
- package/node/cquisitor_lib.js +29 -29
- package/node/cquisitor_lib_bg.wasm +0 -0
- package/package.json +1 -1
package/node/cquisitor_lib.js
CHANGED
|
@@ -1079,10 +1079,10 @@ function handleError(f, args) {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
/**
|
|
1081
1081
|
*/
|
|
1082
|
-
module.exports.
|
|
1082
|
+
module.exports.CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1083
1083
|
/**
|
|
1084
1084
|
*/
|
|
1085
|
-
module.exports.
|
|
1085
|
+
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1086
1086
|
/**
|
|
1087
1087
|
*/
|
|
1088
1088
|
module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
@@ -1106,18 +1106,6 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
|
1106
1106
|
*/
|
|
1107
1107
|
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1108
1108
|
/**
|
|
1109
|
-
*/
|
|
1110
|
-
module.exports.BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
|
|
1111
|
-
/**
|
|
1112
|
-
*/
|
|
1113
|
-
module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1114
|
-
/**
|
|
1115
|
-
*/
|
|
1116
|
-
module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1117
|
-
/**
|
|
1118
|
-
*/
|
|
1119
|
-
module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
1120
|
-
/**
|
|
1121
1109
|
* JSON <-> PlutusData conversion schemas.
|
|
1122
1110
|
* Follows ScriptDataJsonSchema in cardano-cli defined at:
|
|
1123
1111
|
* https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
|
|
@@ -1170,44 +1158,53 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1170
1158
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1171
1159
|
/**
|
|
1172
1160
|
*/
|
|
1173
|
-
module.exports.
|
|
1161
|
+
module.exports.GovernanceActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidenceAction:3,"3":"NoConfidenceAction",UpdateCommitteeAction:4,"4":"UpdateCommitteeAction",NewConstitutionAction:5,"5":"NewConstitutionAction",InfoAction:6,"6":"InfoAction", });
|
|
1174
1162
|
/**
|
|
1175
1163
|
*/
|
|
1176
|
-
module.exports.
|
|
1164
|
+
module.exports.AddressKind = Object.freeze({ Base:0,"0":"Base",Pointer:1,"1":"Pointer",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron",Malformed:5,"5":"Malformed", });
|
|
1165
|
+
/**
|
|
1166
|
+
*/
|
|
1167
|
+
module.exports.NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1168
|
+
/**
|
|
1169
|
+
*/
|
|
1170
|
+
module.exports.BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
|
|
1171
|
+
/**
|
|
1172
|
+
*/
|
|
1173
|
+
module.exports.NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",TimelockStart:4,"4":"TimelockStart",TimelockExpiry:5,"5":"TimelockExpiry", });
|
|
1177
1174
|
/**
|
|
1178
1175
|
*/
|
|
1179
1176
|
module.exports.RedeemerTagKind = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Vote:4,"4":"Vote",VotingProposal:5,"5":"VotingProposal", });
|
|
1180
1177
|
/**
|
|
1181
1178
|
*/
|
|
1182
|
-
module.exports.
|
|
1179
|
+
module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1183
1180
|
/**
|
|
1184
1181
|
*/
|
|
1185
|
-
module.exports.
|
|
1182
|
+
module.exports.LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1186
1183
|
/**
|
|
1187
1184
|
*/
|
|
1188
|
-
module.exports.
|
|
1185
|
+
module.exports.TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
|
|
1189
1186
|
/**
|
|
1190
1187
|
*/
|
|
1191
|
-
module.exports.
|
|
1188
|
+
module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
1192
1189
|
/**
|
|
1193
1190
|
*/
|
|
1194
|
-
module.exports.
|
|
1191
|
+
module.exports.MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1195
1192
|
/**
|
|
1196
1193
|
*/
|
|
1197
|
-
module.exports.
|
|
1194
|
+
module.exports.CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",GenesisKeyDelegation:5,"5":"GenesisKeyDelegation",MoveInstantaneousRewardsCert:6,"6":"MoveInstantaneousRewardsCert",CommitteeHotAuth:7,"7":"CommitteeHotAuth",CommitteeColdResign:8,"8":"CommitteeColdResign",DRepDeregistration:9,"9":"DRepDeregistration",DRepRegistration:10,"10":"DRepRegistration",DRepUpdate:11,"11":"DRepUpdate",StakeAndVoteDelegation:12,"12":"StakeAndVoteDelegation",StakeRegistrationAndDelegation:13,"13":"StakeRegistrationAndDelegation",StakeVoteRegistrationAndDelegation:14,"14":"StakeVoteRegistrationAndDelegation",VoteDelegation:15,"15":"VoteDelegation",VoteRegistrationAndDelegation:16,"16":"VoteRegistrationAndDelegation", });
|
|
1198
1195
|
/**
|
|
1199
|
-
* Used to choosed the schema for a script JSON string
|
|
1200
1196
|
*/
|
|
1201
|
-
module.exports.
|
|
1197
|
+
module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1202
1198
|
/**
|
|
1203
1199
|
*/
|
|
1204
|
-
module.exports.
|
|
1200
|
+
module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1205
1201
|
/**
|
|
1202
|
+
* Used to choosed the schema for a script JSON string
|
|
1206
1203
|
*/
|
|
1207
|
-
module.exports.
|
|
1204
|
+
module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1208
1205
|
/**
|
|
1209
1206
|
*/
|
|
1210
|
-
module.exports.
|
|
1207
|
+
module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1211
1208
|
/**
|
|
1212
1209
|
*/
|
|
1213
1210
|
module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
@@ -1220,10 +1217,13 @@ module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConve
|
|
|
1220
1217
|
module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1221
1218
|
/**
|
|
1222
1219
|
*/
|
|
1223
|
-
module.exports.
|
|
1220
|
+
module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
|
|
1224
1221
|
/**
|
|
1225
1222
|
*/
|
|
1226
|
-
module.exports.
|
|
1223
|
+
module.exports.ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
|
|
1224
|
+
/**
|
|
1225
|
+
*/
|
|
1226
|
+
module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1227
1227
|
|
|
1228
1228
|
const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1229
1229
|
? { register: () => {}, unregister: () => {} }
|
|
Binary file
|