@sitevision/api 2023.3.1-beta.2 → 2023.4.1

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.
@@ -31,6 +31,14 @@ export interface Request {
31
31
  secure: boolean;
32
32
  method: string;
33
33
  path: string;
34
+ /**
35
+ * Returns client request uri.
36
+ *
37
+ * Note! uri does not necessarily equal the uri of the current page
38
+ *
39
+ * @since Sitevision 2023.04.1
40
+ */
41
+ uri: string;
34
42
  /**
35
43
  * Can be populated in a hooks context and read from a render context
36
44
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitevision/api",
3
- "version": "2023.3.1-beta.2",
3
+ "version": "2023.4.1",
4
4
  "author": "Sitevision AB",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,6 +14,7 @@
14
14
  "url": "https://github.com/sitevision/sitevision-apps/issues"
15
15
  },
16
16
  "scripts": {
17
+ "prepack": "yarn build",
17
18
  "build": "rimraf dist/ && rimraf build/ && scripts/copysrc.sh && node scripts/generateindex.js && babel build --out-dir dist --copy-files && copyfiles package.json README.md dist/",
18
19
  "test": "yarn build && tsc --noEmit dist/index.d.ts && echo 'No errors found.'",
19
20
  "deploy": "yarn build && npm publish dist"
@@ -28,5 +29,6 @@
28
29
  "publishConfig": {
29
30
  "access": "public",
30
31
  "directory": "dist"
31
- }
32
+ },
33
+ "gitHead": "f63dfa76967786a6603698cfb5b7918adca57211"
32
34
  }