@fairmint/open-captable-protocol-daml-js 0.2.151 → 0.2.152

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/open-captable-protocol-daml-js",
3
- "version": "0.2.151",
3
+ "version": "0.2.152",
4
4
  "description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
5
5
  "keywords": [
6
6
  "daml",
@@ -36,7 +36,8 @@
36
36
  "./paymentStreams-factory-contract-id.json": {
37
37
  "types": "./types/paymentStreams-factory-contract-id-json.d.ts",
38
38
  "default": "./generated/paymentStreams-factory-contract-id.json"
39
- }
39
+ },
40
+ "./opencaptable.dar": "./published-dars/OpenCapTable.dar"
40
41
  },
41
42
  "main": "lib/index.js",
42
43
  "types": "lib/index.d.ts",
@@ -61,7 +62,7 @@
61
62
  "types/reports-factory-contract-id-json.d.ts",
62
63
  "generated/paymentStreams-factory-contract-id.json",
63
64
  "types/paymentStreams-factory-contract-id-json.d.ts",
64
- "OpenCapTable-v34/.daml/dist/OpenCapTable-v34-0.0.1.dar"
65
+ "published-dars/OpenCapTable.dar"
65
66
  ],
66
67
  "scripts": {
67
68
  "backup-dar": "tsx scripts/backup-dar.ts",
@@ -71,7 +72,7 @@
71
72
  "check:schema-gaps": "tsx scripts/schema-gap-checker/check-schema-gaps.ts",
72
73
  "check-upgrade-compat": "tsx scripts/check-upgrade-compatibility.ts",
73
74
  "clean": "for pkg in Shared OpenCapTableReports-v01 OpenCapTable-v34 NftApi-v01 NftReference-v01 EquityCertificateShared EquityCertificate-v01 OpenCapTableProofOfOwnership-v01 CantonPayments CouponMinter Test; do (cd $pkg && PATH=\"$HOME/.dpm/bin:$PATH\" dpm clean); done",
74
- "codegen": "npm run build && cd OpenCapTable-v34 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd Shared && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd OpenCapTableReports-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftApi-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftReference-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/merge-nft-iface-codegen.ts && cd CantonPayments && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts && npm run build:ts",
75
+ "codegen": "npm run build && cd OpenCapTable-v34 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd Shared && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd OpenCapTableReports-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftApi-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftReference-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/merge-nft-iface-codegen.ts && cd CantonPayments && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts && npm run build:ts && tsx scripts/stage-npm-opencaptable-dar.ts",
75
76
  "create-couponMinter": "tsx scripts/create-couponMinter.ts",
76
77
  "create-factory:ocp": "npm run codegen && tsx scripts/create-ocp-factory.ts --network devnet && tsx scripts/create-ocp-factory.ts --network mainnet",
77
78
  "create-factory:paymentStreams": "npm run codegen && tsx scripts/create-paymentStreams-factory.ts --network devnet && tsx scripts/create-paymentStreams-factory.ts --network mainnet",