@drakkar.software/dk-spaces-analytics-sdk 0.1.0 → 0.2.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.
- package/README.md +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.native.d.ts +2 -1
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ useTelemetryScreenTracking(client); // History API (web) / Expo Router pathname
|
|
|
78
78
|
|---|---|---|
|
|
79
79
|
| `syncBaseUrl` | — | Starfish base host. Must **not** include `/v1` — `StarfishClient` prepends it. |
|
|
80
80
|
| `app` | — | Embedded in the Starfish storage path. |
|
|
81
|
-
| `namespace` | `'
|
|
81
|
+
| `namespace` | `'dk'` | Starfish namespace — the unified dk-spaces namespace (events ingestion is merged in alongside the rest of dk-spaces' collections). |
|
|
82
82
|
| `pathTemplate` | `'/push/events/{app}/{batchId}'` | Must keep the `/push/` prefix — `push()` only auto-prepends `/v1/{namespace}`. |
|
|
83
83
|
| `defaultOptIn` | `true` | Events flow immediately, no consent gate. |
|
|
84
84
|
| `debug` | `false` | Verbose console logging — never enable in production. |
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ interface TelemetryConfig {
|
|
|
14
14
|
syncBaseUrl: string;
|
|
15
15
|
/** App/workspace identifier embedded in the Starfish storage path. Keep short and URL-safe. */
|
|
16
16
|
app: string;
|
|
17
|
-
/** Starfish namespace
|
|
17
|
+
/** Starfish namespace. Default: `'dk'` — the unified dk-spaces namespace
|
|
18
|
+
* (events ingestion is merged in alongside the rest of dk-spaces' collections). */
|
|
18
19
|
namespace?: string;
|
|
19
20
|
/**
|
|
20
21
|
* Starfish storage-path template. Default: `'/push/events/{app}/{batchId}'`.
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { SunglassesCore } from "@drakkar.software/sunglasses-core";
|
|
|
3
3
|
import { LocalStorageAdapter } from "@drakkar.software/sunglasses-storage-localstorage";
|
|
4
4
|
import { StarfishAnalyticsAdapter } from "@drakkar.software/sunglasses-adapter-starfish";
|
|
5
5
|
import { StarfishClient } from "@drakkar.software/starfish-client";
|
|
6
|
-
var DEFAULT_NAMESPACE = "
|
|
6
|
+
var DEFAULT_NAMESPACE = "dk";
|
|
7
7
|
var DEFAULT_PATH_TEMPLATE = "/push/events/{app}/{batchId}";
|
|
8
8
|
async function createTelemetry(config) {
|
|
9
9
|
const syncClient = new StarfishClient({
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/telemetry.ts","../src/events.ts","../src/provider.tsx"],"sourcesContent":["/**\n * Web telemetry client factory — SunGlasses core wired to a Starfish\n * event-push transport and `localStorage` persistence. Mirrors\n * `telemetry.native.ts` (native swaps in `AsyncStorage`) — storage is the\n * only real web/native difference; everything else is shared.\n */\nimport { SunglassesCore } from '@drakkar.software/sunglasses-core';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\nimport { LocalStorageAdapter } from '@drakkar.software/sunglasses-storage-localstorage';\nimport { StarfishAnalyticsAdapter } from '@drakkar.software/sunglasses-adapter-starfish';\nimport { StarfishClient } from '@drakkar.software/starfish-client';\nimport type { TelemetryConfig } from './events.js';\n\nconst DEFAULT_NAMESPACE = '
|
|
1
|
+
{"version":3,"sources":["../src/telemetry.ts","../src/events.ts","../src/provider.tsx"],"sourcesContent":["/**\n * Web telemetry client factory — SunGlasses core wired to a Starfish\n * event-push transport and `localStorage` persistence. Mirrors\n * `telemetry.native.ts` (native swaps in `AsyncStorage`) — storage is the\n * only real web/native difference; everything else is shared.\n */\nimport { SunglassesCore } from '@drakkar.software/sunglasses-core';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\nimport { LocalStorageAdapter } from '@drakkar.software/sunglasses-storage-localstorage';\nimport { StarfishAnalyticsAdapter } from '@drakkar.software/sunglasses-adapter-starfish';\nimport { StarfishClient } from '@drakkar.software/starfish-client';\nimport type { TelemetryConfig } from './events.js';\n\n// The events collection now lives in the unified `dk` namespace (merged from\n// the former standalone `analytics` namespace) — see Infra's apps/dk_spaces.\nconst DEFAULT_NAMESPACE = 'dk';\n// StarfishClient.push() does NOT add the /push/ prefix; only /v1/{namespace} is\n// prepended by applyNamespace(). Keep /push/ explicit to reach the events collection.\nconst DEFAULT_PATH_TEMPLATE = '/push/events/{app}/{batchId}';\n\n/**\n * Build an initialized SunGlasses client wired to Starfish + `localStorage`.\n *\n * Pair with `createTelemetryClient()` + `.init(client)` for the module-level\n * lazy-singleton pattern (safe to call `capture()` before this resolves).\n */\nexport async function createTelemetry(config: TelemetryConfig): Promise<ISunglassesClient> {\n const syncClient = new StarfishClient({\n baseUrl: config.syncBaseUrl,\n namespace: config.namespace ?? DEFAULT_NAMESPACE,\n });\n\n return SunglassesCore.create({\n storage: new LocalStorageAdapter(),\n adapters: [\n new StarfishAnalyticsAdapter({\n client: syncClient,\n app: config.app,\n pathTemplate: config.pathTemplate ?? DEFAULT_PATH_TEMPLATE,\n }),\n ],\n platform: 'web',\n appName: config.appName,\n appVersion: config.appVersion,\n environment: config.environment,\n defaultOptIn: config.defaultOptIn ?? true,\n enableSessionTracking: true,\n debug: config.debug ?? false,\n });\n}\n","/**\n * Shared, platform-agnostic telemetry surface — no React, no storage/transport\n * wiring. Re-exported by both `index.ts` (web) and `index.native.ts` (native).\n */\nimport {\n createLazyClient,\n captureException as sgCaptureException,\n type CaptureExceptionOptions,\n type ISunglassesClient,\n type ISunglassesTypedClient,\n type EventMap,\n type SunglassesEvent,\n} from '@drakkar.software/sunglasses-core';\n\nexport type { CaptureExceptionOptions, ISunglassesClient, SunglassesEvent };\n\n/** Config accepted by `createTelemetry()` (web) / `createTelemetry()` (native). */\nexport interface TelemetryConfig {\n /** Starfish sync base URL, e.g. `https://sync.example.com/v1`. */\n syncBaseUrl: string;\n /** App/workspace identifier embedded in the Starfish storage path. Keep short and URL-safe. */\n app: string;\n /** Starfish namespace. Default: `'dk'` — the unified dk-spaces namespace\n * (events ingestion is merged in alongside the rest of dk-spaces' collections). */\n namespace?: string;\n /**\n * Starfish storage-path template. Default: `'/push/events/{app}/{batchId}'`.\n * Must keep the `/push/` prefix — `StarfishClient.push()` does not add it, only\n * `/v1/{namespace}` is prepended automatically.\n */\n pathTemplate?: string;\n appName?: string;\n appVersion?: string;\n /** Deployment environment, e.g. `'production'` | `'staging'`. */\n environment?: string;\n /** Default: `true` — events flow immediately with no consent gate. */\n defaultOptIn?: boolean;\n /** Enables verbose console logging. Never enable in production. Default: `false`. */\n debug?: boolean;\n}\n\n/**\n * Module-level telemetry singleton factory. Every method is a safe no-op until\n * `.init(client)` is called with the client returned by `createTelemetry()` —\n * so call-sites can `capture()` / `captureException()` at any time, including\n * before initialization resolves.\n */\nexport function createTelemetryClient<\n T extends EventMap = Record<string, Record<string, unknown> | undefined>,\n>(): ISunglassesTypedClient<T> & { init(client: ISunglassesClient): void } {\n return createLazyClient<T>();\n}\n\n/**\n * Manually capture a handled exception as a `$error` event (detailed error\n * catching + upload). Thin wrapper over SunGlasses' `captureException` —\n * defaults `handled: true`. Safe to call on a not-yet-initialized lazy client\n * (from `createTelemetryClient()`), which silently no-ops.\n *\n * Unhandled errors and render-phase crashes don't need this call — they're\n * captured automatically by `<TelemetryProvider>`.\n */\nexport function captureException(\n client: ISunglassesClient,\n error: unknown,\n options?: CaptureExceptionOptions,\n): void {\n sgCaptureException(client, error, options);\n}\n","/**\n * Web telemetry provider — composes SunGlasses' `<SunglassesProvider>`\n * (auto error capture + auto screen tracking) with\n * `<SunglassesGlobalErrorBoundary>` (render-phase + fatal global error\n * fallback UI), mirroring the pattern used in OctoChat's `app/_layout.tsx`.\n * Mirrors `provider.native.tsx` — same props, same behavior, native swaps in\n * `@drakkar.software/sunglasses-react-native`.\n */\nimport React from 'react';\nimport {\n SunglassesProvider,\n SunglassesGlobalErrorBoundary,\n useSunglasses,\n useScreenTracking,\n} from '@drakkar.software/sunglasses-react';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\n\nexport interface TelemetryProviderProps {\n /** An initialized client — from `createTelemetry()` (after `.init()` on the lazy client). */\n client: ISunglassesClient;\n /** Rendered instead of the crashed tree on an uncaught render or fatal global error. */\n fallback?: React.ReactNode;\n children: React.ReactNode;\n}\n\n/**\n * Wrap the app root. Enables automatic capture + upload of unhandled errors\n * (global handlers + `console.error`) and renders `fallback` on a fatal\n * crash. For manually-triggered captures, use `captureException()` or a\n * typed `.capture()` call on the client from `createTelemetry()`.\n */\nexport function TelemetryProvider({\n client,\n fallback,\n children,\n}: TelemetryProviderProps): React.ReactElement {\n return (\n <SunglassesProvider client={client} autoCaptureErrors={{ globalHandlers: true, console: true }}>\n <SunglassesGlobalErrorBoundary fallback={fallback} includeNonFatalGlobalErrors>\n {children}\n </SunglassesGlobalErrorBoundary>\n </SunglassesProvider>\n );\n}\n\n/** Access the telemetry client provided by the nearest `<TelemetryProvider>`. */\nexport { useSunglasses as useTelemetry };\n\n/** Automatic screen-view tracking via the browser History API. */\nexport function useTelemetryScreenTracking(client: ISunglassesClient): void {\n useScreenTracking(client);\n}\n"],"mappings":";AAMA,SAAS,sBAAsB;AAE/B,SAAS,2BAA2B;AACpC,SAAS,gCAAgC;AACzC,SAAS,sBAAsB;AAK/B,IAAM,oBAAoB;AAG1B,IAAM,wBAAwB;AAQ9B,eAAsB,gBAAgB,QAAqD;AACzF,QAAM,aAAa,IAAI,eAAe;AAAA,IACpC,SAAS,OAAO;AAAA,IAChB,WAAW,OAAO,aAAa;AAAA,EACjC,CAAC;AAED,SAAO,eAAe,OAAO;AAAA,IAC3B,SAAS,IAAI,oBAAoB;AAAA,IACjC,UAAU;AAAA,MACR,IAAI,yBAAyB;AAAA,QAC3B,QAAQ;AAAA,QACR,KAAK,OAAO;AAAA,QACZ,cAAc,OAAO,gBAAgB;AAAA,MACvC,CAAC;AAAA,IACH;AAAA,IACA,UAAU;AAAA,IACV,SAAS,OAAO;AAAA,IAChB,YAAY,OAAO;AAAA,IACnB,aAAa,OAAO;AAAA,IACpB,cAAc,OAAO,gBAAgB;AAAA,IACrC,uBAAuB;AAAA,IACvB,OAAO,OAAO,SAAS;AAAA,EACzB,CAAC;AACH;;;AC7CA;AAAA,EACE;AAAA,EACA,oBAAoB;AAAA,OAMf;AAmCA,SAAS,wBAE2D;AACzE,SAAO,iBAAoB;AAC7B;AAWO,SAAS,iBACd,QACA,OACA,SACM;AACN,qBAAmB,QAAQ,OAAO,OAAO;AAC3C;;;AC5DA,OAAO,WAAW;AAClB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAiBA,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AACF,GAA+C;AAC7C,SACE,oCAAC,sBAAmB,QAAgB,mBAAmB,EAAE,gBAAgB,MAAM,SAAS,KAAK,KAC3F,oCAAC,iCAA8B,UAAoB,6BAA2B,QAC3E,QACH,CACF;AAEJ;AAMO,SAAS,2BAA2B,QAAiC;AAC1E,oBAAkB,MAAM;AAC1B;","names":[]}
|
package/dist/index.native.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ interface TelemetryConfig {
|
|
|
14
14
|
syncBaseUrl: string;
|
|
15
15
|
/** App/workspace identifier embedded in the Starfish storage path. Keep short and URL-safe. */
|
|
16
16
|
app: string;
|
|
17
|
-
/** Starfish namespace
|
|
17
|
+
/** Starfish namespace. Default: `'dk'` — the unified dk-spaces namespace
|
|
18
|
+
* (events ingestion is merged in alongside the rest of dk-spaces' collections). */
|
|
18
19
|
namespace?: string;
|
|
19
20
|
/**
|
|
20
21
|
* Starfish storage-path template. Default: `'/push/events/{app}/{batchId}'`.
|
package/dist/index.native.js
CHANGED
|
@@ -3,7 +3,7 @@ import { SunglassesCore } from "@drakkar.software/sunglasses-core";
|
|
|
3
3
|
import { AsyncStorageAdapter } from "@drakkar.software/sunglasses-storage-async-storage";
|
|
4
4
|
import { StarfishAnalyticsAdapter } from "@drakkar.software/sunglasses-adapter-starfish";
|
|
5
5
|
import { StarfishClient } from "@drakkar.software/starfish-client";
|
|
6
|
-
var DEFAULT_NAMESPACE = "
|
|
6
|
+
var DEFAULT_NAMESPACE = "dk";
|
|
7
7
|
var DEFAULT_PATH_TEMPLATE = "/push/events/{app}/{batchId}";
|
|
8
8
|
async function createTelemetry(config) {
|
|
9
9
|
const syncClient = new StarfishClient({
|
package/dist/index.native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/telemetry.native.ts","../src/events.ts","../src/provider.native.tsx"],"sourcesContent":["/**\n * Native telemetry client factory — SunGlasses core wired to a Starfish\n * event-push transport and `AsyncStorage` persistence. Mirrors `telemetry.ts`\n * (web uses `localStorage`) — storage is the only real web/native difference;\n * everything else is shared.\n */\nimport { SunglassesCore } from '@drakkar.software/sunglasses-core';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\n// @ts-ignore — optional peer dep; only present in native builds\nimport { AsyncStorageAdapter } from '@drakkar.software/sunglasses-storage-async-storage';\nimport { StarfishAnalyticsAdapter } from '@drakkar.software/sunglasses-adapter-starfish';\nimport { StarfishClient } from '@drakkar.software/starfish-client';\nimport type { TelemetryConfig } from './events.js';\n\nconst DEFAULT_NAMESPACE = '
|
|
1
|
+
{"version":3,"sources":["../src/telemetry.native.ts","../src/events.ts","../src/provider.native.tsx"],"sourcesContent":["/**\n * Native telemetry client factory — SunGlasses core wired to a Starfish\n * event-push transport and `AsyncStorage` persistence. Mirrors `telemetry.ts`\n * (web uses `localStorage`) — storage is the only real web/native difference;\n * everything else is shared.\n */\nimport { SunglassesCore } from '@drakkar.software/sunglasses-core';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\n// @ts-ignore — optional peer dep; only present in native builds\nimport { AsyncStorageAdapter } from '@drakkar.software/sunglasses-storage-async-storage';\nimport { StarfishAnalyticsAdapter } from '@drakkar.software/sunglasses-adapter-starfish';\nimport { StarfishClient } from '@drakkar.software/starfish-client';\nimport type { TelemetryConfig } from './events.js';\n\n// The events collection now lives in the unified `dk` namespace (merged from\n// the former standalone `analytics` namespace) — see Infra's apps/dk_spaces.\nconst DEFAULT_NAMESPACE = 'dk';\n// StarfishClient.push() does NOT add the /push/ prefix; only /v1/{namespace} is\n// prepended by applyNamespace(). Keep /push/ explicit to reach the events collection.\nconst DEFAULT_PATH_TEMPLATE = '/push/events/{app}/{batchId}';\n\n/**\n * Build an initialized SunGlasses client wired to Starfish + `AsyncStorage`.\n *\n * Pair with `createTelemetryClient()` + `.init(client)` for the module-level\n * lazy-singleton pattern (safe to call `capture()` before this resolves).\n */\nexport async function createTelemetry(config: TelemetryConfig): Promise<ISunglassesClient> {\n const syncClient = new StarfishClient({\n baseUrl: config.syncBaseUrl,\n namespace: config.namespace ?? DEFAULT_NAMESPACE,\n });\n\n return SunglassesCore.create({\n storage: new AsyncStorageAdapter(),\n adapters: [\n new StarfishAnalyticsAdapter({\n client: syncClient,\n app: config.app,\n pathTemplate: config.pathTemplate ?? DEFAULT_PATH_TEMPLATE,\n }),\n ],\n platform: 'react-native',\n appName: config.appName,\n appVersion: config.appVersion,\n environment: config.environment,\n defaultOptIn: config.defaultOptIn ?? true,\n enableSessionTracking: true,\n debug: config.debug ?? false,\n });\n}\n","/**\n * Shared, platform-agnostic telemetry surface — no React, no storage/transport\n * wiring. Re-exported by both `index.ts` (web) and `index.native.ts` (native).\n */\nimport {\n createLazyClient,\n captureException as sgCaptureException,\n type CaptureExceptionOptions,\n type ISunglassesClient,\n type ISunglassesTypedClient,\n type EventMap,\n type SunglassesEvent,\n} from '@drakkar.software/sunglasses-core';\n\nexport type { CaptureExceptionOptions, ISunglassesClient, SunglassesEvent };\n\n/** Config accepted by `createTelemetry()` (web) / `createTelemetry()` (native). */\nexport interface TelemetryConfig {\n /** Starfish sync base URL, e.g. `https://sync.example.com/v1`. */\n syncBaseUrl: string;\n /** App/workspace identifier embedded in the Starfish storage path. Keep short and URL-safe. */\n app: string;\n /** Starfish namespace. Default: `'dk'` — the unified dk-spaces namespace\n * (events ingestion is merged in alongside the rest of dk-spaces' collections). */\n namespace?: string;\n /**\n * Starfish storage-path template. Default: `'/push/events/{app}/{batchId}'`.\n * Must keep the `/push/` prefix — `StarfishClient.push()` does not add it, only\n * `/v1/{namespace}` is prepended automatically.\n */\n pathTemplate?: string;\n appName?: string;\n appVersion?: string;\n /** Deployment environment, e.g. `'production'` | `'staging'`. */\n environment?: string;\n /** Default: `true` — events flow immediately with no consent gate. */\n defaultOptIn?: boolean;\n /** Enables verbose console logging. Never enable in production. Default: `false`. */\n debug?: boolean;\n}\n\n/**\n * Module-level telemetry singleton factory. Every method is a safe no-op until\n * `.init(client)` is called with the client returned by `createTelemetry()` —\n * so call-sites can `capture()` / `captureException()` at any time, including\n * before initialization resolves.\n */\nexport function createTelemetryClient<\n T extends EventMap = Record<string, Record<string, unknown> | undefined>,\n>(): ISunglassesTypedClient<T> & { init(client: ISunglassesClient): void } {\n return createLazyClient<T>();\n}\n\n/**\n * Manually capture a handled exception as a `$error` event (detailed error\n * catching + upload). Thin wrapper over SunGlasses' `captureException` —\n * defaults `handled: true`. Safe to call on a not-yet-initialized lazy client\n * (from `createTelemetryClient()`), which silently no-ops.\n *\n * Unhandled errors and render-phase crashes don't need this call — they're\n * captured automatically by `<TelemetryProvider>`.\n */\nexport function captureException(\n client: ISunglassesClient,\n error: unknown,\n options?: CaptureExceptionOptions,\n): void {\n sgCaptureException(client, error, options);\n}\n","/**\n * Native telemetry provider. Mirrors `provider.tsx` — swaps in\n * `@drakkar.software/sunglasses-react-native`'s provider/boundary. Screen\n * tracking uses Expo Router's pathname instead of the History API.\n */\nimport React from 'react';\nimport {\n SunglassesProvider,\n SunglassesGlobalErrorBoundary,\n useSunglasses,\n useExpoRouterScreenTracking,\n} from '@drakkar.software/sunglasses-react-native';\nimport type { ISunglassesClient } from '@drakkar.software/sunglasses-core';\n\nexport interface TelemetryProviderProps {\n /** An initialized client — from `createTelemetry()` (after `.init()` on the lazy client). */\n client: ISunglassesClient;\n /** Rendered instead of the crashed tree on an uncaught render or fatal global error. */\n fallback?: React.ReactNode;\n children: React.ReactNode;\n}\n\n/**\n * Wrap the app root (typically `app/_layout.tsx`). Enables automatic capture\n * + upload of unhandled errors (global handlers + `console.error`) and\n * renders `fallback` on a fatal crash. For manually-triggered captures, use\n * `captureException()` or a typed `.capture()` call on the client from\n * `createTelemetry()`.\n */\nexport function TelemetryProvider({\n client,\n fallback,\n children,\n}: TelemetryProviderProps): React.ReactElement {\n return (\n <SunglassesProvider client={client} autoCaptureErrors={{ globalHandlers: true, console: true }}>\n <SunglassesGlobalErrorBoundary fallback={fallback} includeNonFatalGlobalErrors>\n {children}\n </SunglassesGlobalErrorBoundary>\n </SunglassesProvider>\n );\n}\n\n/** Access the telemetry client provided by the nearest `<TelemetryProvider>`. */\nexport { useSunglasses as useTelemetry };\n\n/** Requires `expo-router`. Call once, inside your root `_layout.tsx`. */\nexport function useTelemetryScreenTracking(client: ISunglassesClient): void {\n useExpoRouterScreenTracking(client);\n}\n"],"mappings":";AAMA,SAAS,sBAAsB;AAG/B,SAAS,2BAA2B;AACpC,SAAS,gCAAgC;AACzC,SAAS,sBAAsB;AAK/B,IAAM,oBAAoB;AAG1B,IAAM,wBAAwB;AAQ9B,eAAsB,gBAAgB,QAAqD;AACzF,QAAM,aAAa,IAAI,eAAe;AAAA,IACpC,SAAS,OAAO;AAAA,IAChB,WAAW,OAAO,aAAa;AAAA,EACjC,CAAC;AAED,SAAO,eAAe,OAAO;AAAA,IAC3B,SAAS,IAAI,oBAAoB;AAAA,IACjC,UAAU;AAAA,MACR,IAAI,yBAAyB;AAAA,QAC3B,QAAQ;AAAA,QACR,KAAK,OAAO;AAAA,QACZ,cAAc,OAAO,gBAAgB;AAAA,MACvC,CAAC;AAAA,IACH;AAAA,IACA,UAAU;AAAA,IACV,SAAS,OAAO;AAAA,IAChB,YAAY,OAAO;AAAA,IACnB,aAAa,OAAO;AAAA,IACpB,cAAc,OAAO,gBAAgB;AAAA,IACrC,uBAAuB;AAAA,IACvB,OAAO,OAAO,SAAS;AAAA,EACzB,CAAC;AACH;;;AC9CA;AAAA,EACE;AAAA,EACA,oBAAoB;AAAA,OAMf;AAmCA,SAAS,wBAE2D;AACzE,SAAO,iBAAoB;AAC7B;AAWO,SAAS,iBACd,QACA,OACA,SACM;AACN,qBAAmB,QAAQ,OAAO,OAAO;AAC3C;;;AC/DA,OAAO,WAAW;AAClB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAkBA,SAAS,kBAAkB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AACF,GAA+C;AAC7C,SACE,oCAAC,sBAAmB,QAAgB,mBAAmB,EAAE,gBAAgB,MAAM,SAAS,KAAK,KAC3F,oCAAC,iCAA8B,UAAoB,6BAA2B,QAC3E,QACH,CACF;AAEJ;AAMO,SAAS,2BAA2B,QAAiC;AAC1E,8BAA4B,MAAM;AACpC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drakkar.software/dk-spaces-analytics-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Generic telemetry client setup for dk-spaces apps — detailed error catching/upload and manually-triggered event capture, via SunGlasses wired to a Starfish transport.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|