@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.
- package/README.md +2 -4
- package/dist/declarations/src/abi/generated.d.ts +832 -15
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +4 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +6 -1
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +49 -24
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +1 -1
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +2 -2
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/dispute.d.ts +13 -13
- package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +10 -10
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +51 -35
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +20 -20
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/nftClient.d.ts +2 -2
- package/dist/declarations/src/types/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/permission.d.ts +4 -3
- package/dist/declarations/src/types/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/royalty.d.ts +24 -24
- package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +3049 -1560
- package/dist/story-protocol-core-sdk.cjs.prod.js +3049 -1560
- package/dist/story-protocol-core-sdk.esm.js +3050 -1562
- 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
|
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
|
-
|
104
|
-
|
105
|
-
- run `make compile_contracts`
|
103
|
+
- run `cd packages/wagmi-generator && npm run generate`
|
106
104
|
|
107
105
|
## Release
|
108
106
|
|