socialfi-thesis 0.5.0 → 0.6.0

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -18,7 +18,7 @@ import { CabalSpyTheses } from 'socialfi-thesis/react';
18
18
  <CabalSpyTheses chain="solana" mint={mint} clientId="csid_..." theme="dark" accessToken={accessToken} />
19
19
  ```
20
20
 
21
- **Your own UI** (public thesis API with the user's access token, no API key)
21
+ **Your own UI** (public thesis API: your instance's public `clientId` from the dashboard, required, not the API key, plus the user's access token)
22
22
 
23
23
  ```ts
24
24
  import { ThesisClient } from 'socialfi-thesis';
@@ -46,7 +46,7 @@ ts.subscribe([{ blockchain: 'solana', mint }]);
46
46
 
47
47
  Contents: the `cabalspy-id/thesis` entry point (`CabalSpyID` thesis methods, `ThesisClient`, `ThesisLive`, `ThesesStream`, thesis types) and `socialfi-thesis/react` (`<CabalSpyTheses />`, `useCabalSpyID()`). Full reference: [cabalspy-id README — Token theses](https://github.com/CabalSpy/cabalspy-id-js#token-theses).
48
48
 
49
- Versions follow `cabalspy-id`: 0.5.0 depends on `cabalspy-id` 0.5.0. This package contains no code of its own — it re-exports part of `cabalspy-id`, so behaviour, fixes and types are always the same.
49
+ Versions follow `cabalspy-id`: 0.6.0 depends on `cabalspy-id` 0.6.0. This package contains no code of its own — it re-exports part of `cabalspy-id`, so behaviour, fixes and types are always the same.
50
50
 
51
51
  ## License
52
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socialfi-thesis",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "SocialFi token theses — holders-only opinions on a token with the author's real position and live PnL, replies, reactions and a drop-in thesis widget for any crypto app. By CabalSpy ID.",
5
5
  "keywords": [
6
6
  "socialfi-thesis",
@@ -79,7 +79,7 @@
79
79
  "test": "node --test test/exports.test.mjs"
80
80
  },
81
81
  "dependencies": {
82
- "cabalspy-id": "^0.5.0"
82
+ "cabalspy-id": "^0.6.0"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "react": ">=18"
@@ -91,5 +91,8 @@
91
91
  },
92
92
  "publishConfig": {
93
93
  "access": "public"
94
+ },
95
+ "devDependencies": {
96
+ "react": "^18.3.1"
94
97
  }
95
98
  }