From cfdd93ab86d27bd89bbb53c326026bdec9e5ac95 Mon Sep 17 00:00:00 2001 From: Anthony Lau <75007+kwongpan@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:19:15 -0700 Subject: [PATCH] [squid-api#586] update @axelar-network/axelarjs-sdk to 0.16.1 --- .github/workflows/code-validation.yml | 18 +++++++++++++----- .github/workflows/release-package.yml | 15 ++++++++------- package.json | 6 +++--- yarn.lock | 25 ++++++++++++++++--------- 4 files changed, 40 insertions(+), 24 deletions(-) diff --git a/.github/workflows/code-validation.yml b/.github/workflows/code-validation.yml index b0cfb63..16debda 100644 --- a/.github/workflows/code-validation.yml +++ b/.github/workflows/code-validation.yml @@ -1,13 +1,21 @@ name: Linter and build on: [push] + +env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + jobs: squid-type: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "18" - - run: yarn install - - run: yarn build - - run: yarn lint + node-version: 18 + + - name: NPM auth, install and build + run: | + npm set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN + yarn install --inmutable + yarn build + yarn lint diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 542bd3c..817e8fb 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -5,22 +5,23 @@ on: branches: - main +env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + jobs: release: name: Release Squid Types package runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "18" - - - name: Authenticate with private NPM package - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + node-version: 18 - - name: Install dependencies + - name: NPM auth, install and build run: | - yarn install + npm set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN + yarn install --inmutable yarn build - name: Publish to NPM diff --git a/package.json b/package.json index b554262..8a3b008 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.75", + "version": "0.1.76", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", @@ -37,10 +37,10 @@ "author": "0xsquid", "license": "Apache-2.0", "directories": { - "typescript": "^4.9.5" + "typescript": "^5.3.3" }, "dependencies": { - "@axelar-network/axelarjs-sdk": "^0.13.6", + "@axelar-network/axelarjs-sdk": "^0.16.1", "@ethersproject/providers": "^5.7.2", "typescript": "*" }, diff --git a/yarn.lock b/yarn.lock index d7b9f1f..1a53053 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,17 +7,24 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@axelar-network/axelar-cgp-solidity@^4.5.0": - version "4.5.0" - resolved "https://registry.yarnpkg.com/@axelar-network/axelar-cgp-solidity/-/axelar-cgp-solidity-4.5.0.tgz#f0456a2a6665302613a4d5243282ce1b18842348" - integrity sha512-4F4rmHei0cmzeUR7/mW4Bap5rc/KlPV2crD9HA7HTRfl15mVcN6/3z8p+pAm9We6bOrQplNW9KBZ3HJFP3C1Gw== +"@axelar-network/axelar-cgp-solidity@^6.3.0": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@axelar-network/axelar-cgp-solidity/-/axelar-cgp-solidity-6.3.1.tgz#da35246f3002911368fd5fa7c7cb637ac4e642ec" + integrity sha512-RJmcOQbj2VhQb8uqBtu0beNj4MKRVjiYj74wXu6QI/a4bJ5EwwZK3+uCbTVNM9Qc7LqJqObhtGQfKUnAXEFCHA== + dependencies: + "@axelar-network/axelar-gmp-sdk-solidity" "5.8.0" + +"@axelar-network/axelar-gmp-sdk-solidity@5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@axelar-network/axelar-gmp-sdk-solidity/-/axelar-gmp-sdk-solidity-5.8.0.tgz#449c6246b9f403af97a030b0a90b4f321c3a8a66" + integrity sha512-ThiCWK7lhwmsipgjKkw8c0z0ubB9toRMV9X0tRVOXHHSknKp5DCFfatbCwjpSC5GZRa+61ciTSqJNtCc7j9YoQ== -"@axelar-network/axelarjs-sdk@^0.13.6": - version "0.13.7" - resolved "https://registry.yarnpkg.com/@axelar-network/axelarjs-sdk/-/axelarjs-sdk-0.13.7.tgz#953b1866ae0c1efdf8e3abd0adbda71bcf3543f3" - integrity sha512-fqb31pXE/NoAmVUWIz+Dd5b+YYA893OD0ghZqlPicXagaozDnZZZVgPv0deythh4DWAqWl9D0dz0exbbkrL83A== +"@axelar-network/axelarjs-sdk@^0.16.1": + version "0.16.1" + resolved "https://registry.yarnpkg.com/@axelar-network/axelarjs-sdk/-/axelarjs-sdk-0.16.1.tgz#59eb7e40a18d70c9c50b50fece15eec4553b3fff" + integrity sha512-dhLe7yl3a37NxkZ1rEj7whMIANN/Ra+r8ZA10KvQ4LPRAHUNLGEcFwcbS9QaLRvDkKYFuJS2CCiJ86iYll1C7A== dependencies: - "@axelar-network/axelar-cgp-solidity" "^4.5.0" + "@axelar-network/axelar-cgp-solidity" "^6.3.0" "@axelar-network/axelarjs-types" "^0.33.0" "@cosmjs/json-rpc" "^0.30.1" "@cosmjs/stargate" "0.31.0-alpha.1"