diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5569cae..e9a4c34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,101 +29,13 @@ jobs: echo "REPO_NAME=$REPO_NAME" >> $GITHUB_OUTPUT echo "ORG_NAME=$ORG_NAME" >> $GITHUB_OUTPUT - helm-lint: - runs-on: ubuntu-latest - needs: [preconditions] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set up Helm - uses: azure/setup-helm@v3 - with: - version: v3.8.0 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Set up chart-testing - uses: helm/chart-testing-action@v2.0.1 - - name: Run chart-testing (lint) - run: ct lint --validate-maintainers false --charts helm/${{ needs.preconditions.outputs.repo_name }}/ --chart-repos dscp-node=https://digicatapult.github.io/dscp-node/ - - helm-test: - runs-on: ubuntu-latest - needs: [preconditions] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Setup QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - name: Setup Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v2 - with: - buildkitd-flags: '--debug' - - name: Set up Helm - uses: azure/setup-helm@v3 - with: - version: v3.8.0 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Set up chart-testing - uses: helm/chart-testing-action@v2.0.1 - - name: Setup Minikube - uses: manusa/actions-setup-minikube@v2.7.1 - with: - minikube version: 'v1.17.1' - kubernetes version: 'v1.19.2' - - name: Login to minikube docker registry - run: eval $(minikube -p minikube docker-env) - - name: Build Multi-arch - uses: docker/build-push-action@v3 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - load: false - file: ./Dockerfile - platforms: linux/amd64, linux/arm64 - tags: | - ${{ needs.preconditions.outputs.repo_name }}:latest - labels: | - org.opencontainers.image.title=${{ needs.preconditions.outputs.repo_name }} - org.opencontainers.image.description=${{ github.event.repository.description }} - org.opencontainers.image.source=${{ github.event.repository.html_url }} - org.opencontainers.image.url=${{ github.event.repository.html_url }} - org.opencontainers.image.revision=${{ github.sha }} - - name: Load and push image for testing - uses: docker/build-push-action@v3 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - load: true - file: ./Dockerfile - platforms: linux/amd64 - tags: | - ${{ needs.preconditions.outputs.repo_name }}:latest - labels: | - org.opencontainers.image.title=${{ needs.preconditions.outputs.repo_name }} - org.opencontainers.image.description=${{ github.event.repository.description }} - org.opencontainers.image.source=${{ github.event.repository.html_url }} - org.opencontainers.image.url=${{ github.event.repository.html_url }} - org.opencontainers.image.revision=${{ github.sha }} - - name: Run chart-testing (install) - run: ct install --charts helm/${{ needs.preconditions.outputs.repo_name }}/ --chart-repos dscp-node=https://digicatapult.github.io/dscp-node/ - lint: name: Run lint runs-on: ubuntu-latest needs: [preconditions] steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@master + - uses: actions/setup-node@v3 with: node-version: 16.x - name: Use npm v8 @@ -148,9 +60,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@master with: - node-version: 16.x - - name: Use npm v8 - run: npm install -g npm@8 + node-version: 18.x + - name: Use npm latest + run: npm install -g npm@latest - name: Cache Node.js modules uses: actions/cache@v3 with: @@ -171,9 +83,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@master with: - node-version: 16.x - - name: Use npm v8 - run: npm install -g npm@8 + node-version: 18.x + - name: Use npm latest + run: npm install -g npm@latest - name: Cache Node.js modules uses: actions/cache@v3 with: @@ -220,8 +132,6 @@ jobs: name: 'Publish package' needs: - preconditions - - helm-lint - - helm-test - lint - dependency-check - tests @@ -254,7 +164,7 @@ jobs: username: ${{ secrets.DSCP_DOCKERHUB_USERNAME }} password: ${{ secrets.DSCP_DOCKERHUB_TOKEN }} - name: Publish multi-arch image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: push: true builder: ${{ steps.buildx.outputs.name }} @@ -275,14 +185,6 @@ jobs: org.opencontainers.image.version=${{ needs.check-version.outputs.version }} org.opencontainers.image.created=${{ needs.check-version.outputs.build_date }} - # Publish helm charts - - name: Publish Helm charts - uses: stefanprodan/helm-gh-pages@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - charts_dir: helm - helm_version: 3.8.0 - # Build github release - name: Build release version uses: softprops/action-gh-release@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1518a76..859ac5a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,94 +23,6 @@ jobs: echo "REPO_NAME=$REPO_NAME" >> $GITHUB_OUTPUT echo "ORG_NAME=$ORG_NAME" >> $GITHUB_OUTPUT - helm-lint: - runs-on: ubuntu-latest - needs: [repo_ids] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set up Helm - uses: azure/setup-helm@v3 - with: - version: v3.8.0 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Set up chart-testing - uses: helm/chart-testing-action@v2.0.1 - - name: Run chart-testing (lint) - run: ct lint --validate-maintainers false --charts helm/${{ needs.repo_ids.outputs.repo_name }}/ --chart-repos dscp-node=https://digicatapult.github.io/dscp-node/ - - helm-test: - runs-on: ubuntu-latest - needs: [repo_ids] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Setup QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - name: Setup Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v2 - with: - buildkitd-flags: '--debug' - - name: Set up Helm - uses: azure/setup-helm@v3 - with: - version: v3.8.0 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - name: Set up chart-testing - uses: helm/chart-testing-action@v2.0.1 - - name: Setup Minikube - uses: manusa/actions-setup-minikube@v2.7.1 - with: - minikube version: 'v1.17.1' - kubernetes version: 'v1.19.2' - - name: Login to minikube docker registry - run: eval $(minikube -p minikube docker-env) - - name: Build Multi-arch - uses: docker/build-push-action@v3 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - load: false - file: ./Dockerfile - platforms: linux/amd64, linux/arm64 - tags: | - ${{ needs.repo_ids.outputs.repo_name }}:latest - labels: | - org.opencontainers.image.title=${{ needs.repo_ids.outputs.repo_name }} - org.opencontainers.image.description=${{ github.event.repository.description }} - org.opencontainers.image.source=${{ github.event.repository.html_url }} - org.opencontainers.image.url=${{ github.event.repository.html_url }} - org.opencontainers.image.revision=${{ github.sha }} - - name: Load and push image for testing - uses: docker/build-push-action@v3 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - load: true - file: ./Dockerfile - platforms: linux/amd64 - tags: | - ${{ needs.repo_ids.outputs.repo_name }}:latest - labels: | - org.opencontainers.image.title=${{ needs.repo_ids.outputs.repo_name }} - org.opencontainers.image.description=${{ github.event.repository.description }} - org.opencontainers.image.source=${{ github.event.repository.html_url }} - org.opencontainers.image.url=${{ github.event.repository.html_url }} - org.opencontainers.image.revision=${{ github.sha }} - - name: Run chart-testing (install) - run: ct install --charts helm/${{ needs.repo_ids.outputs.repo_name }}/ --chart-repos dscp-node=https://digicatapult.github.io/dscp-node/ - lint: name: Run lint runs-on: ubuntu-latest @@ -118,9 +30,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@master with: - node-version: 16.x - - name: Use npm v8 - run: npm install -g npm@8 + node-version: 18.x + - name: Use npm latest + run: npm install -g npm@latest - name: Cache Node.js modules uses: actions/cache@v3 with: @@ -140,9 +52,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@master with: - node-version: 16.x - - name: Use npm v8 - run: npm install -g npm@8 + node-version: 18.x + - name: Use npm latest + run: npm install -g npm@latest - name: Cache Node.js modules uses: actions/cache@v3 with: @@ -163,8 +75,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@master with: - node-version: 16.x - - name: Use npm v8 + node-version: 18.x + - name: Use npm latest run: npm install -g npm@8 - name: Cache Node.js modules uses: actions/cache@v3 @@ -202,3 +114,34 @@ jobs: shell: bash run: | exit $([[ "${{steps.get_version.outputs.IS_NEW_VERSION}}" = "true" ]] && echo 0 || echo 1) + + docker-build: + name: 'Build docker image' + needs: + - lint + - tests + - check-version + - dependency-check + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + # Docker build + - name: Setup QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + - name: Setup Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v2 + with: + buildkitd-flags: '--debug' + - name: Publish multi-arch image + uses: docker/build-push-action@v4 + with: + push: false + builder: ${{ steps.buildx.outputs.name }} + context: . + file: ./Dockerfile + platforms: linux/amd64, linux/arm64 diff --git a/Dockerfile b/Dockerfile index a0248a5..b35165c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,18 @@ -# syntax=docker/dockerfile:1.3-labs +# syntax=docker/dockerfile:1.5 -ARG IPFS_BUILD_IMAGE_VERSION=1.19.2-alpine3.15 -ARG NODE_RUNTIME_IMAGE_VERSION=16-alpine +ARG IPFS_BUILD_IMAGE_VERSION=1.19-alpine3.17 +ARG NODE_RUNTIME_IMAGE_VERSION=lts-alpine3.17 FROM golang:$IPFS_BUILD_IMAGE_VERSION AS ipfs_build ENV SRC_DIR /go/src/github.com/ipfs/go-ipfs ARG TARGETPLATFORM RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then apk add --no-cache binutils-gold; fi + RUN apk add --no-cache git make bash gcc musl-dev WORKDIR /target -ARG IPFS_TAG="v0.16.0" +ARG IPFS_TAG="v0.18.1" RUN < /ipfs/config ; - echo "$(jq --arg privatekey $IPFS_PRIVATE_KEY '.Identity.PrivKey = $privatekey' /ipfs/config)" > /ipfs/config ; - volumeMounts: - - mountPath: {{ .Values.config.ipfsDataPath }} - name: ipfs-data - {{- end }} - containers: - - name: {{ include "dscp-ipfs.fullname" . }} - image: {{ .Values.image.repository }}:{{ .Values.image.tag }} - imagePullPolicy: {{ .Values.image.pullPolicy | quote }} - command: [ './app/index.js' ] - env: - - name: HEALTHCHECK_POLL_PERIOD_MS - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: healthCheckPollPeriod - - name: HEALTHCHECK_TIMEOUT_MS - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: healthCheckTimeout - - name: PORT - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: healthCheckPort - - name: IPFS_API_PORT - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: ipfsApiPort - - name: LOG_LEVEL - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: logLevel - - name: NODE_HOST - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: nodeHost - - name: NODE_PORT - value: "9944" - {{- if .Values.config.ipfsCommand }} - - name: IPFS_EXECUTABLE - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: ipfsCommand - {{- end }} - - name: IPFS_ARGS - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: ipfsArgs - - name: IPFS_LOGGING - valueFrom: - configMapKeyRef: - name: {{ include "dscp-ipfs.fullname" . }}-config - key: ipfsLogLevel - - name: IPFS_PATH - value: {{ .Values.config.ipfsDataPath }} - volumeMounts: - - mountPath: {{ .Values.config.ipfsDataPath }} - name: ipfs-data - ports: - - containerPort: {{ .Values.config.healthCheckPort }} - name: http-health - protocol: TCP - - containerPort: {{ .Values.config.ipfsSwarmPort }} - name: ipfs-swarm - protocol: TCP - - containerPort: {{ .Values.config.ipfsApiPort }} - name: ipfs-http-api - protocol: TCP - {{- if .Values.statefulSet.livenessProbe.enabled }} - livenessProbe: - httpGet: - path: /health - port: http-health - initialDelaySeconds: 60 - failureThreshold: 5 - timeoutSeconds: 3 - periodSeconds: 10 - {{- end }} - volumeClaimTemplates: - - apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: ipfs-data - spec: - accessModes: [ "ReadWriteOnce" ] - {{- if .Values.storage.storageClass }} - storageClassName: {{ .Values.storage.storageClass }} - {{- end }} - resources: - requests: - storage: {{ printf "%vGi" .Values.storage.dataVolumeSize | quote }} diff --git a/helm/dscp-ipfs/values.yaml b/helm/dscp-ipfs/values.yaml deleted file mode 100644 index 40ae05f..0000000 --- a/helm/dscp-ipfs/values.yaml +++ /dev/null @@ -1,62 +0,0 @@ -# fullNameOverride: -config: - healthCheckPort: 80 - healthCheckPollPeriod: 30000 - healthCheckTimeout: 2000 - # nodeHost: "" # This overrides dscpNode.enabled - # nodePort: - # publicKey: - # privateKey: - logLevel: info - ipfsApiPort: 5001 - ipfsSwarmPort: 4001 - ipfsDataPath: '/ipfs' - ipfsCommand: '/usr/local/bin/ipfs' - ipfsArgs: - - daemon - - '--migrate' - # ipfsBootNodeAddress: /dnsaddr/blah.test.com/p2p/PeerId # Valid Format for this is /multiaddr/PeerId see https://github.com/multiformats/multiaddr - ipfsLogLevel: info - ipfsSwarmAddrFilters: - - /ip4/100.64.0.0/ipcidr/10 - - /ip4/169.254.0.0/ipcidr/16 - - /ip4/172.16.0.0/ipcidr/12 - - /ip4/192.0.0.0/ipcidr/24 - - /ip4/192.0.2.0/ipcidr/24 - - /ip4/192.168.0.0/ipcidr/16 - - /ip4/198.18.0.0/ipcidr/15 - - /ip4/198.51.100.0/ipcidr/24 - - /ip4/203.0.113.0/ipcidr/24 - - /ip4/240.0.0.0/ipcidr/4 - - /ip6/100::/ipcidr/64 - - /ip6/2001:2::/ipcidr/48 - - /ip6/2001:db8::/ipcidr/32 - - /ip6/fc00::/ipcidr/7 - - /ip6/fe80::/ipcidr/10 - -service: - swarm: - annotations: {} - enabled: true - port: 4001 - api: - annotations: {} - enabled: true - port: 5001 - -statefulSet: - annotations: {} - livenessProbe: - enabled: true - -image: - repository: digicatapult/dscp-ipfs - pullPolicy: IfNotPresent - tag: 'v2.9.1' - -storage: - storageClass: '' - dataVolumeSize: 1 # in Gigabytes - -dscpNode: - enabled: true diff --git a/package-lock.json b/package-lock.json index 2b6b349..77bf941 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,45 +1,44 @@ { "name": "@digicatapult/dscp-ipfs", - "version": "2.9.1", + "version": "2.9.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@digicatapult/dscp-ipfs", - "version": "2.9.1", + "version": "2.9.2", "license": "Apache-2.0", "dependencies": { - "@polkadot/api": "^9.9.4", - "axios": "^1.2.0", + "@polkadot/api": "^9.14.2", + "axios": "^1.3.4", "dotenv": "^16.0.3", "envalid": "^7.3.1", "express": "^4.18.2", - "express-prom-bundle": "^6.5.0", - "pino": "^8.6.1", - "pino-http": "^8.2.1", - "prom-client": "^12.0.0" + "express-prom-bundle": "^6.6.0", + "pino": "^8.11.0", + "pino-http": "^8.3.3", + "prom-client": "^14.1.1" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", - "chai": "^4.3.6", + "chai": "^4.3.7", "delay": "^5.0.0", "depcheck": "^1.4.3", - "eslint": "^8.25.0", - "eslint-config-prettier": "^8.5.0", + "eslint": "^8.35.0", + "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "formdata-node": "^5.0.0", - "go-ipfs": "^0.16.0", - "mocha": "^10.1.0", - "node-fetch": "^3.3.0", + "go-ipfs": "^0.18.1", + "mocha": "^10.2.0", "nodemon": "^2.0.20", "nyc": "^15.1.0", "pino-colada": "^2.2.2", - "prettier": "^2.7.1", - "sinon": "^14.0.1" + "prettier": "^2.8.4", + "sinon": "^15.0.1" }, "engines": { - "node": "16.x.x", - "npm": "8.x.x" + "node": ">=18.x.x", + "npm": ">=9.x.x" } }, "node_modules/@ampproject/remapping": { @@ -327,9 +326,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz", - "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "dependencies": { "regenerator-runtime": "^0.13.11" }, @@ -387,15 +386,15 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", - "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz", + "integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", "espree": "^9.4.0", - "globals": "^13.15.0", + "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -416,9 +415,9 @@ "dev": true }, "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -454,15 +453,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@eslint/js": { + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz", + "integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/@humanwhocodes/config-array": { - "version": "0.10.7", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz", - "integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==", + "version": "0.11.8", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", + "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", - "minimatch": "^3.0.4" + "minimatch": "^3.0.5" }, "engines": { "node": ">=10.10.0" @@ -639,9 +647,9 @@ } }, "node_modules/@noble/hashes": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", - "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", + "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==", "funding": [ { "type": "individual", @@ -650,9 +658,9 @@ ] }, "node_modules/@noble/secp256k1": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.0.tgz", - "integrity": "sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", "funding": [ { "type": "individual", @@ -696,264 +704,266 @@ } }, "node_modules/@polkadot/api": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.9.4.tgz", - "integrity": "sha512-ze7W/DXsPHsixrFOACzugDQqezzrUGGX1Z2JOl6z+V8pd+ZKLSecsKJFUzf4yoBT82ArITYPtRVx/Dq9b9K2dA==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/api-augment": "9.9.4", - "@polkadot/api-base": "9.9.4", - "@polkadot/api-derive": "9.9.4", - "@polkadot/keyring": "^10.1.14", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/rpc-provider": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/types-known": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "eventemitter3": "^4.0.7", - "rxjs": "^7.5.7" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.14.2.tgz", + "integrity": "sha512-R3eYFj2JgY1zRb+OCYQxNlJXCs2FA+AU4uIEiVcXnVLmR3M55tkRNEwYAZmiFxx0pQmegGgPMc33q7TWGdw24A==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@polkadot/api-augment": "9.14.2", + "@polkadot/api-base": "9.14.2", + "@polkadot/api-derive": "9.14.2", + "@polkadot/keyring": "^10.4.2", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/rpc-provider": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/types-known": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "eventemitter3": "^5.0.0", + "rxjs": "^7.8.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.9.4.tgz", - "integrity": "sha512-+T9YWw5kEi7AkSoS2UfE1nrVeJUtD92elQBZ3bMMkfM1geKWhSnvBLyTMn6kFmNXTfK0qt8YKS1pwbux7cC9tg==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.14.2.tgz", + "integrity": "sha512-19MmW8AHEcLkdcUIo3LLk0eCQgREWqNSxkUyOeWn7UiNMY1AhDOOwMStUBNCvrIDK6VL6GGc1sY7rkPCLMuKSw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/api-base": "9.9.4", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/api-base": "9.14.2", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-base": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.9.4.tgz", - "integrity": "sha512-G1DcxcMeGcvaAAA3u5Tbf70zE5aIuAPEAXnptFMF0lvJz4O6CM8k8ZZFTSk25hjsYlnx8WI1FTc97q4/tKie+Q==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.14.2.tgz", + "integrity": "sha512-ky9fmzG1Tnrjr/SBZ0aBB21l0TFr+CIyQenQczoUyVgiuxVaI/2Bp6R2SFrHhG28P+PW2/RcYhn2oIAR2Z2fZQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/util": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/util": "^10.4.2", + "rxjs": "^7.8.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-derive": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.9.4.tgz", - "integrity": "sha512-3ka7GzY4QbI3d/DHjQ9SjfDOTDxeU8gM2Dn31BP1oFzGwdFe2GZhDIE//lR5S6UDVxNNlgWz4927AunOQcuAmg==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/api": "9.9.4", - "@polkadot/api-augment": "9.9.4", - "@polkadot/api-base": "9.9.4", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "rxjs": "^7.5.7" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.14.2.tgz", + "integrity": "sha512-yw9OXucmeggmFqBTMgza0uZwhNjPxS7MaT7lSCUIRKckl1GejdV+qMhL3XFxPFeYzXwzFpdPG11zWf+qJlalqw==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@polkadot/api": "9.14.2", + "@polkadot/api-augment": "9.14.2", + "@polkadot/api-base": "9.14.2", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "rxjs": "^7.8.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/keyring": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.1.14.tgz", - "integrity": "sha512-iejbAfGfdyTB0pixWX6HhWXkUKBHLNy7+Z+F4DU8IwpJE48iOsMRJb3qShbk5NERjx1QIjoOpSZYxiCaF6gd+w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.4.2.tgz", + "integrity": "sha512-7iHhJuXaHrRTG6cJDbZE9G+c1ts1dujp0qbO4RfAPmT7YUvphHvAtCKueN9UKPz5+TYDL+rP/jDEaSKU8jl/qQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "10.1.14", - "@polkadot/util-crypto": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "10.4.2", + "@polkadot/util-crypto": "10.4.2" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "10.1.14", - "@polkadot/util-crypto": "10.1.14" + "@polkadot/util": "10.4.2", + "@polkadot/util-crypto": "10.4.2" } }, "node_modules/@polkadot/networks": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.1.14.tgz", - "integrity": "sha512-lo4Y57yBqiad4Z2zBW0r7Ct/iKXNgsTfazDTbHRkIh3RuX36PNYshaX3p7R0eNRuetV1jJv7jqwc1nAMNI2KwQ==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.4.2.tgz", + "integrity": "sha512-FAh/znrEvWBiA/LbcT5GXHsCFUl//y9KqxLghSr/CreAmAergiJNT0MVUezC7Y36nkATgmsr4ylFwIxhVtuuCw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "10.1.14", - "@substrate/ss58-registry": "^1.35.0" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "10.4.2", + "@substrate/ss58-registry": "^1.38.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.9.4.tgz", - "integrity": "sha512-67zGQAhJuXd/CZlwDZTgxNt3xGtsDwLvLvyFrHuNjJNM0KGCyt/OpQHVBlyZ6xfII0WZpccASN6P2MxsGTMnKw==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.14.2.tgz", + "integrity": "sha512-mOubRm3qbKZTbP9H01XRrfTk7k5it9WyzaWAg72DJBQBYdgPUUkGSgpPD/Srkk5/5GAQTWVWL1I2UIBKJ4TJjQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-core": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.9.4.tgz", - "integrity": "sha512-DxhJcq1GAi+28nLMqhTksNMqTX40bGNhYuyQyy/to39VxizAjx+lyAHAMfzG9lvPnTIi2KzXif2pCdWq3AgJag==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.14.2.tgz", + "integrity": "sha512-krA/mtQ5t9nUQEsEVC1sjkttLuzN6z6gyJxK2IlpMS3S5ncy/R6w4FOpy+Q0H18Dn83JBo0p7ZtY7Y6XkK48Kw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/rpc-provider": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/util": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/rpc-provider": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/util": "^10.4.2", + "rxjs": "^7.8.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-provider": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.9.4.tgz", - "integrity": "sha512-aUkPtlYukAOFX3FkUgLw3MNy+T0mCiCX7va3PIts9ggK4vl14NFZHurCZq+5ANvknRU4WG8P5teurH9Rd9oDjQ==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/keyring": "^10.1.14", - "@polkadot/types": "9.9.4", - "@polkadot/types-support": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "@polkadot/x-fetch": "^10.1.14", - "@polkadot/x-global": "^10.1.14", - "@polkadot/x-ws": "^10.1.14", - "@substrate/connect": "0.7.17", - "eventemitter3": "^4.0.7", - "mock-socket": "^9.1.5", - "nock": "^13.2.9" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.14.2.tgz", + "integrity": "sha512-YTSywjD5PF01V47Ru5tln2LlpUwJiSOdz6rlJXPpMaY53hUp7+xMU01FVAQ1bllSBNisSD1Msv/mYHq84Oai2g==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@polkadot/keyring": "^10.4.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-support": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "@polkadot/x-fetch": "^10.4.2", + "@polkadot/x-global": "^10.4.2", + "@polkadot/x-ws": "^10.4.2", + "eventemitter3": "^5.0.0", + "mock-socket": "^9.2.1", + "nock": "^13.3.0" }, "engines": { "node": ">=14.0.0" + }, + "optionalDependencies": { + "@substrate/connect": "0.7.19" } }, "node_modules/@polkadot/types": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.9.4.tgz", - "integrity": "sha512-/LJ029S0AtKzvV9JoQtIIeHRP/Xoq8MZmDfdHUEgThRd+uvtQzFyGmcupe4EzX0p5VAx93DUFQKm8vUdHE39Tw==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.14.2.tgz", + "integrity": "sha512-hGLddTiJbvowhhUZJ3k+olmmBc1KAjWIQxujIUIYASih8FQ3/YJDKxaofGOzh0VygOKW3jxQBN2VZPofyDP9KQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/keyring": "^10.1.14", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/keyring": "^10.4.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "rxjs": "^7.8.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.9.4.tgz", - "integrity": "sha512-mQNc0kxt3zM6SC+5hJbsg03fxEFpn5nakki+loE2mNsWr1g+rR7LECagAZ4wT2gvdbzWuY/LlRYyDQxe0PwdZg==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.14.2.tgz", + "integrity": "sha512-WO9d7RJufUeY3iFgt2Wz762kOu1tjEiGBR5TT4AHtpEchVHUeosVTrN9eycC+BhleqYu52CocKz6u3qCT/jKLg==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-codec": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.9.4.tgz", - "integrity": "sha512-uSHoQQcj4813c9zNkDDH897K6JB0OznTrH5WeZ1wxpjML7lkuTJ2t/GQE9e4q5Ycl7YePZsvEp2qlc3GwrVm/w==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.14.2.tgz", + "integrity": "sha512-AJ4XF7W1no4PENLBRU955V6gDxJw0h++EN3YoDgThozZ0sj3OxyFupKgNBZcZb2V23H8JxQozzIad8k+nJbO1w==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "^10.1.14", - "@polkadot/x-bigint": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "^10.4.2", + "@polkadot/x-bigint": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-create": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.9.4.tgz", - "integrity": "sha512-EOxLryRQ4JVRSRnIMXk3Tjry1tyegNuWK8OUj51A1wHrX76DF9chME27bXUP4d7el1pjqPuQ9/l+/928GG386g==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.14.2.tgz", + "integrity": "sha512-nSnKpBierlmGBQT8r6/SHf6uamBIzk4WmdMsAsR4uJKJF1PtbIqx2W5PY91xWSiMSNMzjkbCppHkwaDAMwLGaw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-known": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.9.4.tgz", - "integrity": "sha512-BaKXkg3yZLDv31g0CZPJsZDXX01VTjkQ0tmW9U6fmccEq3zHlxbUiXf3aKlwKRJyDWiEOxr4cQ4GT8jj6uEIuA==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.14.2.tgz", + "integrity": "sha512-iM8WOCgguzJ3TLMqlm4K1gKQEwWm2zxEKT1HZZ1irs/lAbBk9MquDWDvebryiw3XsLB8xgrp3RTIBn2Q4FjB2A==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/networks": "^10.1.14", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/networks": "^10.4.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-support": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.9.4.tgz", - "integrity": "sha512-vjhdD7B5kdTLhm2iO0QAb7fM4D2ojNUVVocOJotC9NULYtoC+PkPvkvFbw7VQ1H3u7yxyZfWloMtBnCsIp5EAA==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.14.2.tgz", + "integrity": "sha512-VWCOPgXDK3XtXT7wMLyIWeNDZxUbNcw/8Pn6n6vMogs7o/n4h6WGbGMeTIQhPWyn831/RmkVs5+2DUC+2LlOhw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "^10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/util": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.1.14.tgz", - "integrity": "sha512-DX8IUd3j+S4HJBs73gz5d7Z592aW5vn/aD7hzFUlBduQIYBy+L1KIoGchpD6hSSOs5HSy7owePmBlp1lPjUZBg==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-bigint": "10.1.14", - "@polkadot/x-global": "10.1.14", - "@polkadot/x-textdecoder": "10.1.14", - "@polkadot/x-textencoder": "10.1.14", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.4.2.tgz", + "integrity": "sha512-0r5MGICYiaCdWnx+7Axlpvzisy/bi1wZGXgCSw5+ZTyPTOqvsYRqM2X879yxvMsGfibxzWqNzaiVjToz1jvUaA==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@polkadot/x-bigint": "10.4.2", + "@polkadot/x-global": "10.4.2", + "@polkadot/x-textdecoder": "10.4.2", + "@polkadot/x-textencoder": "10.4.2", "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" }, @@ -962,18 +972,18 @@ } }, "node_modules/@polkadot/util-crypto": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.1.14.tgz", - "integrity": "sha512-Iq9C0Snv+pScZ9QgJoH7l++x9wdp9vhS3NMLm8ZqlDCNXUUl/3ViafZCfHRILQD9AsLcykE99mNzFDl3u8jZQA==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@noble/hashes": "1.1.3", - "@noble/secp256k1": "1.7.0", - "@polkadot/networks": "10.1.14", - "@polkadot/util": "10.1.14", - "@polkadot/wasm-crypto": "^6.3.1", - "@polkadot/x-bigint": "10.1.14", - "@polkadot/x-randomvalues": "10.1.14", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.4.2.tgz", + "integrity": "sha512-RxZvF7C4+EF3fzQv8hZOLrYCBq5+wA+2LWv98nECkroChY3C2ZZvyWDqn8+aonNULt4dCVTWDZM0QIY6y4LUAQ==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "@noble/hashes": "1.2.0", + "@noble/secp256k1": "1.7.1", + "@polkadot/networks": "10.4.2", + "@polkadot/util": "10.4.2", + "@polkadot/wasm-crypto": "^6.4.1", + "@polkadot/x-bigint": "10.4.2", + "@polkadot/x-randomvalues": "10.4.2", "@scure/base": "1.1.1", "ed2curve": "^0.3.0", "tweetnacl": "^1.0.3" @@ -982,15 +992,15 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "10.1.14" + "@polkadot/util": "10.4.2" } }, "node_modules/@polkadot/wasm-bridge": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.3.1.tgz", - "integrity": "sha512-1TYkHsb9AEFhU9uZj3biEnN2yKQNzdrwSjiTvfCYnt97pnEkKsZI6cku+YPZQv5w/x9CQa5Yua9e2DVVZSivGA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.4.1.tgz", + "integrity": "sha512-QZDvz6dsUlbYsaMV5biZgZWkYH9BC5AfhT0f0/knv8+LrbAoQdP3Asbvddw8vyU9sbpuCHXrd4bDLBwUCRfrBQ==", "dependencies": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" }, "engines": { "node": ">=14.0.0" @@ -1001,16 +1011,16 @@ } }, "node_modules/@polkadot/wasm-crypto": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.3.1.tgz", - "integrity": "sha512-OO8h0qeVkqp4xYZaRVl4iuWOEtq282pNBHDKb6SOJuI2g59eWGcKh4EQU9Me2VP6qzojIqptrkrVt7KQXC68gA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.4.1.tgz", + "integrity": "sha512-FH+dcDPdhSLJvwL0pMLtn/LIPd62QDPODZRCmDyw+pFjLOMaRBc7raomWUOqyRWJTnqVf/iscc2rLVLNMyt7ag==", "dependencies": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-bridge": "6.3.1", - "@polkadot/wasm-crypto-asmjs": "6.3.1", - "@polkadot/wasm-crypto-init": "6.3.1", - "@polkadot/wasm-crypto-wasm": "6.3.1", - "@polkadot/wasm-util": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-bridge": "6.4.1", + "@polkadot/wasm-crypto-asmjs": "6.4.1", + "@polkadot/wasm-crypto-init": "6.4.1", + "@polkadot/wasm-crypto-wasm": "6.4.1", + "@polkadot/wasm-util": "6.4.1" }, "engines": { "node": ">=14.0.0" @@ -1021,11 +1031,11 @@ } }, "node_modules/@polkadot/wasm-crypto-asmjs": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.3.1.tgz", - "integrity": "sha512-zbombRfA5v/mUWQQhgg2YwaxhRmxRIrvskw65x+lruax3b6xPBFDs7yplopiJU3r8h2pTgQvX/DUksvqz2TCRQ==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.4.1.tgz", + "integrity": "sha512-UxZTwuBZlnODGIQdCsE2Sn/jU0O2xrNQ/TkhRFELfkZXEXTNu4lw6NpaKq7Iey4L+wKd8h4lT3VPVkMcPBLOvA==", "dependencies": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" }, "engines": { "node": ">=14.0.0" @@ -1035,14 +1045,14 @@ } }, "node_modules/@polkadot/wasm-crypto-init": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.3.1.tgz", - "integrity": "sha512-9yaUBcu+snwjJLmPPGl3cyGRQ1afyFGm16qzTM0sgG/ZCfUlK4uk8KWZe+sBUKgoxb2oXY7Y4WklKgQI1YBdfw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.4.1.tgz", + "integrity": "sha512-1ALagSi/nfkyFaH6JDYfy/QbicVbSn99K8PV9rctDUfxc7P06R7CoqbjGQ4OMPX6w1WYVPU7B4jPHGLYBlVuMw==", "dependencies": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-bridge": "6.3.1", - "@polkadot/wasm-crypto-asmjs": "6.3.1", - "@polkadot/wasm-crypto-wasm": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-bridge": "6.4.1", + "@polkadot/wasm-crypto-asmjs": "6.4.1", + "@polkadot/wasm-crypto-wasm": "6.4.1" }, "engines": { "node": ">=14.0.0" @@ -1053,12 +1063,12 @@ } }, "node_modules/@polkadot/wasm-crypto-wasm": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.3.1.tgz", - "integrity": "sha512-idSlzKGVzCfeCMRHsacRvqwojSaTadFxL/Dbls4z1thvfa3U9Ku0d2qVtlwg7Hj+tYWDiuP8Kygs+6bQwfs0XA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.4.1.tgz", + "integrity": "sha512-3VV9ZGzh0ZY3SmkkSw+0TRXxIpiO0nB8lFwlRgcwaCihwrvLfRnH9GI8WE12mKsHVjWTEVR3ogzILJxccAUjDA==", "dependencies": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-util": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-util": "6.4.1" }, "engines": { "node": ">=14.0.0" @@ -1068,11 +1078,11 @@ } }, "node_modules/@polkadot/wasm-util": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.3.1.tgz", - "integrity": "sha512-12oAv5J7Yoc9m6jixrSaQCxpOkWOyzHx3DMC8qmLjRiwdBWxqLmImOVRVnFsbaxqSbhBIHRuJphVxWE+GZETDg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.4.1.tgz", + "integrity": "sha512-Uwo+WpEsDmFExWC5kTNvsVhvqXMZEKf4gUHXFn4c6Xz4lmieRT5g+1bO1KJ21pl4msuIgdV3Bksfs/oiqMFqlw==", "dependencies": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" }, "engines": { "node": ">=14.0.0" @@ -1082,24 +1092,24 @@ } }, "node_modules/@polkadot/x-bigint": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.1.14.tgz", - "integrity": "sha512-HgrofhI+WM699ozJ9zFZcPUApB2jqwCEOMUgM1jv2WNxF0ILKNDpH08dB8OBy2SKfnKoSgmXwWtxWl1u+mq10A==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.4.2.tgz", + "integrity": "sha512-awRiox+/XSReLzimAU94fPldowiwnnMUkQJe8AebYhNocAj6SJU00GNoj6j6tAho6yleOwrTJXZaWFBaQVJQNg==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-fetch": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.1.14.tgz", - "integrity": "sha512-07H9unwv0tT5RQRkj1WE67ug6x6RlUfGN/mJWSKqf0JjsfQlPMKDC9yZW1oUSsasBUyIf0qbspuVSyhZu+0cpg==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.4.2.tgz", + "integrity": "sha512-Ubb64yaM4qwhogNP+4mZ3ibRghEg5UuCYRMNaCFoPgNAY8tQXuDKrHzeks3+frlmeH9YRd89o8wXLtWouwZIcw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14", + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2", "@types/node-fetch": "^2.6.2", "node-fetch": "^3.3.0" }, @@ -1108,59 +1118,59 @@ } }, "node_modules/@polkadot/x-global": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.1.14.tgz", - "integrity": "sha512-ye3Yx2bfIoHf5t78rbDad587J16JanrcfpGSWoknWOZ7wmatj/CJKWhJ/VKMPfJGEJm2LidH1B0W8QDfrMEmTA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.4.2.tgz", + "integrity": "sha512-g6GXHD/ykZvHap3M6wh19dO70Zm43l4jEhlxf5LtTo5/0/UporFCXr2YJYZqfbn9JbQwl1AU+NroYio+vtJdiA==", "dependencies": { - "@babel/runtime": "^7.20.1" + "@babel/runtime": "^7.20.13" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-randomvalues": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.1.14.tgz", - "integrity": "sha512-mrZho4qogLZmox7wuP1XF03HTZ4CwAjzV7RvKmwH8ToNCR6E4NRo2btgG67Z0K+bUOQRbXWL2hQazusa2p2N6w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.4.2.tgz", + "integrity": "sha512-mf1Wbpe7pRZHO0V3V89isPLqZOy5XGX2bCqsfUWHgb1NvV1MMx5TjVjdaYyNlGTiOkAmJKlOHshcfPU2sYWpNg==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textdecoder": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.1.14.tgz", - "integrity": "sha512-qwbeR8v6a5Z9MdbjzcY5gFiRWbp8bBVoDEf1Dd+yH9/UAyFXodlMKs3irDdVhGVPCbZWQTVDEZRUgEqRxwKC7w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.4.2.tgz", + "integrity": "sha512-d3ADduOKUTU+cliz839+KCFmi23pxTlabH7qh7Vs1GZQvXOELWdqFOqakdiAjtMn68n1KVF4O14Y+OUm7gp/zA==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textencoder": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.1.14.tgz", - "integrity": "sha512-MC30rtQiFVgQDSP8wO5wa1so5tW3T7qs/DCT018A4zgjiK+uFdIGOerAgoxcNw3yC6IGnPIL5lsRO/1C9N60zA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.4.2.tgz", + "integrity": "sha512-mxcQuA1exnyv74Kasl5vxBq01QwckG088lYjc3KwmND6+pPrW2OWagbxFX5VFoDLDAE+UJtnUHsjdWyOTDhpQA==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-ws": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.1.14.tgz", - "integrity": "sha512-xgyMYR34sHxKCtQUJ2btFAyN3fK1OqCqvAyRYmU52801aguLstRhVPAZxXJp3Dahs91FX/h/ZZzmwXD01tJtyA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.4.2.tgz", + "integrity": "sha512-3gHSTXAWQu1EMcMVTF5QDKHhEHzKxhAArweEyDXE7VsgKUP/ixxw4hVZBrkX122iI5l5mjSiooRSnp/Zl3xqDQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14", + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2", "@types/websocket": "^1.0.5", "websocket": "^1.0.34" }, @@ -1192,30 +1202,30 @@ } }, "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", "dev": true, "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^2.0.0" } }, "node_modules/@sinonjs/samsam": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", - "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-7.0.1.tgz", + "integrity": "sha512-zsAk2Jkiq89mhZovB2LLOdTCxJF4hqqTToGP0ASWlhp4I1hqOjcfmZGafXntCN7MDC6yySH0mFHrYtHceOeLmw==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.6.0", + "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", "type-detect": "^4.0.8" } @@ -1227,24 +1237,33 @@ "dev": true }, "node_modules/@substrate/connect": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.17.tgz", - "integrity": "sha512-s0XBmGpUCFWZFa+TS0TEvOKtWjJP2uT4xKmvzApH8INB5xbz79wqWFX6WWh3AlK/X1P0Smt+RVEH7HQiLJAYAw==", + "version": "0.7.19", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.19.tgz", + "integrity": "sha512-+DDRadc466gCmDU71sHrYOt1HcI2Cbhm7zdCFjZfFVHXhC/E8tOdrVSglAH2HDEHR0x2SiHRxtxOGC7ak2Zjog==", + "optional": true, "dependencies": { "@substrate/connect-extension-protocol": "^1.0.1", - "@substrate/smoldot-light": "0.7.7", + "@substrate/smoldot-light": "0.7.9", "eventemitter3": "^4.0.7" } }, "node_modules/@substrate/connect-extension-protocol": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz", - "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==" + "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==", + "optional": true + }, + "node_modules/@substrate/connect/node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "optional": true }, "node_modules/@substrate/smoldot-light": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.7.7.tgz", - "integrity": "sha512-ksxeAed6dIUtYSl0f8ehgWQjwXnpDGTIJt+WVRIGt3OObZkA96ZdBWx0xP7GrXZtj37u4n/Y1z7TyTm4bwQvrw==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.7.9.tgz", + "integrity": "sha512-HP8iP7sFYlpSgjjbo0lqHyU+gu9lL2hbDNce6dWk5/10mFFF9jKIFGfui4zCecUY808o/Go9pan/31kMJoLbug==", + "optional": true, "dependencies": { "pako": "^2.0.4", "ws": "^8.8.1" @@ -1253,12 +1272,13 @@ "node_modules/@substrate/smoldot-light/node_modules/pako": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", - "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", + "optional": true }, "node_modules/@substrate/ss58-registry": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.35.0.tgz", - "integrity": "sha512-cIY3J7RlT4mfPNFwd2mv1q9vTp/shImw2gN2y2outMhOcagH/HG+W8/JohpifjxPC/1pbQ0Z8nxfL5Td3EchcA==" + "version": "1.39.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz", + "integrity": "sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA==" }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", @@ -1449,9 +1469,9 @@ } }, "node_modules/acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1623,9 +1643,9 @@ } }, "node_modules/axios": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz", - "integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", + "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -1988,14 +2008,14 @@ ] }, "node_modules/chai": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", - "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", + "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", "dev": true, "dependencies": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", - "deep-eql": "^3.0.1", + "deep-eql": "^4.1.2", "get-func-name": "^2.0.0", "loupe": "^2.3.1", "pathval": "^1.1.1", @@ -2299,15 +2319,15 @@ } }, "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", "dev": true, "dependencies": { "type-detect": "^4.0.0" }, "engines": { - "node": ">=0.12" + "node": ">=6" } }, "node_modules/deep-is": { @@ -2456,18 +2476,6 @@ "node": ">=0.3.1" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -2625,14 +2633,16 @@ } }, "node_modules/eslint": { - "version": "8.25.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", - "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz", + "integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==", "dev": true, "dependencies": { - "@eslint/eslintrc": "^1.3.3", - "@humanwhocodes/config-array": "^0.10.5", + "@eslint/eslintrc": "^2.0.0", + "@eslint/js": "8.35.0", + "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -2643,19 +2653,19 @@ "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", "espree": "^9.4.0", - "esquery": "^1.4.0", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "globby": "^11.1.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", @@ -2680,9 +2690,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", - "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz", + "integrity": "sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -2851,9 +2861,9 @@ } }, "node_modules/eslint/node_modules/globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -2911,9 +2921,9 @@ } }, "node_modules/espree": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz", - "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", + "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", "dev": true, "dependencies": { "acorn": "^8.8.0", @@ -2950,9 +2960,9 @@ } }, "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -3032,9 +3042,9 @@ } }, "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.0.tgz", + "integrity": "sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg==" }, "node_modules/events": { "version": "3.3.0", @@ -3086,9 +3096,9 @@ } }, "node_modules/express-prom-bundle": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/express-prom-bundle/-/express-prom-bundle-6.5.0.tgz", - "integrity": "sha512-paFAm0FK7TV1Ln6Blh9edDt2mJ4Pk6Py/fjhZDMcoMHENYryBjCpnXDXuCu8NE1kkvp58IrPcAAkNeNqdvZnnw==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/express-prom-bundle/-/express-prom-bundle-6.6.0.tgz", + "integrity": "sha512-tZh2P2p5a8/yxQ5VbRav011Poa4R0mHqdFwn9Swe/obXDe5F0jY9wtRAfNYnqk4LXY7akyvR/nrvAHxQPWUjsQ==", "dependencies": { "on-finished": "^2.3.0", "url-value-parser": "^2.0.0" @@ -3138,34 +3148,6 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", "dev": true }, - "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/fast-json-parse": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz", @@ -3192,18 +3174,10 @@ "node": ">=6" } }, - "node_modules/fast-url-parser": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", - "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", - "dependencies": { - "punycode": "^1.3.2" - } - }, "node_modules/fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -3594,30 +3568,10 @@ "node": ">=4" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/go-ipfs": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/go-ipfs/-/go-ipfs-0.16.0.tgz", - "integrity": "sha512-AxA/CGZgXlU3NCIAFJKdnCcF5TmOiryxtjxH4SmT7FdquAwemgQWzOWxUZzhDDzqlk32mqoDID2sVxmAOfcfcA==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/go-ipfs/-/go-ipfs-0.18.1.tgz", + "integrity": "sha512-hXfjQRqet/H8mTSQVKiuTSMrvjv8cAGQMHbr12DHAHGsSMS9IuGCOntkVEhnNOnmP/WXcrxRVxLu6xz/mPLlZg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -3750,9 +3704,9 @@ "dev": true }, "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "node_modules/http-errors": { @@ -3984,6 +3938,15 @@ "node": ">=0.12.0" } }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -4231,9 +4194,9 @@ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" }, "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -4526,15 +4489,6 @@ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", @@ -4543,19 +4497,6 @@ "node": ">= 0.6" } }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -4635,9 +4576,9 @@ "dev": true }, "node_modules/mocha": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz", - "integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", + "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", @@ -4756,9 +4697,9 @@ } }, "node_modules/mock-socket": { - "version": "9.1.5", - "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.1.5.tgz", - "integrity": "sha512-3DeNIcsQixWHHKk6NdoBhWI4t1VMj5/HzfnI1rE/pLl5qKx7+gd4DNA07ehTaZ6MoUU053si6Hd+YtiM/tQZfg==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.2.1.tgz", + "integrity": "sha512-aw9F9T9G2zpGipLLhSNh6ZpgUyUl4frcVmRN08uE1NWPWg43Wx6+sGPDbQ7E5iFZZDJW5b5bypMeAEHqTbIFag==", "engines": { "node": ">= 8" } @@ -4819,13 +4760,13 @@ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, "node_modules/nise": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", - "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", + "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": ">=5", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^10.0.2", "@sinonjs/text-encoding": "^0.7.1", "just-extend": "^4.0.2", "path-to-regexp": "^1.7.0" @@ -4847,9 +4788,9 @@ } }, "node_modules/nock": { - "version": "13.2.9", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.9.tgz", - "integrity": "sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA==", + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.0.tgz", + "integrity": "sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg==", "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -4896,9 +4837,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -5488,9 +5429,9 @@ } }, "node_modules/pino": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/pino/-/pino-8.6.1.tgz", - "integrity": "sha512-fi+V2K98eMZjQ/uEHHSiMALNrz7HaFdKNYuyA3ZUrbH0f1e8sPFDmeRGzg7ZH2q4QDxGnJPOswmqlEaTAZeDPA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/pino/-/pino-8.11.0.tgz", + "integrity": "sha512-Z2eKSvlrl2rH8p5eveNUnTdd4AjJk8tAsLkHYZQKGHP4WTh2Gi1cOSOs3eWPqaj+niS3gj4UkoreoaWgF3ZWYg==", "dependencies": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.1.1", @@ -5661,11 +5602,10 @@ } }, "node_modules/pino-http": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/pino-http/-/pino-http-8.2.1.tgz", - "integrity": "sha512-bdWAE4HYfFjDhKw2/N7BLNSIFAs+WDLZnetsGRpBdNEKq7/RoZUgblLS5OlMY257RPQml6J5QiiLkwxbstzWbA==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/pino-http/-/pino-http-8.3.3.tgz", + "integrity": "sha512-p4umsNIXXVu95HD2C8wie/vXH7db5iGRpc+yj1/ZQ3sRtTQLXNjoS6Be5+eI+rQbqCRxen/7k/KSN+qiZubGDw==", "dependencies": { - "fast-url-parser": "^1.1.3", "get-caller-file": "^2.0.5", "pino": "^8.0.0", "pino-std-serializers": "^6.0.0", @@ -5870,9 +5810,9 @@ } }, "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -5949,9 +5889,9 @@ "integrity": "sha512-+MmoAXoUX+VTHAlwns0h+kFUWFs/3FZy+ZuchkgjyOu3oioLAo2LB5aCfKPh2+P9O18i3m43tUEv3YqttSy0Ww==" }, "node_modules/prom-client": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-12.0.0.tgz", - "integrity": "sha512-JbzzHnw0VDwCvoqf8y1WDtq4wSBAbthMB1pcVI/0lzdqHGJI3KBJDXle70XK+c7Iv93Gihqo0a5LlOn+g8+DrQ==", + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-14.1.1.tgz", + "integrity": "sha512-hFU32q7UZQ59bVJQGUtm3I2PrJ3gWvoCkilX9sF165ks1qflhugVCeK+S1JjJYHvyt3o5kj68+q3bchormjnzw==", "dependencies": { "tdigest": "^0.1.1" }, @@ -6022,9 +5962,13 @@ } }, "node_modules/punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } }, "node_modules/qs": { "version": "6.11.0", @@ -6301,9 +6245,9 @@ } }, "node_modules/rxjs": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", - "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", + "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "dependencies": { "tslib": "^2.1.0" } @@ -6521,16 +6465,16 @@ } }, "node_modules/sinon": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-14.0.1.tgz", - "integrity": "sha512-JhJ0jCiyBWVAHDS+YSjgEbDn7Wgz9iIjA1/RK+eseJN0vAAWIWiXBdrnb92ELPyjsfreCYntD1ORtLSfIrlvSQ==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.1.tgz", + "integrity": "sha512-PZXKc08f/wcA/BMRGBze2Wmw50CWPiAH3E21EOi4B49vJ616vW4DQh4fQrqsYox2aNR/N3kCqLuB0PwwOucQrg==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^9.1.2", - "@sinonjs/samsam": "^6.1.1", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "10.0.2", + "@sinonjs/samsam": "^7.0.1", "diff": "^5.0.0", - "nise": "^5.1.1", + "nise": "^5.1.2", "supports-color": "^7.2.0" }, "funding": { @@ -6559,15 +6503,6 @@ "node": ">=8" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/sonic-boom": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.2.0.tgz", @@ -6993,15 +6928,6 @@ "punycode": "^2.1.0" } }, - "node_modules/uri-js/node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/url-value-parser": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/url-value-parser/-/url-value-parser-2.2.0.tgz", @@ -7196,15 +7122,16 @@ } }, "node_modules/ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", + "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "optional": true, "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -7534,9 +7461,9 @@ "dev": true }, "@babel/runtime": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz", - "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "requires": { "regenerator-runtime": "^0.13.11" } @@ -7582,15 +7509,15 @@ } }, "@eslint/eslintrc": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", - "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz", + "integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", "espree": "^9.4.0", - "globals": "^13.15.0", + "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -7605,9 +7532,9 @@ "dev": true }, "globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -7630,15 +7557,21 @@ } } }, + "@eslint/js": { + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz", + "integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==", + "dev": true + }, "@humanwhocodes/config-array": { - "version": "0.10.7", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz", - "integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==", + "version": "0.11.8", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", + "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", "dev": true, "requires": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", - "minimatch": "^3.0.4" + "minimatch": "^3.0.5" } }, "@humanwhocodes/module-importer": { @@ -7771,14 +7704,14 @@ } }, "@noble/hashes": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", - "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", + "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==" }, "@noble/secp256k1": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.0.tgz", - "integrity": "sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==" + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==" }, "@nodelib/fs.scandir": { "version": "2.1.5", @@ -7807,356 +7740,356 @@ } }, "@polkadot/api": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.9.4.tgz", - "integrity": "sha512-ze7W/DXsPHsixrFOACzugDQqezzrUGGX1Z2JOl6z+V8pd+ZKLSecsKJFUzf4yoBT82ArITYPtRVx/Dq9b9K2dA==", - "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/api-augment": "9.9.4", - "@polkadot/api-base": "9.9.4", - "@polkadot/api-derive": "9.9.4", - "@polkadot/keyring": "^10.1.14", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/rpc-provider": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/types-known": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "eventemitter3": "^4.0.7", - "rxjs": "^7.5.7" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.14.2.tgz", + "integrity": "sha512-R3eYFj2JgY1zRb+OCYQxNlJXCs2FA+AU4uIEiVcXnVLmR3M55tkRNEwYAZmiFxx0pQmegGgPMc33q7TWGdw24A==", + "requires": { + "@babel/runtime": "^7.20.13", + "@polkadot/api-augment": "9.14.2", + "@polkadot/api-base": "9.14.2", + "@polkadot/api-derive": "9.14.2", + "@polkadot/keyring": "^10.4.2", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/rpc-provider": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/types-known": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "eventemitter3": "^5.0.0", + "rxjs": "^7.8.0" } }, "@polkadot/api-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.9.4.tgz", - "integrity": "sha512-+T9YWw5kEi7AkSoS2UfE1nrVeJUtD92elQBZ3bMMkfM1geKWhSnvBLyTMn6kFmNXTfK0qt8YKS1pwbux7cC9tg==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.14.2.tgz", + "integrity": "sha512-19MmW8AHEcLkdcUIo3LLk0eCQgREWqNSxkUyOeWn7UiNMY1AhDOOwMStUBNCvrIDK6VL6GGc1sY7rkPCLMuKSw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/api-base": "9.9.4", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/api-base": "9.14.2", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" } }, "@polkadot/api-base": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.9.4.tgz", - "integrity": "sha512-G1DcxcMeGcvaAAA3u5Tbf70zE5aIuAPEAXnptFMF0lvJz4O6CM8k8ZZFTSk25hjsYlnx8WI1FTc97q4/tKie+Q==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.14.2.tgz", + "integrity": "sha512-ky9fmzG1Tnrjr/SBZ0aBB21l0TFr+CIyQenQczoUyVgiuxVaI/2Bp6R2SFrHhG28P+PW2/RcYhn2oIAR2Z2fZQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/util": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/util": "^10.4.2", + "rxjs": "^7.8.0" } }, "@polkadot/api-derive": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.9.4.tgz", - "integrity": "sha512-3ka7GzY4QbI3d/DHjQ9SjfDOTDxeU8gM2Dn31BP1oFzGwdFe2GZhDIE//lR5S6UDVxNNlgWz4927AunOQcuAmg==", - "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/api": "9.9.4", - "@polkadot/api-augment": "9.9.4", - "@polkadot/api-base": "9.9.4", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "rxjs": "^7.5.7" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.14.2.tgz", + "integrity": "sha512-yw9OXucmeggmFqBTMgza0uZwhNjPxS7MaT7lSCUIRKckl1GejdV+qMhL3XFxPFeYzXwzFpdPG11zWf+qJlalqw==", + "requires": { + "@babel/runtime": "^7.20.13", + "@polkadot/api": "9.14.2", + "@polkadot/api-augment": "9.14.2", + "@polkadot/api-base": "9.14.2", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "rxjs": "^7.8.0" } }, "@polkadot/keyring": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.1.14.tgz", - "integrity": "sha512-iejbAfGfdyTB0pixWX6HhWXkUKBHLNy7+Z+F4DU8IwpJE48iOsMRJb3qShbk5NERjx1QIjoOpSZYxiCaF6gd+w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.4.2.tgz", + "integrity": "sha512-7iHhJuXaHrRTG6cJDbZE9G+c1ts1dujp0qbO4RfAPmT7YUvphHvAtCKueN9UKPz5+TYDL+rP/jDEaSKU8jl/qQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "10.1.14", - "@polkadot/util-crypto": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "10.4.2", + "@polkadot/util-crypto": "10.4.2" } }, "@polkadot/networks": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.1.14.tgz", - "integrity": "sha512-lo4Y57yBqiad4Z2zBW0r7Ct/iKXNgsTfazDTbHRkIh3RuX36PNYshaX3p7R0eNRuetV1jJv7jqwc1nAMNI2KwQ==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.4.2.tgz", + "integrity": "sha512-FAh/znrEvWBiA/LbcT5GXHsCFUl//y9KqxLghSr/CreAmAergiJNT0MVUezC7Y36nkATgmsr4ylFwIxhVtuuCw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "10.1.14", - "@substrate/ss58-registry": "^1.35.0" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "10.4.2", + "@substrate/ss58-registry": "^1.38.0" } }, "@polkadot/rpc-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.9.4.tgz", - "integrity": "sha512-67zGQAhJuXd/CZlwDZTgxNt3xGtsDwLvLvyFrHuNjJNM0KGCyt/OpQHVBlyZ6xfII0WZpccASN6P2MxsGTMnKw==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.14.2.tgz", + "integrity": "sha512-mOubRm3qbKZTbP9H01XRrfTk7k5it9WyzaWAg72DJBQBYdgPUUkGSgpPD/Srkk5/5GAQTWVWL1I2UIBKJ4TJjQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-core": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-core": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" } }, "@polkadot/rpc-core": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.9.4.tgz", - "integrity": "sha512-DxhJcq1GAi+28nLMqhTksNMqTX40bGNhYuyQyy/to39VxizAjx+lyAHAMfzG9lvPnTIi2KzXif2pCdWq3AgJag==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.14.2.tgz", + "integrity": "sha512-krA/mtQ5t9nUQEsEVC1sjkttLuzN6z6gyJxK2IlpMS3S5ncy/R6w4FOpy+Q0H18Dn83JBo0p7ZtY7Y6XkK48Kw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/rpc-augment": "9.9.4", - "@polkadot/rpc-provider": "9.9.4", - "@polkadot/types": "9.9.4", - "@polkadot/util": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/rpc-augment": "9.14.2", + "@polkadot/rpc-provider": "9.14.2", + "@polkadot/types": "9.14.2", + "@polkadot/util": "^10.4.2", + "rxjs": "^7.8.0" } }, "@polkadot/rpc-provider": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.9.4.tgz", - "integrity": "sha512-aUkPtlYukAOFX3FkUgLw3MNy+T0mCiCX7va3PIts9ggK4vl14NFZHurCZq+5ANvknRU4WG8P5teurH9Rd9oDjQ==", - "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/keyring": "^10.1.14", - "@polkadot/types": "9.9.4", - "@polkadot/types-support": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "@polkadot/x-fetch": "^10.1.14", - "@polkadot/x-global": "^10.1.14", - "@polkadot/x-ws": "^10.1.14", - "@substrate/connect": "0.7.17", - "eventemitter3": "^4.0.7", - "mock-socket": "^9.1.5", - "nock": "^13.2.9" + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.14.2.tgz", + "integrity": "sha512-YTSywjD5PF01V47Ru5tln2LlpUwJiSOdz6rlJXPpMaY53hUp7+xMU01FVAQ1bllSBNisSD1Msv/mYHq84Oai2g==", + "requires": { + "@babel/runtime": "^7.20.13", + "@polkadot/keyring": "^10.4.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-support": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "@polkadot/x-fetch": "^10.4.2", + "@polkadot/x-global": "^10.4.2", + "@polkadot/x-ws": "^10.4.2", + "@substrate/connect": "0.7.19", + "eventemitter3": "^5.0.0", + "mock-socket": "^9.2.1", + "nock": "^13.3.0" } }, "@polkadot/types": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.9.4.tgz", - "integrity": "sha512-/LJ029S0AtKzvV9JoQtIIeHRP/Xoq8MZmDfdHUEgThRd+uvtQzFyGmcupe4EzX0p5VAx93DUFQKm8vUdHE39Tw==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.14.2.tgz", + "integrity": "sha512-hGLddTiJbvowhhUZJ3k+olmmBc1KAjWIQxujIUIYASih8FQ3/YJDKxaofGOzh0VygOKW3jxQBN2VZPofyDP9KQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/keyring": "^10.1.14", - "@polkadot/types-augment": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/util": "^10.1.14", - "@polkadot/util-crypto": "^10.1.14", - "rxjs": "^7.5.7" + "@babel/runtime": "^7.20.13", + "@polkadot/keyring": "^10.4.2", + "@polkadot/types-augment": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/util": "^10.4.2", + "@polkadot/util-crypto": "^10.4.2", + "rxjs": "^7.8.0" } }, "@polkadot/types-augment": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.9.4.tgz", - "integrity": "sha512-mQNc0kxt3zM6SC+5hJbsg03fxEFpn5nakki+loE2mNsWr1g+rR7LECagAZ4wT2gvdbzWuY/LlRYyDQxe0PwdZg==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.14.2.tgz", + "integrity": "sha512-WO9d7RJufUeY3iFgt2Wz762kOu1tjEiGBR5TT4AHtpEchVHUeosVTrN9eycC+BhleqYu52CocKz6u3qCT/jKLg==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" } }, "@polkadot/types-codec": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.9.4.tgz", - "integrity": "sha512-uSHoQQcj4813c9zNkDDH897K6JB0OznTrH5WeZ1wxpjML7lkuTJ2t/GQE9e4q5Ycl7YePZsvEp2qlc3GwrVm/w==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.14.2.tgz", + "integrity": "sha512-AJ4XF7W1no4PENLBRU955V6gDxJw0h++EN3YoDgThozZ0sj3OxyFupKgNBZcZb2V23H8JxQozzIad8k+nJbO1w==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "^10.1.14", - "@polkadot/x-bigint": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "^10.4.2", + "@polkadot/x-bigint": "^10.4.2" } }, "@polkadot/types-create": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.9.4.tgz", - "integrity": "sha512-EOxLryRQ4JVRSRnIMXk3Tjry1tyegNuWK8OUj51A1wHrX76DF9chME27bXUP4d7el1pjqPuQ9/l+/928GG386g==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.14.2.tgz", + "integrity": "sha512-nSnKpBierlmGBQT8r6/SHf6uamBIzk4WmdMsAsR4uJKJF1PtbIqx2W5PY91xWSiMSNMzjkbCppHkwaDAMwLGaw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/types-codec": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/types-codec": "9.14.2", + "@polkadot/util": "^10.4.2" } }, "@polkadot/types-known": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.9.4.tgz", - "integrity": "sha512-BaKXkg3yZLDv31g0CZPJsZDXX01VTjkQ0tmW9U6fmccEq3zHlxbUiXf3aKlwKRJyDWiEOxr4cQ4GT8jj6uEIuA==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.14.2.tgz", + "integrity": "sha512-iM8WOCgguzJ3TLMqlm4K1gKQEwWm2zxEKT1HZZ1irs/lAbBk9MquDWDvebryiw3XsLB8xgrp3RTIBn2Q4FjB2A==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/networks": "^10.1.14", - "@polkadot/types": "9.9.4", - "@polkadot/types-codec": "9.9.4", - "@polkadot/types-create": "9.9.4", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/networks": "^10.4.2", + "@polkadot/types": "9.14.2", + "@polkadot/types-codec": "9.14.2", + "@polkadot/types-create": "9.14.2", + "@polkadot/util": "^10.4.2" } }, "@polkadot/types-support": { - "version": "9.9.4", - "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.9.4.tgz", - "integrity": "sha512-vjhdD7B5kdTLhm2iO0QAb7fM4D2ojNUVVocOJotC9NULYtoC+PkPvkvFbw7VQ1H3u7yxyZfWloMtBnCsIp5EAA==", + "version": "9.14.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.14.2.tgz", + "integrity": "sha512-VWCOPgXDK3XtXT7wMLyIWeNDZxUbNcw/8Pn6n6vMogs7o/n4h6WGbGMeTIQhPWyn831/RmkVs5+2DUC+2LlOhw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/util": "^10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/util": "^10.4.2" } }, "@polkadot/util": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.1.14.tgz", - "integrity": "sha512-DX8IUd3j+S4HJBs73gz5d7Z592aW5vn/aD7hzFUlBduQIYBy+L1KIoGchpD6hSSOs5HSy7owePmBlp1lPjUZBg==", - "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-bigint": "10.1.14", - "@polkadot/x-global": "10.1.14", - "@polkadot/x-textdecoder": "10.1.14", - "@polkadot/x-textencoder": "10.1.14", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.4.2.tgz", + "integrity": "sha512-0r5MGICYiaCdWnx+7Axlpvzisy/bi1wZGXgCSw5+ZTyPTOqvsYRqM2X879yxvMsGfibxzWqNzaiVjToz1jvUaA==", + "requires": { + "@babel/runtime": "^7.20.13", + "@polkadot/x-bigint": "10.4.2", + "@polkadot/x-global": "10.4.2", + "@polkadot/x-textdecoder": "10.4.2", + "@polkadot/x-textencoder": "10.4.2", "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" } }, "@polkadot/util-crypto": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.1.14.tgz", - "integrity": "sha512-Iq9C0Snv+pScZ9QgJoH7l++x9wdp9vhS3NMLm8ZqlDCNXUUl/3ViafZCfHRILQD9AsLcykE99mNzFDl3u8jZQA==", - "requires": { - "@babel/runtime": "^7.20.1", - "@noble/hashes": "1.1.3", - "@noble/secp256k1": "1.7.0", - "@polkadot/networks": "10.1.14", - "@polkadot/util": "10.1.14", - "@polkadot/wasm-crypto": "^6.3.1", - "@polkadot/x-bigint": "10.1.14", - "@polkadot/x-randomvalues": "10.1.14", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.4.2.tgz", + "integrity": "sha512-RxZvF7C4+EF3fzQv8hZOLrYCBq5+wA+2LWv98nECkroChY3C2ZZvyWDqn8+aonNULt4dCVTWDZM0QIY6y4LUAQ==", + "requires": { + "@babel/runtime": "^7.20.13", + "@noble/hashes": "1.2.0", + "@noble/secp256k1": "1.7.1", + "@polkadot/networks": "10.4.2", + "@polkadot/util": "10.4.2", + "@polkadot/wasm-crypto": "^6.4.1", + "@polkadot/x-bigint": "10.4.2", + "@polkadot/x-randomvalues": "10.4.2", "@scure/base": "1.1.1", "ed2curve": "^0.3.0", "tweetnacl": "^1.0.3" } }, "@polkadot/wasm-bridge": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.3.1.tgz", - "integrity": "sha512-1TYkHsb9AEFhU9uZj3biEnN2yKQNzdrwSjiTvfCYnt97pnEkKsZI6cku+YPZQv5w/x9CQa5Yua9e2DVVZSivGA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.4.1.tgz", + "integrity": "sha512-QZDvz6dsUlbYsaMV5biZgZWkYH9BC5AfhT0f0/knv8+LrbAoQdP3Asbvddw8vyU9sbpuCHXrd4bDLBwUCRfrBQ==", "requires": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" } }, "@polkadot/wasm-crypto": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.3.1.tgz", - "integrity": "sha512-OO8h0qeVkqp4xYZaRVl4iuWOEtq282pNBHDKb6SOJuI2g59eWGcKh4EQU9Me2VP6qzojIqptrkrVt7KQXC68gA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.4.1.tgz", + "integrity": "sha512-FH+dcDPdhSLJvwL0pMLtn/LIPd62QDPODZRCmDyw+pFjLOMaRBc7raomWUOqyRWJTnqVf/iscc2rLVLNMyt7ag==", "requires": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-bridge": "6.3.1", - "@polkadot/wasm-crypto-asmjs": "6.3.1", - "@polkadot/wasm-crypto-init": "6.3.1", - "@polkadot/wasm-crypto-wasm": "6.3.1", - "@polkadot/wasm-util": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-bridge": "6.4.1", + "@polkadot/wasm-crypto-asmjs": "6.4.1", + "@polkadot/wasm-crypto-init": "6.4.1", + "@polkadot/wasm-crypto-wasm": "6.4.1", + "@polkadot/wasm-util": "6.4.1" } }, "@polkadot/wasm-crypto-asmjs": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.3.1.tgz", - "integrity": "sha512-zbombRfA5v/mUWQQhgg2YwaxhRmxRIrvskw65x+lruax3b6xPBFDs7yplopiJU3r8h2pTgQvX/DUksvqz2TCRQ==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.4.1.tgz", + "integrity": "sha512-UxZTwuBZlnODGIQdCsE2Sn/jU0O2xrNQ/TkhRFELfkZXEXTNu4lw6NpaKq7Iey4L+wKd8h4lT3VPVkMcPBLOvA==", "requires": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" } }, "@polkadot/wasm-crypto-init": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.3.1.tgz", - "integrity": "sha512-9yaUBcu+snwjJLmPPGl3cyGRQ1afyFGm16qzTM0sgG/ZCfUlK4uk8KWZe+sBUKgoxb2oXY7Y4WklKgQI1YBdfw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.4.1.tgz", + "integrity": "sha512-1ALagSi/nfkyFaH6JDYfy/QbicVbSn99K8PV9rctDUfxc7P06R7CoqbjGQ4OMPX6w1WYVPU7B4jPHGLYBlVuMw==", "requires": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-bridge": "6.3.1", - "@polkadot/wasm-crypto-asmjs": "6.3.1", - "@polkadot/wasm-crypto-wasm": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-bridge": "6.4.1", + "@polkadot/wasm-crypto-asmjs": "6.4.1", + "@polkadot/wasm-crypto-wasm": "6.4.1" } }, "@polkadot/wasm-crypto-wasm": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.3.1.tgz", - "integrity": "sha512-idSlzKGVzCfeCMRHsacRvqwojSaTadFxL/Dbls4z1thvfa3U9Ku0d2qVtlwg7Hj+tYWDiuP8Kygs+6bQwfs0XA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.4.1.tgz", + "integrity": "sha512-3VV9ZGzh0ZY3SmkkSw+0TRXxIpiO0nB8lFwlRgcwaCihwrvLfRnH9GI8WE12mKsHVjWTEVR3ogzILJxccAUjDA==", "requires": { - "@babel/runtime": "^7.18.9", - "@polkadot/wasm-util": "6.3.1" + "@babel/runtime": "^7.20.6", + "@polkadot/wasm-util": "6.4.1" } }, "@polkadot/wasm-util": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.3.1.tgz", - "integrity": "sha512-12oAv5J7Yoc9m6jixrSaQCxpOkWOyzHx3DMC8qmLjRiwdBWxqLmImOVRVnFsbaxqSbhBIHRuJphVxWE+GZETDg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.4.1.tgz", + "integrity": "sha512-Uwo+WpEsDmFExWC5kTNvsVhvqXMZEKf4gUHXFn4c6Xz4lmieRT5g+1bO1KJ21pl4msuIgdV3Bksfs/oiqMFqlw==", "requires": { - "@babel/runtime": "^7.18.9" + "@babel/runtime": "^7.20.6" } }, "@polkadot/x-bigint": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.1.14.tgz", - "integrity": "sha512-HgrofhI+WM699ozJ9zFZcPUApB2jqwCEOMUgM1jv2WNxF0ILKNDpH08dB8OBy2SKfnKoSgmXwWtxWl1u+mq10A==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.4.2.tgz", + "integrity": "sha512-awRiox+/XSReLzimAU94fPldowiwnnMUkQJe8AebYhNocAj6SJU00GNoj6j6tAho6yleOwrTJXZaWFBaQVJQNg==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" } }, "@polkadot/x-fetch": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.1.14.tgz", - "integrity": "sha512-07H9unwv0tT5RQRkj1WE67ug6x6RlUfGN/mJWSKqf0JjsfQlPMKDC9yZW1oUSsasBUyIf0qbspuVSyhZu+0cpg==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.4.2.tgz", + "integrity": "sha512-Ubb64yaM4qwhogNP+4mZ3ibRghEg5UuCYRMNaCFoPgNAY8tQXuDKrHzeks3+frlmeH9YRd89o8wXLtWouwZIcw==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14", + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2", "@types/node-fetch": "^2.6.2", "node-fetch": "^3.3.0" } }, "@polkadot/x-global": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.1.14.tgz", - "integrity": "sha512-ye3Yx2bfIoHf5t78rbDad587J16JanrcfpGSWoknWOZ7wmatj/CJKWhJ/VKMPfJGEJm2LidH1B0W8QDfrMEmTA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.4.2.tgz", + "integrity": "sha512-g6GXHD/ykZvHap3M6wh19dO70Zm43l4jEhlxf5LtTo5/0/UporFCXr2YJYZqfbn9JbQwl1AU+NroYio+vtJdiA==", "requires": { - "@babel/runtime": "^7.20.1" + "@babel/runtime": "^7.20.13" } }, "@polkadot/x-randomvalues": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.1.14.tgz", - "integrity": "sha512-mrZho4qogLZmox7wuP1XF03HTZ4CwAjzV7RvKmwH8ToNCR6E4NRo2btgG67Z0K+bUOQRbXWL2hQazusa2p2N6w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.4.2.tgz", + "integrity": "sha512-mf1Wbpe7pRZHO0V3V89isPLqZOy5XGX2bCqsfUWHgb1NvV1MMx5TjVjdaYyNlGTiOkAmJKlOHshcfPU2sYWpNg==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" } }, "@polkadot/x-textdecoder": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.1.14.tgz", - "integrity": "sha512-qwbeR8v6a5Z9MdbjzcY5gFiRWbp8bBVoDEf1Dd+yH9/UAyFXodlMKs3irDdVhGVPCbZWQTVDEZRUgEqRxwKC7w==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.4.2.tgz", + "integrity": "sha512-d3ADduOKUTU+cliz839+KCFmi23pxTlabH7qh7Vs1GZQvXOELWdqFOqakdiAjtMn68n1KVF4O14Y+OUm7gp/zA==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" } }, "@polkadot/x-textencoder": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.1.14.tgz", - "integrity": "sha512-MC30rtQiFVgQDSP8wO5wa1so5tW3T7qs/DCT018A4zgjiK+uFdIGOerAgoxcNw3yC6IGnPIL5lsRO/1C9N60zA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.4.2.tgz", + "integrity": "sha512-mxcQuA1exnyv74Kasl5vxBq01QwckG088lYjc3KwmND6+pPrW2OWagbxFX5VFoDLDAE+UJtnUHsjdWyOTDhpQA==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14" + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2" } }, "@polkadot/x-ws": { - "version": "10.1.14", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.1.14.tgz", - "integrity": "sha512-xgyMYR34sHxKCtQUJ2btFAyN3fK1OqCqvAyRYmU52801aguLstRhVPAZxXJp3Dahs91FX/h/ZZzmwXD01tJtyA==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.4.2.tgz", + "integrity": "sha512-3gHSTXAWQu1EMcMVTF5QDKHhEHzKxhAArweEyDXE7VsgKUP/ixxw4hVZBrkX122iI5l5mjSiooRSnp/Zl3xqDQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@polkadot/x-global": "10.1.14", + "@babel/runtime": "^7.20.13", + "@polkadot/x-global": "10.4.2", "@types/websocket": "^1.0.5", "websocket": "^1.0.34" } @@ -8173,30 +8106,30 @@ "dev": true }, "@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", "dev": true, "requires": { "type-detect": "4.0.8" } }, "@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", "dev": true, "requires": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^2.0.0" } }, "@sinonjs/samsam": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", - "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-7.0.1.tgz", + "integrity": "sha512-zsAk2Jkiq89mhZovB2LLOdTCxJF4hqqTToGP0ASWlhp4I1hqOjcfmZGafXntCN7MDC6yySH0mFHrYtHceOeLmw==", "dev": true, "requires": { - "@sinonjs/commons": "^1.6.0", + "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", "type-detect": "^4.0.8" } @@ -8208,24 +8141,35 @@ "dev": true }, "@substrate/connect": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.17.tgz", - "integrity": "sha512-s0XBmGpUCFWZFa+TS0TEvOKtWjJP2uT4xKmvzApH8INB5xbz79wqWFX6WWh3AlK/X1P0Smt+RVEH7HQiLJAYAw==", + "version": "0.7.19", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.19.tgz", + "integrity": "sha512-+DDRadc466gCmDU71sHrYOt1HcI2Cbhm7zdCFjZfFVHXhC/E8tOdrVSglAH2HDEHR0x2SiHRxtxOGC7ak2Zjog==", + "optional": true, "requires": { "@substrate/connect-extension-protocol": "^1.0.1", - "@substrate/smoldot-light": "0.7.7", + "@substrate/smoldot-light": "0.7.9", "eventemitter3": "^4.0.7" + }, + "dependencies": { + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "optional": true + } } }, "@substrate/connect-extension-protocol": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz", - "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==" + "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==", + "optional": true }, "@substrate/smoldot-light": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.7.7.tgz", - "integrity": "sha512-ksxeAed6dIUtYSl0f8ehgWQjwXnpDGTIJt+WVRIGt3OObZkA96ZdBWx0xP7GrXZtj37u4n/Y1z7TyTm4bwQvrw==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.7.9.tgz", + "integrity": "sha512-HP8iP7sFYlpSgjjbo0lqHyU+gu9lL2hbDNce6dWk5/10mFFF9jKIFGfui4zCecUY808o/Go9pan/31kMJoLbug==", + "optional": true, "requires": { "pako": "^2.0.4", "ws": "^8.8.1" @@ -8234,14 +8178,15 @@ "pako": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", - "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", + "optional": true } } }, "@substrate/ss58-registry": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.35.0.tgz", - "integrity": "sha512-cIY3J7RlT4mfPNFwd2mv1q9vTp/shImw2gN2y2outMhOcagH/HG+W8/JohpifjxPC/1pbQ0Z8nxfL5Td3EchcA==" + "version": "1.39.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.39.0.tgz", + "integrity": "sha512-qZYpuE6n+mwew+X71dOur/CbMXj6rNW27o63JeJwdQH/GvcSKm3JLNhd+bGzwUKg0D/zD30Qc6p4JykArzM+tA==" }, "@szmarczak/http-timer": { "version": "4.0.6", @@ -8423,9 +8368,9 @@ } }, "acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true }, "acorn-jsx": { @@ -8552,9 +8497,9 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" }, "axios": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz", - "integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", + "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -8816,14 +8761,14 @@ "dev": true }, "chai": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", - "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", + "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", "dev": true, "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", - "deep-eql": "^3.0.1", + "deep-eql": "^4.1.2", "get-func-name": "^2.0.0", "loupe": "^2.3.1", "pathval": "^1.1.1", @@ -9055,9 +9000,9 @@ } }, "deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", "dev": true, "requires": { "type-detect": "^4.0.0" @@ -9165,15 +9110,6 @@ "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, "doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -9309,14 +9245,16 @@ "dev": true }, "eslint": { - "version": "8.25.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", - "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz", + "integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==", "dev": true, "requires": { - "@eslint/eslintrc": "^1.3.3", - "@humanwhocodes/config-array": "^0.10.5", + "@eslint/eslintrc": "^2.0.0", + "@eslint/js": "8.35.0", + "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -9327,19 +9265,19 @@ "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", "espree": "^9.4.0", - "esquery": "^1.4.0", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "globby": "^11.1.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", @@ -9423,9 +9361,9 @@ "dev": true }, "globals": { - "version": "13.17.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", - "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -9464,9 +9402,9 @@ } }, "eslint-config-prettier": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", - "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz", + "integrity": "sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==", "dev": true, "requires": {} }, @@ -9505,9 +9443,9 @@ "dev": true }, "espree": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz", - "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", + "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", "dev": true, "requires": { "acorn": "^8.8.0", @@ -9530,9 +9468,9 @@ "dev": true }, "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "requires": { "estraverse": "^5.1.0" @@ -9592,9 +9530,9 @@ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" }, "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.0.tgz", + "integrity": "sha512-riuVbElZZNXLeLEoprfNYoDSwTBRR44X3mnhdI1YcnENpWTCsTTVZ2zFuqQcpoyqPQIUXdiPEU0ECAq0KQRaHg==" }, "events": { "version": "3.3.0", @@ -9655,9 +9593,9 @@ } }, "express-prom-bundle": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/express-prom-bundle/-/express-prom-bundle-6.5.0.tgz", - "integrity": "sha512-paFAm0FK7TV1Ln6Blh9edDt2mJ4Pk6Py/fjhZDMcoMHENYryBjCpnXDXuCu8NE1kkvp58IrPcAAkNeNqdvZnnw==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/express-prom-bundle/-/express-prom-bundle-6.6.0.tgz", + "integrity": "sha512-tZh2P2p5a8/yxQ5VbRav011Poa4R0mHqdFwn9Swe/obXDe5F0jY9wtRAfNYnqk4LXY7akyvR/nrvAHxQPWUjsQ==", "requires": { "on-finished": "^2.3.0", "url-value-parser": "^2.0.0" @@ -9690,30 +9628,6 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", "dev": true }, - "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, "fast-json-parse": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz", @@ -9737,18 +9651,10 @@ "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.1.2.tgz", "integrity": "sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==" }, - "fast-url-parser": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", - "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", - "requires": { - "punycode": "^1.3.2" - } - }, "fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, "requires": { "reusify": "^1.0.4" @@ -10014,24 +9920,10 @@ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, "go-ipfs": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/go-ipfs/-/go-ipfs-0.16.0.tgz", - "integrity": "sha512-AxA/CGZgXlU3NCIAFJKdnCcF5TmOiryxtjxH4SmT7FdquAwemgQWzOWxUZzhDDzqlk32mqoDID2sVxmAOfcfcA==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/go-ipfs/-/go-ipfs-0.18.1.tgz", + "integrity": "sha512-hXfjQRqet/H8mTSQVKiuTSMrvjv8cAGQMHbr12DHAHGsSMS9IuGCOntkVEhnNOnmP/WXcrxRVxLu6xz/mPLlZg==", "dev": true, "requires": { "cachedir": "^2.3.0", @@ -10130,9 +10022,9 @@ "dev": true }, "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "http-errors": { @@ -10302,6 +10194,12 @@ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, "is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -10497,9 +10395,9 @@ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" }, "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "just-extend": { @@ -10724,27 +10622,11 @@ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" }, - "merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true - }, "methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" }, - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, "mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -10800,9 +10682,9 @@ "dev": true }, "mocha": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz", - "integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", + "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", "dev": true, "requires": { "ansi-colors": "4.1.1", @@ -10891,9 +10773,9 @@ } }, "mock-socket": { - "version": "9.1.5", - "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.1.5.tgz", - "integrity": "sha512-3DeNIcsQixWHHKk6NdoBhWI4t1VMj5/HzfnI1rE/pLl5qKx7+gd4DNA07ehTaZ6MoUU053si6Hd+YtiM/tQZfg==" + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.2.1.tgz", + "integrity": "sha512-aw9F9T9G2zpGipLLhSNh6ZpgUyUl4frcVmRN08uE1NWPWg43Wx6+sGPDbQ7E5iFZZDJW5b5bypMeAEHqTbIFag==" }, "ms": { "version": "2.1.2", @@ -10936,13 +10818,13 @@ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, "nise": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", - "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", + "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", "dev": true, "requires": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": ">=5", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^10.0.2", "@sinonjs/text-encoding": "^0.7.1", "just-extend": "^4.0.2", "path-to-regexp": "^1.7.0" @@ -10966,9 +10848,9 @@ } }, "nock": { - "version": "13.2.9", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.9.tgz", - "integrity": "sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA==", + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.0.tgz", + "integrity": "sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg==", "requires": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -10992,9 +10874,9 @@ } }, "node-gyp-build": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==" + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==" }, "node-preload": { "version": "0.2.1", @@ -11435,9 +11317,9 @@ "dev": true }, "pino": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/pino/-/pino-8.6.1.tgz", - "integrity": "sha512-fi+V2K98eMZjQ/uEHHSiMALNrz7HaFdKNYuyA3ZUrbH0f1e8sPFDmeRGzg7ZH2q4QDxGnJPOswmqlEaTAZeDPA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/pino/-/pino-8.11.0.tgz", + "integrity": "sha512-Z2eKSvlrl2rH8p5eveNUnTdd4AjJk8tAsLkHYZQKGHP4WTh2Gi1cOSOs3eWPqaj+niS3gj4UkoreoaWgF3ZWYg==", "requires": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.1.1", @@ -11568,11 +11450,10 @@ } }, "pino-http": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/pino-http/-/pino-http-8.2.1.tgz", - "integrity": "sha512-bdWAE4HYfFjDhKw2/N7BLNSIFAs+WDLZnetsGRpBdNEKq7/RoZUgblLS5OlMY257RPQml6J5QiiLkwxbstzWbA==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/pino-http/-/pino-http-8.3.3.tgz", + "integrity": "sha512-p4umsNIXXVu95HD2C8wie/vXH7db5iGRpc+yj1/ZQ3sRtTQLXNjoS6Be5+eI+rQbqCRxen/7k/KSN+qiZubGDw==", "requires": { - "fast-url-parser": "^1.1.3", "get-caller-file": "^2.0.5", "pino": "^8.0.0", "pino-std-serializers": "^6.0.0", @@ -11722,9 +11603,9 @@ "dev": true }, "prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true }, "prettier-bytes": { @@ -11777,9 +11658,9 @@ "integrity": "sha512-+MmoAXoUX+VTHAlwns0h+kFUWFs/3FZy+ZuchkgjyOu3oioLAo2LB5aCfKPh2+P9O18i3m43tUEv3YqttSy0Ww==" }, "prom-client": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-12.0.0.tgz", - "integrity": "sha512-JbzzHnw0VDwCvoqf8y1WDtq4wSBAbthMB1pcVI/0lzdqHGJI3KBJDXle70XK+c7Iv93Gihqo0a5LlOn+g8+DrQ==", + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-14.1.1.tgz", + "integrity": "sha512-hFU32q7UZQ59bVJQGUtm3I2PrJ3gWvoCkilX9sF165ks1qflhugVCeK+S1JjJYHvyt3o5kj68+q3bchormjnzw==", "requires": { "tdigest": "^0.1.1" } @@ -11843,9 +11724,10 @@ } }, "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true }, "qs": { "version": "6.11.0", @@ -12038,9 +11920,9 @@ } }, "rxjs": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", - "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", + "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "requires": { "tslib": "^2.1.0" } @@ -12214,16 +12096,16 @@ } }, "sinon": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-14.0.1.tgz", - "integrity": "sha512-JhJ0jCiyBWVAHDS+YSjgEbDn7Wgz9iIjA1/RK+eseJN0vAAWIWiXBdrnb92ELPyjsfreCYntD1ORtLSfIrlvSQ==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.1.tgz", + "integrity": "sha512-PZXKc08f/wcA/BMRGBze2Wmw50CWPiAH3E21EOi4B49vJ616vW4DQh4fQrqsYox2aNR/N3kCqLuB0PwwOucQrg==", "dev": true, "requires": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^9.1.2", - "@sinonjs/samsam": "^6.1.1", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "10.0.2", + "@sinonjs/samsam": "^7.0.1", "diff": "^5.0.0", - "nise": "^5.1.1", + "nise": "^5.1.2", "supports-color": "^7.2.0" }, "dependencies": { @@ -12244,12 +12126,6 @@ } } }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, "sonic-boom": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.2.0.tgz", @@ -12583,14 +12459,6 @@ "dev": true, "requires": { "punycode": "^2.1.0" - }, - "dependencies": { - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - } } }, "url-value-parser": { @@ -12745,9 +12613,10 @@ } }, "ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", + "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "optional": true, "requires": {} }, "xtend": { diff --git a/package.json b/package.json index 1eb68e5..67299a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digicatapult/dscp-ipfs", - "version": "2.9.1", + "version": "2.9.2", "description": "Service for DSCP", "main": "app/index.js", "type": "module", @@ -19,8 +19,8 @@ "url": "git+https://github.com/digicatapult/dscp-ipfs.git" }, "engines": { - "node": "16.x.x", - "npm": "8.x.x" + "node": ">=18.x.x", + "npm": ">=9.x.x" }, "keywords": [ "DSCP" @@ -32,32 +32,31 @@ }, "homepage": "https://github.com/digicatapult/dscp-ipfs#readme", "dependencies": { - "@polkadot/api": "^9.9.4", - "axios": "^1.2.0", + "@polkadot/api": "^9.14.2", + "axios": "^1.3.4", "dotenv": "^16.0.3", "envalid": "^7.3.1", "express": "^4.18.2", - "express-prom-bundle": "^6.5.0", - "pino": "^8.6.1", - "pino-http": "^8.2.1", - "prom-client": "^12.0.0" + "express-prom-bundle": "^6.6.0", + "pino": "^8.11.0", + "pino-http": "^8.3.3", + "prom-client": "^14.1.1" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", - "chai": "^4.3.6", + "chai": "^4.3.7", "delay": "^5.0.0", "depcheck": "^1.4.3", - "eslint": "^8.25.0", - "eslint-config-prettier": "^8.5.0", + "eslint": "^8.35.0", + "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "formdata-node": "^5.0.0", - "go-ipfs": "^0.16.0", - "mocha": "^10.1.0", - "node-fetch": "^3.3.0", + "go-ipfs": "^0.18.1", + "mocha": "^10.2.0", "nodemon": "^2.0.20", "nyc": "^15.1.0", "pino-colada": "^2.2.2", - "prettier": "^2.7.1", - "sinon": "^14.0.1" + "prettier": "^2.8.4", + "sinon": "^15.0.1" } } diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..fb054b3 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>digicatapult/renovate-config"] +} diff --git a/scripts/check-version.sh b/scripts/check-version.sh index e021788..919a600 100755 --- a/scripts/check-version.sh +++ b/scripts/check-version.sh @@ -6,20 +6,11 @@ set -e function check_versions_consistent () { local PACKAGE_VERSION=$(yq eval '.version' ./package.json) local PACKAGE_LOCK_VERSION=$(yq eval '.version' ./package-lock.json) - local HELM_VALUES_TAG_VERSION=$(yq eval '.image.tag' ./helm/dscp-ipfs/values.yaml) - local HELM_CHART_VERSION=$(yq eval '.version' ./helm/dscp-ipfs/Chart.yaml) - local HELM_CHART_APP_VERSION=$(yq eval '.appVersion' ./helm/dscp-ipfs/Chart.yaml) - if [ "$PACKAGE_VERSION" != "$PACKAGE_LOCK_VERSION" ] || - [ "v$PACKAGE_VERSION" != "$HELM_VALUES_TAG_VERSION" ] || - [ "$PACKAGE_VERSION" != "$HELM_CHART_VERSION" ] || - [ "$PACKAGE_VERSION" != "$HELM_CHART_APP_VERSION" ]; then + if [ "$PACKAGE_VERSION" != "$PACKAGE_LOCK_VERSION" ]; then echo "Inconsistent versions detected" echo "PACKAGE_VERSION: $PACKAGE_VERSION" echo "PACKAGE_LOCK_VERSION: $PACKAGE_LOCK_VERSION" - echo "HELM_VALUES_TAG_VERSION: $HELM_VALUES_TAG_VERSION" - echo "HELM_CHART_VERSION: $HELM_CHART_VERSION" - echo "HELM_CHART_APP_VERSION: $HELM_CHART_APP_VERSION" exit 1 fi } diff --git a/test/integration/fixtures.js b/test/integration/fixtures.js index 960a040..196512b 100644 --- a/test/integration/fixtures.js +++ b/test/integration/fixtures.js @@ -17,7 +17,7 @@ export const mochaGlobalSetup = async function () { this.stopServer = stopServer await startServer(this) - await waitForIpfsApi(env.IPFS_API_PORT) + await waitForIpfsApi(env.IPFS_API_PORT, 0) } export const mochaGlobalTeardown = async function () { diff --git a/test/integration/helper/ipfs.js b/test/integration/helper/ipfs.js index b6326f2..5da52f0 100644 --- a/test/integration/helper/ipfs.js +++ b/test/integration/helper/ipfs.js @@ -4,7 +4,6 @@ import os from 'os' import path from 'path' import fs from 'fs/promises' import { spawn, spawnSync } from 'child_process' -import fetch from 'node-fetch' import delay from 'delay' import { fileURLToPath } from 'url' @@ -13,21 +12,32 @@ import env from '../../../app/env.js' const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) -export const waitForIpfsApi = async (port) => { +export const waitForIpfsApi = async (port, peerCount) => { for (let waitCount = 0; waitCount < 60; waitCount++) { try { - const fetchRes = await fetch(`http://localhost:${port}/api/v0/version`, { method: 'POST' }) + const fetchRes = await fetch(`http://127.0.0.1:${port}/api/v0/swarm/peers`, { method: 'POST' }) if (fetchRes.status !== 200) { throw new Error() } - break + const res = await fetchRes.json() + const { Peers: peers } = res + + if (peerCount === 0) { + return + } + + if (peers !== null && peers.length >= peerCount) { + return + } } catch (err) { + /* empty */ + } finally { await delay(1000) } } } -export const setupIPFS = (context) => { +export const setupIPFS = (context, peerCount) => { before(async function () { context.ipfsDir = await fs.mkdtemp(path.join(os.tmpdir(), 'dscp-ipfs-')) @@ -54,7 +64,7 @@ export const setupIPFS = (context) => { }, }) - await waitForIpfsApi(`5002`) + await waitForIpfsApi(`5002`, peerCount) }) after(async function () { diff --git a/test/integration/httpServer.test.js b/test/integration/httpServer.test.js index b1d2973..fde4bda 100644 --- a/test/integration/httpServer.test.js +++ b/test/integration/httpServer.test.js @@ -1,6 +1,5 @@ import { describe, before, it } from 'mocha' import { expect } from 'chai' -import fetch from 'node-fetch' import env from '../../app/env.js' diff --git a/test/integration/ipfs.test.js b/test/integration/ipfs.test.js index c5c315d..a080e8b 100644 --- a/test/integration/ipfs.test.js +++ b/test/integration/ipfs.test.js @@ -1,4 +1,3 @@ -import fetch from 'node-fetch' import { FormData, Blob } from 'formdata-node' import { expect } from 'chai' @@ -11,7 +10,7 @@ import { setupIPFS, waitForIpfsApi } from './helper/ipfs.js' const uploadA = async (fileName, contents) => { const form = new FormData() form.append('file', new Blob([contents]), fileName) - const body = await fetch(`http://localhost:${env.IPFS_API_PORT}/api/v0/add?cid-version=0`, { + const body = await fetch(`http://127.0.0.1:${env.IPFS_API_PORT}/api/v0/add?cid-version=0`, { method: 'POST', body: form, }) @@ -25,7 +24,7 @@ const download = (port) => async (hash) => { controller.abort() }, 500) - const contentBody = await fetch(`http://localhost:${port}/api/v0/cat?arg=${hash}`, { + const contentBody = await fetch(`http://127.0.0.1:${port}/api/v0/cat?arg=${hash}`, { method: 'POST', signal: controller.signal, }) @@ -41,7 +40,7 @@ const setupIpfsWithSwarm = async (context) => { context.swarmKey = await getSwarmKey() }) - setupIPFS(context) + setupIPFS(context, 1) } describe('ipfs', function () { @@ -84,7 +83,7 @@ describe('ipfs', function () { swarmKey: Buffer.from(new Array(32).fill(42)), } - setupIPFS(context) + setupIPFS(context, 0) before(async function () { context.hash = await uploadA('test-file-3.txt', 'Test 3') @@ -108,13 +107,13 @@ describe('ipfs', function () { swarmKey: Buffer.from(new Array(32).fill(null).map(() => Math.floor(256 * Math.random()))), } - setupIPFS(context) + setupIPFS(context, 0) before(async function () { context.hash = await uploadA('test-file-4.txt', 'Test 4') await setSwarmKey(context.swarmKey) await delay(500) - await waitForIpfsApi(env.IPFS_API_PORT) + await waitForIpfsApi(env.IPFS_API_PORT, 1) }) it('should be retrievable', async function () {