Skip to content

Commit 31ac953

Browse files
refactor(sdk)!: remove dataprotector-sharing module (#543)
* refactor(sdk): remove dataprotector-sharing module source code * refactor(sdk): remove sharing-related types * refactor(sdk): remove sharing smart contract ABIs * refactor(sdk): move ERC734 ABI to core for whitelist functionality * refactor(sdk): update ERC734 imports to use core registry path * refactor(sdk): remove sharing contract address from config and module * test(sdk): remove dataprotector-sharing tests * docs(sdk): update package.json and README to remove sharing references * refactor: remove sharing-smart-contract package Remove the entire sharing-smart-contract package directory and all its files * fix(sdk): correct typechain import paths after ERC734 move to core * fix(sdk): update refresh-abis script to preserve ERC734 after sharing-smart-contract removal * refactor(sdk): improve refresh-abis script to use file backup instead of git
1 parent cf49464 commit 31ac953

File tree

235 files changed

+7
-751674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+7
-751674
lines changed

.github/workflows/sharing-smart-contract-deploy.yml

Lines changed: 0 additions & 160 deletions
This file was deleted.

.github/workflows/sharing-smart-contracts-ci.yml

Lines changed: 0 additions & 121 deletions
This file was deleted.

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "packages/sharing-smart-contract/lib/forge-std"]
2-
path = packages/sharing-smart-contract/lib/forge-std
3-
url = https://github.com/foundry-rs/forge-std.git

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/abis/sharing/registry/ERC734.sol/ERC734.json renamed to packages/sdk/abis/core/registry/ERC734.sol/ERC734.json

File renamed without changes.

0 commit comments

Comments
 (0)