jazz-tools 0.13.3 → 0.13.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.13.3 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.13.4 build /home/runner/_work/jazz/jazz/packages/jazz-tools
3
3
  > tsup && pnpm types
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
@@ -11,12 +11,12 @@
11
11
  ESM Build start
12
12
  ESM dist/index.js 1.50 KB
13
13
  ESM dist/testing.js 6.26 KB
14
- ESM dist/chunk-YZW2QELD.js 127.20 KB
14
+ ESM dist/chunk-JNC2UVYB.js 127.31 KB
15
15
  ESM dist/index.js.map 259.00 B
16
16
  ESM dist/testing.js.map 12.37 KB
17
- ESM dist/chunk-YZW2QELD.js.map 300.00 KB
18
- ESM ⚡️ Build success in 67ms
17
+ ESM dist/chunk-JNC2UVYB.js.map 300.24 KB
18
+ ESM ⚡️ Build success in 64ms
19
19
 
20
- > jazz-tools@0.13.3 types /home/runner/_work/jazz/jazz/packages/jazz-tools
20
+ > jazz-tools@0.13.4 types /home/runner/_work/jazz/jazz/packages/jazz-tools
21
21
  > tsc --outDir dist
22
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3129982: Add logOutReplacement hook to replace the Jazz logout function with a custom one
8
+
3
9
  ## 0.13.3
4
10
 
5
11
  ### Patch Changes
@@ -3947,8 +3947,12 @@ var JazzContextManager = class {
3947
3947
  return;
3948
3948
  }
3949
3949
  await this.props.onLogOut?.();
3950
- await this.context.logOut();
3951
- return this.createContext(this.props);
3950
+ if (this.props.logOutReplacement) {
3951
+ await this.props.logOutReplacement();
3952
+ } else {
3953
+ await this.context.logOut();
3954
+ return this.createContext(this.props);
3955
+ }
3952
3956
  };
3953
3957
  this.done = () => {
3954
3958
  if (!this.context) {
@@ -4427,4 +4431,4 @@ export {
4427
4431
  consumeInviteLink
4428
4432
  };
4429
4433
  /* istanbul ignore file -- @preserve */
4430
- //# sourceMappingURL=chunk-YZW2QELD.js.map
4434
+ //# sourceMappingURL=chunk-JNC2UVYB.js.map