File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ access specific sets of features.
4141
4242### Instantiate using the umbrella module
4343
44- For projects requiring the full functionality of the SDK, including both core
45- and sharing functions.
44+ For projects requiring the full functionality of the SDK.
4645
4746#### Browser
4847
@@ -54,7 +53,6 @@ const web3Provider = window.ethereum;
5453const dataProtector = new IExecDataProtector (web3Provider );
5554
5655const dataProtectorCore = dataProtector .core ;
57- const dataProtectorSharing = dataProtector .sharing ;
5856```
5957
6058#### NodeJS
@@ -70,7 +68,6 @@ const web3Provider = getWeb3Provider(PRIVATE_KEY);
7068const dataProtector = new IExecDataProtector (web3Provider );
7169
7270const dataProtectorCore = dataProtector .core ; // access to core methods
73- const dataProtectorSharing = dataProtector .sharing ; // access to sharing methods
7471```
7572
7673## Documentation
Original file line number Diff line number Diff line change 3030 "find-unused-exports" : " ts-unused-exports ./tsconfig.json --excludeDeclarationFiles" ,
3131 "generate:typechain" : " rimraf generated/typechain && typechain --target=ethers-v6 --out-dir generated/typechain abis/**/*.json --node16-modules" ,
3232 "generate:abi" : " rimraf generated/abis && node tools/generateAbiModules.mjs" ,
33- "refresh-abis" : " rm -rf abis && mkdir -p abis/core && cp -r ../smart-contract/abis/. ./abis/core/ && mkdir -p abis/sharing && cp -r ../sharing-smart-contract/abis/. ./abis/sharing /" ,
33+ "refresh-abis" : " rm -rf abis && mkdir -p abis/core && cp -r ../smart-contract/abis/. ./abis/core/ && mkdir -p abis/core/registry/ERC734.sol && cp ../sharing-smart-contract/abis/registry/ERC734.sol/ERC734.json ./abis/core/registry/ERC734.sol /" ,
3434 "stop-test-stack" : " cd tests && docker compose --project-name dataprotector-sdk down --volumes --remove-orphans" ,
3535 "start-test-stack" : " cd tests && npm run stop-test-stack && node prepare-test-env.js && docker compose --project-name dataprotector-sdk build && docker compose --project-name dataprotector-sdk up -d"
3636 },
You can’t perform that action at this time.
0 commit comments