Skip to content

Commit 9ff69ac

Browse files
docs(sdk): update package.json and README to remove sharing references
1 parent 53068b3 commit 9ff69ac

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/sdk/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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;
5453
const dataProtector = new IExecDataProtector(web3Provider);
5554

5655
const dataProtectorCore = dataProtector.core;
57-
const dataProtectorSharing = dataProtector.sharing;
5856
```
5957

6058
#### NodeJS
@@ -70,7 +68,6 @@ const web3Provider = getWeb3Provider(PRIVATE_KEY);
7068
const dataProtector = new IExecDataProtector(web3Provider);
7169

7270
const dataProtectorCore = dataProtector.core; // access to core methods
73-
const dataProtectorSharing = dataProtector.sharing; // access to sharing methods
7471
```
7572

7673
## Documentation

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
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
},

0 commit comments

Comments
 (0)