@cheqd/sdk 2.1.0-develop.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -6
- package/build/{index.d.ts → cjs/index.d.ts} +8 -3
- package/build/cjs/index.d.ts.map +1 -0
- package/build/cjs/index.js +144 -0
- package/build/cjs/index.js.map +1 -0
- package/build/{modules → cjs/modules}/_.d.ts +1 -1
- package/build/cjs/modules/_.d.ts.map +1 -0
- package/build/{modules → cjs/modules}/_.js +3 -0
- package/build/cjs/modules/_.js.map +1 -0
- package/build/{modules → cjs/modules}/did.d.ts +4 -2
- package/build/cjs/modules/did.d.ts.map +1 -0
- package/build/{modules → cjs/modules}/did.js +42 -25
- package/build/cjs/modules/did.js.map +1 -0
- package/build/{modules → cjs/modules}/resource.d.ts +2 -2
- package/build/cjs/modules/resource.d.ts.map +1 -0
- package/build/{modules → cjs/modules}/resource.js +13 -5
- package/build/cjs/modules/resource.js.map +1 -0
- package/build/cjs/querier.d.ts.map +1 -0
- package/build/cjs/querier.js.map +1 -0
- package/build/cjs/registry.d.ts.map +1 -0
- package/build/cjs/registry.js.map +1 -0
- package/build/cjs/signer.d.ts.map +1 -0
- package/build/cjs/signer.js.map +1 -0
- package/build/{types.d.ts → cjs/types.d.ts} +1 -1
- package/build/cjs/types.d.ts.map +1 -0
- package/build/cjs/types.js.map +1 -0
- package/build/cjs/utils.d.ts.map +1 -0
- package/build/{utils.js → cjs/utils.js} +2 -5
- package/build/cjs/utils.js.map +1 -0
- package/build/types/index.d.ts +45 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/modules/_.d.ts +20 -0
- package/build/types/modules/_.d.ts.map +1 -0
- package/build/types/modules/did.d.ts +109 -0
- package/build/types/modules/did.d.ts.map +1 -0
- package/build/types/modules/resource.d.ts +62 -0
- package/build/types/modules/resource.d.ts.map +1 -0
- package/build/types/querier.d.ts +11 -0
- package/build/types/querier.d.ts.map +1 -0
- package/build/types/registry.d.ts +4 -0
- package/build/types/registry.d.ts.map +1 -0
- package/build/types/signer.d.ts +36 -0
- package/build/types/signer.d.ts.map +1 -0
- package/build/types/types.d.ts +80 -0
- package/build/types/types.d.ts.map +1 -0
- package/build/types/utils.d.ts +18 -0
- package/build/types/utils.d.ts.map +1 -0
- package/package.json +48 -25
- package/.github/ISSUE_TEMPLATE/bug-report.yml +0 -74
- package/.github/ISSUE_TEMPLATE/config.yml +0 -14
- package/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -27
- package/.github/dependabot.yml +0 -42
- package/.github/linters/.commitlint.rules.js +0 -37
- package/.github/linters/.eslintrc.json +0 -18
- package/.github/linters/.markdown-lint.yml +0 -139
- package/.github/linters/mlc_config.json +0 -13
- package/.github/workflows/build.yml +0 -30
- package/.github/workflows/cleanup-actions.yml +0 -45
- package/.github/workflows/cleanup-cache-automatic.yml +0 -24
- package/.github/workflows/cleanup-cache-manual.yml +0 -21
- package/.github/workflows/codeql.yml +0 -40
- package/.github/workflows/dispatch.yml +0 -30
- package/.github/workflows/lint.yml +0 -51
- package/.github/workflows/pull-request.yml +0 -33
- package/.github/workflows/release.yml +0 -42
- package/.github/workflows/test.yml +0 -66
- package/.releaserc.json +0 -56
- package/CHANGELOG.md +0 -256
- package/CODE_OF_CONDUCT.md +0 -81
- package/NOTICE.md +0 -10
- package/SECURITY.md +0 -12
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -97
- package/build/index.js.map +0 -1
- package/build/modules/_.d.ts.map +0 -1
- package/build/modules/_.js.map +0 -1
- package/build/modules/did.d.ts.map +0 -1
- package/build/modules/did.js.map +0 -1
- package/build/modules/resource.d.ts.map +0 -1
- package/build/modules/resource.js.map +0 -1
- package/build/querier.d.ts.map +0 -1
- package/build/querier.js.map +0 -1
- package/build/registry.d.ts.map +0 -1
- package/build/registry.js.map +0 -1
- package/build/signer.d.ts.map +0 -1
- package/build/signer.js.map +0 -1
- package/build/types.d.ts.map +0 -1
- package/build/types.js.map +0 -1
- package/build/utils.d.ts.map +0 -1
- package/build/utils.js.map +0 -1
- package/docker/Dockerfile +0 -55
- package/docker/entrypoint.sh +0 -58
- package/docker/localnet/build-latest.env +0 -7
- package/docker/localnet/container-env/observer-0.env +0 -13
- package/docker/localnet/container-env/seed-0.env +0 -17
- package/docker/localnet/container-env/validator-0.env +0 -13
- package/docker/localnet/container-env/validator-1.env +0 -13
- package/docker/localnet/container-env/validator-2.env +0 -13
- package/docker/localnet/container-env/validator-3.env +0 -13
- package/docker/localnet/docker-compose.yml +0 -281
- package/docker/localnet/gen-network-config.sh +0 -259
- package/docker/localnet/import-keys.sh +0 -31
- package/jest.config.js +0 -6
- package/src/index.ts +0 -128
- package/src/modules/_.ts +0 -55
- package/src/modules/did.ts +0 -564
- package/src/modules/resource.ts +0 -213
- package/src/querier.ts +0 -33
- package/src/registry.ts +0 -15
- package/src/signer.ts +0 -258
- package/src/types.ts +0 -101
- package/src/utils.ts +0 -243
- package/tests/index.test.ts +0 -135
- package/tests/modules/did.test.ts +0 -965
- package/tests/modules/resource.test.ts +0 -785
- package/tests/signer.test.ts +0 -179
- package/tests/testutils.test.ts +0 -24
- package/tests/utils.test.ts +0 -66
- package/tsconfig.json +0 -80
- /package/build/{querier.d.ts → cjs/querier.d.ts} +0 -0
- /package/build/{querier.js → cjs/querier.js} +0 -0
- /package/build/{registry.d.ts → cjs/registry.d.ts} +0 -0
- /package/build/{registry.js → cjs/registry.js} +0 -0
- /package/build/{signer.d.ts → cjs/signer.d.ts} +0 -0
- /package/build/{signer.js → cjs/signer.js} +0 -0
- /package/build/{types.js → cjs/types.js} +0 -0
- /package/build/{utils.d.ts → cjs/utils.d.ts} +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: "Cache Cleanup - Automatic"
|
|
2
|
-
on:
|
|
3
|
-
pull_request:
|
|
4
|
-
types:
|
|
5
|
-
- closed
|
|
6
|
-
defaults:
|
|
7
|
-
run:
|
|
8
|
-
shell: bash
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
|
|
13
|
-
cache-purge:
|
|
14
|
-
name: "Purge Actions cache"
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
|
|
19
|
-
- name: "Delete Branch Cache Action"
|
|
20
|
-
uses: snnaplab/delete-branch-cache-action@v1.0.0
|
|
21
|
-
with:
|
|
22
|
-
# Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop'
|
|
23
|
-
ref: refs/pull/${{ github.event.number }}/merge
|
|
24
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: "Cache Cleanup - Manual"
|
|
2
|
-
on:
|
|
3
|
-
workflow_dispatch:
|
|
4
|
-
inputs:
|
|
5
|
-
dry-run:
|
|
6
|
-
description: "Dry run only?"
|
|
7
|
-
required: true
|
|
8
|
-
type: boolean
|
|
9
|
-
default: false
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
|
|
13
|
-
delete-caches:
|
|
14
|
-
name: "Delete Actions caches"
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- name: "Wipe Github Actions cache"
|
|
19
|
-
uses: easimon/wipe-cache@v1
|
|
20
|
-
with:
|
|
21
|
-
dry-run: ${{ github.event.inputs.dry-run }}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
name: "CodeQL"
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
- develop
|
|
7
|
-
concurrency:
|
|
8
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
9
|
-
cancel-in-progress: true
|
|
10
|
-
defaults:
|
|
11
|
-
run:
|
|
12
|
-
shell: bash
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
jobs:
|
|
16
|
-
|
|
17
|
-
codeql-analysis:
|
|
18
|
-
name: "CodeQL Analysis"
|
|
19
|
-
runs-on: ubuntu-latest
|
|
20
|
-
permissions:
|
|
21
|
-
security-events: write
|
|
22
|
-
|
|
23
|
-
steps:
|
|
24
|
-
- uses: actions/checkout@v3
|
|
25
|
-
with:
|
|
26
|
-
fetch-depth: 0
|
|
27
|
-
|
|
28
|
-
- name: Initialise CodeQL
|
|
29
|
-
uses: github/codeql-action/init@v2
|
|
30
|
-
with:
|
|
31
|
-
languages: 'javascript'
|
|
32
|
-
queries: security-and-quality
|
|
33
|
-
|
|
34
|
-
- name: Build
|
|
35
|
-
run: |
|
|
36
|
-
npm ci
|
|
37
|
-
npm run build
|
|
38
|
-
|
|
39
|
-
- name: Perform CodeQL Analysis
|
|
40
|
-
uses: github/codeql-action/analyze@v2
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: "Workflow Dispatch"
|
|
2
|
-
on: push
|
|
3
|
-
concurrency:
|
|
4
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
5
|
-
cancel-in-progress: true
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
|
|
10
|
-
call-lint:
|
|
11
|
-
name: "Lint"
|
|
12
|
-
uses: ./.github/workflows/lint.yml
|
|
13
|
-
|
|
14
|
-
call-build:
|
|
15
|
-
name: "Build & Test"
|
|
16
|
-
needs: call-lint
|
|
17
|
-
uses: ./.github/workflows/build.yml
|
|
18
|
-
|
|
19
|
-
call-test:
|
|
20
|
-
name: "Tests"
|
|
21
|
-
needs: call-build
|
|
22
|
-
uses: ./.github/workflows/test.yml
|
|
23
|
-
secrets: inherit
|
|
24
|
-
|
|
25
|
-
call-release:
|
|
26
|
-
name: "Release"
|
|
27
|
-
needs: call-test
|
|
28
|
-
if: ${{ github.ref_protected == true }}
|
|
29
|
-
uses: ./.github/workflows/release.yml
|
|
30
|
-
secrets: inherit
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
name: "Lint"
|
|
2
|
-
on:
|
|
3
|
-
workflow_call:
|
|
4
|
-
defaults:
|
|
5
|
-
run:
|
|
6
|
-
shell: bash
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
|
|
11
|
-
md-link-check:
|
|
12
|
-
name: "Broken Markdown links"
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v3
|
|
17
|
-
|
|
18
|
-
- name: Run Markdown link check
|
|
19
|
-
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
20
|
-
with:
|
|
21
|
-
config-file: '.github/linters/mlc_config.json'
|
|
22
|
-
use-quiet-mode: 'yes'
|
|
23
|
-
|
|
24
|
-
super-lint:
|
|
25
|
-
name: "Super Linter"
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
|
|
28
|
-
steps:
|
|
29
|
-
- uses: actions/checkout@v3
|
|
30
|
-
with:
|
|
31
|
-
fetch-depth: 0 # Required to fetch version
|
|
32
|
-
|
|
33
|
-
- name: Run Super Linter
|
|
34
|
-
uses: github/super-linter/slim@v4
|
|
35
|
-
env:
|
|
36
|
-
IGNORE_GITIGNORED_FILES: true
|
|
37
|
-
DEFAULT_BRANCH: main
|
|
38
|
-
LINTER_RULES_PATH: '.github/linters'
|
|
39
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
40
|
-
LOG_LEVEL: WARN
|
|
41
|
-
VALIDATE_ALL_CODEBASE: true
|
|
42
|
-
MULTI_STATUS: true
|
|
43
|
-
|
|
44
|
-
VALIDATE_GITHUB_ACTIONS: true
|
|
45
|
-
VALIDATE_JAVASCRIPT_ES: true
|
|
46
|
-
VALIDATE_JSONC: true
|
|
47
|
-
VALIDATE_JSX: true
|
|
48
|
-
VALIDATE_MARKDOWN: true
|
|
49
|
-
VALIDATE_TSX: true
|
|
50
|
-
VALIDATE_TYPESCRIPT_ES: true
|
|
51
|
-
VALIDATE_YAML: true
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: "PR Title Check"
|
|
2
|
-
on:
|
|
3
|
-
pull_request_target:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
- develop
|
|
7
|
-
types:
|
|
8
|
-
- opened
|
|
9
|
-
- reopened
|
|
10
|
-
- edited
|
|
11
|
-
- synchronize
|
|
12
|
-
- ready_for_review
|
|
13
|
-
- review_requested
|
|
14
|
-
concurrency:
|
|
15
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
16
|
-
cancel-in-progress: true
|
|
17
|
-
|
|
18
|
-
jobs:
|
|
19
|
-
lint-pr:
|
|
20
|
-
name: "PR format check"
|
|
21
|
-
runs-on: ubuntu-latest
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v3
|
|
24
|
-
# check for the most recent release: https://github.com/CondeNast/conventional-pull-request-action/releases
|
|
25
|
-
# replace vX.X.X below with the most recently released version
|
|
26
|
-
- uses: CondeNast/conventional-pull-request-action@v0.1.2
|
|
27
|
-
env:
|
|
28
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
-
with:
|
|
30
|
-
# to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting!
|
|
31
|
-
commitlintRulesPath: "./.github/linters/.commitlint.rules.js" # default: undefined
|
|
32
|
-
# if the PR contains a single commit, fail if the commit message and the PR title do not match
|
|
33
|
-
commitTitleMatch: false # default: 'true'
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
name: "Release"
|
|
2
|
-
on:
|
|
3
|
-
workflow_call:
|
|
4
|
-
defaults:
|
|
5
|
-
run:
|
|
6
|
-
shell: bash
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
name: "Semantic Release"
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v3
|
|
15
|
-
with:
|
|
16
|
-
fetch-depth: 0
|
|
17
|
-
persist-credentials: false
|
|
18
|
-
|
|
19
|
-
- uses: actions/setup-node@v3
|
|
20
|
-
with:
|
|
21
|
-
node-version: 18
|
|
22
|
-
cache: 'npm'
|
|
23
|
-
cache-dependency-path: '**/package-lock.json'
|
|
24
|
-
|
|
25
|
-
- name: "Obtain Github App token"
|
|
26
|
-
id: app-token
|
|
27
|
-
uses: getsentry/action-github-app-token@v2.0.0
|
|
28
|
-
with:
|
|
29
|
-
app_id: ${{ secrets.BOT_APP_ID }}
|
|
30
|
-
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
|
|
31
|
-
|
|
32
|
-
- name: "Clean install dependencies"
|
|
33
|
-
run: npm ci
|
|
34
|
-
|
|
35
|
-
- name: "Run npm build"
|
|
36
|
-
run: npm run build
|
|
37
|
-
|
|
38
|
-
- name: "Execute Semantic Release"
|
|
39
|
-
run: npx semantic-release
|
|
40
|
-
env:
|
|
41
|
-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
42
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
name: "Tests"
|
|
2
|
-
on:
|
|
3
|
-
workflow_call:
|
|
4
|
-
defaults:
|
|
5
|
-
run:
|
|
6
|
-
shell: bash
|
|
7
|
-
env:
|
|
8
|
-
RUNNER_BIN_DIR: /home/runner/.local/bin
|
|
9
|
-
permissions:
|
|
10
|
-
contents: write
|
|
11
|
-
packages: read
|
|
12
|
-
checks: write
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
|
|
16
|
-
integration-tests:
|
|
17
|
-
name: "Integration Tests"
|
|
18
|
-
runs-on: ubuntu-20.04
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
|
|
23
|
-
- uses: actions/setup-node@v3
|
|
24
|
-
with:
|
|
25
|
-
node-version: 18
|
|
26
|
-
cache: 'npm'
|
|
27
|
-
cache-dependency-path: '**/package-lock.json'
|
|
28
|
-
|
|
29
|
-
- name: Download binary artifact
|
|
30
|
-
run: |
|
|
31
|
-
mkdir -p ${{ env.RUNNER_BIN_DIR }}
|
|
32
|
-
CHEQD_NODE_VERSION="$(cut -c2- <<< "$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< "$(curl --silent https://api.github.com/repos/cheqd/cheqd-node/releases)")")"
|
|
33
|
-
wget -c "https://github.com/cheqd/cheqd-node/releases/download/v$CHEQD_NODE_VERSION/cheqd-noded-.$CHEQD_NODE_VERSION-.linux-x86_64.tar.gz"
|
|
34
|
-
tar -xvf "cheqd-noded-.$CHEQD_NODE_VERSION-.linux-x86_64.tar.gz" -C ${{ env.RUNNER_BIN_DIR }}
|
|
35
|
-
sudo chmod +x ${{ env.RUNNER_BIN_DIR }}/cheqd-noded
|
|
36
|
-
|
|
37
|
-
- name: Restore binary permissions
|
|
38
|
-
run: sudo chmod +x ${{ env.RUNNER_BIN_DIR }}/cheqd-noded
|
|
39
|
-
|
|
40
|
-
- name: Generate localnet configs
|
|
41
|
-
working-directory: ./docker/localnet
|
|
42
|
-
run: |
|
|
43
|
-
bash gen-network-config.sh
|
|
44
|
-
sudo chown -R 1000:1000 network-config
|
|
45
|
-
|
|
46
|
-
- name: Set up Docker localnet
|
|
47
|
-
working-directory: ./docker/localnet
|
|
48
|
-
run: |
|
|
49
|
-
CHEQD_NODE_VERSION="$(cut -c2- <<< "$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< "$(curl --silent https://api.github.com/repos/cheqd/cheqd-node/releases)")")"
|
|
50
|
-
BUILD_IMAGE="ghcr.io/cheqd/cheqd-node:$CHEQD_NODE_VERSION"
|
|
51
|
-
export BUILD_IMAGE
|
|
52
|
-
docker compose up --detach
|
|
53
|
-
|
|
54
|
-
- name: Import keys
|
|
55
|
-
working-directory: ./docker/localnet
|
|
56
|
-
run: |
|
|
57
|
-
bash import-keys.sh
|
|
58
|
-
|
|
59
|
-
- name: "Clean install dependencies"
|
|
60
|
-
run: npm ci
|
|
61
|
-
|
|
62
|
-
- name: "Run npm build"
|
|
63
|
-
run: npm run build
|
|
64
|
-
|
|
65
|
-
- name: Run Tests
|
|
66
|
-
run: npm test
|
package/.releaserc.json
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"branches": [
|
|
3
|
-
"main",
|
|
4
|
-
{
|
|
5
|
-
"name": "develop",
|
|
6
|
-
"channel": "beta",
|
|
7
|
-
"prerelease": true
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"tagFormat": "${version}",
|
|
11
|
-
"ci": true,
|
|
12
|
-
"preset": "conventionalcommits",
|
|
13
|
-
"plugins": [
|
|
14
|
-
[ "@semantic-release/commit-analyzer",
|
|
15
|
-
{
|
|
16
|
-
"parserOpts": "./.github/linters/.commitlint.rules.js",
|
|
17
|
-
"releaseRules": [
|
|
18
|
-
{ "breaking": true, "release": "major" },
|
|
19
|
-
{ "type": "feat", "release": "minor" },
|
|
20
|
-
{ "type": "fix", "release": "patch" },
|
|
21
|
-
{ "type": "perf", "release": "patch" },
|
|
22
|
-
{ "type": "build", "release": "patch" },
|
|
23
|
-
{ "scope": "security", "release": "patch" },
|
|
24
|
-
{ "type": "chore", "release": false },
|
|
25
|
-
{ "type": "ci", "release": false },
|
|
26
|
-
{ "type": "docs", "release": false },
|
|
27
|
-
{ "type": "refactor", "release": false },
|
|
28
|
-
{ "type": "revert", "release": false },
|
|
29
|
-
{ "type": "style", "release": false },
|
|
30
|
-
{ "type": "test", "release": false },
|
|
31
|
-
{ "scope": "no-release", "release": false },
|
|
32
|
-
{ "scope": "release", "release": "patch" }
|
|
33
|
-
],
|
|
34
|
-
"presetConfig": true
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
[ "@semantic-release/release-notes-generator",
|
|
38
|
-
{
|
|
39
|
-
"presetConfig": true
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
[ "@semantic-release/changelog",
|
|
43
|
-
{
|
|
44
|
-
"changelogTitle": "# Changelog"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"@semantic-release/npm",
|
|
48
|
-
[ "@semantic-release/git",
|
|
49
|
-
{
|
|
50
|
-
"assets": [ "package.json", "CHANGELOG.md" ],
|
|
51
|
-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"@semantic-release/github"
|
|
55
|
-
]
|
|
56
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [2.1.0-develop.1](https://github.com/cheqd/sdk/compare/2.0.2-develop.1...2.1.0-develop.1) (2023-02-08)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
### Features
|
|
7
|
-
|
|
8
|
-
* Added querier as service capability ([#129](https://github.com/cheqd/sdk/issues/129)) ([71faac7](https://github.com/cheqd/sdk/commit/71faac7c7d9d9d854b89ef862bca1434b45b4905))
|
|
9
|
-
|
|
10
|
-
## [2.0.2-develop.1](https://github.com/cheqd/sdk/compare/2.0.1...2.0.2-develop.1) (2023-02-06)
|
|
11
|
-
|
|
12
|
-
## [2.0.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1) (2023-02-06)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
* Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
|
|
18
|
-
|
|
19
|
-
## [2.0.1-develop.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1-develop.1) (2023-02-06)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
* Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## [2.0.0](https://github.com/cheqd/sdk/compare/1.4.0...2.0.0) (2023-01-27)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### ⚠ BREAKING CHANGES
|
|
31
|
-
|
|
32
|
-
* On track with v1 on-ledger release (#115)
|
|
33
|
-
|
|
34
|
-
### Features
|
|
35
|
-
|
|
36
|
-
* Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
|
|
37
|
-
* Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
|
|
38
|
-
* On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
|
|
39
|
-
* Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
|
|
40
|
-
* Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
|
|
41
|
-
* Update proto && Accept did core spec input [DEV-2113] ([#111](https://github.com/cheqd/sdk/issues/111)) ([f2f710a](https://github.com/cheqd/sdk/commit/f2f710adcaa245af6ae83e89f8e0b695d0751fcd)), closes [#114](https://github.com/cheqd/sdk/issues/114)
|
|
42
|
-
* Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
|
|
43
|
-
* Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
|
|
44
|
-
* Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
|
|
45
|
-
* Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
|
|
46
|
-
* Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### Bug Fixes
|
|
50
|
-
|
|
51
|
-
* Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
|
|
52
|
-
* Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
|
|
53
|
-
* typo ([463ac62](https://github.com/cheqd/sdk/commit/463ac6208e79c1564c2ed6eeed0a44b06a065d4f))
|
|
54
|
-
|
|
55
|
-
## [2.0.0-develop.3](https://github.com/cheqd/sdk/compare/2.0.0-develop.2...2.0.0-develop.3) (2023-01-27)
|
|
56
|
-
|
|
57
|
-
## [2.0.0-develop.2](https://github.com/cheqd/sdk/compare/2.0.0-develop.1...2.0.0-develop.2) (2023-01-27)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
|
|
63
|
-
|
|
64
|
-
## [2.0.0-develop.1](https://github.com/cheqd/sdk/compare/1.5.0-develop.3...2.0.0-develop.1) (2023-01-26)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### ⚠ BREAKING CHANGES
|
|
68
|
-
|
|
69
|
-
* On track with v1 on-ledger release (#115)
|
|
70
|
-
|
|
71
|
-
### Features
|
|
72
|
-
|
|
73
|
-
* On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
|
|
74
|
-
|
|
75
|
-
## [1.5.0-develop.3](https://github.com/cheqd/sdk/compare/1.5.0-develop.2...1.5.0-develop.3) (2023-01-24)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### Bug Fixes
|
|
79
|
-
|
|
80
|
-
* Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
|
|
81
|
-
|
|
82
|
-
## [1.5.0-develop.2](https://github.com/cheqd/sdk/compare/1.5.0-develop.1...1.5.0-develop.2) (2023-01-24)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### Features
|
|
86
|
-
|
|
87
|
-
* Update proto && Accept did core spec input [DEV-2113] ([#111](https://github.com/cheqd/sdk/issues/111)) ([f2f710a](https://github.com/cheqd/sdk/commit/f2f710adcaa245af6ae83e89f8e0b695d0751fcd)), closes [#114](https://github.com/cheqd/sdk/issues/114)
|
|
88
|
-
|
|
89
|
-
## [1.5.0-develop.1](https://github.com/cheqd/sdk/compare/1.4.0...1.5.0-develop.1) (2023-01-03)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Features
|
|
93
|
-
|
|
94
|
-
* Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
|
|
95
|
-
* Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
|
|
96
|
-
* Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
|
|
97
|
-
* Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
|
|
98
|
-
* Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
|
|
99
|
-
* Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
|
|
100
|
-
* Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
|
|
101
|
-
* Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
|
|
102
|
-
* Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
|
|
103
|
-
|
|
104
|
-
## [1.4.0](https://github.com/cheqd/sdk/compare/1.3.14...1.4.0) (2022-11-25)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Features
|
|
108
|
-
|
|
109
|
-
* Add createDidPayloadWithSignInputs util [DEV-1587] ([#49](https://github.com/cheqd/sdk/issues/49)) ([e332f56](https://github.com/cheqd/sdk/commit/e332f56a49111d26a1b9537f73a7eb228db0c61a))
|
|
110
|
-
* Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
|
|
111
|
-
|
|
112
|
-
## [1.4.0-develop.5](https://github.com/cheqd/sdk/compare/1.4.0-develop.4...1.4.0-develop.5) (2022-11-24)
|
|
113
|
-
|
|
114
|
-
## [1.4.0-develop.4](https://github.com/cheqd/sdk/compare/1.4.0-develop.3...1.4.0-develop.4) (2022-11-11)
|
|
115
|
-
|
|
116
|
-
### Features
|
|
117
|
-
|
|
118
|
-
* Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
|
|
119
|
-
|
|
120
|
-
## [1.4.0-develop.3](https://github.com/cheqd/sdk/compare/1.4.0-develop.2...1.4.0-develop.3) (2022-11-08)
|
|
121
|
-
|
|
122
|
-
## [1.4.0-develop.2](https://github.com/cheqd/sdk/compare/1.4.0-develop.1...1.4.0-develop.2) (2022-11-01)
|
|
123
|
-
|
|
124
|
-
### Bug Fixes
|
|
125
|
-
|
|
126
|
-
* **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
|
|
127
|
-
* **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
|
|
128
|
-
|
|
129
|
-
## [1.3.14](https://github.com/cheqd/sdk/compare/1.3.13...1.3.14) (2022-11-15)
|
|
130
|
-
|
|
131
|
-
## [1.3.13](https://github.com/cheqd/sdk/compare/1.3.12...1.3.13) (2022-11-08)
|
|
132
|
-
|
|
133
|
-
## [1.3.12](https://github.com/cheqd/sdk/compare/1.3.11...1.3.12) (2022-10-31)
|
|
134
|
-
|
|
135
|
-
## [1.3.11](https://github.com/cheqd/sdk/compare/1.3.10...1.3.11) (2022-10-31)
|
|
136
|
-
|
|
137
|
-
## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Bug Fixes
|
|
141
|
-
|
|
142
|
-
* **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
|
|
143
|
-
* **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
|
|
144
|
-
|
|
145
|
-
## [1.3.9](https://github.com/cheqd/sdk/compare/1.3.8...1.3.9) (2022-10-26)
|
|
146
|
-
|
|
147
|
-
## [1.3.8](https://github.com/cheqd/sdk/compare/1.3.7...1.3.8) (2022-10-25)
|
|
148
|
-
|
|
149
|
-
## [1.3.7](https://github.com/cheqd/sdk/compare/1.3.6...1.3.7) (2022-10-17)
|
|
150
|
-
|
|
151
|
-
## [1.3.6](https://github.com/cheqd/sdk/compare/1.3.5...1.3.6) (2022-10-17)
|
|
152
|
-
|
|
153
|
-
## [1.3.5](https://github.com/cheqd/sdk/compare/1.3.4...1.3.5) (2022-10-17)
|
|
154
|
-
|
|
155
|
-
## [1.3.4](https://github.com/cheqd/sdk/compare/1.3.3...1.3.4) (2022-10-17)
|
|
156
|
-
|
|
157
|
-
## [1.3.3](https://github.com/cheqd/sdk/compare/1.3.2...1.3.3) (2022-10-16)
|
|
158
|
-
|
|
159
|
-
## [1.3.2](https://github.com/cheqd/sdk/compare/1.3.1...1.3.2) (2022-10-16)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
### Bug Fixes
|
|
163
|
-
|
|
164
|
-
* **keys:** Added deep equality lambda ([edcc15f](https://github.com/cheqd/sdk/commit/edcc15f5ece115893cd5f3e876cf4927379b0a55))
|
|
165
|
-
|
|
166
|
-
## [1.3.1](https://github.com/cheqd/sdk/compare/1.3.0...1.3.1) (2022-10-03)
|
|
167
|
-
|
|
168
|
-
## [1.3.0](https://github.com/cheqd/sdk/compare/1.2.10...1.3.0) (2022-09-01)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### Features
|
|
172
|
-
|
|
173
|
-
* Resources support [DEV-1616] ([#18](https://github.com/cheqd/sdk/issues/18)) ([40bb485](https://github.com/cheqd/sdk/commit/40bb485399b1ce83997350d450432100d05b10a2))
|
|
174
|
-
|
|
175
|
-
## [1.2.10](https://github.com/cheqd/sdk/compare/1.2.9...1.2.10) (2022-08-19)
|
|
176
|
-
|
|
177
|
-
## [1.2.9](https://github.com/cheqd/sdk/compare/1.2.8...1.2.9) (2022-08-19)
|
|
178
|
-
|
|
179
|
-
## [1.2.8](https://github.com/cheqd/sdk/compare/1.2.7...1.2.8) (2022-08-09)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Bug Fixes
|
|
183
|
-
|
|
184
|
-
* **exports:** Fixed lib exports ([f17dbe3](https://github.com/cheqd/sdk/commit/f17dbe3afcc9e87d13ff2858d62fde0823d0e78c))
|
|
185
|
-
|
|
186
|
-
## [1.2.7](https://github.com/cheqd/sdk/compare/1.2.6...1.2.7) (2022-08-09)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
### Bug Fixes
|
|
190
|
-
|
|
191
|
-
* **tests:** Removed experimental versioning ([93b714c](https://github.com/cheqd/sdk/commit/93b714c538cdd10f67385b19a33d284f042bc6c4))
|
|
192
|
-
|
|
193
|
-
## [1.2.6](https://github.com/cheqd/sdk/compare/1.2.5...1.2.6) (2022-08-09)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
### Performance Improvements
|
|
197
|
-
|
|
198
|
-
* **helpers:** Added env-specific utils exports ([4957f44](https://github.com/cheqd/sdk/commit/4957f445734380c0bb6758c16096cd25978c7cac))
|
|
199
|
-
|
|
200
|
-
## [1.2.5](https://github.com/cheqd/sdk/compare/1.2.4...1.2.5) (2022-08-09)
|
|
201
|
-
|
|
202
|
-
## [1.2.4](https://github.com/cheqd/sdk/compare/1.2.3...1.2.4) (2022-08-08)
|
|
203
|
-
|
|
204
|
-
## [1.2.3](https://github.com/cheqd/sdk/compare/1.2.2...1.2.3) (2022-08-05)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
### Bug Fixes
|
|
208
|
-
|
|
209
|
-
* **build:** Fixed build type declarations standalones ([ffadfe5](https://github.com/cheqd/sdk/commit/ffadfe553be49a11d2bb347341b90964c75adb23))
|
|
210
|
-
|
|
211
|
-
## [1.2.2](https://github.com/cheqd/sdk/compare/1.2.1...1.2.2) (2022-08-04)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
### Bug Fixes
|
|
215
|
-
|
|
216
|
-
* **build:** Added deep level support of iterables ([1aeaea3](https://github.com/cheqd/sdk/commit/1aeaea3ed8062f1d1853930bd792b1c988e616d5))
|
|
217
|
-
|
|
218
|
-
## [1.2.1](https://github.com/cheqd/sdk/compare/1.2.0...1.2.1) (2022-08-04)
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
### Bug Fixes
|
|
222
|
-
|
|
223
|
-
* **types:** Fixed type mismatch on compilation ([c0cfbd5](https://github.com/cheqd/sdk/commit/c0cfbd500ccd8cfb0d56ccf431fbd41886a5a3a6))
|
|
224
|
-
|
|
225
|
-
## [1.2.0](https://github.com/cheqd/sdk/compare/1.1.0...1.2.0) (2022-08-03)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
### Features
|
|
229
|
-
|
|
230
|
-
* **utils:** Added utils & interoperability improvements ([d0f5f4d](https://github.com/cheqd/sdk/commit/d0f5f4d9bac01ac144b4afff696750bb4b20ac72))
|
|
231
|
-
|
|
232
|
-
## [1.1.0](https://github.com/cheqd/sdk/compare/1.0.0...1.1.0) (2022-07-29)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
### Features
|
|
236
|
-
|
|
237
|
-
* **registry:** Fixed registration logic & improved extensibility ([3d76466](https://github.com/cheqd/sdk/commit/3d76466e322657817d380bf384d9f6c45c1eb793))
|
|
238
|
-
|
|
239
|
-
## 1.0.0 (2022-07-28)
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
### Features
|
|
243
|
-
|
|
244
|
-
* **api:** Basic api design & extension plans, TBC ([9c24549](https://github.com/cheqd/sdk/commit/9c245491bc1611c73e6be27a08c23fd5489cbd97))
|
|
245
|
-
* **did:** Added automated did creation tests & fixes, refactors ([bcfc198](https://github.com/cheqd/sdk/commit/bcfc198dbd81062a6d1a9cd8afc6ec16cf15c460))
|
|
246
|
-
* **did:** Added multiple verification method support & `uuid` did url support ([d35f007](https://github.com/cheqd/sdk/commit/d35f007e6ee0f03276a0a713c0050e4ac016c5b8))
|
|
247
|
-
* **sdk:** Added base constructor manager class ([441bfa3](https://github.com/cheqd/sdk/commit/441bfa373ff33b99d111203a963f14d6bae4fbc5))
|
|
248
|
-
* **signer:** Added pre-test implementation of `DidTxSigner` ([924d9ec](https://github.com/cheqd/sdk/commit/924d9ec27d7e68288db220d0bc218d797a942118))
|
|
249
|
-
* **tests:** Added more signer coverage ([59a88eb](https://github.com/cheqd/sdk/commit/59a88ebfcbfe4f231716e6d9ecb0935985212ea5))
|
|
250
|
-
* **tests:** Added stable round of SDK tests ([fa31daa](https://github.com/cheqd/sdk/commit/fa31daa059b7affd8732b7e53bd590d7dea06764))
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Bug Fixes
|
|
254
|
-
|
|
255
|
-
* Bump dependencies to latest ts-proto upstream ([3762c9f](https://github.com/cheqd/sdk/commit/3762c9f1db7c196afae98f5ed7e03790210d0345))
|
|
256
|
-
* **deps:** Fixed dev deps in scope of semantic release ([721b488](https://github.com/cheqd/sdk/commit/721b488ca6b5b28720307ca04ae84b49da7e52f4))
|