celestya 0.0.2 → 0.0.3

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 +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -93,7 +93,7 @@ interface User {
93
93
  }
94
94
 
95
95
  const Navbar = async () => {
96
- const user = await apiFetch("user", {}, config)
96
+ const user = await apiFetch("/user", {}, config)
97
97
 
98
98
  return <div>Welcome: {session.user?.name}</div>;
99
99
  };
@@ -137,10 +137,11 @@ export default Navbar;
137
137
 
138
138
  ## Todo
139
139
 
140
- - [ ]: Upload request with worker as helper (?)
141
- - [ ]: Refresh logic
142
140
  - [x]: Change returns at error
143
141
  - [x]: GET request with auth
144
142
  - [x]: POST request with auth
145
143
  - [x]: Fix issue with getSession serverside and config set at layout (If used at api/\_/route.tsx)
146
144
  - [x]: Fix issue with api endpoints if no layout has been loaded (if accessing api directly)
145
+ - [ ]: Upload request with worker as helper (?)
146
+ - [ ]: Refresh logic
147
+ - [ ]: Fix Response types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "celestya",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Highly opinionated session management tool for NextJS",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {