@cheqd/sdk 3.0.1 → 3.0.2-develop.2

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.
Files changed (56) hide show
  1. package/package.json +12 -6
  2. package/.github/ISSUE_TEMPLATE/bug-report.yml +0 -74
  3. package/.github/ISSUE_TEMPLATE/config.yml +0 -14
  4. package/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -27
  5. package/.github/dependabot.yml +0 -43
  6. package/.github/linters/.commitlint.rules.cjs +0 -37
  7. package/.github/linters/.eslintrc.json +0 -18
  8. package/.github/linters/.markdown-lint.yml +0 -139
  9. package/.github/linters/mlc_config.json +0 -13
  10. package/.github/workflows/build.yml +0 -26
  11. package/.github/workflows/cleanup-actions.yml +0 -45
  12. package/.github/workflows/cleanup-cache-automatic.yml +0 -24
  13. package/.github/workflows/cleanup-cache-manual.yml +0 -21
  14. package/.github/workflows/codeql.yml +0 -40
  15. package/.github/workflows/dispatch.yml +0 -30
  16. package/.github/workflows/lint.yml +0 -51
  17. package/.github/workflows/pull-request.yml +0 -48
  18. package/.github/workflows/release.yml +0 -42
  19. package/.github/workflows/test.yml +0 -66
  20. package/.releaserc.json +0 -61
  21. package/CHANGELOG.md +0 -318
  22. package/CODE_OF_CONDUCT.md +0 -81
  23. package/NOTICE.md +0 -10
  24. package/SECURITY.md +0 -12
  25. package/docker/Dockerfile +0 -55
  26. package/docker/entrypoint.sh +0 -58
  27. package/docker/localnet/build-latest.env +0 -7
  28. package/docker/localnet/container-env/observer-0.env +0 -13
  29. package/docker/localnet/container-env/seed-0.env +0 -17
  30. package/docker/localnet/container-env/validator-0.env +0 -13
  31. package/docker/localnet/container-env/validator-1.env +0 -13
  32. package/docker/localnet/container-env/validator-2.env +0 -13
  33. package/docker/localnet/container-env/validator-3.env +0 -13
  34. package/docker/localnet/docker-compose.yml +0 -281
  35. package/docker/localnet/gen-network-config.sh +0 -259
  36. package/docker/localnet/import-keys.sh +0 -31
  37. package/jest.config.cjs +0 -20
  38. package/src/index.ts +0 -192
  39. package/src/modules/_.ts +0 -61
  40. package/src/modules/did.ts +0 -601
  41. package/src/modules/resource.ts +0 -247
  42. package/src/querier.ts +0 -36
  43. package/src/registry.ts +0 -13
  44. package/src/signer.ts +0 -297
  45. package/src/types.ts +0 -110
  46. package/src/utils.ts +0 -246
  47. package/tests/index.test.ts +0 -155
  48. package/tests/modules/did.test.ts +0 -985
  49. package/tests/modules/resource.test.ts +0 -991
  50. package/tests/signer.test.ts +0 -202
  51. package/tests/testutils.test.ts +0 -29
  52. package/tests/utils.test.ts +0 -77
  53. package/tsconfig.cjs.json +0 -8
  54. package/tsconfig.esm.json +0 -8
  55. package/tsconfig.json +0 -84
  56. package/tsconfig.types.json +0 -10
