@meshsdk/core 1.7.8 → 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 +6 -6
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +10 -10
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
[](https://github.com/meshjs/mesh/blob/master/LICENSE)
|
|
12
|
+
[](https://github.com/meshjs/mesh/actions/workflows/build.yml)
|
|
13
|
+
[](https://github.com/meshjs/mesh/actions/workflows/publish.yml)
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
[](https://x.com/meshsdk)
|
|
16
|
+
[](https://www.npmjs.com/package/@meshsdk/core)
|
|
17
17
|
|
|
18
|
-
|
|
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.
|
|
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.
|
|
37
|
-
"@meshsdk/core-csl": "1.7.
|
|
38
|
-
"@meshsdk/core-cst": "1.7.
|
|
39
|
-
"@meshsdk/provider": "1.7.
|
|
40
|
-
"@meshsdk/react": "1.7.
|
|
41
|
-
"@meshsdk/transaction": "1.7.
|
|
42
|
-
"@meshsdk/wallet": "1.7.
|
|
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": {
|