@across-protocol/contracts 3.0.21 → 3.0.24

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": "@across-protocol/contracts",
3
- "version": "3.0.21",
3
+ "version": "3.0.24",
4
4
  "author": "UMA Team",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -30,7 +30,8 @@
30
30
  "build-evm": "hardhat compile",
31
31
  "build-svm": "echo 'Generating IDLs...' && anchor build > /dev/null 2>&1 || true && anchor run generateExternalTypes && anchor build",
32
32
  "build-ts": "tsc && rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./typechain ./dist/",
33
- "build": "yarn build-evm && yarn build-svm && yarn generate-svm-assets && yarn build-ts",
33
+ "copy-idl": "mkdir -p dist/src/svm/assets/idl && cp src/svm/assets/idl/*.json dist/src/svm/assets/idl/",
34
+ "build": "yarn build-evm && yarn build-svm && yarn generate-svm-assets && yarn build-ts && yarn copy-idl",
34
35
  "test-evm": "IS_TEST=true hardhat test",
35
36
  "test-svm": "anchor test -- --features test",
36
37
  "test": "yarn test-evm && yarn test-svm",