jazz-react-auth-clerk 0.7.35-guest-auth.5 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
 
2
- > jazz-react-auth-clerk@0.7.33-guest-auth.3 build /Users/anselm/jazz/jazz/packages/jazz-react-auth-clerk
2
+ > jazz-react-auth-clerk@0.7.35-guest-auth.5 build /Users/anselm/jazz/jazz/packages/jazz-react-auth-clerk
3
3
  > npm run lint && rm -rf ./dist && tsc --sourceMap --outDir dist
4
4
 
5
5
 
6
- > jazz-react-auth-clerk@0.7.33-guest-auth.3 lint
6
+ > jazz-react-auth-clerk@0.7.35-guest-auth.5 lint
7
7
  > eslint . --ext ts,tsx
8
8
 
@@ -0,0 +1,4 @@
1
+
2
+ > jazz-react-auth-clerk@0.7.35-guest-auth.5 lint /Users/anselm/jazz/jazz/packages/jazz-react-auth-clerk
3
+ > eslint . --ext ts,tsx
4
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # jazz-browser-media-images
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Patch Changes
6
+
7
+ - bcec3be: Implement Clerk auth method + example
8
+ - Updated dependencies [6a147c2]
9
+ - Updated dependencies [ad40b88]
10
+ - Updated dependencies [23369dc]
11
+ - Updated dependencies [c2b62a0]
12
+ - Updated dependencies [1a979b6]
13
+ - Updated dependencies [bcec3be]
14
+ - Updated dependencies [6ce2051]
15
+ - cojson@0.8.0
16
+ - jazz-tools@0.8.0
17
+ - jazz-react@0.8.0
18
+ - jazz-browser-auth-clerk@0.8.0
19
+
20
+ ## 0.7.35-guest-auth.6
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+ - jazz-react@0.7.35-guest-auth.6
26
+ - jazz-tools@0.7.35-guest-auth.6
27
+ - jazz-browser-auth-clerk@0.7.35-guest-auth.6
28
+
3
29
  ## 0.7.35-guest-auth.5
4
30
 
5
31
  ### Patch Changes
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.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E,CAAC,CAAC;IAEzE,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE;QAC5B,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACb,OAAO,IAAI,gBAAgB,CACvB;gBACI,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;oBACf,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC;oBACrB,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;wBACjB,GAAG,KAAK;wBACR,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;qBAC9C,CAAC,CAAC,CAAC;gBACR,CAAC;aACJ,EACD,KAAK,CACR,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,OAAO,SAAS,CAAC;QACrB,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAEjB,OAAO,CAAC,UAAU,EAAE,KAAK,CAAU,CAAC;AACxC,CAAC"}
package/package.json CHANGED
@@ -1,26 +1,27 @@
1
1
  {
2
2
  "name": "jazz-react-auth-clerk",
3
- "version": "0.7.35-guest-auth.5",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "src/index.tsx",
7
7
  "license": "MIT",
8
- "dependencies": {},
9
- "peerDependencies": {
10
- "react": "^18.2.0",
11
- "cojson": "0.7.35-guest-auth.5",
12
- "jazz-react": "0.7.35-guest-auth.5",
13
- "jazz-browser-auth-clerk": "0.7.35-guest-auth.5",
14
- "jazz-tools": "0.7.35-guest-auth.5"
15
- },
16
- "devDependencies": {
17
- "typescript": "^5.1.6",
18
- "@types/react": "^18.2.19"
19
- },
20
8
  "lint-staged": {
21
9
  "*.{ts,tsx}": "eslint --fix",
22
10
  "*.{js,jsx,mdx,json}": "prettier --write"
23
11
  },
12
+ "dependencies": {
13
+ "cojson": "0.8.0",
14
+ "jazz-browser-auth-clerk": "0.8.0",
15
+ "jazz-react": "0.8.0",
16
+ "jazz-tools": "0.8.0"
17
+ },
18
+ "peerDependencies": {
19
+ "react": "^18.2.0"
20
+ },
21
+ "devDependencies": {
22
+ "@types/react": "^18.2.19",
23
+ "typescript": "^5.3.3"
24
+ },
24
25
  "scripts": {
25
26
  "lint": "eslint . --ext ts,tsx",
26
27
  "format": "prettier --write './src/**/*.{ts,tsx}'",
package/src/index.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { BrowserClerkAuth, MinimalClerkClient } from "jazz-browser-auth-clerk";
1
+ import { BrowserClerkAuth, type MinimalClerkClient } from "jazz-browser-auth-clerk";
2
2
  import { useState, useMemo } from "react";
3
3
 
4
4
  export function useJazzClerkAuth(clerk: MinimalClerkClient & {