@account-kit/logging 4.5.0 → 4.6.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.
@@ -6,6 +6,19 @@ import { noopLogger } from "./noop.js";
6
6
  import { ContextAllowlistPlugin } from "./plugins/contextAllowlist.js";
7
7
  import { DevDestinationPlugin } from "./plugins/devDestination.js";
8
8
  import { isClientDevMode } from "./utils.js";
9
+ const ANON_ID_STORAGE_KEY = "account-kit:anonId";
10
+ function getOrCreateAnonId() {
11
+ let anon = JSON.parse(localStorage.getItem(ANON_ID_STORAGE_KEY) ?? "null");
12
+ if (!anon || anon.expiresMs < Date.now()) {
13
+ anon = {
14
+ id: uuid(),
15
+ // expires a month from now (30days * 24hrs/day * 60min/hr * 60sec/min * 1000ms/sec)
16
+ expiresMs: Date.now() + 30 * 24 * 60 * 60 * 1000,
17
+ };
18
+ localStorage.setItem(ANON_ID_STORAGE_KEY, JSON.stringify(anon));
19
+ }
20
+ return anon;
21
+ }
9
22
  export function createClientLogger(context) {
10
23
  const isDev = isClientDevMode();
11
24
  if (isDev && !WRITE_IN_DEV) {
@@ -18,10 +31,7 @@ export function createClientLogger(context) {
18
31
  }
19
32
  const analytics = new AnalyticsBrowser();
20
33
  const writeKey = fetchRemoteWriteKey();
21
- if (!sessionStorage.getItem("anonId")) {
22
- sessionStorage.setItem("anonId", uuid());
23
- }
24
- const anonId = sessionStorage.getItem("anonId");
34
+ const { id: anonId } = getOrCreateAnonId();
25
35
  analytics.setAnonymousId(anonId);
26
36
  analytics.register(ContextAllowlistPlugin);
27
37
  analytics.debug(isDev);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAA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,KAAK,GAAqB,QAAQ,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QACzD,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;YACrB,OAAO;QACT,CAAC;QAED,SAAS,CAAC,IAAI,CACZ;YACE,QAAQ;YACR,2EAA2E;YAC3E,WAAW,EAAE,KAAK;gBAChB,CAAC,CAAC;oBACE,YAAY,EAAE,EAAE;iBACjB;gBACH,CAAC,CAAC,SAAS;SACd;QACD,iDAAiD;QACjD;YACE,wBAAwB,EAAE,IAAI;YAC9B,YAAY,EAAE;gBACZ,YAAY,EAAE,CAAC,KAAK;aACrB;SACF,CACF,CAAC;QAEF,OAAO,SAAS,CAAC,KAAK,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,SAAS,EAAE;YACT,KAAK;YACL,MAAM;SACP;QACD,UAAU,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;YACnC,IAAI,CAAC,CAAC,MAAM,QAAQ,CAAC,EAAE,CAAC;gBACtB,OAAO,UAAU,CAAC,UAAU,CAAC;oBAC3B,IAAI;oBACJ,mBAAmB;oBACnB,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;YAED,MAAM,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QACvD,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { AnalyticsBrowser } from \"@segment/analytics-next\";\nimport { v4 as uuid } from \"uuid\";\nimport { WRITE_IN_DEV } from \"./_writeKey.js\";\nimport { fetchRemoteWriteKey } from \"./fetchRemoteWriteKey.js\";\nimport { noopLogger } from \"./noop.js\";\nimport { ContextAllowlistPlugin } from \"./plugins/contextAllowlist.js\";\nimport { DevDestinationPlugin } from \"./plugins/devDestination.js\";\nimport type { EventsSchema, InnerLogger, LoggerContext } from \"./types\";\nimport { isClientDevMode } from \"./utils.js\";\n\nexport function createClientLogger<Schema extends EventsSchema = []>(\n context: LoggerContext\n): InnerLogger<Schema> {\n const isDev = isClientDevMode();\n if (isDev && !WRITE_IN_DEV) {\n // If we don't have a write key, we don't want to log anything\n // This is useful for dev so we don't log dev metrics\n //\n // We also don't allow logging on localhost unless WRITE_IN_DEV is set to true\n // WRITE_IN_DEV is only ever true if you're building from source with env vars set to true\n return noopLogger;\n }\n\n const analytics = new AnalyticsBrowser();\n const writeKey = fetchRemoteWriteKey();\n\n if (!sessionStorage.getItem(\"anonId\")) {\n sessionStorage.setItem(\"anonId\", uuid());\n }\n\n const anonId = sessionStorage.getItem(\"anonId\")!;\n analytics.setAnonymousId(anonId);\n analytics.register(ContextAllowlistPlugin);\n analytics.debug(isDev);\n\n if (isDev) {\n // Super weird behaviour, but if I don't add some kind of log here,\n // then I don't actually get logs in the console\n console.log(`[Metrics] metrics initialized for ${context.package}`);\n }\n\n // This lets us log events in the console\n if (isDev) {\n analytics.register(DevDestinationPlugin);\n }\n\n const ready: Promise<unknown> = writeKey.then((writeKey) => {\n if (writeKey == null) {\n return;\n }\n\n analytics.load(\n {\n writeKey,\n // we disable these settings in dev so we don't fetch anything from segment\n cdnSettings: isDev\n ? {\n integrations: {},\n }\n : undefined,\n },\n // further we disable the segment integration dev\n {\n disableClientPersistence: true,\n integrations: {\n \"Segment.io\": !isDev,\n },\n }\n );\n\n return analytics.ready();\n });\n\n return {\n _internal: {\n ready,\n anonId,\n },\n trackEvent: async ({ name, data }) => {\n if (!(await writeKey)) {\n return noopLogger.trackEvent({\n name,\n // @ts-expect-error\n data,\n });\n }\n\n await analytics.track(name, { ...data, ...context });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,E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C,KAAK,CAAC,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QACvD,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { AnalyticsBrowser } from \"@segment/analytics-next\";\nimport { v4 as uuid } from \"uuid\";\nimport { WRITE_IN_DEV } from \"./_writeKey.js\";\nimport { fetchRemoteWriteKey } from \"./fetchRemoteWriteKey.js\";\nimport { noopLogger } from \"./noop.js\";\nimport { ContextAllowlistPlugin } from \"./plugins/contextAllowlist.js\";\nimport { DevDestinationPlugin } from \"./plugins/devDestination.js\";\nimport type { EventsSchema, InnerLogger, LoggerContext } from \"./types\";\nimport { isClientDevMode } from \"./utils.js\";\n\nconst ANON_ID_STORAGE_KEY = \"account-kit:anonId\";\n\ntype AnonId = { id: string; expiresMs: number };\n\nfunction getOrCreateAnonId(): AnonId {\n let anon: AnonId | null = JSON.parse(\n localStorage.getItem(ANON_ID_STORAGE_KEY) ?? \"null\"\n );\n\n if (!anon || anon.expiresMs < Date.now()) {\n anon = {\n id: uuid(),\n // expires a month from now (30days * 24hrs/day * 60min/hr * 60sec/min * 1000ms/sec)\n expiresMs: Date.now() + 30 * 24 * 60 * 60 * 1000,\n };\n localStorage.setItem(ANON_ID_STORAGE_KEY, JSON.stringify(anon));\n }\n\n return anon;\n}\n\nexport function createClientLogger<Schema extends EventsSchema = []>(\n context: LoggerContext\n): InnerLogger<Schema> {\n const isDev = isClientDevMode();\n if (isDev && !WRITE_IN_DEV) {\n // If we don't have a write key, we don't want to log anything\n // This is useful for dev so we don't log dev metrics\n //\n // We also don't allow logging on localhost unless WRITE_IN_DEV is set to true\n // WRITE_IN_DEV is only ever true if you're building from source with env vars set to true\n return noopLogger;\n }\n\n const analytics = new AnalyticsBrowser();\n const writeKey = fetchRemoteWriteKey();\n\n const { id: anonId } = getOrCreateAnonId();\n analytics.setAnonymousId(anonId);\n analytics.register(ContextAllowlistPlugin);\n analytics.debug(isDev);\n\n if (isDev) {\n // Super weird behaviour, but if I don't add some kind of log here,\n // then I don't actually get logs in the console\n console.log(`[Metrics] metrics initialized for ${context.package}`);\n }\n\n // This lets us log events in the console\n if (isDev) {\n analytics.register(DevDestinationPlugin);\n }\n\n const ready: Promise<unknown> = writeKey.then((writeKey) => {\n if (writeKey == null) {\n return;\n }\n\n analytics.load(\n {\n writeKey,\n // we disable these settings in dev so we don't fetch anything from segment\n cdnSettings: isDev\n ? {\n integrations: {},\n }\n : undefined,\n },\n // further we disable the segment integration dev\n {\n disableClientPersistence: true,\n integrations: {\n \"Segment.io\": !isDev,\n },\n }\n );\n\n return analytics.ready();\n });\n\n return {\n _internal: {\n ready,\n anonId,\n },\n trackEvent: async ({ name, data }) => {\n if (!(await writeKey)) {\n return noopLogger.trackEvent({\n name,\n // @ts-expect-error\n data,\n });\n }\n\n await analytics.track(name, { ...data, ...context });\n },\n };\n}\n"]}