@@ -1,48 +0,0 @@
1
- name: "PR Title Check"
2
- on:
3
- pull_request_target:
4
- branches:
5
- - main
6
- - develop
7
- - release/**
8
- types:
9
- - opened
10
- - reopened
11
- - edited
12
- - synchronize
13
- - ready_for_review
14
- - review_requested
15
- concurrency:
16
- group: ${{ github.workflow }}-${{ github.ref }}
17
- cancel-in-progress: true
18
-
19
- jobs:
20
- lint-pr:
21
- name: "PR format check"
22
- runs-on: ubuntu-latest
23
-
24
- steps:
25
- - uses: actions/checkout@v3
26
-
27
- - uses: amannn/action-semantic-pull-request@v5.1.0
28
- env:
29
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
- with:
31
- # Configure which types are allowed (newline delimited).
32
- # Default: https://github.com/commitizen/conventional-commit-types
33
- types: |
34
- feat
35
- fix
36
- build
37
- chore
38
- ci
39
- docs
40
- feat
41
- fix
42
- perf
43
- refactor
44
- revert
45
- style
46
- test
47
- # Configure that a scope must always be provided.
48
- requireScope: false
@@ -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,61 +0,0 @@
1
- {
2
- "branches": [
3
- "main",
4
- {
5
- "name": "develop",
6
- "channel": "beta",
7
- "prerelease": true
8
- },
9
- {
10
- "name": "commonjs",
11
- "channel": "cjs",
12
- "prerelease": true
13
- }
14
- ],
15
- "tagFormat": "${version}",
16
- "ci": true,
17
- "preset": "conventionalcommits",
18
- "plugins": [
19
- [ "@semantic-release/commit-analyzer",
20
- {
21
- "parserOpts": "./.github/linters/.commitlint.rules.js",
22
- "releaseRules": [
23
- { "breaking": true, "release": "major" },
24
- { "type": "feat", "release": "minor" },
25
- { "type": "fix", "release": "patch" },
26
- { "type": "perf", "release": "patch" },
27
- { "type": "build", "release": "patch" },
28
- { "scope": "security", "release": "patch" },
29
- { "type": "chore", "release": false },
30
- { "type": "ci", "release": false },
31
- { "type": "docs", "release": false },
32
- { "type": "refactor", "release": false },
33
- { "type": "revert", "release": false },
34
- { "type": "style", "release": false },
35
- { "type": "test", "release": false },
36
- { "scope": "no-release", "release": false },
37
- { "scope": "release", "release": "patch" }
38
- ],
39
- "presetConfig": true
40
- }
41
- ],
42
- [ "@semantic-release/release-notes-generator",
43
- {
44
- "presetConfig": true
45
- }
46
- ],
47
- [ "@semantic-release/changelog",
48
- {
49
- "changelogTitle": "# Changelog"
50
- }
51
- ],
52
- "@semantic-release/npm",
53
- [ "@semantic-release/git",
54
- {
55
- "assets": [ "package.json", "CHANGELOG.md" ],
56
- "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
57
- }
58
- ],
59
- "@semantic-release/github"
60
- ]
61
- }
package/CHANGELOG.md DELETED
@@ -1,318 +0,0 @@
1
- # Changelog
2
-
3
- ## [3.0.1](https://github.com/cheqd/sdk/compare/3.0.0...3.0.1) (2023-02-17)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * Bugfix on conditional context injection ([#142](https://github.com/cheqd/sdk/issues/142)) ([b09c681](https://github.com/cheqd/sdk/commit/b09c681369de1f577faeeb4568e8103344e123c1))
9
- * Bugfix on conditional context injection ([#143](https://github.com/cheqd/sdk/issues/143)) ([854232c](https://github.com/cheqd/sdk/commit/854232c4707f7cea5b41b9a111f8bfbc2f2a02ea))
10
-
11
- ## [3.0.1-develop.1](https://github.com/cheqd/sdk/compare/3.0.0...3.0.1-develop.1) (2023-02-17)
12
-
13
-
14
- ### Bug Fixes
15
-
16
- * Bugfix on conditional context injection ([#142](https://github.com/cheqd/sdk/issues/142)) ([b09c681](https://github.com/cheqd/sdk/commit/b09c681369de1f577faeeb4568e8103344e123c1))
17
-
18
- ## [3.0.0](https://github.com/cheqd/sdk/compare/2.1.0...3.0.0) (2023-02-15)
19
-
20
-
21
- ### ⚠ BREAKING CHANGES
22
-
23
- * Transition to ESM as hybrid package (#133)
24
-
25
- ### Bug Fixes
26
-
27
- * Removed traces of directory imports ([#135](https://github.com/cheqd/sdk/issues/135)) ([9a5d53c](https://github.com/cheqd/sdk/commit/9a5d53c87343aa1a568f0feda9c586e1fd74ffde))
28
-
29
-
30
- ### Build System
31
-
32
- * Transition to ESM as hybrid package ([#133](https://github.com/cheqd/sdk/issues/133)) ([a832043](https://github.com/cheqd/sdk/commit/a832043016336aa4cc74a8106429576c72ffe9d9))
33
-
34
- ## [3.0.0-develop.6](https://github.com/cheqd/sdk/compare/3.0.0-develop.5...3.0.0-develop.6) (2023-02-15)
35
-
36
- ## [3.0.0-develop.5](https://github.com/cheqd/sdk/compare/3.0.0-develop.4...3.0.0-develop.5) (2023-02-15)
37
-
38
- ## [3.0.0-develop.4](https://github.com/cheqd/sdk/compare/3.0.0-develop.3...3.0.0-develop.4) (2023-02-14)
39
-
40
- ## [3.0.0-develop.3](https://github.com/cheqd/sdk/compare/3.0.0-develop.2...3.0.0-develop.3) (2023-02-14)
41
-
42
- ### Bug Fixes
43
-
44
- * Removed traces of directory imports ([#135](https://github.com/cheqd/sdk/issues/135)) ([9a5d53c](https://github.com/cheqd/sdk/commit/9a5d53c87343aa1a568f0feda9c586e1fd74ffde))
45
-
46
- ## [3.0.0-develop.2](https://github.com/cheqd/sdk/compare/3.0.0-develop.1...3.0.0-develop.2) (2023-02-14)
47
-
48
- ## [3.0.0-develop.1](https://github.com/cheqd/sdk/compare/2.1.0-develop.1...3.0.0-develop.1) (2023-02-14)
49
-
50
- ### ⚠ BREAKING CHANGES
51
-
52
- * Transition to ESM as hybrid package (#133)
53
-
54
- ### Build System
55
-
56
- * Transition to ESM as hybrid package ([#133](https://github.com/cheqd/sdk/issues/133)) ([a832043](https://github.com/cheqd/sdk/commit/a832043016336aa4cc74a8106429576c72ffe9d9))
57
-
58
- ## [2.1.0](https://github.com/cheqd/sdk/compare/2.0.1...2.1.0) (2023-02-08)
59
-
60
-
61
- ### Features
62
-
63
- * Added querier as service capability ([#129](https://github.com/cheqd/sdk/issues/129)) ([71faac7](https://github.com/cheqd/sdk/commit/71faac7c7d9d9d854b89ef862bca1434b45b4905))
64
-
65
- ## [2.1.0-develop.1](https://github.com/cheqd/sdk/compare/2.0.2-develop.1...2.1.0-develop.1) (2023-02-08)
66
-
67
-
68
- ### Features
69
-
70
- * Added querier as service capability ([#129](https://github.com/cheqd/sdk/issues/129)) ([71faac7](https://github.com/cheqd/sdk/commit/71faac7c7d9d9d854b89ef862bca1434b45b4905))
71
-
72
- ## [2.0.2-develop.1](https://github.com/cheqd/sdk/compare/2.0.1...2.0.2-develop.1) (2023-02-06)
73
-
74
- ## [2.0.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1) (2023-02-06)
75
-
76
-
77
- ### Bug Fixes
78
-
79
- * Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
80
-
81
- ## [2.0.1-develop.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1-develop.1) (2023-02-06)
82
-
83
-
84
- ### Bug Fixes
85
-
86
- * Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
87
-
88
-
89
- ## [2.0.0](https://github.com/cheqd/sdk/compare/1.4.0...2.0.0) (2023-01-27)
90
-
91
-
92
- ### ⚠ BREAKING CHANGES
93
-
94
- * On track with v1 on-ledger release (#115)
95
-
96
- ### Features
97
-
98
- * Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
99
- * Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
100
- * On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
101
- * Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
102
- * Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
103
- * 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)
104
- * Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
105
- * Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
106
- * Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
107
- * Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
108
- * Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
114
- * Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
115
- * typo ([463ac62](https://github.com/cheqd/sdk/commit/463ac6208e79c1564c2ed6eeed0a44b06a065d4f))
116
-
117
- ## [2.0.0-develop.3](https://github.com/cheqd/sdk/compare/2.0.0-develop.2...2.0.0-develop.3) (2023-01-27)
118
-
119
- ## [2.0.0-develop.2](https://github.com/cheqd/sdk/compare/2.0.0-develop.1...2.0.0-develop.2) (2023-01-27)
120
-
121
-
122
- ### Bug Fixes
123
-
124
- * Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
125
-
126
- ## [2.0.0-develop.1](https://github.com/cheqd/sdk/compare/1.5.0-develop.3...2.0.0-develop.1) (2023-01-26)
127
-
128
-
129
- ### ⚠ BREAKING CHANGES
130
-
131
- * On track with v1 on-ledger release (#115)
132
-
133
- ### Features
134
-
135
- * On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
136
-
137
- ## [1.5.0-develop.3](https://github.com/cheqd/sdk/compare/1.5.0-develop.2...1.5.0-develop.3) (2023-01-24)
138
-
139
-
140
- ### Bug Fixes
141
-
142
- * Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
143
-
144
- ## [1.5.0-develop.2](https://github.com/cheqd/sdk/compare/1.5.0-develop.1...1.5.0-develop.2) (2023-01-24)
145
-
146
-
147
- ### Features
148
-
149
- * 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)
150
-
151
- ## [1.5.0-develop.1](https://github.com/cheqd/sdk/compare/1.4.0...1.5.0-develop.1) (2023-01-03)
152
-
153
-
154
- ### Features
155
-
156
- * Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
157
- * Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
158
- * Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
159
- * Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
160
- * Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
161
- * Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
162
- * Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
163
- * Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
164
- * Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
165
-
166
- ## [1.4.0](https://github.com/cheqd/sdk/compare/1.3.14...1.4.0) (2022-11-25)
167
-
168
-
169
- ### Features
170
-
171
- * Add createDidPayloadWithSignInputs util [DEV-1587] ([#49](https://github.com/cheqd/sdk/issues/49)) ([e332f56](https://github.com/cheqd/sdk/commit/e332f56a49111d26a1b9537f73a7eb228db0c61a))
172
- * Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
173
-
174
- ## [1.4.0-develop.5](https://github.com/cheqd/sdk/compare/1.4.0-develop.4...1.4.0-develop.5) (2022-11-24)
175
-
176
- ## [1.4.0-develop.4](https://github.com/cheqd/sdk/compare/1.4.0-develop.3...1.4.0-develop.4) (2022-11-11)
177
-
178
- ### Features
179
-
180
- * Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
181
-
182
- ## [1.4.0-develop.3](https://github.com/cheqd/sdk/compare/1.4.0-develop.2...1.4.0-develop.3) (2022-11-08)
183
-
184
- ## [1.4.0-develop.2](https://github.com/cheqd/sdk/compare/1.4.0-develop.1...1.4.0-develop.2) (2022-11-01)
185
-
186
- ### Bug Fixes
187
-
188
- * **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
189
- * **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
190
-
191
- ## [1.3.14](https://github.com/cheqd/sdk/compare/1.3.13...1.3.14) (2022-11-15)
192
-
193
- ## [1.3.13](https://github.com/cheqd/sdk/compare/1.3.12...1.3.13) (2022-11-08)
194
-
195
- ## [1.3.12](https://github.com/cheqd/sdk/compare/1.3.11...1.3.12) (2022-10-31)
196
-
197
- ## [1.3.11](https://github.com/cheqd/sdk/compare/1.3.10...1.3.11) (2022-10-31)
198
-
199
- ## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
200
-
201
-
202
- ### Bug Fixes
203
-
204
- * **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
205
- * **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
206
-
207
- ## [1.3.9](https://github.com/cheqd/sdk/compare/1.3.8...1.3.9) (2022-10-26)
208
-
209
- ## [1.3.8](https://github.com/cheqd/sdk/compare/1.3.7...1.3.8) (2022-10-25)
210
-
211
- ## [1.3.7](https://github.com/cheqd/sdk/compare/1.3.6...1.3.7) (2022-10-17)
212
-
213
- ## [1.3.6](https://github.com/cheqd/sdk/compare/1.3.5...1.3.6) (2022-10-17)
214
-
215
- ## [1.3.5](https://github.com/cheqd/sdk/compare/1.3.4...1.3.5) (2022-10-17)
216
-
217
- ## [1.3.4](https://github.com/cheqd/sdk/compare/1.3.3...1.3.4) (2022-10-17)
218
-
219
- ## [1.3.3](https://github.com/cheqd/sdk/compare/1.3.2...1.3.3) (2022-10-16)
220
-
221
- ## [1.3.2](https://github.com/cheqd/sdk/compare/1.3.1...1.3.2) (2022-10-16)
222
-
223
-
224
- ### Bug Fixes
225
-
226
- * **keys:** Added deep equality lambda ([edcc15f](https://github.com/cheqd/sdk/commit/edcc15f5ece115893cd5f3e876cf4927379b0a55))
227
-
228
- ## [1.3.1](https://github.com/cheqd/sdk/compare/1.3.0...1.3.1) (2022-10-03)
229
-
230
- ## [1.3.0](https://github.com/cheqd/sdk/compare/1.2.10...1.3.0) (2022-09-01)
231
-
232
-
233
- ### Features
234
-
235
- * Resources support [DEV-1616] ([#18](https://github.com/cheqd/sdk/issues/18)) ([40bb485](https://github.com/cheqd/sdk/commit/40bb485399b1ce83997350d450432100d05b10a2))
236
-
237
- ## [1.2.10](https://github.com/cheqd/sdk/compare/1.2.9...1.2.10) (2022-08-19)
238
-
239
- ## [1.2.9](https://github.com/cheqd/sdk/compare/1.2.8...1.2.9) (2022-08-19)
240
-
241
- ## [1.2.8](https://github.com/cheqd/sdk/compare/1.2.7...1.2.8) (2022-08-09)
242
-
243
-
244
- ### Bug Fixes
245
-
246
- * **exports:** Fixed lib exports ([f17dbe3](https://github.com/cheqd/sdk/commit/f17dbe3afcc9e87d13ff2858d62fde0823d0e78c))
247
-
248
- ## [1.2.7](https://github.com/cheqd/sdk/compare/1.2.6...1.2.7) (2022-08-09)
249
-
250
-
251
- ### Bug Fixes
252
-
253
- * **tests:** Removed experimental versioning ([93b714c](https://github.com/cheqd/sdk/commit/93b714c538cdd10f67385b19a33d284f042bc6c4))
254
-
255
- ## [1.2.6](https://github.com/cheqd/sdk/compare/1.2.5...1.2.6) (2022-08-09)
256
-
257
-
258
- ### Performance Improvements
259
-
260
- * **helpers:** Added env-specific utils exports ([4957f44](https://github.com/cheqd/sdk/commit/4957f445734380c0bb6758c16096cd25978c7cac))
261
-
262
- ## [1.2.5](https://github.com/cheqd/sdk/compare/1.2.4...1.2.5) (2022-08-09)
263
-
264
- ## [1.2.4](https://github.com/cheqd/sdk/compare/1.2.3...1.2.4) (2022-08-08)
265
-
266
- ## [1.2.3](https://github.com/cheqd/sdk/compare/1.2.2...1.2.3) (2022-08-05)
267
-
268
-
269
- ### Bug Fixes
270
-
271
- * **build:** Fixed build type declarations standalones ([ffadfe5](https://github.com/cheqd/sdk/commit/ffadfe553be49a11d2bb347341b90964c75adb23))
272
-
273
- ## [1.2.2](https://github.com/cheqd/sdk/compare/1.2.1...1.2.2) (2022-08-04)
274
-
275
-
276
- ### Bug Fixes
277
-
278
- * **build:** Added deep level support of iterables ([1aeaea3](https://github.com/cheqd/sdk/commit/1aeaea3ed8062f1d1853930bd792b1c988e616d5))
279
-
280
- ## [1.2.1](https://github.com/cheqd/sdk/compare/1.2.0...1.2.1) (2022-08-04)
281
-
282
-
283
- ### Bug Fixes
284
-
285
- * **types:** Fixed type mismatch on compilation ([c0cfbd5](https://github.com/cheqd/sdk/commit/c0cfbd500ccd8cfb0d56ccf431fbd41886a5a3a6))
286
-
287
- ## [1.2.0](https://github.com/cheqd/sdk/compare/1.1.0...1.2.0) (2022-08-03)
288
-
289
-
290
- ### Features
291
-
292
- * **utils:** Added utils & interoperability improvements ([d0f5f4d](https://github.com/cheqd/sdk/commit/d0f5f4d9bac01ac144b4afff696750bb4b20ac72))
293
-
294
- ## [1.1.0](https://github.com/cheqd/sdk/compare/1.0.0...1.1.0) (2022-07-29)
295
-
296
-
297
- ### Features
298
-
299
- * **registry:** Fixed registration logic & improved extensibility ([3d76466](https://github.com/cheqd/sdk/commit/3d76466e322657817d380bf384d9f6c45c1eb793))
300
-
301
- ## 1.0.0 (2022-07-28)
302
-
303
-
304
- ### Features
305
-
306
- * **api:** Basic api design & extension plans, TBC ([9c24549](https://github.com/cheqd/sdk/commit/9c245491bc1611c73e6be27a08c23fd5489cbd97))
307
- * **did:** Added automated did creation tests & fixes, refactors ([bcfc198](https://github.com/cheqd/sdk/commit/bcfc198dbd81062a6d1a9cd8afc6ec16cf15c460))
308
- * **did:** Added multiple verification method support & `uuid` did url support ([d35f007](https://github.com/cheqd/sdk/commit/d35f007e6ee0f03276a0a713c0050e4ac016c5b8))
309
- * **sdk:** Added base constructor manager class ([441bfa3](https://github.com/cheqd/sdk/commit/441bfa373ff33b99d111203a963f14d6bae4fbc5))
310
- * **signer:** Added pre-test implementation of `DidTxSigner` ([924d9ec](https://github.com/cheqd/sdk/commit/924d9ec27d7e68288db220d0bc218d797a942118))
311
- * **tests:** Added more signer coverage ([59a88eb](https://github.com/cheqd/sdk/commit/59a88ebfcbfe4f231716e6d9ecb0935985212ea5))
312
- * **tests:** Added stable round of SDK tests ([fa31daa](https://github.com/cheqd/sdk/commit/fa31daa059b7affd8732b7e53bd590d7dea06764))
313
-
314
-
315
- ### Bug Fixes
316
-
317
- * Bump dependencies to latest ts-proto upstream ([3762c9f](https://github.com/cheqd/sdk/commit/3762c9f1db7c196afae98f5ed7e03790210d0345))
318
- * **deps:** Fixed dev deps in scope of semantic release ([721b488](https://github.com/cheqd/sdk/commit/721b488ca6b5b28720307ca04ae84b49da7e52f4))
@@ -1,81 +0,0 @@
1
- # Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in the cheqd community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, country of origin, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
-
9
- ## Our Standards
10
-
11
- Examples of behaviour that contributes to a positive environment for our community include:
12
-
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
18
-
19
- Examples of unacceptable behaviour include:
20
-
21
- * The use of sexualized language or imagery, and sexual attention or advances of any kind
22
- * Use of inappropriate or non-inclusive language or other behaviour deemed unprofessional or unwelcome in the community
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email address, without their explicit permission
26
- * Other conduct which could reasonably be considered inappropriate in a professional setting
27
-
28
- ## Enforcement Responsibilities
29
-
30
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behaviour and will take appropriate and fair corrective action in response to any behaviour that they deem inappropriate, threatening, offensive, or harmful.
31
-
32
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, messages, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
33
-
34
- ## Scope
35
-
36
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
37
-
38
- ## Enforcement
39
-
40
- Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported to the community leaders responsible for enforcement at [support-github@cheqd.io](mailto:support-github@cheqd.io). All complaints will be reviewed and investigated promptly and fairly.
41
-
42
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
43
-
44
- ## Enforcement Guidelines
45
-
46
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
47
-
48
- ### 1. Correction
49
-
50
- **Community Impact**: Use of inappropriate language or other behaviour deemed unprofessional or unwelcome in the community.
51
-
52
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behaviour was inappropriate. A public apology may be requested.
53
-
54
- ### 2. Warning
55
-
56
- **Community Impact**: A violation through a single incident or series of actions. Any Community Impact assessment should take into account:
57
-
58
- 1. The severity and/or number of incidents/actions
59
- 2. Non-compliance with previous private warnings from community leaders (if applicable)
60
-
61
- **Consequence**: A warning with consequences for continued behaviour. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
62
-
63
- ### 3. Temporary Ban
64
-
65
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behaviour.
66
-
67
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
68
-
69
- ### 4. Permanent Ban
70
-
71
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behaviour, harassment of an individual, or aggression toward or disparagement of classes of individuals.
72
-
73
- **Consequence**: A permanent ban from any sort of public interaction within the community.
74
-
75
- ## Attribution
76
-
77
- This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code\_of\_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
78
-
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
-
81
- For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are available at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations).
package/NOTICE.md DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- description: >-
3
- This is the NOTICE file as described under the Apache License 2.0 terms for inclusion in downstream software projects that use this code.
4
- ---
5
-
6
- # Notice
7
-
8
- Copyright 2021-2022 Cheqd Foundation Limited
9
-
10
- This product includes software developed at Cheqd Foundation Limited, doing business as "cheqd"
package/SECURITY.md DELETED
@@ -1,12 +0,0 @@
1
- # Security Policy
2
-
3
- ## Reporting a Vulnerability
4
-
5
- If you think you have discovered a security issue in any of cheqd projects, we'd love to hear from you.
6
-
7
- We take all security bugs seriously. If confirmed upon investigation, we will patch it within a reasonable amount of time and release a public security bulletin discussing the impact and credit the discoverer.
8
-
9
- There are two ways to report a security bug:
10
-
11
- * Email us at [security-github@cheqd.io](mailto:security-github@cheqd.io)
12
- * Join [our cheqd Community Slack](http://cheqd.link/join-cheqd-slack) and post a message on the #security channel