@adstage/web-sdk 3.0.10 → 3.0.12
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/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.standalone.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/core/adstage.ts +83 -18
- package/src/managers/events/event-device-collector.ts +6 -3
- package/src/modules/events/events-module.ts +15 -4
- package/src/modules/tracking/tracking-params.ts +19 -18
package/dist/index.d.ts
CHANGED
|
@@ -501,6 +501,7 @@ declare class EventsModule implements BaseModule {
|
|
|
501
501
|
} | null>;
|
|
502
502
|
/**
|
|
503
503
|
* 저장된 Attribution ID 반환
|
|
504
|
+
* 우선순위: sessionStorage (현재 세션) > localStorage (영속 저장)
|
|
504
505
|
*/
|
|
505
506
|
getAttributionId(): string | null;
|
|
506
507
|
/**
|
|
@@ -696,12 +697,13 @@ declare class TrackingParamsModule {
|
|
|
696
697
|
*/
|
|
697
698
|
static captureFromUrl(): TrackingParams | null;
|
|
698
699
|
/**
|
|
699
|
-
* 추적 파라미터를 sessionStorage에 저장
|
|
700
|
-
* (SPA 페이지 전환 시에도 유지)
|
|
700
|
+
* 추적 파라미터를 sessionStorage + localStorage에 저장
|
|
701
|
+
* (SPA 페이지 전환 + 브라우저 재시작 시에도 유지)
|
|
701
702
|
*/
|
|
702
703
|
static store(params: TrackingParams): void;
|
|
703
704
|
/**
|
|
704
705
|
* 저장된 추적 파라미터 반환
|
|
706
|
+
* 우선순위: sessionStorage (현재 세션) > localStorage (영속 저장)
|
|
705
707
|
* EventsModule에서 track() 호출 시 사용됨
|
|
706
708
|
*/
|
|
707
709
|
static get(): TrackingParams | null;
|