Skip to content

Commit

Permalink
feat(credential-ld): add support for browser environments (#916)
Browse files Browse the repository at this point in the history
* fix(credential-ld): use @digitalcredentials instead of @digitalbazaar packages for better browser compatibility

* test: add test-utils package and move `fake-did-provider` there

* fix(credential-ld): bump @transmute and did-resolver dependencies

* fix(credential-ld): include default `@contexts` in build

* test(browser): use `stream-browserify` to enable `did:key` (from the @transmute implementation)

* test(browser): enable all integration test suites in the browser test

* fix(data-store-json): enable `dom` lib in `tsconfig.json`

* test(browser): move browser sample app to packages/ to simplify package linking
  • Loading branch information
mirceanis authored Jun 4, 2022
1 parent 3a0765e commit 435e4d2
Show file tree
Hide file tree
Showing 71 changed files with 7,232 additions and 13,123 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
POSTGRES_PASSWORD: test123
POSTGRES_PORT: 5432
run: yarn test:integration
- run: yarn lint
- run: npx codecov
- name: run browser tests
run: yarn test:browser
- run: yarn lint
- run: npx codecov
120 changes: 0 additions & 120 deletions __browser_tests__/react-sample/src/veramo/setup.ts

This file was deleted.

48 changes: 0 additions & 48 deletions __browser_tests__/react-sample/tsconfig.json

This file was deleted.

Loading

0 comments on commit 435e4d2

Please sign in to comment.