@@ -1 +1 @@
1
- export declare const VERSION = "4.5.0";
1
+ export declare const VERSION = "4.6.0";
@@ -1,4 +1,4 @@
1
1
  // This file is autogenerated by inject-version.ts. Any changes will be
2
2
  // overwritten on commit!
3
- export const VERSION = "4.5.0";
3
+ export const VERSION = "4.6.0";
4
4
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.5.0\";\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.6.0\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxE,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,YAAY,GAAG,EAAE,EACjE,OAAO,EAAE,aAAa,GACrB,WAAW,CAAC,MAAM,CAAC,CA8ErB"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAwBxE,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,YAAY,GAAG,EAAE,EACjE,OAAO,EAAE,aAAa,GACrB,WAAW,CAAC,MAAM,CAAC,CA0ErB"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.5.0";
1
+ export declare const VERSION = "4.6.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@account-kit/logging",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "description": "Core logging library for Account Kit packages",
5
5
  "author": "Alchemy",
6
6
  "license": "MIT",
@@ -29,11 +29,11 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "scripts": {
32
- "prebuild": "npx tsx ./prebuild.ts",
32
+ "prebuild": "tsx ./prebuild.ts",
33
33
  "build": "yarn clean && yarn build:esm && yarn build:types",
34
34
  "build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm",
35
35
  "build:types": "tsc --project tsconfig.build.json --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
36
- "postbuild": "npx tsx ./postbuild.ts",
36
+ "postbuild": "tsx ./postbuild.ts",
37
37
  "clean": "rm -rf ./dist",
38
38
  "test": "vitest --passWithNoTests",
39
39
  "test:run": "vitest run --passWithNoTests"
@@ -61,5 +61,5 @@
61
61
  "@segment/analytics-next": "^1.74.0",
62
62
  "uuid": "^11.0.2"
63
63
  },
