Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Version Packages (beta) #43

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@
"@zcloak/verify": "0.8.0",
"@zcloak/wasm": "0.8.0",
"@zcloak/wasm-asm": "0.8.0",
"@zcloak/wasm-bridge": "0.8.0"
"@zcloak/wasm-bridge": "0.8.0",
"test-support": "0.0.0"
},
"changesets": [
"good-forks-relate"
"bright-gifts-flash",
"fast-cars-admire",
"good-forks-relate",
"hip-buckets-battle"
]
}
11 changes: 11 additions & 0 deletions packages/crypto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @zcloak/crypto

## 1.0.0-beta.1

### Minor Changes

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@noble/hashes": "^1.2.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/ctype/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @zcloak/ctype

## 1.0.0-beta.1

### Minor Changes

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/did-resolver@1.0.0-beta.1
- @zcloak/crypto@1.0.0-beta.1
- @zcloak/did@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ctype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.2.1",
Expand Down
11 changes: 11 additions & 0 deletions packages/did-resolver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @zcloak/did-resolver

## 1.0.0-beta.1

### Minor Changes

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/did-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"cross-fetch": "^3.1.5"
Expand Down
18 changes: 18 additions & 0 deletions packages/did/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @zcloak/did

## 1.0.0-beta.1

### Minor Changes

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/did-resolver@1.0.0-beta.1
- @zcloak/keyring@1.0.0-beta.1
- @zcloak/crypto@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/did/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.3.1",
Expand Down
16 changes: 16 additions & 0 deletions packages/keyring/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @zcloak/keyring

## 1.0.0-beta.1

### Minor Changes

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/crypto@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.3.1",
Expand Down
24 changes: 24 additions & 0 deletions packages/message/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @zcloak/message

## 1.0.0-beta.1

### Minor Changes

- [#42](https://github.com/zCloak-Network/zkid-sdk/pull/42) [`ddaa837`](https://github.com/zCloak-Network/zkid-sdk/commit/ddaa837bb71bf1558eed2e85621cf9d83fe07d83) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - - The param `nonceMap` of `calcRoothash` function is optional.

- Add `PublicVerifiableCredential`, `VerifiableCredentialBuilder.build` allow `isPublic` param, `true` build `PublicVerifiableCredential`, `false` build `PrivateVerifiableCredential`.
- vcVerify support verify `PublicVerifiableCredential`.

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`e953dfb`](https://github.com/zCloak-Network/zkid-sdk/commit/e953dfb95b427bc94315600657c5c706b8211d50), [`ddaa837`](https://github.com/zCloak-Network/zkid-sdk/commit/ddaa837bb71bf1558eed2e85621cf9d83fe07d83), [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/vc@1.0.0-beta.1
- @zcloak/did-resolver@1.0.0-beta.1
- @zcloak/crypto@1.0.0-beta.1
- @zcloak/did@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.3.1",
Expand Down
29 changes: 29 additions & 0 deletions packages/vc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @zcloak/vc

## 1.0.0-beta.1

### Minor Changes

- [#44](https://github.com/zCloak-Network/zkid-sdk/pull/44) [`e953dfb`](https://github.com/zCloak-Network/zkid-sdk/commit/e953dfb95b427bc94315600657c5c706b8211d50) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - upgrade vc version to v1

1. add issuance date param whencalc digest.
2. When there are multiple versions of vc, there are different build logics. The difference between v1 and v2 is that the digest is constructed differently
3. vcVerify function can pass `version`(VerifiableCredentialVersion) for verification.

- [#42](https://github.com/zCloak-Network/zkid-sdk/pull/42) [`ddaa837`](https://github.com/zCloak-Network/zkid-sdk/commit/ddaa837bb71bf1558eed2e85621cf9d83fe07d83) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - - The param `nonceMap` of `calcRoothash` function is optional.

- Add `PublicVerifiableCredential`, `VerifiableCredentialBuilder.build` allow `isPublic` param, `true` build `PublicVerifiableCredential`, `false` build `PrivateVerifiableCredential`.
- vcVerify support verify `PublicVerifiableCredential`.

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/crypto@1.0.0-beta.1
- @zcloak/ctype@1.0.0-beta.1
- @zcloak/did@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.3.1",
Expand Down
31 changes: 31 additions & 0 deletions packages/verify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @zcloak/verify

## 1.0.0-beta.1

### Minor Changes

- [#44](https://github.com/zCloak-Network/zkid-sdk/pull/44) [`e953dfb`](https://github.com/zCloak-Network/zkid-sdk/commit/e953dfb95b427bc94315600657c5c706b8211d50) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - upgrade vc version to v1

1. add issuance date param whencalc digest.
2. When there are multiple versions of vc, there are different build logics. The difference between v1 and v2 is that the digest is constructed differently
3. vcVerify function can pass `version`(VerifiableCredentialVersion) for verification.

- [#42](https://github.com/zCloak-Network/zkid-sdk/pull/42) [`ddaa837`](https://github.com/zCloak-Network/zkid-sdk/commit/ddaa837bb71bf1558eed2e85621cf9d83fe07d83) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - - The param `nonceMap` of `calcRoothash` function is optional.

- Add `PublicVerifiableCredential`, `VerifiableCredentialBuilder.build` allow `isPublic` param, `true` build `PublicVerifiableCredential`, `false` build `PrivateVerifiableCredential`.
- vcVerify support verify `PublicVerifiableCredential`.

- [#45](https://github.com/zCloak-Network/zkid-sdk/pull/45) [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb) Thanks [@zzcwoshizz](https://github.com/zzcwoshizz)! - Data signing.

- add [eip712](https://eips.ethereum.org/EIPS/eip-712) typed struct data hashing.
- add signTypedData for DidKeyring.
- vc, vp, ctype, did-document supports signTypedData.
- verify functions support TypedData.

### Patch Changes

- Updated dependencies [[`e953dfb`](https://github.com/zCloak-Network/zkid-sdk/commit/e953dfb95b427bc94315600657c5c706b8211d50), [`ddaa837`](https://github.com/zCloak-Network/zkid-sdk/commit/ddaa837bb71bf1558eed2e85621cf9d83fe07d83), [`872ed45`](https://github.com/zCloak-Network/zkid-sdk/commit/872ed4500aeefb8d5d68cca7b94b2248092b23cb)]:
- @zcloak/vc@1.0.0-beta.1
- @zcloak/did-resolver@1.0.0-beta.1
- @zcloak/crypto@1.0.0-beta.1
- @zcloak/ctype@1.0.0-beta.1
- @zcloak/did@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sideEffects": false,
"type": "module",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^10.3.1",
Expand Down