@amplifyup/sdk 0.1.29 → 0.1.30
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/AmplifyRenderer.d.mts +1 -1
- package/dist/AmplifyRenderer.d.ts +1 -1
- package/dist/AmplifyRenderer.js +1 -1
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +1 -1
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +3 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -2
- package/dist/react.mjs.map +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +2 -1
- package/dist/server.mjs.map +1 -1
- package/dist/{types-BxpG9Gsy.d.mts → types-6qEnwLda.d.mts} +1 -1
- package/dist/{types-BxpG9Gsy.d.ts → types-6qEnwLda.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PageConfig, C as ContentSource, A as AmplifyContentMeta, a as CDPAdapter, b as AmplifyUpConfig,
|
|
2
|
-
export { Z as ZoneConfig, i as isAmplifyUpTarget, n as normalizeAmplifyUpTarget, r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-
|
|
1
|
+
import { P as PageConfig, C as ContentSource, A as AmplifyContentMeta, E as EventTrackingConfig$1, a as CDPAdapter, b as AmplifyUpConfig, c as EventProperties, I as IdentifyInput, d as IdentifyTraits, e as ProfileFieldsInput, f as AmplifyUpTarget } from './types-6qEnwLda.mjs';
|
|
2
|
+
export { Z as ZoneConfig, i as isAmplifyUpTarget, n as normalizeAmplifyUpTarget, r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-6qEnwLda.mjs';
|
|
3
3
|
export { i as isComposerPreview, a as isPreviewRequest } from './preview-BMrIgUvp.mjs';
|
|
4
4
|
|
|
5
5
|
interface FetchContentResult {
|
|
@@ -46,6 +46,8 @@ interface EdgeResolvedPayload {
|
|
|
46
46
|
version: number;
|
|
47
47
|
zones: Record<string, EdgeResolvedComponent[]>;
|
|
48
48
|
tree?: EdgeResolvedComponent[];
|
|
49
|
+
/** Composer event bindings baked into the published snapshot. */
|
|
50
|
+
eventTracking?: EventTrackingConfig$1[];
|
|
49
51
|
meta: {
|
|
50
52
|
variantKeys: Record<string, string>;
|
|
51
53
|
audienceLookup?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PageConfig, C as ContentSource, A as AmplifyContentMeta, a as CDPAdapter, b as AmplifyUpConfig,
|
|
2
|
-
export { Z as ZoneConfig, i as isAmplifyUpTarget, n as normalizeAmplifyUpTarget, r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-
|
|
1
|
+
import { P as PageConfig, C as ContentSource, A as AmplifyContentMeta, E as EventTrackingConfig$1, a as CDPAdapter, b as AmplifyUpConfig, c as EventProperties, I as IdentifyInput, d as IdentifyTraits, e as ProfileFieldsInput, f as AmplifyUpTarget } from './types-6qEnwLda.js';
|
|
2
|
+
export { Z as ZoneConfig, i as isAmplifyUpTarget, n as normalizeAmplifyUpTarget, r as resolveAmplifyUpTarget, g as resolveAmplifyUpUrls } from './types-6qEnwLda.js';
|
|
3
3
|
export { i as isComposerPreview, a as isPreviewRequest } from './preview-BMrIgUvp.js';
|
|
4
4
|
|
|
5
5
|
interface FetchContentResult {
|
|
@@ -46,6 +46,8 @@ interface EdgeResolvedPayload {
|
|
|
46
46
|
version: number;
|
|
47
47
|
zones: Record<string, EdgeResolvedComponent[]>;
|
|
48
48
|
tree?: EdgeResolvedComponent[];
|
|
49
|
+
/** Composer event bindings baked into the published snapshot. */
|
|
50
|
+
eventTracking?: EventTrackingConfig$1[];
|
|
49
51
|
meta: {
|
|
50
52
|
variantKeys: Record<string, string>;
|
|
51
53
|
audienceLookup?: {
|
package/dist/index.js
CHANGED
|
@@ -433,7 +433,8 @@ function mapResolvedToPageConfig(payload) {
|
|
|
433
433
|
meta: {
|
|
434
434
|
// Stash edge meta for diagnostics (not visitor-facing)
|
|
435
435
|
description: payload.meta?.degraded ? "degraded" : void 0
|
|
436
|
-
}
|
|
436
|
+
},
|
|
437
|
+
...payload.eventTracking && payload.eventTracking.length > 0 ? { eventTracking: payload.eventTracking } : {}
|
|
437
438
|
};
|
|
438
439
|
}
|
|
439
440
|
function collectDegraded(payload) {
|