@orieljs/inertia-client 0.1.0-alpha.4 → 0.1.0-alpha.6

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/NOTICE CHANGED
@@ -7,3 +7,6 @@ This product includes software developed by the Oriel project
7
7
  Oriel is licensed under the Apache License, Version 2.0 (see LICENSE).
8
8
  The Oriel name and logo are not covered by that license; see TRADEMARKS.md
9
9
  (https://github.com/orieljs/framework/blob/main/TRADEMARKS.md).
10
+
11
+ @orieljs/support (and @orieljs/framework, which bundles it) includes transliteration data from
12
+ voku/portable-ascii (https://github.com/voku/portable-ascii), Copyright (C) 2019 Lars Moelleken, MIT License.
package/dist/index.d.ts CHANGED
@@ -157,8 +157,9 @@ interface LinkProps {
157
157
  method?: Method;
158
158
  data?: RequestPayload;
159
159
  replace?: boolean;
160
- preserveScroll?: boolean;
161
- preserveState?: boolean;
160
+ /** As Inertia's visits: a boolean, 'errors' (only when the response has errors) or a function of the new page. */
161
+ preserveScroll?: VisitOptions['preserveScroll'];
162
+ preserveState?: VisitOptions['preserveState'];
162
163
  only?: string[];
163
164
  except?: string[];
164
165
  headers?: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orieljs/inertia-client",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.6",
4
4
  "description": "The Oriel Inertia client: typed page props, route(), the form helper and the adapter contract.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",