Skip to content

Commit

Permalink
#75 - Updates Safient core API interfaces (#77)
Browse files Browse the repository at this point in the history
* updates Safient core instantiation params

* fixes scenario based tests

* optimizes createSafe method with updated params

* updates API params on docs

* updates user creation API

* makes beneficiary and claim type optional

* makes claim method and beneficiary optional for safe
  • Loading branch information
koshikraj authored Aug 9, 2022
1 parent 469f61f commit 0650937
Show file tree
Hide file tree
Showing 23 changed files with 2,540 additions and 1,902 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
# Trigger only on release
release:
types: [created]
push:
branches:
- 'feature/**'

jobs:
checks:
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
]
},
"devDependencies": {
"docusaurus-plugin-typedoc": "^0.16.3",
"typedoc": "^0.22.5",
"typedoc-plugin-markdown": "^3.11.2"
"docusaurus-plugin-typedoc": "^0.16.9",
"typedoc": "^0.23.0",
"typedoc-plugin-markdown": "^3.11.10"
}
}
1 change: 0 additions & 1 deletion middleware/models/Safes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const Safes = {
stage: { type: 'integer' },
encSafeKeyShards: { type: 'array' }, //=> [{status: 'recovered', encData : 'data', decData: 'data'}]
onChain: {type: 'boolean'},
claimType : {type: 'integer'},
sigalingPeriod: {type: 'integer'}
},
};
Expand Down
2 changes: 1 addition & 1 deletion middleware/thread.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"threadId":[1,85,120,218,236,60,70,84,213,4,95,186,66,254,202,139,110,22,124,133,14,122,51,141,78,182,164,144,101,121,231,1,76,175]}
{"threadId":[1,85,29,234,10,53,7,157,97,192,61,180,56,48,2,22,47,84,9,196,26,127,17,14,50,178,218,79,196,82,4,198,107,129]}
1,558 changes: 1,023 additions & 535 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@safient/core",
"version": "0.1.19-alpha.1",
"version": "0.1.20-alpha",
"description": "JavaScript SDK to manage safes and interact with Safient protocol.",
"keywords": [
"Web3",
Expand Down Expand Up @@ -37,7 +37,7 @@
"@ceramicstudio/idx": "^0.12.0",
"@ceramicstudio/idx-tools": "^0.10.0",
"@ethersproject/providers": "^5.4.4",
"@safient/contracts": "^0.1.16-alpha",
"@safient/contracts": "^0.1.17-alpha",
"@stablelib/random": "^1.0.1",
"@textile/hub": "^6.3.1",
"bcryptjs": "^2.4.3",
Expand Down
Loading

0 comments on commit 0650937

Please sign in to comment.