@nexly/next 0.9.0 → 0.10.0

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.
@@ -14,5 +14,5 @@ export type NexlyNextProviderProps = Omit<NexlyProviderProps, 'autoPageView'> &
14
14
  * When `autoPageView` is `true`, a pageview is sent on mount **and** on every
15
15
  * subsequent client-side navigation (pathname change).
16
16
  */
17
- export declare function NexlyNextProvider({ autoPageView, children, ...rest }: NexlyNextProviderProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function NexlyNextProvider({ autoPageView, client, children, ...rest }: NexlyNextProviderProps): import("react/jsx-runtime").JSX.Element;
18
18
  //# sourceMappingURL=nexly-next-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nexly-next-provider.d.ts","sourceRoot":"","sources":["../src/nexly-next-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiC,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAuBzF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,kBAAkB,EAAE,cAAc,CAAC,GAAG;IAC9E;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,YAAoB,EACpB,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,sBAAsB,2CAOxB"}
1
+ {"version":3,"file":"nexly-next-provider.d.ts","sourceRoot":"","sources":["../src/nexly-next-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiC,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAuBzF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,kBAAkB,EAAE,cAAc,CAAC,GAAG;IAC9E;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,YAAoB,EACpB,MAAM,EACN,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,sBAAsB,2CAOxB"}
@@ -27,6 +27,6 @@ function RoutePageviews() {
27
27
  * When `autoPageView` is `true`, a pageview is sent on mount **and** on every
28
28
  * subsequent client-side navigation (pathname change).
29
29
  */
30
- export function NexlyNextProvider({ autoPageView = false, children, ...rest }) {
31
- return (_jsxs(NexlyProvider, { ...rest, autoPageView: false, children: [autoPageView && _jsx(RoutePageviews, {}), children] }));
30
+ export function NexlyNextProvider({ autoPageView = false, client, children, ...rest }) {
31
+ return (_jsxs(NexlyProvider, { ...rest, client: client ?? 'next', autoPageView: false, children: [autoPageView && _jsx(RoutePageviews, {}), children] }));
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexly/next",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Next.js App Router helpers for Nexly: route-aware auto pageview on top of @nexly/react-web",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  "react": "^18.0.0 || ^19.0.0"
42
42
  },
43
43
  "dependencies": {
44
- "@nexly/react-web": "0.9.0"
44
+ "@nexly/react-web": "0.10.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/react": "^19.2.14",