@meshsdk/common 1.6.0-alpha.21 → 1.6.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 +1 -0
- package/dist/{index.d.mts → index.d.cts} +96 -8
- package/dist/index.d.ts +96 -8
- package/dist/index.js +1 -1316
- package/package.json +28 -9
- package/.turbo/turbo-build$colon$docs.log +0 -17
- package/.turbo/turbo-build$colon$mesh.log +0 -19
- package/.turbo/turbo-build.log +0 -19
- package/dist/index.mjs +0 -1189
- package/src/constants/cost-models.ts +0 -30
- package/src/constants/index.ts +0 -86
- package/src/constants/language-views.ts +0 -19
- package/src/constants/protocol-parameters.ts +0 -34
- package/src/constants/supported-wallets.ts +0 -12
- package/src/data/index.ts +0 -5
- package/src/data/json/aliases.ts +0 -218
- package/src/data/json/constructors.ts +0 -56
- package/src/data/json/credentials.ts +0 -77
- package/src/data/json/index.ts +0 -33
- package/src/data/json/primitives.ts +0 -154
- package/src/data/mesh/aliases.ts +0 -85
- package/src/data/mesh/constructors.ts +0 -68
- package/src/data/mesh/credentials.ts +0 -77
- package/src/data/mesh/index.ts +0 -4
- package/src/data/mesh/primitives.ts +0 -37
- package/src/data/parser.ts +0 -36
- package/src/data/time.ts +0 -92
- package/src/data/value.ts +0 -70
- package/src/index.ts +0 -7
- package/src/interfaces/evaluator.ts +0 -5
- package/src/interfaces/fetcher.ts +0 -31
- package/src/interfaces/index.ts +0 -7
- package/src/interfaces/initiator.ts +0 -9
- package/src/interfaces/listener.ts +0 -3
- package/src/interfaces/serializer.ts +0 -53
- package/src/interfaces/signer.ts +0 -12
- package/src/interfaces/submitter.ts +0 -3
- package/src/types/account-info.ts +0 -7
- package/src/types/action.ts +0 -15
- package/src/types/asset-extended.ts +0 -9
- package/src/types/asset-metadata.ts +0 -102
- package/src/types/asset.ts +0 -23
- package/src/types/block-info.ts +0 -17
- package/src/types/data-signature.ts +0 -4
- package/src/types/data.ts +0 -10
- package/src/types/deserialized/deserialized-address.ts +0 -6
- package/src/types/deserialized/deserialized-script.ts +0 -4
- package/src/types/deserialized/index.ts +0 -2
- package/src/types/era.ts +0 -1
- package/src/types/index.ts +0 -24
- package/src/types/message.ts +0 -4
- package/src/types/mint.ts +0 -12
- package/src/types/native-script.ts +0 -18
- package/src/types/network.ts +0 -7
- package/src/types/plutus-script.ts +0 -8
- package/src/types/pool-params.ts +0 -41
- package/src/types/protocol.ts +0 -22
- package/src/types/recipient.ts +0 -15
- package/src/types/relay.ts +0 -42
- package/src/types/token.ts +0 -3
- package/src/types/transaction-builder/data.ts +0 -31
- package/src/types/transaction-builder/index.ts +0 -73
- package/src/types/transaction-builder/mint.ts +0 -11
- package/src/types/transaction-builder/output.ts +0 -12
- package/src/types/transaction-builder/script.ts +0 -27
- package/src/types/transaction-builder/txin.ts +0 -46
- package/src/types/transaction-builder/withdrawal.ts +0 -207
- package/src/types/transaction-info.ts +0 -11
- package/src/types/utxo.ts +0 -16
- package/src/types/wallet.ts +0 -6
- package/src/utils/asset-fingerprint.ts +0 -11
- package/src/utils/bigNum.ts +0 -61
- package/src/utils/index.ts +0 -2
- package/test/data/json/aliases.test.ts +0 -135
- package/test/data/json/constructors.test.ts +0 -38
- package/test/data/json/credentials.test.ts +0 -84
- package/test/data/json/primitives.test.ts +0 -133
- package/test/data/mesh/aliases.test.ts +0 -45
- package/test/data/mesh/common.ts +0 -14
- package/test/data/mesh/constructors.test.ts +0 -53
- package/test/data/mesh/credentials.test.ts +0 -74
- package/test/data/mesh/primitives.test.ts +0 -41
- package/test/data/value.test.ts +0 -108
- package/tsconfig.json +0 -5
package/package.json
CHANGED
|
@@ -1,32 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/common",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
5
9
|
"exports": {
|
|
6
10
|
".": {
|
|
7
|
-
"import": "./dist/index.
|
|
8
|
-
"require": "./dist/index.
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
9
14
|
}
|
|
10
15
|
},
|
|
11
|
-
"
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**"
|
|
18
|
+
],
|
|
12
19
|
"scripts": {
|
|
13
|
-
"build:mesh": "tsup src/index.ts --format esm,cjs --dts",
|
|
20
|
+
"build:mesh": "tsup src/index.ts --format esm,cjs --dts --minify",
|
|
14
21
|
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
|
|
15
22
|
"lint": "eslint",
|
|
16
23
|
"clean": "rm -rf .turbo && rm -rf dist && rm -rf node_modules",
|
|
17
24
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
|
18
|
-
"build:docs": "typedoc src/index.ts --json ../../apps/docs/src/data/mesh-common.json"
|
|
25
|
+
"build:docs": "typedoc src/index.ts --json ../../apps/docs/src/data/mesh-common.json",
|
|
26
|
+
"test": "jest"
|
|
19
27
|
},
|
|
20
28
|
"dependencies": {
|
|
21
29
|
"@emurgo/cip14-js": "3.0.1",
|
|
22
30
|
"bip39": "3.1.0"
|
|
23
31
|
},
|
|
24
32
|
"devDependencies": {
|
|
25
|
-
"@meshsdk/eslint-config": "
|
|
26
|
-
"@meshsdk/typescript-config": "
|
|
33
|
+
"@meshsdk/eslint-config": "*",
|
|
34
|
+
"@meshsdk/typescript-config": "*",
|
|
27
35
|
"eslint": "^8.57.0",
|
|
28
36
|
"tsup": "^8.0.2",
|
|
29
37
|
"typescript": "^5.3.3"
|
|
30
38
|
},
|
|
31
|
-
"prettier": "@meshsdk/prettier-config"
|
|
39
|
+
"prettier": "@meshsdk/prettier-config",
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"license": "Apache-2.0",
|
|
44
|
+
"keywords": [
|
|
45
|
+
"cardano",
|
|
46
|
+
"ada",
|
|
47
|
+
"web3",
|
|
48
|
+
"blockchain",
|
|
49
|
+
"sdk"
|
|
50
|
+
]
|
|
32
51
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @meshsdk/common@1.6.0-alpha.21 build:docs
|
|
3
|
-
> typedoc src/index.ts --json ../../apps/docs/src/data/mesh-common.json
|
|
4
|
-
|
|
5
|
-
[1G[0K[33m[93m[warning][0m The signature mConStr0 has an @param with name "alternative", which was not used[39m
|
|
6
|
-
[33m[93m[warning][0m The signature mConStr1 has an @param with name "alternative", which was not used[39m
|
|
7
|
-
[33m[93m[warning][0m The signature mConStr2 has an @param with name "alternative", which was not used[39m
|
|
8
|
-
[33m[93m[warning][0m MetadataStandard, defined in ./src/types/asset-metadata.ts, is referenced by FungibleAssetMetadata but not included in the documentation[39m
|
|
9
|
-
[33m[93m[warning][0m ALL_NETWORKS, defined in ./src/types/network.ts, is referenced by Network but not included in the documentation[39m
|
|
10
|
-
[33m[93m[warning][0m AudioAssetMetadata, defined in ./src/types/asset-metadata.ts, is referenced by NonFungibleAssetMetadata but not included in the documentation[39m
|
|
11
|
-
[33m[93m[warning][0m SmartAssetMetadata, defined in ./src/types/asset-metadata.ts, is referenced by NonFungibleAssetMetadata but not included in the documentation[39m
|
|
12
|
-
[33m[93m[warning][0m VideoAssetMetadata, defined in ./src/types/asset-metadata.ts, is referenced by NonFungibleAssetMetadata but not included in the documentation[39m
|
|
13
|
-
[33m[93m[warning][0m SometimesPromise, defined in ./src/interfaces/initiator.ts, is referenced by IInitiator.getChangeAddress but not included in the documentation[39m
|
|
14
|
-
[33m[93m[warning][0m SometimesPromise, defined in ./src/interfaces/signer.ts, is referenced by ISigner.signData but not included in the documentation[39m
|
|
15
|
-
[96m[info][0m JSON written to /Users/jingles/Documents/GitHub/mesh-v2/apps/docs/src/data/mesh-common.json
|
|
16
|
-
[33m[93m[warning][0m Found 0 errors and 10 warnings[39m
|
|
17
|
-
[1G[0K⠙[1G[0K
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @meshsdk/common@1.6.0-alpha.21 build:mesh
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
-
|
|
5
|
-
[1G[0K[34mCLI[39m Building entry: src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.2.3
|
|
8
|
-
[34mCLI[39m Target: es2020
|
|
9
|
-
[34mESM[39m Build start
|
|
10
|
-
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m29.13 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 25ms
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m34.16 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in 25ms
|
|
15
|
-
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in 779ms
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m36.23 KB[39m
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m36.23 KB[39m
|
|
19
|
-
[1G[0K⠙[1G[0K
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @meshsdk/common@0.0.1 build
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
-
|
|
5
|
-
[1G[0K[34mCLI[39m Building entry: src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.2.3
|
|
8
|
-
[34mCLI[39m Target: es2020
|
|
9
|
-
[34mESM[39m Build start
|
|
10
|
-
[34mCJS[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.js [22m[32m34.16 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 37ms
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m29.13 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 37ms
|
|
15
|
-
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in 897ms
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m36.37 KB[39m
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m36.37 KB[39m
|
|
19
|
-
[1G[0K⠙[1G[0K
|