Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

feat: make models extendable #76

Merged
merged 24 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
61a0c60
feat: making database usable outside of the Atala World (#75)
elribonazo Jan 10, 2024
f8f0708
chore(release): release 1.0.0-rc.1 # @pluto-encrypted/schemas 1.0.0-r…
elribonazo Jan 10, 2024
d29c94f
chore(release): release 2.0.0-rc.1 # [2.0.0-rc.1](https://github.com/…
elribonazo Jan 10, 2024
06e1b6b
chore(release): release 2.0.0-rc.1 # [2.0.0-rc.1](https://github.com/…
elribonazo Jan 10, 2024
73b73f3
chore(release): release 2.0.0-rc.1 # [2.0.0-rc.1](https://github.com/…
elribonazo Jan 10, 2024
5907e61
chore(release): release 2.0.0-rc.1 # [2.0.0-rc.1](https://github.com/…
elribonazo Jan 10, 2024
f6d17a7
chore(release): release 2.0.0-rc.1 # [2.0.0-rc.1](https://github.com/…
elribonazo Jan 10, 2024
4d60140
feat: Change build + package docs
elribonazo Jan 10, 2024
e1adf7b
chore(release): release 2.0.0-rc.2 # @pluto-encrypted/leveldb [2.0.0-…
elribonazo Jan 10, 2024
a062217
chore(release): release 2.0.0-rc.2 # [2.0.0-rc.2](https://github.com/…
elribonazo Jan 10, 2024
fe8a458
chore(release): release 1.10.0-rc.1 # [1.10.0-rc.1](https://github.co…
elribonazo Jan 10, 2024
38e4830
chore(release): release 2.0.0-rc.2 # [2.0.0-rc.2](https://github.com/…
elribonazo Jan 10, 2024
d84b62f
chore(release): release 2.0.0-rc.2 # [2.0.0-rc.2](https://github.com/…
elribonazo Jan 10, 2024
180805c
chore(release): release 1.0.0-rc.2 # [1.0.0-rc.2](https://github.com/…
elribonazo Jan 10, 2024
c514acc
chore(release): release 2.0.0-rc.2 # [2.0.0-rc.2](https://github.com/…
elribonazo Jan 10, 2024
926b610
chore(release): release 1.10.0-rc.1 # [1.10.0-rc.1](https://github.co…
elribonazo Jan 10, 2024
0279b5a
fix: clean package install
elribonazo Jan 10, 2024
c3af4a0
chore(release): release 2.0.0-rc.3 # @pluto-encrypted/inmemory [2.0.0…
elribonazo Jan 10, 2024
a985584
chore(release): release 2.0.0-rc.3 # [2.0.0-rc.3](https://github.com/…
elribonazo Jan 10, 2024
7cd0587
chore(release): release 2.0.0-rc.3 # [2.0.0-rc.3](https://github.com/…
elribonazo Jan 10, 2024
0aeeba0
chore(release): release 2.0.0-rc.3 # [2.0.0-rc.3](https://github.com/…
elribonazo Jan 10, 2024
8982efb
chore(release): release 1.0.0-rc.3 # [1.0.0-rc.3](https://github.com/…
elribonazo Jan 10, 2024
a220a10
chore(release): release 2.0.0-rc.3 # [2.0.0-rc.3](https://github.com/…
elribonazo Jan 10, 2024
79bb962
fix: package default collections and testing improvement.
elribonazo Jan 10, 2024
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
5 changes: 2 additions & 3 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ branches:
- name: '@pluto-encrypted/*/v+([0-9]).X.X'
type: maintenance
- name: '@pluto-encrypted/*/v+([0-9])'
type: maintenances
type: maintenance
- name: 'develop'
prerelease: 'rc'

Expand All @@ -19,8 +19,7 @@ plugins:
prepareCmd: "npm version ${nextRelease.version} --git-tag-version false"
}
]
- ["@semantic-release/exec", { prepareCmd: "npm run build" }]
- ["@semantic-release/exec", { prepareCmd: "npm publish --access public" }]
- ["@semantic-release/exec", { prepareCmd: "npm run build && npm publish --access public" }]
- [
"@semantic-release/git",
{
Expand Down
560 changes: 294 additions & 266 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
"dependencies": {
"typedoc-plugin-external-module-map": "^2.0.1"
}
}
}
12 changes: 2 additions & 10 deletions packages/database/coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{"total": {"lines":{"total":207,"covered":207,"skipped":0,"pct":100},"statements":{"total":218,"covered":218,"skipped":0,"pct":100},"functions":{"total":77,"covered":77,"skipped":0,"pct":100},"branches":{"total":72,"covered":72,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/index.ts": {"lines":{"total":153,"covered":153,"skipped":0,"pct":100},"functions":{"total":67,"covered":67,"skipped":0,"pct":100},"statements":{"total":164,"covered":164,"skipped":0,"pct":100},"branches":{"total":50,"covered":50,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/Credential.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/CredentialRequestMetadata.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/DID.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":1,"covered":1,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/DIDPair.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":1,"covered":1,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/LinkSecret.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/Mediator.ts": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/Message.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/pluto-encrypted/pluto-encrypted/packages/database/src/schemas/PrivateKey.ts": {"lines":{"total":28,"covered":28,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":28,"covered":28,"skipped":0,"pct":100},"branches":{"total":18,"covered":18,"skipped":0,"pct":100}}
{"total": {"lines":{"total":31,"covered":31,"skipped":0,"pct":100},"statements":{"total":31,"covered":31,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":18,"covered":18,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
,"/Users/ribo/Projects/personal/pluto-encrypted/packages/database/src/index.ts": {"lines":{"total":31,"covered":31,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":31,"covered":31,"skipped":0,"pct":100},"branches":{"total":18,"covered":18,"skipped":0,"pct":100}}
}
22 changes: 13 additions & 9 deletions packages/database/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pluto-encrypted/database",
"version": "1.11.1",
"version": "2.0.0-rc.3",
"description": "Encrypted database for Edge Wallet SDK that supports multiple db, IndexDB, LevelDB and InMemory",
"main": "./build/cjs/index.cjs",
"module": "./build/esm/index.mjs",
Expand Down Expand Up @@ -36,21 +36,25 @@
"@atala/prism-wallet-sdk": "^4.0.0-rc.1"
},
"optionalDependencies": {
"@pluto-encrypted/indexdb": "1.9.4",
"@pluto-encrypted/inmemory": "1.9.4",
"@pluto-encrypted/leveldb": "1.9.4"
"@pluto-encrypted/indexdb": "2.0.0-rc.3",
"@pluto-encrypted/inmemory": "2.0.0-rc.3",
"@pluto-encrypted/leveldb": "2.0.0-rc.3"
},
"devDependencies": {
"@pluto-encrypted/encryption": "1.9.3",
"@pluto-encrypted/indexdb": "1.9.4",
"@pluto-encrypted/inmemory": "1.9.4",
"@pluto-encrypted/leveldb": "1.9.4",
"@pluto-encrypted/encryption": "1.10.0-rc.1",
"@pluto-encrypted/indexdb": "2.0.0-rc.3",
"@pluto-encrypted/inmemory": "2.0.0-rc.3",
"@pluto-encrypted/leveldb": "2.0.0-rc.3",
"@pluto-encrypted/shared": "2.0.0-rc.3",
"@pluto-encrypted/schemas": "^1.0.0-rc.1",
"@vitest/coverage-v8": "^1.0.4",
"level": "^6.0.1"
},
"dependencies": {
"@atala/prism-wallet-sdk": "^4.0.0-rc.1",
"@pluto-encrypted/encryption": "1.9.3",
"@pluto-encrypted/encryption": "1.10.0-rc.1",
"@pluto-encrypted/shared": "2.0.0-rc.3",
"@pluto-encrypted/schemas": "^1.0.0-rc.1",
"rxdb": "^14.17.0",
"rxjs": "7.8.1",
"uuid": "^9.0.1"
Expand Down
Loading
Loading