@picked/analytics 0.0.117-next.1 → 0.0.117-next.3
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/.tsbuildinfo +1 -1
- package/dist/cjs/events/app_close.d.ts +4 -0
- package/dist/cjs/events/app_close.d.ts.map +1 -0
- package/dist/cjs/events/app_initialize.d.ts +4 -0
- package/dist/cjs/events/app_initialize.d.ts.map +1 -0
- package/dist/cjs/events/app_load.d.ts +4 -0
- package/dist/cjs/events/app_load.d.ts.map +1 -0
- package/dist/cjs/events/app_open.d.ts +4 -0
- package/dist/cjs/events/app_open.d.ts.map +1 -0
- package/dist/cjs/events/cart_add.d.ts +13 -0
- package/dist/cjs/events/cart_add.d.ts.map +1 -0
- package/dist/cjs/events/cart_remove.d.ts +13 -0
- package/dist/cjs/events/cart_remove.d.ts.map +1 -0
- package/dist/cjs/events/checkout_complete.d.ts +13 -0
- package/dist/cjs/events/checkout_complete.d.ts.map +1 -0
- package/dist/cjs/events/checkout_start.d.ts +13 -0
- package/dist/cjs/events/checkout_start.d.ts.map +1 -0
- package/dist/cjs/events/custom.d.ts +31 -0
- package/dist/cjs/events/custom.d.ts.map +1 -0
- package/dist/cjs/events/experience_load.d.ts +4 -0
- package/dist/cjs/events/experience_load.d.ts.map +1 -0
- package/dist/cjs/events/feature_decide.d.ts +4 -0
- package/dist/cjs/events/feature_decide.d.ts.map +1 -0
- package/dist/cjs/events/field_validation_error.d.ts +4 -0
- package/dist/cjs/events/field_validation_error.d.ts.map +1 -0
- package/dist/cjs/events/form_submit.d.ts +4 -0
- package/dist/cjs/events/form_submit.d.ts.map +1 -0
- package/dist/cjs/events/form_submit_error.d.ts +4 -0
- package/dist/cjs/events/form_submit_error.d.ts.map +1 -0
- package/dist/cjs/events/form_submit_success.d.ts +4 -0
- package/dist/cjs/events/form_submit_success.d.ts.map +1 -0
- package/dist/cjs/events/identify.d.ts +13 -0
- package/dist/cjs/events/identify.d.ts.map +1 -0
- package/dist/cjs/events/index.d.ts +38 -0
- package/dist/cjs/events/index.d.ts.map +1 -0
- package/dist/cjs/events/interaction/back.d.ts +7 -0
- package/dist/cjs/events/interaction/back.d.ts.map +1 -0
- package/dist/cjs/events/interaction/backspace.d.ts +7 -0
- package/dist/cjs/events/interaction/backspace.d.ts.map +1 -0
- package/dist/cjs/events/interaction/click.d.ts +7 -0
- package/dist/cjs/events/interaction/click.d.ts.map +1 -0
- package/dist/cjs/events/interaction/copy.d.ts +7 -0
- package/dist/cjs/events/interaction/copy.d.ts.map +1 -0
- package/dist/cjs/events/interaction/drag.d.ts +7 -0
- package/dist/cjs/events/interaction/drag.d.ts.map +1 -0
- package/dist/cjs/events/interaction/forward.d.ts +7 -0
- package/dist/cjs/events/interaction/forward.d.ts.map +1 -0
- package/dist/cjs/events/interaction/mouse_shake.d.ts +7 -0
- package/dist/cjs/events/interaction/mouse_shake.d.ts.map +1 -0
- package/dist/cjs/events/interaction/offline.d.ts +7 -0
- package/dist/cjs/events/interaction/offline.d.ts.map +1 -0
- package/dist/cjs/events/interaction/online.d.ts +7 -0
- package/dist/cjs/events/interaction/online.d.ts.map +1 -0
- package/dist/cjs/events/interaction/page_hidden.d.ts +7 -0
- package/dist/cjs/events/interaction/page_hidden.d.ts.map +1 -0
- package/dist/cjs/events/interaction/page_hide.d.ts +7 -0
- package/dist/cjs/events/interaction/page_hide.d.ts.map +1 -0
- package/dist/cjs/events/interaction/page_show.d.ts +7 -0
- package/dist/cjs/events/interaction/page_show.d.ts.map +1 -0
- package/dist/cjs/events/interaction/page_visible.d.ts +7 -0
- package/dist/cjs/events/interaction/page_visible.d.ts.map +1 -0
- package/dist/cjs/events/interaction/paste.d.ts +7 -0
- package/dist/cjs/events/interaction/paste.d.ts.map +1 -0
- package/dist/cjs/events/interaction/rapid_click.d.ts +7 -0
- package/dist/cjs/events/interaction/rapid_click.d.ts.map +1 -0
- package/dist/cjs/events/interaction/rapid_scroll.d.ts +7 -0
- package/dist/cjs/events/interaction/rapid_scroll.d.ts.map +1 -0
- package/dist/cjs/events/interaction/resize.d.ts +7 -0
- package/dist/cjs/events/interaction/resize.d.ts.map +1 -0
- package/dist/cjs/events/interaction/right_click.d.ts +7 -0
- package/dist/cjs/events/interaction/right_click.d.ts.map +1 -0
- package/dist/cjs/events/interaction/scroll.d.ts +7 -0
- package/dist/cjs/events/interaction/scroll.d.ts.map +1 -0
- package/dist/cjs/events/interaction/unload.d.ts +7 -0
- package/dist/cjs/events/interaction/unload.d.ts.map +1 -0
- package/dist/cjs/events/lead_capture.d.ts +4 -0
- package/dist/cjs/events/lead_capture.d.ts.map +1 -0
- package/dist/cjs/events/lead_created.d.ts +13 -0
- package/dist/cjs/events/lead_created.d.ts.map +1 -0
- package/dist/cjs/events/lead_updated.d.ts +13 -0
- package/dist/cjs/events/lead_updated.d.ts.map +1 -0
- package/dist/cjs/events/modal_close.d.ts +4 -0
- package/dist/cjs/events/modal_close.d.ts.map +1 -0
- package/dist/cjs/events/modal_open.d.ts +4 -0
- package/dist/cjs/events/modal_open.d.ts.map +1 -0
- package/dist/cjs/events/order_create.d.ts +13 -0
- package/dist/cjs/events/order_create.d.ts.map +1 -0
- package/dist/cjs/events/page_view.d.ts +13 -0
- package/dist/cjs/events/page_view.d.ts.map +1 -0
- package/dist/cjs/events/product_list_view.d.ts +13 -0
- package/dist/cjs/events/product_list_view.d.ts.map +1 -0
- package/dist/cjs/events/product_select.d.ts +4 -0
- package/dist/cjs/events/product_select.d.ts.map +1 -0
- package/dist/cjs/events/product_view_details.d.ts +13 -0
- package/dist/cjs/events/product_view_details.d.ts.map +1 -0
- package/dist/cjs/events/recommendation_present.d.ts +4 -0
- package/dist/cjs/events/recommendation_present.d.ts.map +1 -0
- package/dist/cjs/events/search_results_list_view.d.ts +4 -0
- package/dist/cjs/events/search_results_list_view.d.ts.map +1 -0
- package/dist/cjs/events/step_complete.d.ts +4 -0
- package/dist/cjs/events/step_complete.d.ts.map +1 -0
- package/dist/cjs/events/step_enter.d.ts +4 -0
- package/dist/cjs/events/step_enter.d.ts.map +1 -0
- package/dist/cjs/events/step_submit.d.ts +4 -0
- package/dist/cjs/events/step_submit.d.ts.map +1 -0
- package/dist/cjs/events/step_submit_error.d.ts +4 -0
- package/dist/cjs/events/step_submit_error.d.ts.map +1 -0
- package/dist/cjs/events/step_submit_success.d.ts +4 -0
- package/dist/cjs/events/step_submit_success.d.ts.map +1 -0
- package/dist/cjs/events/waitlist_join.d.ts +4 -0
- package/dist/cjs/events/waitlist_join.d.ts.map +1 -0
- package/dist/cjs/events/wishlist_add.d.ts +4 -0
- package/dist/cjs/events/wishlist_add.d.ts.map +1 -0
- package/dist/cjs/helpers/element.d.ts +31 -0
- package/dist/cjs/helpers/element.d.ts.map +1 -0
- package/dist/cjs/helpers/text.d.ts +2 -0
- package/dist/cjs/helpers/text.d.ts.map +1 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/interaction-events.d.ts +22 -0
- package/dist/cjs/interaction-events.d.ts.map +1 -0
- package/dist/cjs/interactions/document.d.ts +46 -0
- package/dist/cjs/interactions/document.d.ts.map +1 -0
- package/dist/cjs/listeners/backspace.d.ts +3 -0
- package/dist/cjs/listeners/backspace.d.ts.map +1 -0
- package/dist/cjs/listeners/click.d.ts +3 -0
- package/dist/cjs/listeners/click.d.ts.map +1 -0
- package/dist/cjs/listeners/copy.d.ts +3 -0
- package/dist/cjs/listeners/copy.d.ts.map +1 -0
- package/dist/cjs/listeners/drag.d.ts +3 -0
- package/dist/cjs/listeners/drag.d.ts.map +1 -0
- package/dist/cjs/listeners/mouse_shake.d.ts +3 -0
- package/dist/cjs/listeners/mouse_shake.d.ts.map +1 -0
- package/dist/cjs/listeners/offline.d.ts +3 -0
- package/dist/cjs/listeners/offline.d.ts.map +1 -0
- package/dist/cjs/listeners/online.d.ts +3 -0
- package/dist/cjs/listeners/online.d.ts.map +1 -0
- package/dist/cjs/listeners/pagehide.d.ts +3 -0
- package/dist/cjs/listeners/pagehide.d.ts.map +1 -0
- package/dist/cjs/listeners/pageshow.d.ts +3 -0
- package/dist/cjs/listeners/pageshow.d.ts.map +1 -0
- package/dist/cjs/listeners/paste.d.ts +3 -0
- package/dist/cjs/listeners/paste.d.ts.map +1 -0
- package/dist/cjs/listeners/rapid_click.d.ts +3 -0
- package/dist/cjs/listeners/rapid_click.d.ts.map +1 -0
- package/dist/cjs/listeners/rapid_scroll.d.ts +3 -0
- package/dist/cjs/listeners/rapid_scroll.d.ts.map +1 -0
- package/dist/cjs/listeners/resize.d.ts +3 -0
- package/dist/cjs/listeners/resize.d.ts.map +1 -0
- package/dist/cjs/listeners/right_click.d.ts +3 -0
- package/dist/cjs/listeners/right_click.d.ts.map +1 -0
- package/dist/cjs/listeners/scroll.d.ts +3 -0
- package/dist/cjs/listeners/scroll.d.ts.map +1 -0
- package/dist/cjs/listeners/unload.d.ts +3 -0
- package/dist/cjs/listeners/unload.d.ts.map +1 -0
- package/dist/cjs/listeners/visibility.d.ts +3 -0
- package/dist/cjs/listeners/visibility.d.ts.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/plugins/analytics/index.d.ts +8 -0
- package/dist/cjs/plugins/analytics/index.d.ts.map +1 -0
- package/dist/cjs/plugins/analytics/plugin.d.ts +34 -0
- package/dist/cjs/plugins/analytics/plugin.d.ts.map +1 -0
- package/dist/cjs/schemas/answer_list/1-0-0.d.ts +64 -0
- package/dist/cjs/schemas/answer_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/answer_list/index.d.ts +68 -0
- package/dist/cjs/schemas/answer_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/app/1-0-0.d.ts +33 -0
- package/dist/cjs/schemas/app/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/app/1-1-0.d.ts +31 -0
- package/dist/cjs/schemas/app/1-1-0.d.ts.map +1 -0
- package/dist/cjs/schemas/app/index.d.ts +67 -0
- package/dist/cjs/schemas/app/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cvly_funnel/1-0-0.d.ts +30 -0
- package/dist/cjs/schemas/cvly_funnel/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/cvly_funnel/index.d.ts +35 -0
- package/dist/cjs/schemas/cvly_funnel/index.d.ts.map +1 -0
- package/dist/cjs/schemas/cvly_x/1-0-0.d.ts +43 -0
- package/dist/cjs/schemas/cvly_x/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/cvly_x/1-0-1.d.ts +45 -0
- package/dist/cjs/schemas/cvly_x/1-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/cvly_x/index.d.ts +91 -0
- package/dist/cjs/schemas/cvly_x/index.d.ts.map +1 -0
- package/dist/cjs/schemas/deployment/1-0-0.d.ts +43 -0
- package/dist/cjs/schemas/deployment/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/deployment/1-0-1.d.ts +45 -0
- package/dist/cjs/schemas/deployment/1-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/deployment/index.d.ts +91 -0
- package/dist/cjs/schemas/deployment/index.d.ts.map +1 -0
- package/dist/cjs/schemas/element/1-0-0.d.ts +45 -0
- package/dist/cjs/schemas/element/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/element/index.d.ts +50 -0
- package/dist/cjs/schemas/element/index.d.ts.map +1 -0
- package/dist/cjs/schemas/event/1-0-0.d.ts +30 -0
- package/dist/cjs/schemas/event/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/event/index.d.ts +35 -0
- package/dist/cjs/schemas/event/index.d.ts.map +1 -0
- package/dist/cjs/schemas/exception/1-0-0.d.ts +30 -0
- package/dist/cjs/schemas/exception/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/exception/index.d.ts +35 -0
- package/dist/cjs/schemas/exception/index.d.ts.map +1 -0
- package/dist/cjs/schemas/experience/1-0-0.d.ts +38 -0
- package/dist/cjs/schemas/experience/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/experience/1-0-1.d.ts +38 -0
- package/dist/cjs/schemas/experience/1-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/experience/1-0-2.d.ts +46 -0
- package/dist/cjs/schemas/experience/1-0-2.d.ts.map +1 -0
- package/dist/cjs/schemas/experience/index.d.ts +123 -0
- package/dist/cjs/schemas/experience/index.d.ts.map +1 -0
- package/dist/cjs/schemas/feature_list/1-0-0.d.ts +60 -0
- package/dist/cjs/schemas/feature_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/feature_list/2-0-0.d.ts +61 -0
- package/dist/cjs/schemas/feature_list/2-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/feature_list/index.d.ts +124 -0
- package/dist/cjs/schemas/feature_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/field_list/1-0-0.d.ts +89 -0
- package/dist/cjs/schemas/field_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/field_list/index.d.ts +94 -0
- package/dist/cjs/schemas/field_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/form/1-0-0.d.ts +35 -0
- package/dist/cjs/schemas/form/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/form/index.d.ts +40 -0
- package/dist/cjs/schemas/form/index.d.ts.map +1 -0
- package/dist/cjs/schemas/index.d.ts +46 -0
- package/dist/cjs/schemas/index.d.ts.map +1 -0
- package/dist/cjs/schemas/modal/1-0-0.d.ts +35 -0
- package/dist/cjs/schemas/modal/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/modal/index.d.ts +40 -0
- package/dist/cjs/schemas/modal/index.d.ts.map +1 -0
- package/dist/cjs/schemas/order/1-0-0.d.ts +45 -0
- package/dist/cjs/schemas/order/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/order/index.d.ts +50 -0
- package/dist/cjs/schemas/order/index.d.ts.map +1 -0
- package/dist/cjs/schemas/picked/1-0-0.d.ts +30 -0
- package/dist/cjs/schemas/picked/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/picked/index.d.ts +35 -0
- package/dist/cjs/schemas/picked/index.d.ts.map +1 -0
- package/dist/cjs/schemas/product_list/1-0-0.d.ts +81 -0
- package/dist/cjs/schemas/product_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/product_list/2-0-0.d.ts +162 -0
- package/dist/cjs/schemas/product_list/2-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/product_list/2-0-1.d.ts +168 -0
- package/dist/cjs/schemas/product_list/2-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/product_list/index.d.ts +412 -0
- package/dist/cjs/schemas/product_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/question_list/1-0-0.d.ts +89 -0
- package/dist/cjs/schemas/question_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/question_list/index.d.ts +93 -0
- package/dist/cjs/schemas/question_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/recommendation_list/1-0-0.d.ts +57 -0
- package/dist/cjs/schemas/recommendation_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/recommendation_list/index.d.ts +61 -0
- package/dist/cjs/schemas/recommendation_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/response_list/1-0-0.d.ts +64 -0
- package/dist/cjs/schemas/response_list/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/response_list/index.d.ts +69 -0
- package/dist/cjs/schemas/response_list/index.d.ts.map +1 -0
- package/dist/cjs/schemas/session/1-0-0.d.ts +28 -0
- package/dist/cjs/schemas/session/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/session/1-0-1.d.ts +32 -0
- package/dist/cjs/schemas/session/1-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/session/1-0-2.d.ts +37 -0
- package/dist/cjs/schemas/session/1-0-2.d.ts.map +1 -0
- package/dist/cjs/schemas/session/1-0-3.d.ts +51 -0
- package/dist/cjs/schemas/session/1-0-3.d.ts.map +1 -0
- package/dist/cjs/schemas/session/1-0-4.d.ts +58 -0
- package/dist/cjs/schemas/session/1-0-4.d.ts.map +1 -0
- package/dist/cjs/schemas/session/2-0-0.d.ts +59 -0
- package/dist/cjs/schemas/session/2-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/session/index.d.ts +258 -0
- package/dist/cjs/schemas/session/index.d.ts.map +1 -0
- package/dist/cjs/schemas/step/1-0-0.d.ts +33 -0
- package/dist/cjs/schemas/step/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/step/1-0-1.d.ts +41 -0
- package/dist/cjs/schemas/step/1-0-1.d.ts.map +1 -0
- package/dist/cjs/schemas/step/index.d.ts +77 -0
- package/dist/cjs/schemas/step/index.d.ts.map +1 -0
- package/dist/cjs/schemas/workspace/1-0-0.d.ts +35 -0
- package/dist/cjs/schemas/workspace/1-0-0.d.ts.map +1 -0
- package/dist/cjs/schemas/workspace/index.d.ts +40 -0
- package/dist/cjs/schemas/workspace/index.d.ts.map +1 -0
- package/dist/cjs/snowplow-plugins/event-meta.d.ts +25 -0
- package/dist/cjs/snowplow-plugins/event-meta.d.ts.map +1 -0
- package/dist/cjs/snowplow-plugins/url-scrub.d.ts +84 -0
- package/dist/cjs/snowplow-plugins/url-scrub.d.ts.map +1 -0
- package/dist/cjs/tracker.d.ts +17 -0
- package/dist/cjs/tracker.d.ts.map +1 -0
- package/dist/cjs/types.d.ts +327 -0
- package/dist/cjs/types.d.ts.map +1 -0
- package/dist/cjs/user-interaction.d.ts +35 -0
- package/dist/cjs/user-interaction.d.ts.map +1 -0
- package/dist/cjs/utils.d.ts +268 -0
- package/dist/cjs/utils.d.ts.map +1 -0
- package/dist/types/events/app_close.d.ts +2 -2
- package/dist/types/events/app_initialize.d.ts +2 -2
- package/dist/types/events/app_load.d.ts +2 -2
- package/dist/types/events/app_open.d.ts +2 -2
- package/dist/types/events/cart_add.d.ts +3 -3
- package/dist/types/events/cart_remove.d.ts +3 -3
- package/dist/types/events/checkout_complete.d.ts +3 -3
- package/dist/types/events/checkout_start.d.ts +3 -3
- package/dist/types/events/custom.d.ts +2 -2
- package/dist/types/events/experience_load.d.ts +2 -2
- package/dist/types/events/feature_decide.d.ts +2 -2
- package/dist/types/events/field_validation_error.d.ts +2 -2
- package/dist/types/events/form_submit.d.ts +2 -2
- package/dist/types/events/form_submit_error.d.ts +2 -2
- package/dist/types/events/form_submit_success.d.ts +2 -2
- package/dist/types/events/identify.d.ts +3 -3
- package/dist/types/events/index.d.ts +36 -36
- package/dist/types/events/interaction/back.d.ts +2 -2
- package/dist/types/events/interaction/backspace.d.ts +2 -2
- package/dist/types/events/interaction/click.d.ts +2 -2
- package/dist/types/events/interaction/copy.d.ts +2 -2
- package/dist/types/events/interaction/drag.d.ts +2 -2
- package/dist/types/events/interaction/forward.d.ts +2 -2
- package/dist/types/events/interaction/mouse_shake.d.ts +2 -2
- package/dist/types/events/interaction/offline.d.ts +2 -2
- package/dist/types/events/interaction/online.d.ts +2 -2
- package/dist/types/events/interaction/page_hidden.d.ts +2 -2
- package/dist/types/events/interaction/page_hide.d.ts +2 -2
- package/dist/types/events/interaction/page_show.d.ts +2 -2
- package/dist/types/events/interaction/page_visible.d.ts +2 -2
- package/dist/types/events/interaction/paste.d.ts +2 -2
- package/dist/types/events/interaction/rapid_click.d.ts +2 -2
- package/dist/types/events/interaction/rapid_scroll.d.ts +2 -2
- package/dist/types/events/interaction/resize.d.ts +2 -2
- package/dist/types/events/interaction/right_click.d.ts +2 -2
- package/dist/types/events/interaction/scroll.d.ts +2 -2
- package/dist/types/events/interaction/unload.d.ts +2 -2
- package/dist/types/events/lead_capture.d.ts +2 -2
- package/dist/types/events/lead_created.d.ts +2 -2
- package/dist/types/events/lead_updated.d.ts +2 -2
- package/dist/types/events/modal_close.d.ts +2 -2
- package/dist/types/events/modal_open.d.ts +2 -2
- package/dist/types/events/order_create.d.ts +3 -3
- package/dist/types/events/page_view.d.ts +3 -3
- package/dist/types/events/product_list_view.d.ts +3 -3
- package/dist/types/events/product_select.d.ts +2 -2
- package/dist/types/events/product_view_details.d.ts +3 -3
- package/dist/types/events/recommendation_present.d.ts +2 -2
- package/dist/types/events/search_results_list_view.d.ts +2 -2
- package/dist/types/events/step_complete.d.ts +2 -2
- package/dist/types/events/step_enter.d.ts +2 -2
- package/dist/types/events/step_submit.d.ts +2 -2
- package/dist/types/events/step_submit_error.d.ts +2 -2
- package/dist/types/events/step_submit_success.d.ts +2 -2
- package/dist/types/events/waitlist_join.d.ts +2 -2
- package/dist/types/events/wishlist_add.d.ts +2 -2
- package/dist/types/index.d.ts +4 -4
- package/dist/types/interaction-events.d.ts +1 -1
- package/dist/types/interactions/document.d.ts +1 -1
- package/dist/types/listeners/backspace.d.ts +1 -1
- package/dist/types/listeners/click.d.ts +1 -1
- package/dist/types/listeners/copy.d.ts +1 -1
- package/dist/types/listeners/drag.d.ts +1 -1
- package/dist/types/listeners/mouse_shake.d.ts +1 -1
- package/dist/types/listeners/offline.d.ts +1 -1
- package/dist/types/listeners/online.d.ts +1 -1
- package/dist/types/listeners/pagehide.d.ts +1 -1
- package/dist/types/listeners/pageshow.d.ts +1 -1
- package/dist/types/listeners/paste.d.ts +1 -1
- package/dist/types/listeners/rapid_click.d.ts +1 -1
- package/dist/types/listeners/rapid_scroll.d.ts +1 -1
- package/dist/types/listeners/resize.d.ts +1 -1
- package/dist/types/listeners/right_click.d.ts +1 -1
- package/dist/types/listeners/scroll.d.ts +1 -1
- package/dist/types/listeners/unload.d.ts +1 -1
- package/dist/types/listeners/visibility.d.ts +1 -1
- package/dist/types/plugins/analytics/index.d.ts +3 -3
- package/dist/types/plugins/analytics/plugin.d.ts +2 -2
- package/dist/types/schemas/answer_list/index.d.ts +2 -2
- package/dist/types/schemas/app/index.d.ts +2 -2
- package/dist/types/schemas/cvly_funnel/index.d.ts +2 -2
- package/dist/types/schemas/cvly_x/index.d.ts +2 -2
- package/dist/types/schemas/deployment/index.d.ts +2 -2
- package/dist/types/schemas/element/index.d.ts +2 -2
- package/dist/types/schemas/event/index.d.ts +2 -2
- package/dist/types/schemas/exception/index.d.ts +2 -2
- package/dist/types/schemas/experience/index.d.ts +2 -2
- package/dist/types/schemas/feature_list/index.d.ts +2 -2
- package/dist/types/schemas/field_list/index.d.ts +2 -2
- package/dist/types/schemas/form/index.d.ts +2 -2
- package/dist/types/schemas/index.d.ts +44 -44
- package/dist/types/schemas/modal/index.d.ts +2 -2
- package/dist/types/schemas/order/index.d.ts +2 -2
- package/dist/types/schemas/picked/index.d.ts +2 -2
- package/dist/types/schemas/product_list/index.d.ts +2 -2
- package/dist/types/schemas/question_list/index.d.ts +2 -2
- package/dist/types/schemas/recommendation_list/index.d.ts +2 -2
- package/dist/types/schemas/response_list/index.d.ts +2 -2
- package/dist/types/schemas/session/index.d.ts +2 -2
- package/dist/types/schemas/step/index.d.ts +2 -2
- package/dist/types/schemas/workspace/index.d.ts +2 -2
- package/dist/types/snowplow-plugins/event-meta.d.ts +1 -1
- package/dist/types/tracker.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/user-interaction.d.ts +2 -2
- package/dist/types/utils.d.ts +2 -2
- package/package.json +28 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsContext } from '../types';
|
|
2
|
-
import type { EventSchema } from '../schemas';
|
|
1
|
+
import type { AnalyticsContext } from '../types.js';
|
|
2
|
+
import type { EventSchema } from '../schemas/index.js';
|
|
3
3
|
export declare const trackStepSubmitEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
|
|
4
4
|
//# sourceMappingURL=step_submit.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsContext } from '../types';
|
|
2
|
-
import type { EventSchema } from '../schemas';
|
|
1
|
+
import type { AnalyticsContext } from '../types.js';
|
|
2
|
+
import type { EventSchema } from '../schemas/index.js';
|
|
3
3
|
export declare const trackStepSubmitErrorEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
|
|
4
4
|
//# sourceMappingURL=step_submit_error.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsContext } from '../types';
|
|
2
|
-
import type { EventSchema } from '../schemas';
|
|
1
|
+
import type { AnalyticsContext } from '../types.js';
|
|
2
|
+
import type { EventSchema } from '../schemas/index.js';
|
|
3
3
|
export declare const trackStepSubmitSuccessEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
|
|
4
4
|
//# sourceMappingURL=step_submit_success.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsContext } from '../types';
|
|
2
|
-
import type { EventSchema } from '../schemas';
|
|
1
|
+
import type { AnalyticsContext } from '../types.js';
|
|
2
|
+
import type { EventSchema } from '../schemas/index.js';
|
|
3
3
|
export declare const trackWaitlistJoinEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
|
|
4
4
|
//# sourceMappingURL=waitlist_join.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsContext } from '../types';
|
|
2
|
-
import type { EventSchema } from '../schemas';
|
|
1
|
+
import type { AnalyticsContext } from '../types.js';
|
|
2
|
+
import type { EventSchema } from '../schemas/index.js';
|
|
3
3
|
export declare const trackWishlistAddEvent: (eventPayload: AnalyticsContext, eventMeta?: EventSchema['meta']) => void;
|
|
4
4
|
//# sourceMappingURL=wishlist_add.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Public entry point for the Analytics SDK. */
|
|
2
|
-
export { createTracker } from './tracker';
|
|
3
|
-
export * from './events';
|
|
4
|
-
export type * from './types';
|
|
5
|
-
export { bindUserInteractionListeners, bindGlobalEventListeners } from './user-interaction';
|
|
2
|
+
export { createTracker } from './tracker.js';
|
|
3
|
+
export * from './events/index.js';
|
|
4
|
+
export type * from './types.js';
|
|
5
|
+
export { bindUserInteractionListeners, bindGlobalEventListeners } from './user-interaction.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @file Registry of opt-in DOM interaction events. The plugin binds a listener
|
|
3
3
|
* for each name a consumer enables via `enableInteractionListeners`.
|
|
4
4
|
*/
|
|
5
|
-
import type { AnalyticsContext } from './types';
|
|
5
|
+
import type { AnalyticsContext } from './types.js';
|
|
6
6
|
export declare const INTERACTION_EVENT_NAMES: readonly ["click", "rapid_click", "right_click", "copy", "paste", "drag", "backspace", "scroll", "rapid_scroll", "mouse_shake"];
|
|
7
7
|
export type InteractionEventName = (typeof INTERACTION_EVENT_NAMES)[number];
|
|
8
8
|
type InteractionBinder = (target: EventTarget, createAnalyticsContext: () => AnalyticsContext) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalyticsPluginCapability } from '../types';
|
|
1
|
+
import type { AnalyticsPluginCapability } from '../types.js';
|
|
2
2
|
/** The tagged interactions the capability can capture, named after their `data-picked-*` tag. */
|
|
3
3
|
export declare const DOCUMENT_INTERACTION_EVENT_NAMES: readonly ["click", "toggle", "video_play", "video_pause"];
|
|
4
4
|
/** One of {@link DOCUMENT_INTERACTION_EVENT_NAMES}. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @file Public entry point for the analytics plugin. Re-exports the plugin
|
|
3
3
|
* factory and the interaction event registry consumers reference when opting in.
|
|
4
4
|
*/
|
|
5
|
-
export { analyticsPlugin } from './plugin';
|
|
6
|
-
export { INTERACTION_EVENT_NAMES, isInteractionEventName } from '../../interaction-events';
|
|
7
|
-
export type { InteractionEventName } from '../../interaction-events';
|
|
5
|
+
export { analyticsPlugin } from './plugin.js';
|
|
6
|
+
export { INTERACTION_EVENT_NAMES, isInteractionEventName } from '../../interaction-events.js';
|
|
7
|
+
export type { InteractionEventName } from '../../interaction-events.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @file Analytics plugin — tracks Picked events (experiences, features, steps, forms) using Snowplow. */
|
|
2
2
|
import type { Picked } from '@picked/client';
|
|
3
|
-
import type { AnalyticsPluginCapability, CreateTrackerOptions } from '../../types';
|
|
4
|
-
import { type InteractionEventName } from '../../interaction-events';
|
|
3
|
+
import type { AnalyticsPluginCapability, CreateTrackerOptions } from '../../types.js';
|
|
4
|
+
import { type InteractionEventName } from '../../interaction-events.js';
|
|
5
5
|
interface AnalyticsPluginOptions {
|
|
6
6
|
trackerOptions: CreateTrackerOptions;
|
|
7
7
|
enableDocumentListeners?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file The `answer_list` context schemas, by version. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
6
6
|
readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Registry of versioned schemas for the Snowplow app context. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_1_0, Version as Version1_1_0 } from './1-1-0';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_1_0, Version as Version1_1_0 } from './1-1-0.js';
|
|
4
4
|
export declare const name = "app";
|
|
5
5
|
export declare const schemas: {
|
|
6
6
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "cvly_funnel";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "cvly_x";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SchemaUrl } from '../../types';
|
|
2
|
-
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1';
|
|
1
|
+
import type { SchemaUrl } from '../../types.js';
|
|
2
|
+
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1.js';
|
|
3
3
|
export declare const name = "deployment";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "element";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "event";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "exception";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Registry of Snowplow "experience" context schema versions with the current-version pointer. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_2, Version as Version1_0_2 } from './1-0-2';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_2, Version as Version1_0_2 } from './1-0-2.js';
|
|
4
4
|
export declare const name = "experience";
|
|
5
5
|
export declare const schemas: {
|
|
6
6
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SchemaUrl } from '../../types';
|
|
2
|
-
import type { Schema as Schema2_0_0, Version as Version2_0_0 } from './2-0-0';
|
|
1
|
+
import type { SchemaUrl } from '../../types.js';
|
|
2
|
+
import type { Schema as Schema2_0_0, Version as Version2_0_0 } from './2-0-0.js';
|
|
3
3
|
export declare const name = "feature_list";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "field_list";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "form";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
/** @file Every context and event schema the SDK declares, and the current version type of each. */
|
|
2
|
-
export { schemas as answerListSchema } from './answer_list';
|
|
3
|
-
export { schemas as appSchema } from './app';
|
|
4
|
-
export { schemas as cvlyFunnelSchema } from './cvly_funnel';
|
|
5
|
-
export { schemas as cvlyXSchema } from './cvly_x';
|
|
6
|
-
export { schemas as elementSchema } from './element';
|
|
7
|
-
export { schemas as eventSchema } from './event';
|
|
8
|
-
export { schemas as exceptionSchema } from './exception';
|
|
9
|
-
export { schemas as experienceSchema } from './experience';
|
|
10
|
-
export { schemas as featureListSchema } from './feature_list';
|
|
11
|
-
export { schemas as fieldListSchema } from './field_list';
|
|
12
|
-
export { schemas as formSchema } from './form';
|
|
13
|
-
export { schemas as modalSchema } from './modal';
|
|
14
|
-
export { schemas as orderSchema } from './order';
|
|
15
|
-
export { schemas as pickedSchema } from './picked';
|
|
16
|
-
export { schemas as productListSchema } from './product_list';
|
|
17
|
-
export { schemas as questionListSchema } from './question_list';
|
|
18
|
-
export { schemas as recommendationListSchema } from './recommendation_list';
|
|
19
|
-
export { schemas as responseListSchema } from './response_list';
|
|
20
|
-
export { schemas as sessionSchema } from './session';
|
|
21
|
-
export { schemas as stepSchema } from './step';
|
|
22
|
-
export { schemas as workspaceSchema } from './workspace';
|
|
23
|
-
export { schemas as deploymentSchema } from './deployment';
|
|
24
|
-
export type { CurrentSchema as AnswerListSchema, Url as AnswerListUrl } from './answer_list';
|
|
25
|
-
export type { CurrentSchema as AppSchema, Url as AppUrl } from './app';
|
|
26
|
-
export type { CurrentSchema as CvlyFunnelSchema, Url as CvlyFunnelUrl } from './cvly_funnel';
|
|
27
|
-
export type { CurrentSchema as CvlyXSchema, Url as CvlyXUrl } from './cvly_x';
|
|
28
|
-
export type { CurrentSchema as ElementSchema, Url as ElementUrl } from './element';
|
|
29
|
-
export type { CurrentSchema as EventSchema, Url as EventUrl } from './event';
|
|
30
|
-
export type { CurrentSchema as ExceptionSchema, Url as ExceptionUrl } from './exception';
|
|
31
|
-
export type { CurrentSchema as ExperienceSchema, Url as ExperienceUrl } from './experience';
|
|
32
|
-
export type { CurrentSchema as FeatureListSchema, Url as FeatureListUrl } from './feature_list';
|
|
33
|
-
export type { CurrentSchema as FieldListSchema, Url as FieldListUrl } from './field_list';
|
|
34
|
-
export type { CurrentSchema as FormSchema, Url as FormUrl } from './form';
|
|
35
|
-
export type { CurrentSchema as ModalSchema, Url as ModalUrl } from './modal';
|
|
36
|
-
export type { CurrentSchema as OrderSchema, Url as OrderUrl } from './order';
|
|
37
|
-
export type { CurrentSchema as PickedSchema, Url as PickedUrl } from './picked';
|
|
38
|
-
export type { CurrentSchema as ProductListSchema, Url as ProductListUrl } from './product_list';
|
|
39
|
-
export type { CurrentSchema as QuestionListSchema, Url as QuestionListUrl } from './question_list';
|
|
40
|
-
export type { CurrentSchema as RecommendationListSchema, Url as RecommendationListUrl, } from './recommendation_list';
|
|
41
|
-
export type { CurrentSchema as ResponseListSchema, Url as ResponseListUrl } from './response_list';
|
|
42
|
-
export type { CurrentSchema as SessionSchema, Url as SessionUrl } from './session';
|
|
43
|
-
export type { CurrentSchema as StepSchema, Url as StepUrl } from './step';
|
|
44
|
-
export type { CurrentSchema as WorkspaceSchema, Url as WorkspaceUrl } from './workspace';
|
|
45
|
-
export type { CurrentSchema as DeploymentSchema, Url as DeploymentUrl } from './deployment';
|
|
2
|
+
export { schemas as answerListSchema } from './answer_list/index.js';
|
|
3
|
+
export { schemas as appSchema } from './app/index.js';
|
|
4
|
+
export { schemas as cvlyFunnelSchema } from './cvly_funnel/index.js';
|
|
5
|
+
export { schemas as cvlyXSchema } from './cvly_x/index.js';
|
|
6
|
+
export { schemas as elementSchema } from './element/index.js';
|
|
7
|
+
export { schemas as eventSchema } from './event/index.js';
|
|
8
|
+
export { schemas as exceptionSchema } from './exception/index.js';
|
|
9
|
+
export { schemas as experienceSchema } from './experience/index.js';
|
|
10
|
+
export { schemas as featureListSchema } from './feature_list/index.js';
|
|
11
|
+
export { schemas as fieldListSchema } from './field_list/index.js';
|
|
12
|
+
export { schemas as formSchema } from './form/index.js';
|
|
13
|
+
export { schemas as modalSchema } from './modal/index.js';
|
|
14
|
+
export { schemas as orderSchema } from './order/index.js';
|
|
15
|
+
export { schemas as pickedSchema } from './picked/index.js';
|
|
16
|
+
export { schemas as productListSchema } from './product_list/index.js';
|
|
17
|
+
export { schemas as questionListSchema } from './question_list/index.js';
|
|
18
|
+
export { schemas as recommendationListSchema } from './recommendation_list/index.js';
|
|
19
|
+
export { schemas as responseListSchema } from './response_list/index.js';
|
|
20
|
+
export { schemas as sessionSchema } from './session/index.js';
|
|
21
|
+
export { schemas as stepSchema } from './step/index.js';
|
|
22
|
+
export { schemas as workspaceSchema } from './workspace/index.js';
|
|
23
|
+
export { schemas as deploymentSchema } from './deployment/index.js';
|
|
24
|
+
export type { CurrentSchema as AnswerListSchema, Url as AnswerListUrl } from './answer_list/index.js';
|
|
25
|
+
export type { CurrentSchema as AppSchema, Url as AppUrl } from './app/index.js';
|
|
26
|
+
export type { CurrentSchema as CvlyFunnelSchema, Url as CvlyFunnelUrl } from './cvly_funnel/index.js';
|
|
27
|
+
export type { CurrentSchema as CvlyXSchema, Url as CvlyXUrl } from './cvly_x/index.js';
|
|
28
|
+
export type { CurrentSchema as ElementSchema, Url as ElementUrl } from './element/index.js';
|
|
29
|
+
export type { CurrentSchema as EventSchema, Url as EventUrl } from './event/index.js';
|
|
30
|
+
export type { CurrentSchema as ExceptionSchema, Url as ExceptionUrl } from './exception/index.js';
|
|
31
|
+
export type { CurrentSchema as ExperienceSchema, Url as ExperienceUrl } from './experience/index.js';
|
|
32
|
+
export type { CurrentSchema as FeatureListSchema, Url as FeatureListUrl } from './feature_list/index.js';
|
|
33
|
+
export type { CurrentSchema as FieldListSchema, Url as FieldListUrl } from './field_list/index.js';
|
|
34
|
+
export type { CurrentSchema as FormSchema, Url as FormUrl } from './form/index.js';
|
|
35
|
+
export type { CurrentSchema as ModalSchema, Url as ModalUrl } from './modal/index.js';
|
|
36
|
+
export type { CurrentSchema as OrderSchema, Url as OrderUrl } from './order/index.js';
|
|
37
|
+
export type { CurrentSchema as PickedSchema, Url as PickedUrl } from './picked/index.js';
|
|
38
|
+
export type { CurrentSchema as ProductListSchema, Url as ProductListUrl } from './product_list/index.js';
|
|
39
|
+
export type { CurrentSchema as QuestionListSchema, Url as QuestionListUrl } from './question_list/index.js';
|
|
40
|
+
export type { CurrentSchema as RecommendationListSchema, Url as RecommendationListUrl, } from './recommendation_list/index.js';
|
|
41
|
+
export type { CurrentSchema as ResponseListSchema, Url as ResponseListUrl } from './response_list/index.js';
|
|
42
|
+
export type { CurrentSchema as SessionSchema, Url as SessionUrl } from './session/index.js';
|
|
43
|
+
export type { CurrentSchema as StepSchema, Url as StepUrl } from './step/index.js';
|
|
44
|
+
export type { CurrentSchema as WorkspaceSchema, Url as WorkspaceUrl } from './workspace/index.js';
|
|
45
|
+
export type { CurrentSchema as DeploymentSchema, Url as DeploymentUrl } from './deployment/index.js';
|
|
46
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "modal";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SchemaUrl } from '../../types';
|
|
2
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
1
|
+
import type { SchemaUrl } from '../../types.js';
|
|
2
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
3
3
|
export declare const name = "order";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "picked";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SchemaUrl } from '../../types';
|
|
2
|
-
import type { Schema as Schema2_0_1, Version as Version2_0_1 } from './2-0-1';
|
|
1
|
+
import type { SchemaUrl } from '../../types.js';
|
|
2
|
+
import type { Schema as Schema2_0_1, Version as Version2_0_1 } from './2-0-1.js';
|
|
3
3
|
export declare const name = "product_list";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file The `question_list` context schemas, by version. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
6
6
|
readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file The `recommendation_list` context schemas, by version. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
6
6
|
readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
1
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
3
|
export declare const name = "response_list";
|
|
4
4
|
export declare const schemas: {
|
|
5
5
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file The `session` context schema versions, and the version the SDK's events send. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_4, Version as Version1_0_4 } from './1-0-4';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_4, Version as Version1_0_4 } from './1-0-4.js';
|
|
4
4
|
export declare const name = "session";
|
|
5
5
|
export declare const schemas: {
|
|
6
6
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Registry of Snowplow "step" context schema versions with the current-version pointer. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_1, Version as Version1_0_1 } from './1-0-1.js';
|
|
4
4
|
export declare const name = "step";
|
|
5
5
|
export declare const schemas: {
|
|
6
6
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file The `workspace` context schema versions, and the version the SDK's events send. */
|
|
2
|
-
import type { SchemaUrl } from '../../types';
|
|
3
|
-
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0';
|
|
2
|
+
import type { SchemaUrl } from '../../types.js';
|
|
3
|
+
import type { Schema as Schema1_0_0, Version as Version1_0_0 } from './1-0-0.js';
|
|
4
4
|
export declare const name = "workspace";
|
|
5
5
|
export declare const schemas: {
|
|
6
6
|
'1-0-0': {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Snowplow browser plugin that stamps a tracker's configured meta into every Picked event it sends. */
|
|
2
2
|
import type { BrowserPlugin } from '@snowplow/browser-tracker';
|
|
3
|
-
import type { EventMetaSource } from '../types';
|
|
3
|
+
import type { EventMetaSource } from '../types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Snowplow browser plugin merging `eventMeta` over the `meta` of every Picked event
|
|
6
6
|
* (`iglu:dev.pckd/event`) the tracker it is registered on sends. Configured keys win over
|
package/dist/types/tracker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @file Snowplow tracker initialization and global context binding. */
|
|
2
2
|
import { type BrowserTracker } from '@snowplow/browser-tracker';
|
|
3
|
-
import type { CreateTrackerOptions } from './types';
|
|
3
|
+
import type { CreateTrackerOptions } from './types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Starts a Snowplow tracker for a Picked project and binds the contexts every event carries.
|
|
6
6
|
* An `appId` that already names a tracker on the page creates nothing, adds nothing to that
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @file Analytics event types and interfaces for Snowplow tracking. */
|
|
2
2
|
import type { ActivityCallbackData, AnonymousTrackingOptions, CommonEventProperties, SelfDescribingEvent } from '@snowplow/browser-tracker';
|
|
3
3
|
import type { ExperienceStep, Field, FieldValue, Picked, ValidationError as FieldValidationError } from '@picked/client';
|
|
4
|
-
import type { AppSchema, AppUrl, CvlyFunnelSchema, CvlyFunnelUrl, CvlyXSchema, CvlyXUrl, DeploymentSchema, DeploymentUrl, ElementSchema, ElementUrl, EventSchema, EventUrl, ExceptionSchema, ExceptionUrl, ExperienceSchema, ExperienceUrl, FeatureListSchema, FeatureListUrl, FieldListSchema, FieldListUrl, FormSchema, FormUrl, ModalSchema, ModalUrl, OrderSchema, OrderUrl, PickedSchema, PickedUrl, ProductListSchema, ProductListUrl, ResponseListSchema, ResponseListUrl, SessionSchema, SessionUrl, StepSchema, StepUrl, WorkspaceSchema, WorkspaceUrl } from './schemas';
|
|
4
|
+
import type { AppSchema, AppUrl, CvlyFunnelSchema, CvlyFunnelUrl, CvlyXSchema, CvlyXUrl, DeploymentSchema, DeploymentUrl, ElementSchema, ElementUrl, EventSchema, EventUrl, ExceptionSchema, ExceptionUrl, ExperienceSchema, ExperienceUrl, FeatureListSchema, FeatureListUrl, FieldListSchema, FieldListUrl, FormSchema, FormUrl, ModalSchema, ModalUrl, OrderSchema, OrderUrl, PickedSchema, PickedUrl, ProductListSchema, ProductListUrl, ResponseListSchema, ResponseListUrl, SessionSchema, SessionUrl, StepSchema, StepUrl, WorkspaceSchema, WorkspaceUrl } from './schemas/index.js';
|
|
5
5
|
export type SnowplowSelfDescribingEvent = SelfDescribingEvent & CommonEventProperties;
|
|
6
6
|
export type SchemaUrl<Schema extends string, Version extends string> = `iglu:dev.pckd/${Schema}/jsonschema/${Version}`;
|
|
7
7
|
export interface Context<Url extends string, Schema extends Record<string, unknown>> {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @file Wires Picked experience targets to opt-in DOM interaction listeners and
|
|
3
3
|
* window/document level listeners.
|
|
4
4
|
*/
|
|
5
|
-
import { type InteractionEventName } from './interaction-events';
|
|
6
|
-
import type { AnalyticsContext } from './types';
|
|
5
|
+
import { type InteractionEventName } from './interaction-events.js';
|
|
6
|
+
import type { AnalyticsContext } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Bind the listed DOM interaction listeners to the given target. Listeners not
|
|
9
9
|
* named in `enabledEvents` are not bound; the empty list is a no-op.
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExperienceInstance } from '@picked/client';
|
|
2
|
-
import type { AnalyticsContext, AnalyticsExperience, AppContext, Context, ContextArray, ExceptionContext, ExperienceContext, FeatureListContext, FieldListContext, FormContext, ModalContext, OrderContext, ProductListContext, ResponseListContext, SchemaUrl, SessionContext, SnowplowEventWithContext, SnowplowSelfDescribingEvent, StepContext, WorkspaceContext } from './types';
|
|
3
|
-
import type { EventSchema } from './schemas';
|
|
2
|
+
import type { AnalyticsContext, AnalyticsExperience, AppContext, Context, ContextArray, ExceptionContext, ExperienceContext, FeatureListContext, FieldListContext, FormContext, ModalContext, OrderContext, ProductListContext, ResponseListContext, SchemaUrl, SessionContext, SnowplowEventWithContext, SnowplowSelfDescribingEvent, StepContext, WorkspaceContext } from './types.js';
|
|
3
|
+
import type { EventSchema } from './schemas/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* Builds the Iglu URI that identifies a Snowplow schema and version.
|
|
6
6
|
*
|