Commit Graph

69 Commits

Author SHA1 Message Date
0xmad
e212df5373 chore: improve types 2023-11-27 10:19:36 -06:00
dependabot[bot]
95431c102a build(deps-dev): bump typescript from 5.2.2 to 5.3.2 (#1183)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 09:15:23 -06:00
dependabot[bot]
26de7449e4 build(deps): bump eslint from 8.53.0 to 8.54.0 (#1195)
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 12:33:01 -06:00
dependabot[bot]
11aeca7b92 build(deps-dev): bump lint-staged from 15.0.2 to 15.1.0 (#1153)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.0.2...v15.1.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 10:35:59 +00:00
dependabot[bot]
eb0eb1d13c build(deps-dev): bump prettier from 3.0.3 to 3.1.0 (#1152)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 13:26:36 +03:00
dependabot[bot]
615abe8702 build(deps): bump eslint from 8.52.0 to 8.53.0 (#1111)
Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 09:10:42 -06:00
Anton
c13c787c21 feat: connection service integration (#1102)
- [x] Add connect/disconnect events
- [x] Get rid of origin url from metadata
- [x] Get rid of connected identity from identity service
- [x] Use connection service for one-to-many relation between identities and origins

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-11-03 14:38:07 +00:00
Anton
3737496b39 refactor: add protocol service (#1090)
* refactor: add protocol service

- [x] Add protocol service for proof generation
- [x] Cleanup injector service

* chore: rename approval private method

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-11-01 08:55:56 -05:00
Anton
1b8987c4bb feat: add connection service (#1075)
* feat: add connection service

- [x] Add connect/disconnect events
- [x] Add connection service

* refactor: use cached identities instead of store ones

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-27 14:22:07 -05:00
Anton
b12f7f3250 feat: devire import identities from seed phrase (#1046)
- [x] Add signature options for identity import
- [x] Minor refactoring

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-26 09:00:20 -05:00
dependabot[bot]
5aa53013d6 build(deps): bump eslint from 8.51.0 to 8.52.0 (#1069)
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.52.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 11:09:18 -05:00
dependabot[bot]
835de62546 build(deps-dev): bump lint-staged from 15.0.1 to 15.0.2 (#1055)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.0.1...v15.0.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 10:31:45 -05:00
Anton
824cf9998f test: import identity e2e (#1026)
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-17 16:21:56 +02:00
dependabot[bot]
59730d7a11 build(deps-dev): bump lint-staged from 14.0.1 to 15.0.1 (#1021)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 14.0.1 to 15.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v14.0.1...v15.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 09:55:29 -05:00
Anton
b95944f47d feat: import external identity (#1017)
* feat: import external identity

- [x] Optimize provider
- [x] Add import identity method
- [x] Add import identity for demo
- [x] Add checks for injector service

* fix: rpc name conflict

* fix: move approval check to approval service

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-13 17:28:55 +00:00
0xmad
e1c3d5e22c chore(@cryptkeeperzk/types): release version 0.5.2 2023-10-12 20:58:02 +00:00
Anton
396ed3a800 fix: publish packages (#1016)
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-12 15:55:53 -05:00
0xmad
412680e5d5 chore(@cryptkeeperzk/types): release version 0.5.1 2023-10-12 20:25:24 +00:00
Anton
eafc7adacb fix: release workflow (#1013)
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-12 14:50:27 -05:00
0xmad
72ebd49401 chore(@cryptkeeperzk/types): release version 0.5.0 2023-10-12 19:21:27 +00:00
i
23efbf0b6a feat: added a temp fix for change identity (#1006) 2023-10-12 16:03:37 +00:00
Anton
d5eb868fdb feat: import identity integration (#993)
- [x] Integrate import identity
- [x] Simplify provider and content script integration
- [x] Support router history between connect, create and import pages
2023-10-12 14:00:38 +00:00
Anton
f246091db2 feat: import identity (#990)
* feat: import identity

- [x] Add method for import and save identity
- [x] Update identity list to support imported identities
- [x] Update history and notification for imported identities

* chore: revert lock changes

* chore: remove nx-cloud

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-12 11:14:37 +02:00
dependabot[bot]
26d7ecc793 build(deps): bump eslint from 8.50.0 to 8.51.0 (#976)
* build(deps): bump eslint from 8.50.0 to 8.51.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.50.0 to 8.51.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: e2e

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-09 19:42:01 +00:00
i
0246df68ed feat: major refactoring to the provider APIs pipeline (#875)
* fix: enhance provider apis

* fix: enhance provider apis

* fix: checks after rebase

* fix: remove uneeeded env var

* fix: demo bug

* fix: trying to fix e2e

* fix: trying to fix e2e

* fix: some requested changes

* fix: some requested changes

* test: adding full coverage for the injector service

* fix: remove createIdentity api

* fix: all other checks except e2e

* fix: lint

* fix: comments

* chore: remove wait for autoconnect

* fix: get rid of modal components and use pages

* feat: refactor the main three provider functions workflow

* chore: remove console logs

* fix: remove d.ts file for demo

* fix: approve screen for backup

* fix: login page with approve step

---------

Co-authored-by: isk <0xisk>
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-04 10:40:38 +02:00
Anton
26ee60eacc feat: update identity creation (#937)
- [x] Add dropdown button component and update signature buttons
- [x] Add nonce for deterministic identities on identity screen
- [x] Minor test fixes and refactoring

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-10-02 13:33:45 -05:00
0xmad
f00fc7ae39 chore(@cryptkeeperzk/types): release version 0.4.0 2023-09-25 20:51:25 +00:00
Anton
04ded5bfd3 chore: add release workflow for types and zk packages (#910)
* chore: add release workflow for types and zk packages

* chore: add public config

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-25 12:40:31 -05:00
dependabot[bot]
1d4cc0022b build(deps): bump eslint from 8.49.0 to 8.50.0 (#918)
Bumps [eslint](https://github.com/eslint/eslint) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 11:50:10 -05:00
Anton
d9df4cd89c feat: deterministic signatures (#905)
* feat: deterministic signatures

- [x] Remove interep and random identities
- [x] Add single identity
- [x] Update tests
- [x] Update ui
- [x] Add deterministic option for identity creation

* chore: remove reveal identity flag

* chore: add links to readme

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-25 11:49:41 -05:00
0xmad
a467ed8721 chore(@cryptkeeperzk/types): release version 0.3.0 2023-09-19 16:34:52 +00:00
Andrew Lu
1840b37fe4 feat: request verifiable presentation from user (#509) (#765)
* fix: merge conflicts (#509)

* feat: create signing page for verifiable presentations (#509)

* feat: sign presentations with metamask (#509)

* test: add a test for usePresentVerifiableCredential (#509)

* fix: update type names (#509)

* test: add tests for new components and hooks (#509)

* fix: mark sdk functions with DEV (#509)

* fix: pr feedback (#509)

* fix: pr feedback (#509)

* fix: refactor verifiable presentation signing options into single page, use dropdown menu (#509)

* fix: fix tests from updated event names (#509)

* fix: update tests (#509)

* fix: update styling for verifiable presentation screen (#509)

* test: cleanup, fix test coverage (#509)
2023-09-14 15:42:03 -04:00
Anton
db061521c0 feat: join group ui (#859)
- [x] Add join group page
- [x] Add bandada site url
- [x] Support history events and notifications for group join
- [x] Emit event when joining the group
- [x] Check group membership before joining
- [x] Support user reject event
- [x] Set max failures to zero for e2e

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-13 13:36:42 +00:00
Anton
9b72e844c6 feat: add group rpc methods for background (#855)
* feat: add group rpc methods for background

- [x] Add join group method
- [x] Add generate membership proof method
- [x] Add empty request methods for provider

* test: add missing tests for zk package

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-13 07:49:00 -05:00
dependabot[bot]
a846faa5e3 build(deps): bump eslint from 8.48.0 to 8.49.0 (#854)
Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 16:24:28 +00:00
Anton
e836a4c4c2 feat: add bandada service (#841)
* chore: use latest manifest version for release

* chore: push tag

* feat: add bandada service

- [x] Add Bandada service
- [x] Minor fixes for tests

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
Co-authored-by: 0xisk <0xisk@proton.me>
2023-09-08 08:27:06 -05:00
Anton
c4c3830b52 feat: request connected identity commitment (#798)
* feat: request connected identity commitment

- [x] Add request commitment page
- [x] Update demo to get identity commitment
- [x] Add event for revealing commitment
- [x] Update cryptkeeper sdk
- [x] Add tabs permissions
- [x] Fix event format for credentials
- [x] Fix reading connected identity

* fix: update inactive tabs

* fix: speed up build

* test: add e2e tests

* fix: use one method for identity metadata

* chore: fix lint and add tests

* fix: hide verifiable credentials for demo

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-06 00:09:11 +00:00
0xmad
3d8a1f8feb chore(@cryptkeeperzk/types): release version 0.2.1 2023-09-05 22:14:22 +00:00
Anton
a807656225 fix: release pipeline (#827)
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-05 17:12:25 -05:00
Anton
cf7ce86300 chore: bump rlnjs to 3.2.0 (#820)
* chore: bump rlnjs to 3.2.0

- [x] Add web-ext lint for PR
- [x] Optimize dependency imports
- [x] Update @cryptkeeperzk/rlnjs package

* chore: bump rlnjs to 3.2.0

- [x] Add web-ext lint for PR
- [x] Optimize dependency imports
- [x] Update @cryptkeeperzk/rlnjs package

* chore: add publish flag for chrome publish action

* chore: enable rln proofs for firefox

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-05 15:13:31 -05:00
0xisk
d0db453534 fix: name typos, and named exports (#673)
* fix: rebasing with rln ui PR

* fix: types issues

* chore: test proof index module

---------

Co-authored-by: isk <0xisk>
2023-09-04 14:53:41 +02:00
Anton
d2bda92762 fix: optimize firefox build and manifest (#796)
* fix: optimize firefox build and manifest

- [x] Add manifest version bump
- [x] Add webpack dependency analyzer
- [x] Update release workflow with explicit single push
- [x] Optimize firefox build

* fix: add missing post targets

* fix: post targets for app

* fix: commit command

* fix: commit command

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-09-01 08:36:40 -05:00
0xmad
ea54252a6b chore(@cryptkeeperzk/types): release version 0.2.0 2023-08-29 16:12:43 +00:00
dependabot[bot]
46cdc2e1a2 build(deps-dev): bump prettier from 3.0.0 to 3.0.3 (#784)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:12:54 -05:00
dependabot[bot]
69dbcc7c64 build(deps-dev): bump typescript from 5.1.6 to 5.2.2 (#767)
* build(deps-dev): bump typescript from 5.1.6 to 5.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update metamask extension id

* fix: deps

* fix: release pipeline

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-08-28 15:42:47 -05:00
dependabot[bot]
2c855ba1cf build(deps): bump eslint from 8.47.0 to 8.48.0 (#776)
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:24:34 -05:00
0xisk
2cde3f9294 feat: implementing a RLN ui prove approval (#671)
Co-authored-by: isk <0xisk>
2023-08-28 08:40:06 -05:00
0xmad
145577b218 chore(@cryptkeeperzk/types): release version 0.1.1 2023-08-24 15:44:02 +00:00
0xmad
5831d8228b chore(@cryptkeeperzk/types): release version 0.1.0 2023-08-23 23:12:26 +00:00
0xmad
023dfc0c50 chore(@cryptkeeperzk/types): release version 0.1.0 2023-08-23 18:51:34 +00:00