@decaf-ts/for-fabric 0.17.3 → 0.17.5
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/for-fabric.cjs +1 -1
- package/dist/for-fabric.cjs.map +1 -1
- package/dist/for-fabric.js +1 -1
- package/dist/for-fabric.js.map +1 -1
- package/lib/cjs/contracts/ContractAdapter.cjs +1 -5
- package/lib/cjs/contracts/ContractAdapter.cjs.map +1 -1
- package/lib/cjs/contracts/ContractContext.cjs +9 -17
- package/lib/cjs/contracts/ContractContext.cjs.map +1 -1
- package/lib/cjs/shared/decorators.cjs +2 -2
- package/lib/cjs/shared/decorators.cjs.map +1 -1
- package/lib/cjs/version.cjs +3 -3
- package/lib/esm/contracts/ContractAdapter.js +1 -5
- package/lib/esm/contracts/ContractAdapter.js.map +1 -1
- package/lib/esm/contracts/ContractContext.js +9 -17
- package/lib/esm/contracts/ContractContext.js.map +1 -1
- package/lib/esm/shared/decorators.js +2 -2
- package/lib/esm/shared/decorators.js.map +1 -1
- package/lib/esm/version.js +3 -3
- package/lib/types/contracts/ContractContext.d.cts +2 -2
- package/lib/types/contracts/ContractContext.d.mts +2 -2
- package/lib/types/contracts/types.d.cts +0 -1
- package/lib/types/contracts/types.d.mts +0 -1
- package/lib/types/version.d.cts +3 -3
- package/lib/types/version.d.mts +3 -3
- package/package.json +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/for-fabric",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.5",
|
|
4
4
|
"packageManager": "npm@11.13.0",
|
|
5
5
|
"description": "Abstracts fabric logic",
|
|
6
6
|
"type": "module",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"./lib/cjs/contracts/overrides.cjs"
|
|
81
81
|
],
|
|
82
82
|
"scripts": {
|
|
83
|
-
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
|
|
83
|
+
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install && cd deployment && npm run do-install",
|
|
84
84
|
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
|
|
85
85
|
"update-scripts": "npx update-scripts",
|
|
86
86
|
"on-first-run": "npx update-scripts --boot",
|
|
@@ -107,6 +107,8 @@
|
|
|
107
107
|
"extract:indexes": "decaf fabric extract-indexes --folder ./lib/cjs/contract/trackedModels --outDir ./docker/infrastructure/chaincode/${CONTRACT_NAME:-GlobalContract}",
|
|
108
108
|
"extract:collections": "decaf fabric extract-collections --folder ./lib/cjs/contract/trackedModels --outDir ./docker/infrastructure/chaincode/${CONTRACT_NAME:-GlobalContract} --mspIds '[\"org-a\",\"org-c\"]' --mainMspId org-b",
|
|
109
109
|
"infrastructure:up": "docker compose -f ./docker/infrastructure/docker-compose.yaml up -d",
|
|
110
|
+
"infrastructure:shared:up": "cd deployment && npm run infrastructure:full:up && npm run setup:orgs",
|
|
111
|
+
"infrastructure:shared:down": "cd deployment && npm run infrastructure:full:down",
|
|
110
112
|
"infrastructure:down": "docker compose -f ./docker/infrastructure/docker-compose.yaml down --rmi local -v && rm -rf ./docker/docker-data && rm -f ./tests/integration/chaincodeTrackers/*.count",
|
|
111
113
|
"infrastructure-hsm:up": "docker compose -f ./docker/infrastructure/docker-compose-hsm.yaml up -d",
|
|
112
114
|
"infrastructure-hsm:down": "docker compose -f ./docker/infrastructure/docker-compose-hsm.yaml down --rmi local -v",
|