Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
266 changes: 127 additions & 139 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mesh-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/common",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Contains constants, types and interfaces used across the SDK and different serialization libraries",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/mesh-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/contract",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "List of open-source smart contracts, complete with documentation, live demos, and end-to-end source code. https://meshjs.dev/smart-contracts",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -34,8 +34,8 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/core": "1.9.0-beta.100"
"@meshsdk/common": "1.9.0-beta.101",
"@meshsdk/core": "1.9.0-beta.101"
},
"prettier": "@meshsdk/configs/prettier",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mesh-core-csl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-csl",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Types and utilities functions between Mesh and cardano-serialization-lib",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down Expand Up @@ -38,7 +38,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/common": "1.9.0-beta.101",
"@sidan-lab/whisky-js-browser": "^1.0.11",
"@sidan-lab/whisky-js-nodejs": "^1.0.11",
"@types/base32-encoding": "^1.0.2",
Expand Down
7 changes: 4 additions & 3 deletions packages/mesh-core-cst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-cst",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Types and utilities functions between Mesh and cardano-js-sdk",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -33,7 +33,8 @@
"ts-jest": "^29.1.4",
"tsup": "^8.0.2",
"typedoc": "^0.26.3",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"@meshsdk/provider": "1.9.0-beta.100"
},
"dependencies": {
"@cardano-sdk/core": "0.46.12",
Expand All @@ -44,7 +45,7 @@
"@harmoniclabs/pair": "^1.0.0",
"@harmoniclabs/plutus-data": "1.2.6",
"@harmoniclabs/uplc": "1.4.1",
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/common": "1.9.0-beta.101",
"@types/base32-encoding": "^1.0.2",
"base32-encoding": "^1.0.0",
"bech32": "^2.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OfflineFetcher } from "@meshsdk/core";
import { OfflineFetcher } from "@meshsdk/provider";

import { OfflineEvaluatorScalus } from "../src/offline-providers";

Expand Down
11 changes: 5 additions & 6 deletions packages/mesh-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Mesh SDK Core - https://meshjs.dev/",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -33,11 +33,10 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/core-cst": "1.9.0-beta.100",
"@meshsdk/provider": "1.9.0-beta.99",
"@meshsdk/transaction": "1.9.0-beta.100",
"@meshsdk/wallet": "1.9.0-beta.100"
"@meshsdk/common": "1.9.0-beta.101",
"@meshsdk/core-cst": "1.9.0-beta.101",
"@meshsdk/transaction": "1.9.0-beta.101",
"@meshsdk/wallet": "1.9.0-beta.101"
},
"prettier": "@meshsdk/configs/prettier",
"publishConfig": {
Expand Down
1 change: 0 additions & 1 deletion packages/mesh-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export * from "./core";
export * from "./utils";
export * from "@meshsdk/common";
export * as cst from "@meshsdk/core-cst";
export * from "@meshsdk/provider";
export * from "@meshsdk/transaction";
export * from "@meshsdk/wallet";

Expand Down
9 changes: 5 additions & 4 deletions packages/mesh-transaction/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/transaction",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Transactions - https://meshjs.dev/apis/transaction",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -32,11 +32,12 @@
"@types/json-bigint": "^1.0.4",
"eslint": "^8.57.0",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"@meshsdk/provider": "1.9.0-beta.100"
},
"dependencies": {
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/core-cst": "1.9.0-beta.100",
"@meshsdk/common": "1.9.0-beta.101",
"@meshsdk/core-cst": "1.9.0-beta.101",
"@cardano-sdk/core": "0.46.12",
"@cardano-sdk/util": "0.17.1",
"@cardano-sdk/input-selection": "0.14.28",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
DRep,
MeshTxBuilder,
OfflineFetcher,
serializePlutusScript,
serializeRewardAddress,
} from "@meshsdk/core";
Expand All @@ -10,6 +9,7 @@ import {
resolveScriptRef,
Serialization,
} from "@meshsdk/core-cst";
import { OfflineFetcher } from "@meshsdk/provider";

