@meshsdk/contract 1.6.0-alpha.21 → 1.6.2
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 +37 -0
- package/dist/{index.d.mts → index.d.cts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +28 -1803
- package/package.json +30 -14
- package/.turbo/turbo-build$colon$docs.log +0 -8
- package/.turbo/turbo-build$colon$mesh.log +0 -19
- package/dist/index.mjs +0 -1834
- package/src/common.ts +0 -186
- package/src/coupon-bond-guaranteed/aiken-workspace/readme.md +0 -0
- package/src/coupon-bond-guaranteed/offchain.ts +0 -3
- package/src/coupon-bond-guaranteed/readme.md +0 -3
- package/src/escrow/aiken-workspace/aiken.lock +0 -26
- package/src/escrow/aiken-workspace/aiken.toml +0 -19
- package/src/escrow/aiken-workspace/lib/escrow/types.ak +0 -21
- package/src/escrow/aiken-workspace/lib/escrow/validators/escrow.ak +0 -122
- package/src/escrow/aiken-workspace/plutus.json +0 -238
- package/src/escrow/aiken-workspace/readme.md +0 -55
- package/src/escrow/aiken-workspace/validators/escrow.ak +0 -9
- package/src/escrow/aiken-workspace/validators/tests/escrow.ak +0 -462
- package/src/escrow/index.ts +0 -1
- package/src/escrow/offchain.ts +0 -254
- package/src/escrow/readme.md +0 -38
- package/src/giftcard/aiken-workspace/aiken.lock +0 -26
- package/src/giftcard/aiken-workspace/aiken.toml +0 -19
- package/src/giftcard/aiken-workspace/plutus.json +0 -138
- package/src/giftcard/aiken-workspace/readme.md +0 -55
- package/src/giftcard/aiken-workspace/validators/oneshot.ak +0 -173
- package/src/giftcard/index.ts +0 -1
- package/src/giftcard/offchain.ts +0 -184
- package/src/giftcard/readme.md +0 -36
- package/src/hello-world/aiken-workspace/README.md +0 -19
- package/src/hello-world/aiken-workspace/aiken.lock +0 -15
- package/src/hello-world/aiken-workspace/aiken.toml +0 -14
- package/src/hello-world/aiken-workspace/contract.md +0 -27
- package/src/hello-world/aiken-workspace/plutus.json +0 -69
- package/src/hello-world/aiken-workspace/validators/hello_world.ak +0 -24
- package/src/hello-world/index.ts +0 -1
- package/src/hello-world/offchain.ts +0 -24
- package/src/hello-world/readme.md +0 -1
- package/src/index.ts +0 -6
- package/src/marketplace/aiken-workspace/aiken.lock +0 -26
- package/src/marketplace/aiken-workspace/aiken.toml +0 -19
- package/src/marketplace/aiken-workspace/lib/marketplace/types.ak +0 -15
- package/src/marketplace/aiken-workspace/lib/marketplace/validators/marketplace.ak +0 -52
- package/src/marketplace/aiken-workspace/plutus.json +0 -204
- package/src/marketplace/aiken-workspace/readme.md +0 -55
- package/src/marketplace/aiken-workspace/validators/marketplace.ak +0 -14
- package/src/marketplace/aiken-workspace/validators/tests/marketplace.ak +0 -218
- package/src/marketplace/index.ts +0 -1
- package/src/marketplace/offchain.ts +0 -248
- package/src/marketplace/readme.md +0 -45
- package/src/payment-splitter/aiken-workspace/aiken.lock +0 -15
- package/src/payment-splitter/aiken-workspace/aiken.toml +0 -14
- package/src/payment-splitter/aiken-workspace/plutus.json +0 -83
- package/src/payment-splitter/aiken-workspace/validators/payment-splitter.ak +0 -329
- package/src/payment-splitter/index.ts +0 -1
- package/src/payment-splitter/offchain.ts +0 -143
- package/src/payment-splitter/readme.md +0 -100
- package/src/swap/aiken-workspace/aiken.lock +0 -26
- package/src/swap/aiken-workspace/aiken.toml +0 -19
- package/src/swap/aiken-workspace/plutus.json +0 -208
- package/src/swap/aiken-workspace/readme.md +0 -55
- package/src/swap/aiken-workspace/validators/swap.ak +0 -188
- package/src/swap/index.ts +0 -1
- package/src/swap/offchain.ts +0 -139
- package/src/swap/readme.md +0 -35
- package/src/vesting/aiken-workspace/README.md +0 -24
- package/src/vesting/aiken-workspace/aiken.lock +0 -26
- package/src/vesting/aiken-workspace/aiken.toml +0 -19
- package/src/vesting/aiken-workspace/lib/vesting/types.ak +0 -8
- package/src/vesting/aiken-workspace/lib/vesting/validators/vesting.ak +0 -19
- package/src/vesting/aiken-workspace/plutus.json +0 -67
- package/src/vesting/aiken-workspace/validators/tests/vesting.ak +0 -108
- package/src/vesting/aiken-workspace/validators/vesting.ak +0 -9
- package/src/vesting/index.ts +0 -1
- package/src/vesting/offchain.ts +0 -117
- package/src/vesting/readme.md +0 -36
- package/tsconfig.json +0 -5
package/package.json
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/contract",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "./dist/index.
|
|
6
|
-
"module": "./dist/index.
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
|
-
"import": "./dist/index.
|
|
11
|
-
"require": "./dist/index.
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
12
14
|
}
|
|
13
15
|
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**"
|
|
18
|
+
],
|
|
14
19
|
"scripts": {
|
|
15
|
-
"build:mesh": "tsup src/index.ts --format esm,cjs --dts",
|
|
20
|
+
"build:mesh": "tsup src/index.ts --format esm,cjs --dts --minify",
|
|
16
21
|
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
|
|
17
22
|
"lint": "eslint",
|
|
18
23
|
"clean": "rm -rf .turbo && rm -rf dist && rm -rf node_modules",
|
|
@@ -20,18 +25,29 @@
|
|
|
20
25
|
"build:docs": "typedoc src/index.ts --json ../../apps/docs/src/data/mesh-contracts.json"
|
|
21
26
|
},
|
|
22
27
|
"devDependencies": {
|
|
23
|
-
"@meshsdk/eslint-config": "
|
|
24
|
-
"@meshsdk/typescript-config": "
|
|
28
|
+
"@meshsdk/eslint-config": "*",
|
|
29
|
+
"@meshsdk/typescript-config": "*",
|
|
25
30
|
"eslint": "^8.57.0",
|
|
26
31
|
"tsup": "^8.0.2",
|
|
27
32
|
"typescript": "^5.3.3"
|
|
28
33
|
},
|
|
29
34
|
"dependencies": {
|
|
30
|
-
"@meshsdk/common": "
|
|
31
|
-
"@meshsdk/core": "
|
|
32
|
-
"@meshsdk/core-csl": "
|
|
33
|
-
"@meshsdk/core-cst": "
|
|
34
|
-
"@meshsdk/transaction": "
|
|
35
|
+
"@meshsdk/common": "*",
|
|
36
|
+
"@meshsdk/core": "*",
|
|
37
|
+
"@meshsdk/core-csl": "*",
|
|
38
|
+
"@meshsdk/core-cst": "*",
|
|
39
|
+
"@meshsdk/transaction": "*"
|
|
35
40
|
},
|
|
36
|
-
"prettier": "@meshsdk/prettier-config"
|
|
41
|
+
"prettier": "@meshsdk/prettier-config",
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"license": "Apache-2.0",
|
|
46
|
+
"keywords": [
|
|
47
|
+
"cardano",
|
|
48
|
+
"ada",
|
|
49
|
+
"web3",
|
|
50
|
+
"blockchain",
|
|
51
|
+
"sdk"
|
|
52
|
+
]
|
|
37
53
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @meshsdk/contract@1.6.0-alpha.21 build:docs
|
|
3
|
-
> typedoc src/index.ts --json ../../apps/docs/src/data/mesh-contracts.json
|
|
4
|
-
|
|
5
|
-
[1G[0K[33m[93m[warning][0m MeshTxInitiatorInput, defined in ./src/common.ts, is referenced by MeshEscrowContract.constructor.inputs but not included in the documentation[39m
|
|
6
|
-
[96m[info][0m JSON written to /Users/jingles/Documents/GitHub/mesh-v2/apps/docs/src/data/mesh-contracts.json
|
|
7
|
-
[33m[93m[warning][0m Found 0 errors and 1 warnings[39m
|
|
8
|
-
[1G[0K⠙[1G[0K
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @meshsdk/contract@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
|
-
[32mCJS[39m [1mdist/index.js [22m[32m78.53 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 20ms
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m76.36 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 20ms
|
|
15
|
-
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in 868ms
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m21.00 KB[39m
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m21.00 KB[39m
|
|
19
|
-
[1G[0K⠙[1G[0K
|