startupjs 0.60.0-canary.2 → 0.60.0-canary.20

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/auth.js ADDED
@@ -0,0 +1 @@
1
+ export * from '@startupjs/auth/client'
package/index.d.ts CHANGED
@@ -6,9 +6,6 @@ export * from '@startupjs/hooks'
6
6
  // HINT: `isomorphic` means that the code can be executed both
7
7
  // on the server and on the client
8
8
  export * from '@startupjs/isomorphic-helpers'
9
- export { getSessionData, setSessionData, deleteSessionData } from '@startupjs/server/utils/clientSessionData'
10
- export { default as login } from '@startupjs/server/utils/clientLogin'
11
- export { default as logout } from '@startupjs/server/utils/clientLogout'
12
9
 
13
10
  export function serverOnly (value: any): any
14
11
 
package/index.js CHANGED
@@ -6,9 +6,6 @@ export * from '@startupjs/hooks'
6
6
  // HINT: `isomorphic` means that the code can be executed both
7
7
  // on the server and on the client
8
8
  export * from '@startupjs/isomorphic-helpers'
9
- export { getSessionData, setSessionData, deleteSessionData, onInitSession } from '@startupjs/server/utils/clientSessionData'
10
- export { default as login } from '@startupjs/server/utils/clientLogin'
11
- export { default as logout } from '@startupjs/server/utils/clientLogout'
12
9
 
13
10
  // wrap serverOnly around the value to remove it from the client bundle
14
11
  // (it will be replaced with `undefined` on the client by the babel-plugin-eliminator)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "startupjs",
3
3
  "type": "module",
4
- "version": "0.60.0-canary.2",
4
+ "version": "0.60.0-canary.20",
5
5
  "engines": {
6
6
  "node": ">= 14"
7
7
  },
@@ -9,6 +9,7 @@
9
9
  "main": "index.js",
10
10
  "exports": {
11
11
  ".": "./index.js",
12
+ "./auth": "./auth.js",
12
13
  "./server": "./server.js",
13
14
  "./schema": "./schema.js",
14
15
  "./startServer": "./startServer.js",
@@ -18,6 +19,7 @@
18
19
  "./nconf": "./nconf.js",
19
20
  "./isomorphicHelpers": "./isomorphicHelpers.js",
20
21
  "./loadConfig": "./loadConfig.js",
22
+ "./useRouter": "./useRouter.js",
21
23
  "./metro-config": "./metro-config.cjs",
22
24
  "./metro-babel-transformer": "./metro-babel-transformer.cjs",
23
25
  "./babel": "./babel.cjs",
@@ -27,17 +29,18 @@
27
29
  "bin": "./cli.js",
28
30
  "license": "MIT",
29
31
  "dependencies": {
30
- "@startupjs/bundler": "^0.60.0-canary.2",
31
- "@startupjs/cli": "^0.60.0-canary.2",
32
- "@startupjs/hooks": "^0.60.0-canary.0",
33
- "@startupjs/isomorphic-helpers": "^0.60.0-canary.0",
34
- "@startupjs/registry": "^0.60.0-canary.0",
35
- "@startupjs/server": "^0.60.0-canary.0",
36
- "@startupjs/utils": "^0.60.0-canary.0",
37
- "babel-preset-startupjs": "^0.60.0-canary.2",
38
- "cssxjs": "^0.2.14",
32
+ "@startupjs/auth": "^0.60.0-canary.8",
33
+ "@startupjs/bundler": "^0.60.0-canary.18",
34
+ "@startupjs/cli": "^0.60.0-canary.7",
35
+ "@startupjs/hooks": "^0.60.0-canary.7",
36
+ "@startupjs/isomorphic-helpers": "^0.60.0-canary.7",
37
+ "@startupjs/registry": "^0.60.0-canary.7",
38
+ "@startupjs/server": "^0.60.0-canary.7",
39
+ "@startupjs/utils": "^0.60.0-canary.7",
40
+ "babel-preset-startupjs": "^0.60.0-canary.18",
41
+ "cssxjs": "^0.2.27",
39
42
  "lodash": "^4.17.20",
40
- "teamplay": "^0.3.26"
43
+ "teamplay": "^0.3.29"
41
44
  },
42
45
  "peerDependencies": {
43
46
  "@startupjs/worker": "*",
@@ -52,5 +55,5 @@
52
55
  "optional": true
53
56
  }
54
57
  },
55
- "gitHead": "cbea3f3fe0689dfca50dcf5ddf9ef67730a680e2"
58
+ "gitHead": "f4e232a02b2c5d6f7ff621d93f26170b7d156b25"
56
59
  }
package/useRouter.js ADDED
@@ -0,0 +1 @@
1
+ export { default } from '@startupjs/utils/useRouter'