@story-protocol/core-sdk 1.0.0-rc.10 → 1.0.0-rc.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +2 -4
  2. package/dist/declarations/src/abi/generated.d.ts +832 -15
  3. package/dist/declarations/src/abi/generated.d.ts.map +1 -1
  4. package/dist/declarations/src/index.d.ts +4 -3
  5. package/dist/declarations/src/index.d.ts.map +1 -1
  6. package/dist/declarations/src/resources/ipAccount.d.ts +6 -1
  7. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
  8. package/dist/declarations/src/resources/ipAsset.d.ts +49 -24
  9. package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
  10. package/dist/declarations/src/resources/license.d.ts +1 -1
  11. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  12. package/dist/declarations/src/resources/nftClient.d.ts +2 -2
  13. package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
  14. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  15. package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
  16. package/dist/declarations/src/types/options.d.ts.map +1 -1
  17. package/dist/declarations/src/types/resources/dispute.d.ts +13 -13
  18. package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -1
  19. package/dist/declarations/src/types/resources/ipAccount.d.ts +10 -10
  20. package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
  21. package/dist/declarations/src/types/resources/ipAsset.d.ts +51 -35
  22. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  23. package/dist/declarations/src/types/resources/license.d.ts +20 -20
  24. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  25. package/dist/declarations/src/types/resources/nftClient.d.ts +2 -2
  26. package/dist/declarations/src/types/resources/nftClient.d.ts.map +1 -1
  27. package/dist/declarations/src/types/resources/permission.d.ts +4 -3
  28. package/dist/declarations/src/types/resources/permission.d.ts.map +1 -1
  29. package/dist/declarations/src/types/resources/royalty.d.ts +24 -24
  30. package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
  31. package/dist/story-protocol-core-sdk.cjs.dev.js +3049 -1560
  32. package/dist/story-protocol-core-sdk.cjs.prod.js +3049 -1560
  33. package/dist/story-protocol-core-sdk.esm.js +3050 -1562
  34. package/package.json +1 -1
package/README.md CHANGED
@@ -42,7 +42,7 @@ The SDK supports using `viem` for initiating SDK client. Create a typescript fil
42
42
  import { privateKeyToAccount } from "viem/accounts";
43
43
 
44
44
  const WALLET_PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || "0x";
45
- const account = privateKeyToAccount(WALLET_PRIVATE_KEY as `0x${string}`);
45
+ const account = privateKeyToAccount(WALLET_PRIVATE_KEY as Address);
46
46
  ```
47
47
 
48
48
  The preceding code created the `account` object for creating the SDK client.
@@ -100,9 +100,7 @@ In your testing environment:
100
100
 
101
101
  ## Steps to pull and compile latest smart contract ABIs (Currently pulls from the protocol-contracts `dev` branch)
102
102
 
103
- Must have `solc` installed (https://docs.soliditylang.org/en/v0.8.9/installing-solidity.html)
104
-
105
- - run `make compile_contracts`
103
+ - run `cd packages/wagmi-generator && npm run generate`
106
104
 
107
105
  ## Release
108
106