@meshsdk/core 1.7.9 → 1.7.10

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/README.md CHANGED
@@ -8,14 +8,14 @@
8
8
 
9
9
  <h1 style="border-bottom: none"><a href='https://meshjs.dev/'>Mesh</a> TypeScript SDK</h1>
10
10
 
11
- [![Licence](https://img.shields.io/github/license/meshjs/mesh)](https://github.com/meshjs/mesh/blob/master/LICENSE)
12
- [![Build](https://github.com/meshjs/mesh/actions/workflows/build.yml/badge.svg)](https://github.com/meshjs/mesh/actions/workflows/build.yml)
13
- [![Package](https://github.com/meshjs/mesh/actions/workflows/publish.yml/badge.svg)](https://github.com/meshjs/mesh/actions/workflows/publish.yml)
11
+ [![Licence](https://img.shields.io/github/license/meshjs/mesh)](https://github.com/meshjs/mesh/blob/master/LICENSE)
12
+ [![Build](https://github.com/meshjs/mesh/actions/workflows/build.yml/badge.svg)](https://github.com/meshjs/mesh/actions/workflows/build.yml)
13
+ [![Package](https://github.com/meshjs/mesh/actions/workflows/publish.yml/badge.svg)](https://github.com/meshjs/mesh/actions/workflows/publish.yml)
14
14
 
15
- [![Twitter/X](https://img.shields.io/badge/Follow%20us-@MeshJS-blue?logo=x&style=for-the-badge)](https://x.com/meshsdk)
16
- [![NPM](https://img.shields.io/npm/v/%40meshsdk%2Fcore?style=for-the-badge)](https://www.npmjs.com/package/@meshsdk/core)
15
+ [![Twitter/X](https://img.shields.io/badge/Follow%20us-@MeshJS-blue?logo=x&style=for-the-badge)](https://x.com/meshsdk)
16
+ [![NPM](https://img.shields.io/npm/v/%40meshsdk%2Fcore?style=for-the-badge)](https://www.npmjs.com/package/@meshsdk/core)
17
17
 
18
- <strong>All-in-one web3 SDK for Cardano apps</strong>
18
+ <strong>All-in-one web3 SDK for Cardano apps</strong>
19
19
 
20
20
  </div>
21
21
 
package/dist/index.d.cts CHANGED
@@ -122,7 +122,9 @@ declare const deserializePoolId: (poolId: string) => string;
122
122
  /**
123
123
  * Serialize Native script into bech32 address
124
124
  * @param script The native script object
125
+ * @param stakeCredentialHash The stake credential hash
125
126
  * @param networkId 0 (testnet) or 1 (mainnet). Default to be 0 (testnet).
127
+ * @param isScriptStakeCredential Whether the script is a stake credential. Default to be false.
126
128
  * @returns Bech32 address
127
129
  */
128
130
  declare const serializeNativeScript: (script: NativeScript, stakeCredentialHash?: string, networkId?: number, isScriptStakeCredential?: boolean) => {
@@ -132,7 +134,9 @@ declare const serializeNativeScript: (script: NativeScript, stakeCredentialHash?
132
134
  /**
133
135
  * Serialize Native script into bech32 address
134
136
  * @param script The native script object
137
+ * @param stakeCredentialHash The stake credential hash
135
138
  * @param networkId 0 (testnet) or 1 (mainnet). Default to be 0 (testnet).
139
+ * @param isScriptStakeCredential Whether the script is a stake credential. Default to be false.
136
140
  * @returns Bech32 address
137
141
  */
138
142
  declare const serializePlutusScript: (script: PlutusScript, stakeCredentialHash?: string, networkId?: number, isScriptStakeCredential?: boolean) => {
package/dist/index.d.ts CHANGED
@@ -122,7 +122,9 @@ declare const deserializePoolId: (poolId: string) => string;
122
122
  /**
123
123
  * Serialize Native script into bech32 address
124
124
  * @param script The native script object
125
+ * @param stakeCredentialHash The stake credential hash
125
126
  * @param networkId 0 (testnet) or 1 (mainnet). Default to be 0 (testnet).
127
+ * @param isScriptStakeCredential Whether the script is a stake credential. Default to be false.
126
128
  * @returns Bech32 address
127
129
  */
128
130
  declare const serializeNativeScript: (script: NativeScript, stakeCredentialHash?: string, networkId?: number, isScriptStakeCredential?: boolean) => {
@@ -132,7 +134,9 @@ declare const serializeNativeScript: (script: NativeScript, stakeCredentialHash?
132
134
  /**
133
135
  * Serialize Native script into bech32 address
134
136
  * @param script The native script object
137
+ * @param stakeCredentialHash The stake credential hash
135
138
  * @param networkId 0 (testnet) or 1 (mainnet). Default to be 0 (testnet).
139
+ * @param isScriptStakeCredential Whether the script is a stake credential. Default to be false.
136
140
  * @returns Bech32 address
137
141
  */
138
142
  declare const serializePlutusScript: (script: PlutusScript, stakeCredentialHash?: string, networkId?: number, isScriptStakeCredential?: boolean) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/core",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.js",
@@ -9,9 +9,9 @@
9
9
  "type": "module",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/index.d.ts",
12
13
  "import": "./dist/index.js",
13
- "require": "./dist/index.cjs",
14
- "types": "./dist/index.d.ts"
14
+ "require": "./dist/index.cjs"
15
15
  }
16
16
  },
17
17
  "files": [
@@ -33,13 +33,13 @@
33
33
  "typescript": "^5.3.3"
34
34
  },
35
35
  "dependencies": {
36
- "@meshsdk/common": "1.7.9",
37
- "@meshsdk/core-csl": "1.7.9",
38
- "@meshsdk/core-cst": "1.7.9",
39
- "@meshsdk/provider": "1.7.9",
40
- "@meshsdk/react": "1.7.9",
41
- "@meshsdk/transaction": "1.7.9",
42
- "@meshsdk/wallet": "1.7.9"
36
+ "@meshsdk/common": "1.7.10",
37
+ "@meshsdk/core-csl": "1.7.10",
38
+ "@meshsdk/core-cst": "1.7.10",
39
+ "@meshsdk/provider": "1.7.10",
40
+ "@meshsdk/react": "1.7.10",
41
+ "@meshsdk/transaction": "1.7.10",
42
+ "@meshsdk/wallet": "1.7.10"
43
43
  },
44
44
  "prettier": "@meshsdk/configs/prettier",
45
45
  "publishConfig": {