64
- "gitHead": "2d453cd3106b8a516d0afbd953591c21e30abe94"
64
+ "gitHead": "00118dc9a72085f71428a2c1bde28595819fcb5a"
65
65
  }
package/src/client.ts CHANGED
@@ -8,6 +8,27 @@ import { DevDestinationPlugin } from "./plugins/devDestination.js";
8
8
  import type { EventsSchema, InnerLogger, LoggerContext } from "./types";
9
9
  import { isClientDevMode } from "./utils.js";
10
10
 
11
+ const ANON_ID_STORAGE_KEY = "account-kit:anonId";
12
+
13
+ type AnonId = { id: string; expiresMs: number };
14
+
15
+ function getOrCreateAnonId(): AnonId {
16
+ let anon: AnonId | null = JSON.parse(
17
+ localStorage.getItem(ANON_ID_STORAGE_KEY) ?? "null"
18
+ );
19
+
20
+ if (!anon || anon.expiresMs < Date.now()) {
21
+ anon = {
22
+ id: uuid(),
23
+ // expires a month from now (30days * 24hrs/day * 60min/hr * 60sec/min * 1000ms/sec)
24
+ expiresMs: Date.now() + 30 * 24 * 60 * 60 * 1000,
25
+ };
26
+ localStorage.setItem(ANON_ID_STORAGE_KEY, JSON.stringify(anon));
27
+ }
28
+
29
+ return anon;
30
+ }
31
+
11
32
  export function createClientLogger<Schema extends EventsSchema = []>(
12
33
  context: LoggerContext
13
34
  ): InnerLogger<Schema> {
@@ -24,11 +45,7 @@ export function createClientLogger<Schema extends EventsSchema = []>(
24
45
  const analytics = new AnalyticsBrowser();
25
46
  const writeKey = fetchRemoteWriteKey();
26
47
 
27
- if (!sessionStorage.getItem("anonId")) {
28
- sessionStorage.setItem("anonId", uuid());
29
- }
30
-
31
- const anonId = sessionStorage.getItem("anonId")!;
48
+ const { id: anonId } = getOrCreateAnonId();
32
49
  analytics.setAnonymousId(anonId);
33
50
  analytics.register(ContextAllowlistPlugin);
34
51
  analytics.debug(isDev);
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file is autogenerated by inject-version.ts. Any changes will be
2
2
  // overwritten on commit!
3
- export const VERSION = "4.5.0";
3
+ export const VERSION = "4.6.0";