@pack/packlytics 1.0.0 → 1.0.1-ab-test.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.
@@ -1,5 +1,5 @@
1
1
  export declare function packlytics(request: Request, session: any, params: {
2
- storeFrontId: string;
2
+ storefrontId: string;
3
3
  sessionSecret: string;
4
4
  }): Promise<Response | undefined>;
5
5
  //# sourceMappingURL=packlytics.d.ts.map
@@ -19,7 +19,7 @@ export async function packlytics(request, session, params) {
19
19
  const testSession = session.get("test");
20
20
  const locale = getClientLocales(request) || ["en-US"];
21
21
  const location = getClientLocation(locale[0]);
22
- return trackPageHit(params.storeFrontId, packlyticsId)({
22
+ return trackPageHit(params.storefrontId, packlyticsId)({
23
23
  "pack-session-id": session.id, // This session ID is saved on the __pack cookie
24
24
  "user-agent": request.headers.get("user-agent") || "",
25
25
  pathname: url.pathname,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pack/packlytics",
3
3
  "description": "Packlytics",
4
- "version": "1.0.0",
4
+ "version": "1.0.1-ab-test.1",
5
5
  "exports": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "engines": {