@cheqd/sdk 3.0.2-develop.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 +8 -2
  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 -320
  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,320 +0,0 @@
1
- # Changelog
2
-
3
- ## [3.0.2-develop.1](https://github.com/cheqd/sdk/compare/3.0.1...3.0.2-develop.1) (2023-02-20)
4
-
5
- ## [3.0.1](https://github.com/cheqd/sdk/compare/3.0.0...3.0.1) (2023-02-17)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * Bugfix on conditional context injection ([#142](https://github.com/cheqd/sdk/issues/142)) ([b09c681](https://github.com/cheqd/sdk/commit/b09c681369de1f577faeeb4568e8103344e123c1))
11
- * Bugfix on conditional context injection ([#143](https://github.com/cheqd/sdk/issues/143)) ([854232c](https://github.com/cheqd/sdk/commit/854232c4707f7cea5b41b9a111f8bfbc2f2a02ea))
12
-
13
- ## [3.0.1-develop.1](https://github.com/cheqd/sdk/compare/3.0.0...3.0.1-develop.1) (2023-02-17)
14
-
15
-
16
- ### Bug Fixes
17
-
18
- * Bugfix on conditional context injection ([#142](https://github.com/cheqd/sdk/issues/142)) ([b09c681](https://github.com/cheqd/sdk/commit/b09c681369de1f577faeeb4568e8103344e123c1))
19
-
20
- ## [3.0.0](https://github.com/cheqd/sdk/compare/2.1.0...3.0.0) (2023-02-15)
21
-
22
-
23
- ### ⚠ BREAKING CHANGES
24
-
25
- * Transition to ESM as hybrid package (#133)
26
-
27
- ### Bug Fixes
28
-
29
- * Removed traces of directory imports ([#135](https://github.com/cheqd/sdk/issues/135)) ([9a5d53c](https://github.com/cheqd/sdk/commit/9a5d53c87343aa1a568f0feda9c586e1fd74ffde))
30
-
31
-
32
- ### Build System
33
-
34
- * Transition to ESM as hybrid package ([#133](https://github.com/cheqd/sdk/issues/133)) ([a832043](https://github.com/cheqd/sdk/commit/a832043016336aa4cc74a8106429576c72ffe9d9))
35
-
36
- ## [3.0.0-develop.6](https://github.com/cheqd/sdk/compare/3.0.0-develop.5...3.0.0-develop.6) (2023-02-15)
37
-
38
- ## [3.0.0-develop.5](https://github.com/cheqd/sdk/compare/3.0.0-develop.4...3.0.0-develop.5) (2023-02-15)
39
-
40
- ## [3.0.0-develop.4](https://github.com/cheqd/sdk/compare/3.0.0-develop.3...3.0.0-develop.4) (2023-02-14)
41
-
42
- ## [3.0.0-develop.3](https://github.com/cheqd/sdk/compare/3.0.0-develop.2...3.0.0-develop.3) (2023-02-14)
43
-
44
- ### Bug Fixes
45
-
46
- * Removed traces of directory imports ([#135](https://github.com/cheqd/sdk/issues/135)) ([9a5d53c](https://github.com/cheqd/sdk/commit/9a5d53c87343aa1a568f0feda9c586e1fd74ffde))
47
-
48
- ## [3.0.0-develop.2](https://github.com/cheqd/sdk/compare/3.0.0-develop.1...3.0.0-develop.2) (2023-02-14)
49
-
50
- ## [3.0.0-develop.1](https://github.com/cheqd/sdk/compare/2.1.0-develop.1...3.0.0-develop.1) (2023-02-14)
51
-
52
- ### ⚠ BREAKING CHANGES
53
-
54
- * Transition to ESM as hybrid package (#133)
55
-
56
- ### Build System
57
-
58
- * Transition to ESM as hybrid package ([#133](https://github.com/cheqd/sdk/issues/133)) ([a832043](https://github.com/cheqd/sdk/commit/a832043016336aa4cc74a8106429576c72ffe9d9))
59
-
60
- ## [2.1.0](https://github.com/cheqd/sdk/compare/2.0.1...2.1.0) (2023-02-08)
61
-
62
-
63
- ### Features
64
-
65
- * Added querier as service capability ([#129](https://github.com/cheqd/sdk/issues/129)) ([71faac7](https://github.com/cheqd/sdk/commit/71faac7c7d9d9d854b89ef862bca1434b45b4905))
66
-
67
- ## [2.1.0-develop.1](https://github.com/cheqd/sdk/compare/2.0.2-develop.1...2.1.0-develop.1) (2023-02-08)
68
-
69
-
70
- ### Features
71
-
72
- * Added querier as service capability ([#129](https://github.com/cheqd/sdk/issues/129)) ([71faac7](https://github.com/cheqd/sdk/commit/71faac7c7d9d9d854b89ef862bca1434b45b4905))
73
-
74
- ## [2.0.2-develop.1](https://github.com/cheqd/sdk/compare/2.0.1...2.0.2-develop.1) (2023-02-06)
75
-
76
- ## [2.0.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1) (2023-02-06)
77
-
78
-
79
- ### Bug Fixes
80
-
81
- * Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
82
-
83
- ## [2.0.1-develop.1](https://github.com/cheqd/sdk/compare/2.0.0...2.0.1-develop.1) (2023-02-06)
84
-
85
-
86
- ### Bug Fixes
87
-
88
- * Handle empty address condition ([#125](https://github.com/cheqd/sdk/issues/125)) ([6c1080b](https://github.com/cheqd/sdk/commit/6c1080b19416ddbd583af8619586b2f14bf417ac))
89
-
90
-
91
- ## [2.0.0](https://github.com/cheqd/sdk/compare/1.4.0...2.0.0) (2023-01-27)
92
-
93
-
94
- ### ⚠ BREAKING CHANGES
95
-
96
- * On track with v1 on-ledger release (#115)
97
-
98
- ### Features
99
-
100
- * Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
101
- * Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
102
- * On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
103
- * Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
104
- * Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
105
- * 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)
106
- * Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
107
- * Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
108
- * Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
109
- * Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
110
- * Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
111
-
112
-
113
- ### Bug Fixes
114
-
115
- * Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
116
- * Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
117
- * typo ([463ac62](https://github.com/cheqd/sdk/commit/463ac6208e79c1564c2ed6eeed0a44b06a065d4f))
118
-
119
- ## [2.0.0-develop.3](https://github.com/cheqd/sdk/compare/2.0.0-develop.2...2.0.0-develop.3) (2023-01-27)
120
-
121
- ## [2.0.0-develop.2](https://github.com/cheqd/sdk/compare/2.0.0-develop.1...2.0.0-develop.2) (2023-01-27)
122
-
123
-
124
- ### Bug Fixes
125
-
126
- * Client determined MIME type auto fee generation ([#117](https://github.com/cheqd/sdk/issues/117)) ([3ba673d](https://github.com/cheqd/sdk/commit/3ba673d9b6c61f82d38b49e60a4231196dd357cc))
127
-
128
- ## [2.0.0-develop.1](https://github.com/cheqd/sdk/compare/1.5.0-develop.3...2.0.0-develop.1) (2023-01-26)
129
-
130
-
131
- ### ⚠ BREAKING CHANGES
132
-
133
- * On track with v1 on-ledger release (#115)
134
-
135
- ### Features
136
-
137
- * On track with v1 on-ledger release ([#115](https://github.com/cheqd/sdk/issues/115)) ([1ef3a07](https://github.com/cheqd/sdk/commit/1ef3a07c27fa63c9ab2695cda8369c259ef94c04))
138
-
139
- ## [1.5.0-develop.3](https://github.com/cheqd/sdk/compare/1.5.0-develop.2...1.5.0-develop.3) (2023-01-24)
140
-
141
-
142
- ### Bug Fixes
143
-
144
- * Minor issue ([e060576](https://github.com/cheqd/sdk/commit/e060576034693dba70f7f4a7576f5a72f967045a))
145
-
146
- ## [1.5.0-develop.2](https://github.com/cheqd/sdk/compare/1.5.0-develop.1...1.5.0-develop.2) (2023-01-24)
147
-
148
-
149
- ### Features
150
-
151
- * 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)
152
-
153
- ## [1.5.0-develop.1](https://github.com/cheqd/sdk/compare/1.4.0...1.5.0-develop.1) (2023-01-03)
154
-
155
-
156
- ### Features
157
-
158
- * Add localnet in test workflow ([e498193](https://github.com/cheqd/sdk/commit/e498193b52be8440c1b654ea72f0f8293e22f330))
159
- * Integrate V2 protos ([7fe20bd](https://github.com/cheqd/sdk/commit/7fe20bd6c6c8f521cb7348cc43b65e4191c658bc))
160
- * Remove amino encoding workaround in resource ([2754a97](https://github.com/cheqd/sdk/commit/2754a9784d7f82e9e1bbfd2f98d5f82825f16a1f))
161
- * Update indyStyle identifier ([e12226d](https://github.com/cheqd/sdk/commit/e12226d57afdb0ce76dce5d3a85d76d17e8dc7f5))
162
- * Update signature conversion ([2824bcb](https://github.com/cheqd/sdk/commit/2824bcbbbbb35521d5372d6a9592b31ad5085ad5))
163
- * Update test rpcUrl ([3903c62](https://github.com/cheqd/sdk/commit/3903c62cdcff574c02a643773c6f370e59e9f187))
164
- * Update tests ([242e82f](https://github.com/cheqd/sdk/commit/242e82f924d15ad49d15f9735cbf0694234df172))
165
- * Update tests and utils ([6075594](https://github.com/cheqd/sdk/commit/6075594240dbbc1e36fb159acae1391332b1e250))
166
- * Upgrade ts-proto && Support Deactivate DID ([46a57ea](https://github.com/cheqd/sdk/commit/46a57ea575c5de8b5e8f1be7d40558acaceebdd9))
167
-
168
- ## [1.4.0](https://github.com/cheqd/sdk/compare/1.3.14...1.4.0) (2022-11-25)
169
-
170
-
171
- ### Features
172
-
173
- * Add createDidPayloadWithSignInputs util [DEV-1587] ([#49](https://github.com/cheqd/sdk/issues/49)) ([e332f56](https://github.com/cheqd/sdk/commit/e332f56a49111d26a1b9537f73a7eb228db0c61a))
174
- * Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
175
-
176
- ## [1.4.0-develop.5](https://github.com/cheqd/sdk/compare/1.4.0-develop.4...1.4.0-develop.5) (2022-11-24)
177
-
178
- ## [1.4.0-develop.4](https://github.com/cheqd/sdk/compare/1.4.0-develop.3...1.4.0-develop.4) (2022-11-11)
179
-
180
- ### Features
181
-
182
- * Resolve review suggestions ([b984ef4](https://github.com/cheqd/sdk/commit/b984ef46e1815ffc2f11ab426359d81776f271a8))
183
-
184
- ## [1.4.0-develop.3](https://github.com/cheqd/sdk/compare/1.4.0-develop.2...1.4.0-develop.3) (2022-11-08)
185
-
186
- ## [1.4.0-develop.2](https://github.com/cheqd/sdk/compare/1.4.0-develop.1...1.4.0-develop.2) (2022-11-01)
187
-
188
- ### Bug Fixes
189
-
190
- * **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
191
- * **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
192
-
193
- ## [1.3.14](https://github.com/cheqd/sdk/compare/1.3.13...1.3.14) (2022-11-15)
194
-
195
- ## [1.3.13](https://github.com/cheqd/sdk/compare/1.3.12...1.3.13) (2022-11-08)
196
-
197
- ## [1.3.12](https://github.com/cheqd/sdk/compare/1.3.11...1.3.12) (2022-10-31)
198
-
199
- ## [1.3.11](https://github.com/cheqd/sdk/compare/1.3.10...1.3.11) (2022-10-31)
200
-
201
- ## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
202
-
203
-
204
- ### Bug Fixes
205
-
206
- * **deps:** Downgraded `uint8arrays` due to export config clash ([2e30906](https://github.com/cheqd/sdk/commit/2e3090624e505b666b038828f3453753fd887b58))
207
- * **deps:** Fixed imports deriving from bumps ([2cccc75](https://github.com/cheqd/sdk/commit/2cccc75090543fec8aff222ba3b19db9afc14b6a))
208
-
209
- ## [1.3.9](https://github.com/cheqd/sdk/compare/1.3.8...1.3.9) (2022-10-26)
210
-
211
- ## [1.3.8](https://github.com/cheqd/sdk/compare/1.3.7...1.3.8) (2022-10-25)
212
-
213
- ## [1.3.7](https://github.com/cheqd/sdk/compare/1.3.6...1.3.7) (2022-10-17)
214
-
215
- ## [1.3.6](https://github.com/cheqd/sdk/compare/1.3.5...1.3.6) (2022-10-17)
216
-
217
- ## [1.3.5](https://github.com/cheqd/sdk/compare/1.3.4...1.3.5) (2022-10-17)
218
-
219
- ## [1.3.4](https://github.com/cheqd/sdk/compare/1.3.3...1.3.4) (2022-10-17)
220
-
221
- ## [1.3.3](https://github.com/cheqd/sdk/compare/1.3.2...1.3.3) (2022-10-16)
222
-
223
- ## [1.3.2](https://github.com/cheqd/sdk/compare/1.3.1...1.3.2) (2022-10-16)
224
-
225
-
226
- ### Bug Fixes
227
-
228
- * **keys:** Added deep equality lambda ([edcc15f](https://github.com/cheqd/sdk/commit/edcc15f5ece115893cd5f3e876cf4927379b0a55))
229
-
230
- ## [1.3.1](https://github.com/cheqd/sdk/compare/1.3.0...1.3.1) (2022-10-03)
231
-
232
- ## [1.3.0](https://github.com/cheqd/sdk/compare/1.2.10...1.3.0) (2022-09-01)
233
-
234
-
235
- ### Features
236
-
237
- * Resources support [DEV-1616] ([#18](https://github.com/cheqd/sdk/issues/18)) ([40bb485](https://github.com/cheqd/sdk/commit/40bb485399b1ce83997350d450432100d05b10a2))
238
-
239
- ## [1.2.10](https://github.com/cheqd/sdk/compare/1.2.9...1.2.10) (2022-08-19)
240
-
241
- ## [1.2.9](https://github.com/cheqd/sdk/compare/1.2.8...1.2.9) (2022-08-19)
242
-
243
- ## [1.2.8](https://github.com/cheqd/sdk/compare/1.2.7...1.2.8) (2022-08-09)
244
-
245
-
246
- ### Bug Fixes
247
-
248
- * **exports:** Fixed lib exports ([f17dbe3](https://github.com/cheqd/sdk/commit/f17dbe3afcc9e87d13ff2858d62fde0823d0e78c))
249
-
250
- ## [1.2.7](https://github.com/cheqd/sdk/compare/1.2.6...1.2.7) (2022-08-09)
251
-
252
-
253
- ### Bug Fixes
254
-
255
- * **tests:** Removed experimental versioning ([93b714c](https://github.com/cheqd/sdk/commit/93b714c538cdd10f67385b19a33d284f042bc6c4))
256
-
257
- ## [1.2.6](https://github.com/cheqd/sdk/compare/1.2.5...1.2.6) (2022-08-09)
258
-
259
-
260
- ### Performance Improvements
261
-
262
- * **helpers:** Added env-specific utils exports ([4957f44](https://github.com/cheqd/sdk/commit/4957f445734380c0bb6758c16096cd25978c7cac))
263
-
264
- ## [1.2.5](https://github.com/cheqd/sdk/compare/1.2.4...1.2.5) (2022-08-09)
265
-
266
- ## [1.2.4](https://github.com/cheqd/sdk/compare/1.2.3...1.2.4) (2022-08-08)
267
-
268
- ## [1.2.3](https://github.com/cheqd/sdk/compare/1.2.2...1.2.3) (2022-08-05)
269
-
270
-
271
- ### Bug Fixes
272
-
273
- * **build:** Fixed build type declarations standalones ([ffadfe5](https://github.com/cheqd/sdk/commit/ffadfe553be49a11d2bb347341b90964c75adb23))
274
-
275
- ## [1.2.2](https://github.com/cheqd/sdk/compare/1.2.1...1.2.2) (2022-08-04)
276
-
277
-
278
- ### Bug Fixes
279
-
280
- * **build:** Added deep level support of iterables ([1aeaea3](https://github.com/cheqd/sdk/commit/1aeaea3ed8062f1d1853930bd792b1c988e616d5))
281
-
282
- ## [1.2.1](https://github.com/cheqd/sdk/compare/1.2.0...1.2.1) (2022-08-04)
283
-
284
-
285
- ### Bug Fixes
286
-
287
- * **types:** Fixed type mismatch on compilation ([c0cfbd5](https://github.com/cheqd/sdk/commit/c0cfbd500ccd8cfb0d56ccf431fbd41886a5a3a6))
288
-
289
- ## [1.2.0](https://github.com/cheqd/sdk/compare/1.1.0...1.2.0) (2022-08-03)
290
-
291
-
292
- ### Features
293
-
294
- * **utils:** Added utils & interoperability improvements ([d0f5f4d](https://github.com/cheqd/sdk/commit/d0f5f4d9bac01ac144b4afff696750bb4b20ac72))
295
-
296
- ## [1.1.0](https://github.com/cheqd/sdk/compare/1.0.0...1.1.0) (2022-07-29)
297
-
298
-
299
- ### Features
300
-
301
- * **registry:** Fixed registration logic & improved extensibility ([3d76466](https://github.com/cheqd/sdk/commit/3d76466e322657817d380bf384d9f6c45c1eb793))
302
-
303
- ## 1.0.0 (2022-07-28)
304
-
305
-
306
- ### Features
307
-
308
- * **api:** Basic api design & extension plans, TBC ([9c24549](https://github.com/cheqd/sdk/commit/9c245491bc1611c73e6be27a08c23fd5489cbd97))
309
- * **did:** Added automated did creation tests & fixes, refactors ([bcfc198](https://github.com/cheqd/sdk/commit/bcfc198dbd81062a6d1a9cd8afc6ec16cf15c460))
310
- * **did:** Added multiple verification method support & `uuid` did url support ([d35f007](https://github.com/cheqd/sdk/commit/d35f007e6ee0f03276a0a713c0050e4ac016c5b8))
311
- * **sdk:** Added base constructor manager class ([441bfa3](https://github.com/cheqd/sdk/commit/441bfa373ff33b99d111203a963f14d6bae4fbc5))
312
- * **signer:** Added pre-test implementation of `DidTxSigner` ([924d9ec](https://github.com/cheqd/sdk/commit/924d9ec27d7e68288db220d0bc218d797a942118))
313
- * **tests:** Added more signer coverage ([59a88eb](https://github.com/cheqd/sdk/commit/59a88ebfcbfe4f231716e6d9ecb0935985212ea5))
314
- * **tests:** Added stable round of SDK tests ([fa31daa](https://github.com/cheqd/sdk/commit/fa31daa059b7affd8732b7e53bd590d7dea06764))
315
-
316
-
317
- ### Bug Fixes
318
-
319
- * Bump dependencies to latest ts-proto upstream ([3762c9f](https://github.com/cheqd/sdk/commit/3762c9f1db7c196afae98f5ed7e03790210d0345))
320
- * **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