@amplifyup/sdk 0.1.30 → 0.1.31

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 { f as AmplifyUpTarget, P as PageConfig, A as AmplifyContentMeta } from './types-6qEnwLda.mjs';
2
- export { r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-6qEnwLda.mjs';
1
+ import { f as AmplifyUpTarget, P as PageConfig, A as AmplifyContentMeta } from './types-npF_lNoq.mjs';
2
+ export { r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-npF_lNoq.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 { f as AmplifyUpTarget, P as PageConfig, A as AmplifyContentMeta } from './types-6qEnwLda.js';
2
- export { r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-6qEnwLda.js';
1
+ import { f as AmplifyUpTarget, P as PageConfig, A as AmplifyContentMeta } from './types-npF_lNoq.js';
2
+ export { r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-npF_lNoq.js';
3
3
 
4
4
  /**
5
5
  * Server-side utilities for AmplifyUp SDK
@@ -192,6 +192,8 @@ interface EventTrackingConfig {
192
192
  selector?: string;
193
193
  description?: string;
194
194
  properties?: string[];
195
+ /** Fixed key/value details always sent with the event. */
196
+ staticProperties?: Record<string, string>;
195
197
  enabled?: boolean;
196
198
  /** When set, attach only inside this component host. */
197
199
  componentId?: string | null;
@@ -192,6 +192,8 @@ interface EventTrackingConfig {
192
192
  selector?: string;
193
193
  description?: string;
194
194
  properties?: string[];
195
+ /** Fixed key/value details always sent with the event. */
196
+ staticProperties?: Record<string, string>;
195
197
  enabled?: boolean;
196
198
  /** When set, attach only inside this component host. */
197
199
  componentId?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplifyup/sdk",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "AmplifyUp Tracking SDK - CDP-agnostic event tracking library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",