import { alwaysSucceedCbor, alwaysSucceedHash, txHash } from "../test-util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
MeshTxBuilder,
OfflineFetcher,
resolveScriptHash,
resolveScriptRef,
serializePlutusScript,
} from "@meshsdk/core";
import { CSLSerializer, OfflineEvaluator } from "@meshsdk/core-csl";
import { Transaction, TxCBOR } from "@meshsdk/core-cst";
import { OfflineFetcher } from "@meshsdk/provider";

import { alwaysSucceedCbor, mintParamCbor, txHash } from "../test-util";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import {
DEFAULT_PROTOCOL_PARAMETERS,
MeshTxBuilder,
MeshWallet,
OfflineFetcher,
resolveScriptRef,
} from "@meshsdk/core";
import { calculateFees, Serialization } from "@meshsdk/core-cst";
import { OfflineFetcher } from "@meshsdk/provider";

import { alwaysSucceedCbor, alwaysSucceedHash, txHash } from "../test-util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
DRep,
MeshTxBuilder,
OfflineFetcher,
serializeNativeScript,
serializePlutusScript,
serializeRewardAddress,
Expand All @@ -14,6 +13,7 @@ import {
resolveScriptRef,
Serialization,
} from "@meshsdk/core-cst";
import { OfflineFetcher } from "@meshsdk/provider";

import { alwaysSucceedCbor, alwaysSucceedHash, txHash } from "../test-util";

Expand Down
7 changes: 2 additions & 5 deletions packages/mesh-transaction/test/mesh-tx-builder/tx.test.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
import {
applyCborEncoding,
BlockfrostProvider,
DEFAULT_REDEEMER_BUDGET,
mConStr0,
NativeScript,
OfflineFetcher,
resolveNativeScriptHash,
resolveNativeScriptHex,
resolveScriptHash,
resolveScriptHashDRepId,
} from "@meshsdk/core";
import { OfflineEvaluator } from "@meshsdk/core-csl";
import { resolvePlutusScriptAddress, Serialization } from "@meshsdk/core-cst";
import { OfflineFetcher } from "@meshsdk/provider";
import { MeshTxBuilder } from "@meshsdk/transaction";

describe("MeshTxBuilder transactions", () => {
Expand Down Expand Up @@ -90,9 +89,7 @@ describe("MeshTxBuilder transactions", () => {
Serialization.TxCBOR(txHex),
);
console.log(txHex);
expect(
cardanoTx.body().outputs().at(0)!.datum()?.asDataHash(),
).toBeDefined();
expect(cardanoTx.body().outputs()[0]!.datum()?.asDataHash()).toBeDefined();
expect(cardanoTx.witnessSet().plutusData()?.size()).toBe(1);
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import {
DRep,
MeshTxBuilder,
OfflineFetcher,
} from "@meshsdk/core";
import { MeshTxBuilder } from "@meshsdk/core";
import { OfflineFetcher } from "@meshsdk/provider";

import { txHash } from "../test-util";

Expand Down
3 changes: 2 additions & 1 deletion packages/mesh-transaction/test/tx-parser.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { UTxO } from "@meshsdk/common";
import { OfflineFetcher, TxParser } from "@meshsdk/core";
import { TxParser } from "@meshsdk/core";
import { CSLSerializer } from "@meshsdk/core-csl";
import { OfflineFetcher } from "@meshsdk/provider";

describe("TxParser", () => {
it("should parse the tx", async () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/mesh-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/wallet",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"description": "Wallets - https://meshjs.dev/apis/wallets",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -35,9 +35,9 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0-beta.100",
"@meshsdk/core-cst": "1.9.0-beta.100",
"@meshsdk/transaction": "1.9.0-beta.100",
"@meshsdk/common": "1.9.0-beta.101",
"@meshsdk/core-cst": "1.9.0-beta.101",
"@meshsdk/transaction": "1.9.0-beta.101",
"@simplewebauthn/browser": "^13.0.0"
},
"prettier": "@meshsdk/configs/prettier",
Expand Down
2 changes: 1 addition & 1 deletion scripts/mesh-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A quick and easy way to bootstrap your Web3 app using Mesh.",
"homepage": "https://meshjs.dev",
"author": "MeshJS",
"version": "1.9.0-beta.100",
"version": "1.9.0-beta.101",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/index.cjs",
Expand Down