@meshsdk/core-cst 1.7.14 → 1.7.15
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/index.cjs +71 -0
- package/dist/index.d.cts +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +70 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1021,6 +1021,7 @@ __export(src_exports, {
|
|
|
1021
1021
|
mergeValue: () => mergeValue,
|
|
1022
1022
|
negateValue: () => negateValue,
|
|
1023
1023
|
negatives: () => negatives,
|
|
1024
|
+
normalizePlutusScript: () => normalizePlutusScript,
|
|
1024
1025
|
resolveDataHash: () => resolveDataHash,
|
|
1025
1026
|
resolveNativeScriptAddress: () => resolveNativeScriptAddress,
|
|
1026
1027
|
resolveNativeScriptHash: () => resolveNativeScriptHash,
|
|
@@ -2681,6 +2682,75 @@ var CardanoSDKSerializer = class {
|
|
|
2681
2682
|
};
|
|
2682
2683
|
};
|
|
2683
2684
|
|
|
2685
|
+
// src/plutus-tools/index.ts
|
|
2686
|
+
var import_plutus_data = require("@harmoniclabs/plutus-data");
|
|
2687
|
+
var import_uplc = require("@harmoniclabs/uplc");
|
|
2688
|
+
var import_cbor = require("@harmoniclabs/cbor");
|
|
2689
|
+
var supportedPlutusCoreVersions = [
|
|
2690
|
+
{
|
|
2691
|
+
version: [1, 0, 0],
|
|
2692
|
+
language: "Plutus V1"
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
version: [1, 1, 0],
|
|
2696
|
+
language: "Plutus V3"
|
|
2697
|
+
}
|
|
2698
|
+
];
|
|
2699
|
+
var normalizePlutusScript = (plutusScript, encoding) => {
|
|
2700
|
+
const bytes = Buffer.from(plutusScript, "hex");
|
|
2701
|
+
const purePlutusBytes = getPurePlutusBytes(bytes);
|
|
2702
|
+
const normalizedBytes = applyEncoding(purePlutusBytes, encoding);
|
|
2703
|
+
return Buffer.from(normalizedBytes).toString("hex");
|
|
2704
|
+
};
|
|
2705
|
+
var hasSupportedPlutusVersion = (plutusScript) => {
|
|
2706
|
+
if (plutusScript.length < 3) {
|
|
2707
|
+
return false;
|
|
2708
|
+
}
|
|
2709
|
+
const version = [plutusScript[0], plutusScript[1], plutusScript[2]];
|
|
2710
|
+
return supportedPlutusCoreVersions.some((supportedVersion) => {
|
|
2711
|
+
return supportedVersion.version[0] === version[0] && supportedVersion.version[1] === version[1] && supportedVersion.version[2] === version[2];
|
|
2712
|
+
});
|
|
2713
|
+
};
|
|
2714
|
+
var getPurePlutusBytes = (plutusScript) => {
|
|
2715
|
+
let unwrappedScript = plutusScript;
|
|
2716
|
+
let length = 0;
|
|
2717
|
+
try {
|
|
2718
|
+
while (unwrappedScript.length >= 3 && length != unwrappedScript.length) {
|
|
2719
|
+
length = unwrappedScript.length;
|
|
2720
|
+
if (hasSupportedPlutusVersion(unwrappedScript)) {
|
|
2721
|
+
return unwrappedScript;
|
|
2722
|
+
}
|
|
2723
|
+
const cbor = import_cbor.Cbor.parse(unwrappedScript);
|
|
2724
|
+
if (cbor instanceof import_cbor.CborBytes) {
|
|
2725
|
+
unwrappedScript = cbor.bytes;
|
|
2726
|
+
} else {
|
|
2727
|
+
break;
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
} catch (error) {
|
|
2731
|
+
console.error("Error parsing Plutus script:", error);
|
|
2732
|
+
}
|
|
2733
|
+
if (hasSupportedPlutusVersion(unwrappedScript)) {
|
|
2734
|
+
return unwrappedScript;
|
|
2735
|
+
}
|
|
2736
|
+
throw new Error("Unsupported Plutus version or invalid Plutus script bytes");
|
|
2737
|
+
};
|
|
2738
|
+
var applyCborEncoding = (plutusScript) => {
|
|
2739
|
+
return import_cbor.Cbor.encode(new import_cbor.CborBytes(plutusScript)).toBuffer();
|
|
2740
|
+
};
|
|
2741
|
+
var applyEncoding = (plutusScript, outputEncoding) => {
|
|
2742
|
+
switch (outputEncoding) {
|
|
2743
|
+
case "SingleCBOR":
|
|
2744
|
+
return applyCborEncoding(plutusScript);
|
|
2745
|
+
case "DoubleCBOR":
|
|
2746
|
+
return applyCborEncoding(applyCborEncoding(plutusScript));
|
|
2747
|
+
case "PurePlutusScriptBytes":
|
|
2748
|
+
return plutusScript;
|
|
2749
|
+
default:
|
|
2750
|
+
return applyCborEncoding(plutusScript);
|
|
2751
|
+
}
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2684
2754
|
// src/index.ts
|
|
2685
2755
|
var CardanoSDKUtil = __toESM(require("@cardano-sdk/util"), 1);
|
|
2686
2756
|
var Crypto3 = __toESM(require("@cardano-sdk/crypto"), 1);
|
|
@@ -2813,6 +2883,7 @@ var CardanoSDK = __toESM(require("@cardano-sdk/core"), 1);
|
|
|
2813
2883
|
mergeValue,
|
|
2814
2884
|
negateValue,
|
|
2815
2885
|
negatives,
|
|
2886
|
+
normalizePlutusScript,
|
|
2816
2887
|
resolveDataHash,
|
|
2817
2888
|
resolveNativeScriptAddress,
|
|
2818
2889
|
resolveNativeScriptHash,
|
package/dist/index.d.cts
CHANGED
|
@@ -366,4 +366,46 @@ declare function negatives(v: Value): Value;
|
|
|
366
366
|
declare function assetTypes(v: Value): number;
|
|
367
367
|
declare function empty(v: Value): boolean;
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
/**
|
|
370
|
+
* MIT License
|
|
371
|
+
*
|
|
372
|
+
* Copyright (c) 2024 Evgenii Lisitskii
|
|
373
|
+
*
|
|
374
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
375
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
376
|
+
* in the Software without restriction, including without limitation the rights
|
|
377
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
378
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
379
|
+
* furnished to do so, subject to the following conditions:
|
|
380
|
+
*
|
|
381
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
382
|
+
* copies or substantial portions of the Software.
|
|
383
|
+
*
|
|
384
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
385
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
386
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
387
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
388
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
389
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
390
|
+
* SOFTWARE.
|
|
391
|
+
*/
|
|
392
|
+
type OutputEncoding = "SingleCBOR" | "DoubleCBOR" | "PurePlutusScriptBytes";
|
|
393
|
+
/**
|
|
394
|
+
* Normalizes a Plutus script by extracting its pure Plutus bytes and applying a specified encoding.
|
|
395
|
+
*
|
|
396
|
+
* @param {Uint8Array} plutusScript - The Plutus script to be normalized as a Uint8Array.
|
|
397
|
+
* @param {OutputEncoding} encoding - The desired encoding for the output.
|
|
398
|
+
* @returns {Uint8Array} The normalized Plutus script.
|
|
399
|
+
*
|
|
400
|
+
* @description
|
|
401
|
+
* This function performs the following steps:
|
|
402
|
+
* 1. Extracts the pure Plutus bytes in hex from the input script.
|
|
403
|
+
* 2. Applies the specified encoding to the pure Plutus bytes.
|
|
404
|
+
*
|
|
405
|
+
* @note
|
|
406
|
+
* - This function is useful for standardizing the format of Plutus scripts, ensuring they are in a consistent state for further processing or comparison.
|
|
407
|
+
* - The normalization process does not modify the logical content of the script, only its representation.
|
|
408
|
+
*/
|
|
409
|
+
declare const normalizePlutusScript: (plutusScript: string, encoding: OutputEncoding) => string;
|
|
410
|
+
|
|
411
|
+
export { Address, AddressType, AssetFingerprint, AssetId, AssetName, BaseAddress, Bip32PrivateKey, Bip32PrivateKeyHex, CardanoSDKSerializer, CborSet, CborWriter, Certificate, CertificateType, ConstrPlutusData, CoseSign1, CostModel, type CostModels, Costmdls, Credential, type CredentialCore, CredentialType, DRep, DRepID, Datum, DatumHash, DatumKind, Ed25519KeyHash, Ed25519KeyHashHex, Ed25519PrivateExtendedKeyHex, Ed25519PrivateNormalKeyHex, Ed25519PublicKey, Ed25519PublicKeyHex, Ed25519Signature, Ed25519SignatureHex, EnterpriseAddress, ExUnits, Hash, Hash28ByteBase16, Hash32ByteBase16, NativeScript, NetworkId, type OutputEncoding, PaymentAddress, PlutusData, PlutusLanguageVersion, PlutusList, PlutusMap, PlutusV1Script, PlutusV2Script, PlutusV3Script, PolicyId, PoolId, Redeemer, RedeemerPurpose, RedeemerTag, Redeemers, RequireAllOf, RequireAnyOf, RequireNOf, RequireSignature, RequireTimeAfter, RequireTimeBefore, RewardAccount, RewardAddress, Script, ScriptHash, ScriptPubkey, type Signatures, type Signer, Slot, StakeCredentialStatus, StakeDelegation, type StakeDelegationCertificate, StakeRegistration, StricaBip32PrivateKey, StricaBip32PrivateKey as StricaBip32PrivateKeyType, StricaBip32PublicKey, StricaBip32PublicKey as StricaBip32PublicKeyType, StricaDecoder, StricaEncoder, StricaPrivateKey, StricaPrivateKey as StricaPrivateKeyType, StricaPublicKey, StricaPublicKey as StricaPublicKeyType, type TokenMap, Transaction, TransactionBody, TransactionId, TransactionInput, type TransactionInputSet, TransactionOutput, TransactionUnspentOutput, type TransactionWitnessPlutusData, TransactionWitnessSet, Value, VkeyWitness, VrfVkBech32, type Witness, addressToBech32, assetTypes, buildBaseAddress, buildBip32PrivateKey, buildDRepID, buildEnterpriseAddress, buildKeys, buildRewardAddress, buildScriptPubkey, checkSignature, deserializeAddress, deserializeDataHash, deserializeEd25519KeyHash, deserializeNativeScript, deserializePlutusData, deserializePlutusScript, deserializeScriptHash, deserializeScriptRef, deserializeTx, deserializeTxHash, deserializeTxUnspentOutput, deserializeValue, empty, fromNativeScript, fromScriptRef, fromTxUnspentOutput, fromValue, generateNonce, getCoseKeyFromPublicKey, getPublicKeyFromCoseKey, mergeValue, negateValue, negatives, normalizePlutusScript, resolveDataHash, resolveNativeScriptAddress, resolveNativeScriptHash, resolvePaymentKeyHash, resolvePlutusScriptAddress, resolvePlutusScriptHash, resolvePoolId, resolvePrivateKey, resolveRewardAddress, resolveScriptRef, resolveStakeKeyHash, resolveTxHash, signData, subValue, toAddress, toBaseAddress, toEnterpriseAddress, toNativeScript, toPlutusData, toRewardAddress, toScriptRef, toTxUnspentOutput, toValue };
|
package/dist/index.d.ts
CHANGED
|
@@ -366,4 +366,46 @@ declare function negatives(v: Value): Value;
|
|
|
366
366
|
declare function assetTypes(v: Value): number;
|
|
367
367
|
declare function empty(v: Value): boolean;
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
/**
|
|
370
|
+
* MIT License
|
|
371
|
+
*
|
|
372
|
+
* Copyright (c) 2024 Evgenii Lisitskii
|
|
373
|
+
*
|
|
374
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
375
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
376
|
+
* in the Software without restriction, including without limitation the rights
|
|
377
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
378
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
379
|
+
* furnished to do so, subject to the following conditions:
|
|
380
|
+
*
|
|
381
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
382
|
+
* copies or substantial portions of the Software.
|
|
383
|
+
*
|
|
384
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
385
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
386
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
387
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
388
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
389
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
390
|
+
* SOFTWARE.
|
|
391
|
+
*/
|
|
392
|
+
type OutputEncoding = "SingleCBOR" | "DoubleCBOR" | "PurePlutusScriptBytes";
|
|
393
|
+
/**
|
|
394
|
+
* Normalizes a Plutus script by extracting its pure Plutus bytes and applying a specified encoding.
|
|
395
|
+
*
|
|
396
|
+
* @param {Uint8Array} plutusScript - The Plutus script to be normalized as a Uint8Array.
|
|
397
|
+
* @param {OutputEncoding} encoding - The desired encoding for the output.
|
|
398
|
+
* @returns {Uint8Array} The normalized Plutus script.
|
|
399
|
+
*
|
|
400
|
+
* @description
|
|
401
|
+
* This function performs the following steps:
|
|
402
|
+
* 1. Extracts the pure Plutus bytes in hex from the input script.
|
|
403
|
+
* 2. Applies the specified encoding to the pure Plutus bytes.
|
|
404
|
+
*
|
|
405
|
+
* @note
|
|
406
|
+
* - This function is useful for standardizing the format of Plutus scripts, ensuring they are in a consistent state for further processing or comparison.
|
|
407
|
+
* - The normalization process does not modify the logical content of the script, only its representation.
|
|
408
|
+
*/
|
|
409
|
+
declare const normalizePlutusScript: (plutusScript: string, encoding: OutputEncoding) => string;
|
|
410
|
+
|
|
411
|
+
export { Address, AddressType, AssetFingerprint, AssetId, AssetName, BaseAddress, Bip32PrivateKey, Bip32PrivateKeyHex, CardanoSDKSerializer, CborSet, CborWriter, Certificate, CertificateType, ConstrPlutusData, CoseSign1, CostModel, type CostModels, Costmdls, Credential, type CredentialCore, CredentialType, DRep, DRepID, Datum, DatumHash, DatumKind, Ed25519KeyHash, Ed25519KeyHashHex, Ed25519PrivateExtendedKeyHex, Ed25519PrivateNormalKeyHex, Ed25519PublicKey, Ed25519PublicKeyHex, Ed25519Signature, Ed25519SignatureHex, EnterpriseAddress, ExUnits, Hash, Hash28ByteBase16, Hash32ByteBase16, NativeScript, NetworkId, type OutputEncoding, PaymentAddress, PlutusData, PlutusLanguageVersion, PlutusList, PlutusMap, PlutusV1Script, PlutusV2Script, PlutusV3Script, PolicyId, PoolId, Redeemer, RedeemerPurpose, RedeemerTag, Redeemers, RequireAllOf, RequireAnyOf, RequireNOf, RequireSignature, RequireTimeAfter, RequireTimeBefore, RewardAccount, RewardAddress, Script, ScriptHash, ScriptPubkey, type Signatures, type Signer, Slot, StakeCredentialStatus, StakeDelegation, type StakeDelegationCertificate, StakeRegistration, StricaBip32PrivateKey, StricaBip32PrivateKey as StricaBip32PrivateKeyType, StricaBip32PublicKey, StricaBip32PublicKey as StricaBip32PublicKeyType, StricaDecoder, StricaEncoder, StricaPrivateKey, StricaPrivateKey as StricaPrivateKeyType, StricaPublicKey, StricaPublicKey as StricaPublicKeyType, type TokenMap, Transaction, TransactionBody, TransactionId, TransactionInput, type TransactionInputSet, TransactionOutput, TransactionUnspentOutput, type TransactionWitnessPlutusData, TransactionWitnessSet, Value, VkeyWitness, VrfVkBech32, type Witness, addressToBech32, assetTypes, buildBaseAddress, buildBip32PrivateKey, buildDRepID, buildEnterpriseAddress, buildKeys, buildRewardAddress, buildScriptPubkey, checkSignature, deserializeAddress, deserializeDataHash, deserializeEd25519KeyHash, deserializeNativeScript, deserializePlutusData, deserializePlutusScript, deserializeScriptHash, deserializeScriptRef, deserializeTx, deserializeTxHash, deserializeTxUnspentOutput, deserializeValue, empty, fromNativeScript, fromScriptRef, fromTxUnspentOutput, fromValue, generateNonce, getCoseKeyFromPublicKey, getPublicKeyFromCoseKey, mergeValue, negateValue, negatives, normalizePlutusScript, resolveDataHash, resolveNativeScriptAddress, resolveNativeScriptHash, resolvePaymentKeyHash, resolvePlutusScriptAddress, resolvePlutusScriptHash, resolvePoolId, resolvePrivateKey, resolveRewardAddress, resolveScriptRef, resolveStakeKeyHash, resolveTxHash, signData, subValue, toAddress, toBaseAddress, toEnterpriseAddress, toNativeScript, toPlutusData, toRewardAddress, toScriptRef, toTxUnspentOutput, toValue };
|
package/dist/index.js
CHANGED
|
@@ -2527,6 +2527,75 @@ var CardanoSDKSerializer = class {
|
|
|
2527
2527
|
};
|
|
2528
2528
|
};
|
|
2529
2529
|
|
|
2530
|
+
// src/plutus-tools/index.ts
|
|
2531
|
+
import { dataFromCbor } from "@harmoniclabs/plutus-data";
|
|
2532
|
+
import { parseUPLC, Application, UPLCProgram, UPLCConst, encodeUPLC } from "@harmoniclabs/uplc";
|
|
2533
|
+
import { Cbor, CborBytes } from "@harmoniclabs/cbor";
|
|
2534
|
+
var supportedPlutusCoreVersions = [
|
|
2535
|
+
{
|
|
2536
|
+
version: [1, 0, 0],
|
|
2537
|
+
language: "Plutus V1"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
version: [1, 1, 0],
|
|
2541
|
+
language: "Plutus V3"
|
|
2542
|
+
}
|
|
2543
|
+
];
|
|
2544
|
+
var normalizePlutusScript = (plutusScript, encoding) => {
|
|
2545
|
+
const bytes = Buffer.from(plutusScript, "hex");
|
|
2546
|
+
const purePlutusBytes = getPurePlutusBytes(bytes);
|
|
2547
|
+
const normalizedBytes = applyEncoding(purePlutusBytes, encoding);
|
|
2548
|
+
return Buffer.from(normalizedBytes).toString("hex");
|
|
2549
|
+
};
|
|
2550
|
+
var hasSupportedPlutusVersion = (plutusScript) => {
|
|
2551
|
+
if (plutusScript.length < 3) {
|
|
2552
|
+
return false;
|
|
2553
|
+
}
|
|
2554
|
+
const version = [plutusScript[0], plutusScript[1], plutusScript[2]];
|
|
2555
|
+
return supportedPlutusCoreVersions.some((supportedVersion) => {
|
|
2556
|
+
return supportedVersion.version[0] === version[0] && supportedVersion.version[1] === version[1] && supportedVersion.version[2] === version[2];
|
|
2557
|
+
});
|
|
2558
|
+
};
|
|
2559
|
+
var getPurePlutusBytes = (plutusScript) => {
|
|
2560
|
+
let unwrappedScript = plutusScript;
|
|
2561
|
+
let length = 0;
|
|
2562
|
+
try {
|
|
2563
|
+
while (unwrappedScript.length >= 3 && length != unwrappedScript.length) {
|
|
2564
|
+
length = unwrappedScript.length;
|
|
2565
|
+
if (hasSupportedPlutusVersion(unwrappedScript)) {
|
|
2566
|
+
return unwrappedScript;
|
|
2567
|
+
}
|
|
2568
|
+
const cbor = Cbor.parse(unwrappedScript);
|
|
2569
|
+
if (cbor instanceof CborBytes) {
|
|
2570
|
+
unwrappedScript = cbor.bytes;
|
|
2571
|
+
} else {
|
|
2572
|
+
break;
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
} catch (error) {
|
|
2576
|
+
console.error("Error parsing Plutus script:", error);
|
|
2577
|
+
}
|
|
2578
|
+
if (hasSupportedPlutusVersion(unwrappedScript)) {
|
|
2579
|
+
return unwrappedScript;
|
|
2580
|
+
}
|
|
2581
|
+
throw new Error("Unsupported Plutus version or invalid Plutus script bytes");
|
|
2582
|
+
};
|
|
2583
|
+
var applyCborEncoding = (plutusScript) => {
|
|
2584
|
+
return Cbor.encode(new CborBytes(plutusScript)).toBuffer();
|
|
2585
|
+
};
|
|
2586
|
+
var applyEncoding = (plutusScript, outputEncoding) => {
|
|
2587
|
+
switch (outputEncoding) {
|
|
2588
|
+
case "SingleCBOR":
|
|
2589
|
+
return applyCborEncoding(plutusScript);
|
|
2590
|
+
case "DoubleCBOR":
|
|
2591
|
+
return applyCborEncoding(applyCborEncoding(plutusScript));
|
|
2592
|
+
case "PurePlutusScriptBytes":
|
|
2593
|
+
return plutusScript;
|
|
2594
|
+
default:
|
|
2595
|
+
return applyCborEncoding(plutusScript);
|
|
2596
|
+
}
|
|
2597
|
+
};
|
|
2598
|
+
|
|
2530
2599
|
// src/index.ts
|
|
2531
2600
|
import * as CardanoSDKUtil from "@cardano-sdk/util";
|
|
2532
2601
|
import * as Crypto3 from "@cardano-sdk/crypto";
|
|
@@ -2658,6 +2727,7 @@ export {
|
|
|
2658
2727
|
mergeValue,
|
|
2659
2728
|
negateValue,
|
|
2660
2729
|
negatives,
|
|
2730
|
+
normalizePlutusScript,
|
|
2661
2731
|
resolveDataHash,
|
|
2662
2732
|
resolveNativeScriptAddress,
|
|
2663
2733
|
resolveNativeScriptHash,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/core-cst",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"browser": "./dist/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"@harmoniclabs/cbor": "1.3.0",
|
|
43
43
|
"@harmoniclabs/plutus-data": "1.2.4",
|
|
44
44
|
"@harmoniclabs/uplc": "1.2.4",
|
|
45
|
-
"@meshsdk/common": "1.7.
|
|
45
|
+
"@meshsdk/common": "1.7.15",
|
|
46
46
|
"@stricahq/bip32ed25519": "^1.1.0",
|
|
47
|
-
"@stricahq/cbors": "^1.0.
|
|
47
|
+
"@stricahq/cbors": "^1.0.3",
|
|
48
48
|
"pbkdf2": "^3.1.2"
|
|
49
49
|
},
|
|
50
50
|
"prettier": "@meshsdk/configs/prettier",
|