Skip to content

Commit

Permalink
fix cost model and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglescode committed Aug 28, 2024
1 parent 795eaf4 commit a83ad75
Show file tree
Hide file tree
Showing 12 changed files with 705 additions and 783 deletions.
1,452 changes: 687 additions & 765 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@meshsdk/root",
"private": true,
"scripts": {
"build": "turbo build --concurrency 15",
"build": "turbo build --concurrency 15 && npm run build:scripts",
"build:apps": "turbo run build:apps",
"build:docs": "turbo run build:docs",
"build:mesh": "turbo run build:mesh",
Expand Down
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.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/contract",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
16 changes: 8 additions & 8 deletions packages/mesh-contract/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class MeshTxInitiator {
mesh,
fetcher,
wallet,
networkId,
networkId = 0,
stakeCredential,
}: MeshTxInitiatorInput) {
this.mesh = mesh;
Expand All @@ -36,14 +36,14 @@ export class MeshTxInitiator {
if (wallet) {
this.wallet = wallet;
}
if (networkId) {
this.networkId = networkId;
if (networkId === 1) {
this.mesh.setNetwork("mainnet");
} else {
this.mesh.setNetwork("preprod");
}

this.networkId = networkId;
if (networkId === 1) {
this.mesh.setNetwork("mainnet");
} else {
this.mesh.setNetwork("preprod");
}

if (stakeCredential) {
this.stakeCredential = this.stakeCredential;
}
Expand Down
2 changes: 1 addition & 1 deletion 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.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion 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.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/provider",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/react",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-transaction/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/transaction",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/wallet",
"version": "1.6.12",
"version": "1.6.13",
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down

0 comments on commit a83ad75

Please sign in to comment.