chayns-api 2.4.18 → 2.4.19

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.
@@ -273,4 +273,7 @@ export declare const environment: {
273
273
  buildEnvironment: import("../types/IChaynsReact").Environment;
274
274
  runtimeEnvironment: import("../types/IChaynsReact").RuntimeEnviroment | string;
275
275
  };
276
+ /**
277
+ * Redirects the user to the given destination. On the server side a 307 or 308 (depending on the isPermanent flag) redirect response is generated. On the client side a window.location.href change is performed.
278
+ */
276
279
  export declare const redirect: (...args: Parameters<ChaynsReactFunctions["redirect"]>) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.4.18",
3
+ "version": "2.4.19",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",