@meshsdk/core-cst 1.6.13 → 1.7.1
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 +4 -6
- package/dist/index.js +4 -6
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2293,19 +2293,17 @@ var CardanoSDKSerializer = class {
|
|
|
2293
2293
|
this.scriptsProvided.add(
|
|
2294
2294
|
Script.newNativeScript(
|
|
2295
2295
|
NativeScript.fromCbor(
|
|
2296
|
-
(0, import_util7.HexBlob)(currentTxIn.simpleScriptTxIn.scriptSource.
|
|
2296
|
+
(0, import_util7.HexBlob)(currentTxIn.simpleScriptTxIn.scriptSource.scriptCode)
|
|
2297
2297
|
)
|
|
2298
2298
|
)
|
|
2299
2299
|
);
|
|
2300
|
-
} else if (currentTxIn.simpleScriptTxIn.scriptSource.type === "Inline"
|
|
2300
|
+
} else if (currentTxIn.simpleScriptTxIn.scriptSource.type === "Inline") {
|
|
2301
2301
|
let referenceInputs = this.txBody.referenceInputs() ?? import_core6.Serialization.CborSet.fromCore([], TransactionInput.fromCore);
|
|
2302
2302
|
let referenceInputsList = [...referenceInputs.values()];
|
|
2303
2303
|
referenceInputsList.push(
|
|
2304
2304
|
new TransactionInput(
|
|
2305
|
-
TransactionId(
|
|
2306
|
-
|
|
2307
|
-
),
|
|
2308
|
-
BigInt(currentTxIn.simpleScriptTxIn.scriptSource.txInInfo.txIndex)
|
|
2305
|
+
TransactionId(currentTxIn.simpleScriptTxIn.scriptSource.txHash),
|
|
2306
|
+
BigInt(currentTxIn.simpleScriptTxIn.scriptSource.txIndex)
|
|
2309
2307
|
)
|
|
2310
2308
|
);
|
|
2311
2309
|
referenceInputs.setValues(referenceInputsList);
|
package/dist/index.js
CHANGED
|
@@ -2139,19 +2139,17 @@ var CardanoSDKSerializer = class {
|
|
|
2139
2139
|
this.scriptsProvided.add(
|
|
2140
2140
|
Script.newNativeScript(
|
|
2141
2141
|
NativeScript.fromCbor(
|
|
2142
|
-
HexBlob6(currentTxIn.simpleScriptTxIn.scriptSource.
|
|
2142
|
+
HexBlob6(currentTxIn.simpleScriptTxIn.scriptSource.scriptCode)
|
|
2143
2143
|
)
|
|
2144
2144
|
)
|
|
2145
2145
|
);
|
|
2146
|
-
} else if (currentTxIn.simpleScriptTxIn.scriptSource.type === "Inline"
|
|
2146
|
+
} else if (currentTxIn.simpleScriptTxIn.scriptSource.type === "Inline") {
|
|
2147
2147
|
let referenceInputs = this.txBody.referenceInputs() ?? Serialization4.CborSet.fromCore([], TransactionInput.fromCore);
|
|
2148
2148
|
let referenceInputsList = [...referenceInputs.values()];
|
|
2149
2149
|
referenceInputsList.push(
|
|
2150
2150
|
new TransactionInput(
|
|
2151
|
-
TransactionId(
|
|
2152
|
-
|
|
2153
|
-
),
|
|
2154
|
-
BigInt(currentTxIn.simpleScriptTxIn.scriptSource.txInInfo.txIndex)
|
|
2151
|
+
TransactionId(currentTxIn.simpleScriptTxIn.scriptSource.txHash),
|
|
2152
|
+
BigInt(currentTxIn.simpleScriptTxIn.scriptSource.txIndex)
|
|
2155
2153
|
)
|
|
2156
2154
|
);
|
|
2157
2155
|
referenceInputs.setValues(referenceInputsList);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/core-cst",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@harmoniclabs/cbor": "1.3.0",
|
|
42
42
|
"@harmoniclabs/plutus-data": "1.2.4",
|
|
43
43
|
"@harmoniclabs/uplc": "1.2.4",
|
|
44
|
-
"@meshsdk/common": "
|
|
44
|
+
"@meshsdk/common": "1.7.1",
|
|
45
45
|
"@stricahq/bip32ed25519": "^1.1.0",
|
|
46
46
|
"@stricahq/cbors": "^1.0.0",
|
|
47
47
|
"pbkdf2": "^3.1.2"
|