@amplifyup/sdk 0.1.17 → 0.1.19

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/dist/server.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as AmplifyUpTarget, P as PageConfig } from './types-B2Swk8BW.mjs';
2
- export { r as resolveAmplifyUpTarget, c as resolveAmplifyUpUrls } from './types-B2Swk8BW.mjs';
1
+ import { a as AmplifyUpTarget, P as PageConfig } from './types-Cy5aWQ5c.mjs';
2
+ export { r as resolveAmplifyUpTarget, c as resolveAmplifyUpUrls } from './types-Cy5aWQ5c.mjs';
3
3
 
4
4
  /**
5
5
  * Server-side utilities for AmplifyUp SDK
package/dist/server.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as AmplifyUpTarget, P as PageConfig } from './types-B2Swk8BW.js';
2
- export { r as resolveAmplifyUpTarget, c as resolveAmplifyUpUrls } from './types-B2Swk8BW.js';
1
+ import { a as AmplifyUpTarget, P as PageConfig } from './types-Cy5aWQ5c.js';
2
+ export { r as resolveAmplifyUpTarget, c as resolveAmplifyUpUrls } from './types-Cy5aWQ5c.js';
3
3
 
4
4
  /**
5
5
  * Server-side utilities for AmplifyUp SDK
@@ -75,6 +75,7 @@ interface TrackProperties extends EventProperties {
75
75
  instanceId?: string;
76
76
  trackingId?: string;
77
77
  url?: string;
78
+ path?: string;
78
79
  timestamp?: string;
79
80
  }
80
81
  interface IdentifyTraits {
@@ -157,6 +158,9 @@ interface EventTrackingConfig {
157
158
  description?: string;
158
159
  properties?: string[];
159
160
  enabled?: boolean;
161
+ /** When set, attach only inside this component host. */
162
+ componentId?: string | null;
163
+ componentName?: string | null;
160
164
  }
161
165
 
162
166
  export { type AmplifyUpConfig as A, type CDPAdapter as C, type EventProperties as E, type IdentifyTraits as I, type PageConfig as P, type ZoneConfig as Z, type AmplifyUpTarget as a, type EventTrackingConfig as b, resolveAmplifyUpUrls as c, isAmplifyUpTarget as i, normalizeAmplifyUpTarget as n, resolveAmplifyUpTarget as r };
@@ -75,6 +75,7 @@ interface TrackProperties extends EventProperties {
75
75
  instanceId?: string;
76
76
  trackingId?: string;
77
77
  url?: string;
78
+ path?: string;
78
79
  timestamp?: string;
79
80
  }
80
81
  interface IdentifyTraits {
@@ -157,6 +158,9 @@ interface EventTrackingConfig {
157
158
  description?: string;
158
159
  properties?: string[];
159
160
  enabled?: boolean;
161
+ /** When set, attach only inside this component host. */
162
+ componentId?: string | null;
163
+ componentName?: string | null;
160
164
  }
161
165
 
162
166
  export { type AmplifyUpConfig as A, type CDPAdapter as C, type EventProperties as E, type IdentifyTraits as I, type PageConfig as P, type ZoneConfig as Z, type AmplifyUpTarget as a, type EventTrackingConfig as b, resolveAmplifyUpUrls as c, isAmplifyUpTarget as i, normalizeAmplifyUpTarget as n, resolveAmplifyUpTarget as r };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplifyup/sdk",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "AmplifyUp Tracking SDK - CDP-agnostic event tracking library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",