From 8e5847c9e4a2d00d0d9027fcc417828d25933654 Mon Sep 17 00:00:00 2001 From: ehgmsdk20 Date: Wed, 12 Apr 2023 11:37:12 +0900 Subject: [PATCH 01/13] Add github action files --- .github/workflows/create_release.yml | 39 +++++++++++++++++ .github/workflows/pr_test.yml | 23 ++++++++++ .github/workflows/pr_test_when_merged.yml | 51 ++++++++++++++++++++++ .github/workflows/send_slack.yml | 53 +++++++++++++++++++++++ 4 files changed, 166 insertions(+) create mode 100644 .github/workflows/create_release.yml create mode 100644 .github/workflows/pr_test.yml create mode 100644 .github/workflows/pr_test_when_merged.yml create mode 100644 .github/workflows/send_slack.yml diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml new file mode 100644 index 00000000..3270ba6e --- /dev/null +++ b/.github/workflows/create_release.yml @@ -0,0 +1,39 @@ +name: Create Release Branch +on: + workflow_dispatch: + inputs: + version: + type: choice + description: Sematic version type of new version + options: + - patch + - minor + - major +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: develop + - name: Git configuration + run: | + git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git config --global user.name "${GITHUB_ACTOR}" + - name: Upgrade version + run: | + yarn --no-git-tag-version version --$RELEASE_TYPE + echo "NEW_VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_ENV + env: + RELEASE_TYPE: ${{ github.event.inputs.version }} + - name: Create release branch + run: | + git checkout -b release/v${{ env.NEW_VERSION }} + git add "package.json" + git commit -m "Upgrade version to ${{ env.NEW_VERSION }}" + git push origin release/v${{ env.NEW_VERSION }} + gh pr create -B main -H release/v${{ env.NEW_VERSION }} -d --title 'Upgrade version to ${{ env.NEW_VERSION }}' --body 'Upgrade version to ${{ env.NEW_VERSION }}' + gh pr create -B develop -H release/v${{ env.NEW_VERSION }} -d --title 'Release/v${{ env.NEW_VERSION }} -> develop' --body 'Upgrade version to ${{ env.NEW_VERSION }}' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml new file mode 100644 index 00000000..5ac94ef4 --- /dev/null +++ b/.github/workflows/pr_test.yml @@ -0,0 +1,23 @@ +name: Test Pipeline for opened PR +on: + pull_request: + branches: [ main, develop ] #put your branches which you want to execute test pipeline + types: [ opened, ready_for_review ] +concurrency: + group: ${{ github.event.pull_request.number }} + cancel-in-progress: true +jobs: + run_test: + runs-on: ubuntu-latest + strategy: + matrix: + node: [ 12, 16 ] + name: Run Test on Node ${{ matrix.node }} + steps: + - uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - run: yarn install --immutable --immutable-cache --check-cache + - run: yarn test diff --git a/.github/workflows/pr_test_when_merged.yml b/.github/workflows/pr_test_when_merged.yml new file mode 100644 index 00000000..16e9eca1 --- /dev/null +++ b/.github/workflows/pr_test_when_merged.yml @@ -0,0 +1,51 @@ +name: Test Pipeline for Merged PR +on: + pull_request: + branches: [ main, develop ] + types: [ closed ] +concurrency: + group: ${{ github.event.pull_request.number }} + cancel-in-progress: true +jobs: + run_test: + if: ${{ github.event.pull_request.merged == true }} + runs-on: ubuntu-latest + strategy: + matrix: + node: [ 12, 16 ] + name: Run Test on Node ${{ matrix.node }} + steps: + - uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - run: yarn install --immutable --immutable-cache --check-cache + - run: yarn test + publish: + needs: [ run_test ] + if: ${{ startsWith(github.head_ref, 'release/') && (github.base_ref == 'main') && (github.event.pull_request.merged == true) }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies + run: yarn + - name: Test Success + run: yarn test + - name: Publish package + run: | + yarn + yarn publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} + - name: Push tag + run: | + git branch + git tag $(echo ${{ github.head_ref }} | cut -b 9-) + git push --tags + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/send_slack.yml b/.github/workflows/send_slack.yml new file mode 100644 index 00000000..44497c06 --- /dev/null +++ b/.github/workflows/send_slack.yml @@ -0,0 +1,53 @@ +name: Send Error to Slack +on: + workflow_run: + workflows: [ Test Pipeline for Merged PR ] + types: + - completed +jobs: + on-failure: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'failure' }} + steps: + - uses: actions/checkout@v3 + - name: Get error log + id: error_log + run: | + ERROR_LOG="$(gh run view ${{ github.event.workflow_run.id }} --log-failed | tail -n 7 | rev | cut -f 1 | rev | sed -r 's/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g' | sed -z 's/\n/\\n/g' | sed 's/\t/ /g')" + echo "ERROR_LOG=$ERROR_LOG" >> $GITHUB_OUTPUT + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Notify error to slack + uses: slackapi/slack-github-action@v1.23.0 + with: + payload: | + { + "text": "${{ github.event.workflow.name }} failed", + "blocks": [ + { + "type": "header", + "text": { + "type": "plain_text", + "text": ":rotating_light:PIPELINE FAILED", + "emoji": true + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "${{ github.event.workflow.name }} failed" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Error log*\n```${{ steps.error_log.outputs.ERROR_LOG }}```\nCheck full logs in ${{ github.event.workflow_run.html_url }}" + } + } + ] + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK From 96d9f204c8b8b20e9788a564c792eb827ca51d9f Mon Sep 17 00:00:00 2001 From: ehgmsdk20 Date: Wed, 12 Apr 2023 11:52:39 +0900 Subject: [PATCH 02/13] Upgrade node version in test pipeline --- .github/workflows/pr_test.yml | 2 +- .github/workflows/pr_test_when_merged.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index 5ac94ef4..3357c6c6 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 12, 16 ] + node: [ 14, 16 ] name: Run Test on Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pr_test_when_merged.yml b/.github/workflows/pr_test_when_merged.yml index 16e9eca1..3ec1dc55 100644 --- a/.github/workflows/pr_test_when_merged.yml +++ b/.github/workflows/pr_test_when_merged.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 12, 16 ] + node: [ 14, 16 ] name: Run Test on Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 From b2a715f4f0651612231286e16bd2beb56e147bb9 Mon Sep 17 00:00:00 2001 From: ehgmsdk20 Date: Mon, 17 Apr 2023 11:42:44 +0900 Subject: [PATCH 03/13] v0.0.0 -> 0.0.0 --- .github/workflows/create_release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 3270ba6e..1e686f38 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -29,11 +29,11 @@ jobs: RELEASE_TYPE: ${{ github.event.inputs.version }} - name: Create release branch run: | - git checkout -b release/v${{ env.NEW_VERSION }} + git checkout -b release/${{ env.NEW_VERSION }} git add "package.json" git commit -m "Upgrade version to ${{ env.NEW_VERSION }}" - git push origin release/v${{ env.NEW_VERSION }} - gh pr create -B main -H release/v${{ env.NEW_VERSION }} -d --title 'Upgrade version to ${{ env.NEW_VERSION }}' --body 'Upgrade version to ${{ env.NEW_VERSION }}' - gh pr create -B develop -H release/v${{ env.NEW_VERSION }} -d --title 'Release/v${{ env.NEW_VERSION }} -> develop' --body 'Upgrade version to ${{ env.NEW_VERSION }}' + git push origin release/${{ env.NEW_VERSION }} + gh pr create -B main -H release/${{ env.NEW_VERSION }} -d --title 'Upgrade version to ${{ env.NEW_VERSION }}' --body 'Upgrade version to ${{ env.NEW_VERSION }}' + gh pr create -B develop -H release/${{ env.NEW_VERSION }} -d --title 'Release/${{ env.NEW_VERSION }} -> develop' --body 'Upgrade version to ${{ env.NEW_VERSION }}' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From b89d5cfa9547ec0b9ca379c216e8b2b6f0f689fd Mon Sep 17 00:00:00 2001 From: ehgmsdk20 Date: Mon, 17 Apr 2023 14:12:14 +0900 Subject: [PATCH 04/13] Send slack when module released --- .github/workflows/pr_test_when_merged.yml | 30 +++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_test_when_merged.yml b/.github/workflows/pr_test_when_merged.yml index 3ec1dc55..ef276bae 100644 --- a/.github/workflows/pr_test_when_merged.yml +++ b/.github/workflows/pr_test_when_merged.yml @@ -40,12 +40,38 @@ jobs: run: | yarn yarn publish --access public + echo "NEW_VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_ENV env: NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - name: Push tag run: | - git branch - git tag $(echo ${{ github.head_ref }} | cut -b 9-) + git tag ${{ env.NEW_VERSION }} git push --tags env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Notify package published to slack + uses: slackapi/slack-github-action@v1.23.0 + with: + payload: | + { + "text": "Ainft-js ${{ env.NEW_VERSION }} is published", + "blocks": [ + { + "type": "header", + "text": { + "type": "plain_text", + "text": "Ainft-js Release" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Version ${{ env.NEW_VERSION }} is published on " + } + } + ] + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK From b4a766806aabd432c4e278cbaf97a70246069d41 Mon Sep 17 00:00:00 2001 From: ehgmsdk20 Date: Mon, 17 Apr 2023 14:38:13 +0900 Subject: [PATCH 05/13] Build before release --- .github/workflows/pr_test_when_merged.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr_test_when_merged.yml b/.github/workflows/pr_test_when_merged.yml index ef276bae..1fd52726 100644 --- a/.github/workflows/pr_test_when_merged.yml +++ b/.github/workflows/pr_test_when_merged.yml @@ -39,6 +39,7 @@ jobs: - name: Publish package run: | yarn + yarn build yarn publish --access public echo "NEW_VERSION=$(npm pkg get version | tr -d '"')" >> $GITHUB_ENV env: From 078f4da34833b044f821842594f2958e015c7f08 Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Tue, 25 Jun 2024 16:19:09 +0900 Subject: [PATCH 06/13] feat: update ain-js --- package.json | 2 +- src/ainft.ts | 2 +- yarn.lock | 272 +++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 268 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index da5bd611..ece50feb 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "typescript": "^4.6.3" }, "dependencies": { - "@ainblockchain/ain-js": "^1.6.0", + "@ainblockchain/ain-js": "^1.10.2", "@ainblockchain/ain-util": "^1.1.9", "@ainize-team/ainize-js": "^1.1.1", "@types/lodash": "^4.14.200", diff --git a/src/ainft.ts b/src/ainft.ts index 089f53e9..a8179cff 100644 --- a/src/ainft.ts +++ b/src/ainft.ts @@ -58,7 +58,7 @@ export default class AinftJs { throw new Error(`Invalid chain ID: ${chainId}`); } - this.ain = new Ain(_.get(config, 'ainBlockchainEndpoint') || AIN_BLOCKCHAIN_ENDPOINT[stage], chainId); + this.ain = new Ain(_.get(config, 'ainBlockchainEndpoint') || AIN_BLOCKCHAIN_ENDPOINT[stage], null, chainId); this.ainize = new Ainize(chainId); this.setPrivateKey(privateKey); diff --git a/yarn.lock b/yarn.lock index eea3ddbf..9902d6eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,29 +2,34 @@ # yarn lockfile v1 -"@ainblockchain/ain-js@^1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@ainblockchain/ain-js/-/ain-js-1.6.0.tgz#4a3fbefabe2afa28dfb2c71628c54310190d6c46" - integrity sha512-REzTJAf8w2TIsJLH7DhKWJF+kxfgMnCCwzWaeD4rYAv4TeD70PhFmYDrDMuy/qZd5KKMXqMigiU9PLWbiu8a7A== +"@ainblockchain/ain-js@^1.10.2": + version "1.10.2" + resolved "https://registry.yarnpkg.com/@ainblockchain/ain-js/-/ain-js-1.10.2.tgz#c0ed1e230a6c2b3703169a5c243c173944004bdd" + integrity sha512-2lHYnvbjEHm3/K5Lw5wCNVBtj61Z1p1u+FbveXMg4vDCwUnuYwvCrtZjTxxv13MXHoJ6izdkkA3X93GWtQhpow== dependencies: "@ainblockchain/ain-util" "^1.1.9" "@types/node" "^12.7.3" "@types/randombytes" "^2.0.0" "@types/semver" "^7.3.4" + "@types/ws" "8.5.3" axios "^0.21.4" bip39 "^3.0.2" browserify-cipher "^1.0.1" eventemitter3 "^4.0.0" hdkey "^1.1.1" + is-in-browser "^2.0.0" + isomorphic-ws "^5.0.0" lodash "^4.17.20" node-seal "^4.5.7" + patch-package "^8.0.0" pbkdf2 "^3.0.17" + postinstall-postinstall "^2.1.0" randombytes "^2.1.0" scryptsy "^2.1.0" semver "^6.3.0" url-parse "^1.4.7" uuid "^3.3.3" - ws "^8.2.3" + ws "^8.16.0" "@ainblockchain/ain-js@^1.6.3": version "1.6.3" @@ -1030,6 +1035,13 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== +"@types/ws@8.5.3": + version "8.5.3" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" + integrity sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w== + dependencies: + "@types/node" "*" + "@types/yargs-parser@*": version "21.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" @@ -1042,6 +1054,11 @@ dependencies: "@types/yargs-parser" "*" +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + accepts@~1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" @@ -1111,6 +1128,11 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + axios@^0.21.4: version "0.21.4" resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" @@ -1271,6 +1293,13 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" +braces@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" @@ -1382,6 +1411,17 @@ call-bind@^1.0.0: get-intrinsic "^1.2.1" set-function-length "^1.1.1" +call-bind@^1.0.5: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -1416,7 +1456,7 @@ chalk@^2.0.0, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0: +chalk@^4.0.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -1434,6 +1474,11 @@ ci-info@^3.2.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2" integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw== +ci-info@^3.7.0: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -1619,6 +1664,15 @@ define-data-property@^1.1.1: gopd "^1.0.1" has-property-descriptors "^1.0.0" +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -1728,6 +1782,18 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es6-promise@4.2.8: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -1868,6 +1934,13 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + finalhandler@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" @@ -1889,6 +1962,13 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-yarn-workspace-root@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== + dependencies: + micromatch "^4.0.2" + follow-redirects@^1.14.0: version "1.15.1" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" @@ -1927,6 +2007,16 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" +fs-extra@^9.0.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -1967,6 +2057,17 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@ has-symbols "^1.0.3" hasown "^2.0.0" +get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + get-package-type@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" @@ -2013,6 +2114,11 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" +graceful-fs@^4.1.11: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" @@ -2035,6 +2141,13 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.2.2" +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + has-proto@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" @@ -2174,6 +2287,11 @@ is-core-module@^2.8.1: dependencies: has "^1.0.3" +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" @@ -2184,6 +2302,11 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== +is-in-browser@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-2.0.0.tgz#a2343a18d8f8a600e8a20cb3022183a251e30355" + integrity sha512-/NUv5pqj+krUJalhGpj0lyy+x7vrD9jt1PlAfkoIDEXqE+xZgFJ4FU8e9m99WuHbCqsBZVf+nzvAjNso+SO80A== + is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" @@ -2194,11 +2317,28 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-wsl@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= +isomorphic-ws@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" + integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== + istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" @@ -2658,6 +2798,16 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-stable-stringify@^1.0.2: + version "1.1.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.1.1.tgz#52d4361b47d49168bcc4e564189a42e5a7439454" + integrity sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg== + dependencies: + call-bind "^1.0.5" + isarray "^2.0.5" + jsonify "^0.0.1" + object-keys "^1.1.1" + json5@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" @@ -2682,6 +2832,11 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" +jsonify@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" + integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== + keccak@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/keccak/-/keccak-2.1.0.tgz#734ea53f2edcfd0f42cdb8d5f4c358fef052752b" @@ -2692,6 +2847,13 @@ keccak@^2.0.0: nan "^2.14.0" safe-buffer "^5.2.0" +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -2796,6 +2958,14 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micromatch@^4.0.2: + version "4.0.7" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" + integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -2850,6 +3020,11 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" +minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -2939,6 +3114,11 @@ object-inspect@^1.9.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + on-finished@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -2960,6 +3140,19 @@ onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +open@^7.4.2: + version "7.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -3001,6 +3194,27 @@ parseurl@~1.3.3: resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== +patch-package@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-8.0.0.tgz#d191e2f1b6e06a4624a0116bcb88edd6714ede61" + integrity sha512-da8BVIhzjtgScwDJ2TtKsfT5JFWz1hYoBl9rUQ1f38MC2HwnEIkK8VN3dKMKcP7P7bvvgzNDbfNHtx3MsQb5vA== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^4.1.2" + ci-info "^3.7.0" + cross-spawn "^7.0.3" + find-yarn-workspace-root "^2.0.0" + fs-extra "^9.0.0" + json-stable-stringify "^1.0.2" + klaw-sync "^6.0.0" + minimist "^1.2.6" + open "^7.4.2" + rimraf "^2.6.3" + semver "^7.5.3" + slash "^2.0.0" + tmp "^0.0.33" + yaml "^2.2.2" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -3059,6 +3273,11 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +postinstall-postinstall@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3" + integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ== + pretty-format@^27.0.0, pretty-format@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" @@ -3187,6 +3406,13 @@ resolve@^1.20.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -3315,6 +3541,18 @@ set-function-length@^1.1.1: gopd "^1.0.1" has-property-descriptors "^1.0.0" +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + setprototypeof@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" @@ -3368,6 +3606,11 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" @@ -3489,6 +3732,13 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -3684,6 +3934,11 @@ write-file-atomic@^4.0.2: imurmurhash "^0.1.4" signal-exit "^3.0.7" +ws@^8.16.0: + version "8.17.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" + integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== + ws@^8.2.3: version "8.8.1" resolved "https://registry.yarnpkg.com/ws/-/ws-8.8.1.tgz#5dbad0feb7ade8ecc99b830c1d77c913d4955ff0" @@ -3704,6 +3959,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@^2.2.2: + version "2.4.5" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e" + integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg== + yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" From 9b77a61a1814d14fd1b317532e71c6a2ea419df7 Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Tue, 25 Jun 2024 16:20:51 +0900 Subject: [PATCH 07/13] fix: setProvider --- src/ainft.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ainft.ts b/src/ainft.ts index a8179cff..718663da 100644 --- a/src/ainft.ts +++ b/src/ainft.ts @@ -102,7 +102,7 @@ export default class AinftJs { chainId: number, axiosConfig?: any ) { - this.ain.setProvider(providerUrl, chainId, axiosConfig); + this.ain.setProvider(providerUrl, null, chainId, axiosConfig); } /** From 151f043e3303be0025770b682124ee846e30ed62 Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Tue, 25 Jun 2024 16:26:30 +0900 Subject: [PATCH 08/13] Upgrade pkg ver --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ece50feb..9a387561 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ainft-team/ainft-js", "main": "dist/ainft.js", "types": "dist/ainft.d.ts", - "version": "2.0.1", + "version": "2.0.2", "engines": { "node": ">=16" }, From b810b6bfebe460efd5e606337b5be49c779dea83 Mon Sep 17 00:00:00 2001 From: jiyoung Date: Tue, 25 Jun 2024 16:44:51 +0900 Subject: [PATCH 09/13] fix: skip tests. --- test/assistants.test.ts | 2 +- test/chat.test.ts | 2 +- test/messages.test.ts | 2 +- test/threads.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/assistants.test.ts b/test/assistants.test.ts index fcf31c30..25457abc 100644 --- a/test/assistants.test.ts +++ b/test/assistants.test.ts @@ -45,7 +45,7 @@ const ASST_PATTERN = /^asst_([A-Za-z0-9]{24})$/; jest.setTimeout(60000); -describe('assistant', () => { +describe.skip('assistant', () => { let ainft: AinftJs; beforeAll(() => { diff --git a/test/chat.test.ts b/test/chat.test.ts index c6909381..49d026db 100644 --- a/test/chat.test.ts +++ b/test/chat.test.ts @@ -26,7 +26,7 @@ const TX_PATTERN = /^0x([A-Fa-f0-9]{64})$/; jest.setTimeout(60000); -describe('chat', () => { +describe.skip('chat', () => { let ainft: AinftJs; beforeAll(() => { diff --git a/test/messages.test.ts b/test/messages.test.ts index 0d7dbedf..bc33ce82 100644 --- a/test/messages.test.ts +++ b/test/messages.test.ts @@ -146,7 +146,7 @@ const MSG_PATTERN = /^msg_([A-Za-z0-9]{24})$/; jest.setTimeout(60000); -describe('message', () => { +describe.skip('message', () => { let ainft: AinftJs; beforeAll(async () => { diff --git a/test/threads.test.ts b/test/threads.test.ts index 6863e284..7c19a18f 100644 --- a/test/threads.test.ts +++ b/test/threads.test.ts @@ -44,7 +44,7 @@ const THREAD_PATTERN = /^thread_([A-Za-z0-9]{24})$/; jest.setTimeout(60000); -describe('thread', () => { +describe.skip('thread', () => { let ainft: AinftJs; beforeAll(async () => { From 0487605442e1061756a411891d598096476a4a60 Mon Sep 17 00:00:00 2001 From: jiyoung Date: Fri, 13 Sep 2024 16:33:27 +0900 Subject: [PATCH 10/13] fix: change default service name. --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index b06fa861..463c9a72 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -25,7 +25,7 @@ export const THREAD_GC_NUM_SIBLINGS_DELETED = 10; export const MESSAGE_GC_MAX_SIBLINGS = 15; export const MESSAGE_GC_NUM_SIBLINGS_DELETED = 10; -export const DEFAULT_AINIZE_SERVICE_NAME = 'openai_backend'; +export const DEFAULT_AINIZE_SERVICE_NAME = 'aina_backend'; export const WHITELISTED_OBJECT_IDS: Record = { dev: [ From fd8e22d133e86ee04f07f1c838a1305ae5db6248 Mon Sep 17 00:00:00 2001 From: jiyoung Date: Fri, 13 Sep 2024 16:33:52 +0900 Subject: [PATCH 11/13] fix: add whitelisted object id. --- src/constants.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 463c9a72..d5c736ad 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -28,8 +28,6 @@ export const MESSAGE_GC_NUM_SIBLINGS_DELETED = 10; export const DEFAULT_AINIZE_SERVICE_NAME = 'aina_backend'; export const WHITELISTED_OBJECT_IDS: Record = { - dev: [ - '0xCE3c4D8dA38c77dEC4ca99cD26B1C4BF116FC401', // aina - ], - prod: [], + dev: ['0xCE3c4D8dA38c77dEC4ca99cD26B1C4BF116FC401'], + prod: ['0x6C8bB2aCBab0D807D74eB04034aA9Fd8c8E9C365'], }; From 02e6d0cb7c6e1ba980e4cb58aa5ced58bcfd9c8c Mon Sep 17 00:00:00 2001 From: jiyoung Date: Fri, 13 Sep 2024 16:36:34 +0900 Subject: [PATCH 12/13] bump version to 2.1.0. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f22f48da..d90f914b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ainft-team/ainft-js", "main": "dist/ainft.js", "types": "dist/ainft.d.ts", - "version": "2.0.2", + "version": "2.1.0", "engines": { "node": ">=16" }, From fd3c3ab68f46716234b609a692e95193a713f9ea Mon Sep 17 00:00:00 2001 From: jiyoung Date: Fri, 13 Sep 2024 17:17:32 +0900 Subject: [PATCH 13/13] chore: fix example package version. --- examples/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/package.json b/examples/package.json index 35fcaf31..72d11df4 100644 --- a/examples/package.json +++ b/examples/package.json @@ -4,6 +4,6 @@ "main": "index.js", "license": "MIT", "dependencies": { - "@ainft-team/ainft-js": "2.1.0-beta.14" + "@ainft-team/ainft-js": "2.1.0" } }