@qonto/embed-sdk 0.65.0 → 0.66.0
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/_virtual/Observable.js +1 -0
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/index3.js +1 -0
- package/dist/auth-links/auth-links.d.ts +7 -7
- package/dist/auth-links/auth-links.d.ts.map +1 -1
- package/dist/auth-links/client/auth-links.client.d.ts +5 -6
- package/dist/auth-links/client/auth-links.client.d.ts.map +1 -1
- package/dist/auth-links/index.d.ts +6 -4
- package/dist/auth-links/index.d.ts.map +1 -1
- package/dist/beneficiaries/beneficiaries.d.ts +10 -10
- package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/beneficiaries/client/beneficiaries.client.d.ts +11 -13
- package/dist/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
- package/dist/beneficiaries/index.d.ts +1 -1
- package/dist/cards/client/cards.client.d.ts +11 -11
- package/dist/cards/client/cards.client.d.ts.map +1 -1
- package/dist/cards/index.d.ts +6 -3
- package/dist/cards/index.d.ts.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
- package/dist/{server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1 → node_modules/.pnpm/@amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js +1 -1
- package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js +1 -1
- package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js +1 -0
- package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
- package/dist/{server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/element-path.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-custom-enrichment-browser@0.1.1/node_modules/@amplitude/plugin-custom-enrichment-browser/lib/esm/custom-enrichment.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -0
- package/dist/{server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2 → node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js +1 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.7.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +1 -0
- package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.9.3/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +1 -0
- package/dist/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/types.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/client.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/breadcrumbs.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js +1 -1
- package/dist/node_modules/.pnpm/@sentry_browser@10.45.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js +1 -0
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/culturecontext.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/integrations/linkederrors.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js +1 -1
- package/dist/node_modules/.pnpm/@sentry_browser@10.45.0/node_modules/@sentry/browser/build/npm/esm/prod/stack-parsers.js +1 -0
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js +1 -1
- package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js +1 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/client.js +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/exports.js +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/integrations/eventFilters.js +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/baggage.js +1 -0
- package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/browser.js +1 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/envelope.js +1 -0
- package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/misc.js +1 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/object.js +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/utils/version.js +1 -0
- package/dist/node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js +1 -1
- package/dist/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js +1 -0
- package/dist/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/lib/Observable.js +1 -0
- package/dist/payment-links/client/payment-links.client.d.ts +4 -40
- package/dist/payment-links/client/payment-links.client.d.ts.map +1 -1
- package/dist/payment-links/index.d.ts +1 -1
- package/dist/sca/sca.d.ts.map +1 -1
- package/dist/server/_virtual/Observable.js +1 -0
- package/dist/server/_virtual/index2.js +1 -1
- package/dist/server/_virtual/index3.js +1 -0
- package/dist/server/auth-links/auth-links.d.ts +7 -7
- package/dist/server/auth-links/auth-links.d.ts.map +1 -1
- package/dist/server/auth-links/client/auth-links.client.d.ts +5 -6
- package/dist/server/auth-links/client/auth-links.client.d.ts.map +1 -1
- package/dist/server/auth-links/index.d.ts +6 -4
- package/dist/server/auth-links/index.d.ts.map +1 -1
- package/dist/server/beneficiaries/beneficiaries.d.ts +10 -10
- package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/server/beneficiaries/client/beneficiaries.client.d.ts +11 -13
- package/dist/server/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
- package/dist/server/beneficiaries/index.d.ts +1 -1
- package/dist/server/cards/client/cards.client.d.ts +11 -11
- package/dist/server/cards/client/cards.client.d.ts.map +1 -1
- package/dist/server/cards/index.d.ts +6 -3
- package/dist/server/cards/index.d.ts.map +1 -1
- package/dist/server/index.server.umd.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/config.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/types.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/version.js +1 -0
- package/dist/{node_modules/.pnpm/@amplitude_analytics-core@2.40.1 → server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/revenue.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/element-interactions.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js +1 -1
- package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js +1 -1
- package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js +1 -0
- package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +1 -0
- package/dist/{node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2 → server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/element-path.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-custom-enrichment-browser@0.1.1/node_modules/@amplitude/plugin-custom-enrichment-browser/lib/esm/custom-enrichment.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -0
- package/dist/{node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2 → server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.7.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +1 -0
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.9.3/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +1 -0
- package/dist/server/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js +1 -1
- package/dist/server/node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js +1 -1
- package/dist/server/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js +1 -0
- package/dist/server/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/lib/Observable.js +1 -0
- package/dist/server/payment-links/client/payment-links.client.d.ts +4 -40
- package/dist/server/payment-links/client/payment-links.client.d.ts.map +1 -1
- package/dist/server/payment-links/index.d.ts +1 -1
- package/dist/server/sca/sca.d.ts.map +1 -1
- package/dist/server/src/auth-links/auth-links.js +1 -1
- package/dist/server/src/beneficiaries/beneficiaries.js +1 -1
- package/dist/server/src/common/analytics/amplitude-manager.js +1 -1
- package/dist/src/auth-links/client/auth-links.client.js +1 -1
- package/dist/src/beneficiaries/beneficiaries.js +1 -1
- package/dist/src/beneficiaries/client/beneficiaries.client.js +1 -1
- package/dist/src/cards/client/cards.client.js +1 -1
- package/dist/src/common/analytics/amplitude-manager.js +1 -1
- package/dist/src/common/sentry/sentry-manager.js +1 -1
- package/dist/src/payment-links/client/payment-links.client.js +1 -1
- package/dist/src/sca/sca.js +1 -1
- package/package.json +5 -5
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/index.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/types.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/version.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +0 -1
- package/dist/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_browser@10.39.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_browser@10.39.0/node_modules/@sentry/browser/build/npm/esm/prod/stack-parsers.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/client.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/exports.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/integrations/eventFilters.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/baggage.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/envelope.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/object.js +0 -1
- package/dist/node_modules/.pnpm/@sentry_core@10.39.0/node_modules/@sentry/core/build/esm/utils/version.js +0 -1
- package/dist/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/config.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/index.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/types.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-browser@2.35.3/node_modules/@amplitude/analytics-browser/lib/esm/version.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js +0 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js +0 -1
- package/dist/server/node_modules/.pnpm/zen-observable-ts@1.1.0/node_modules/zen-observable-ts/module.js +0 -1
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/config.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/identify.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/language.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/logger.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/utils.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/session.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/actions.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/matchEventToFilter.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-network-capture-browser@1.8.2 → @amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-page-view-tracking-browser@2.7.2 → @amplitude_plugin-page-view-tracking-browser@2.9.3}/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js +0 -0
- /package/dist/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry-internal_browser-utils@10.39.0 → @sentry-internal_browser-utils@10.45.0}/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_browser@10.39.0 → @sentry_browser@10.45.0}/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/api.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/asyncContext/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/breadcrumbs.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/carrier.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/currentScopes.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/debug-build.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/defaultScopes.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/envelope.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/eventProcessors.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/console.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/fetch.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/globalError.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/instrument/handlers.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integration.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/conversationId.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/dedupe.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/integrations/functiontostring.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/logs/envelope.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/logs/internal.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/metrics/envelope.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/metrics/internal.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/scope.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/sdk.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/semanticAttributes.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/session.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/spanstatus.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/tracing/utils.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/transports/base.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/clientreport.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/debug-ids.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/debug-logger.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/dsn.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/env.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/eventUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/eventbuilder.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/ipAddress.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/is.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/merge.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/normalize.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/prepareEvent.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/promisebuffer.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/propagationContext.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/ratelimit.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/scopeData.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/severity.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/spanOnScope.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/spanUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/stacktrace.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/string.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/supports.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/syncpromise.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/time.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/timer.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/transactionEvent.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/url.js +0 -0
- /package/dist/node_modules/.pnpm/{@sentry_core@10.39.0 → @sentry_core@10.45.0}/node_modules/@sentry/core/build/esm/utils/worldwide.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/constants.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/lib-prefix.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-browser@2.35.3 → @amplitude_analytics-browser@2.37.2}/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/config.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/core-client.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/identify.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/language.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/logger.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/messenger/utils.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/query-params.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/session.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/timeline.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/types/status.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/sampling.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_analytics-core@2.40.1 → @amplitude_analytics-core@2.43.1}/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/actions.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/matchEventToFilter.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-autocapture-browser@1.22.2 → @amplitude_plugin-autocapture-browser@1.24.2}/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-network-capture-browser@1.8.2 → @amplitude_plugin-network-capture-browser@1.9.10}/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/constants.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-page-view-tracking-browser@2.7.2 → @amplitude_plugin-page-view-tracking-browser@2.9.3}/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js +0 -0
- /package/dist/server/node_modules/.pnpm/{@amplitude_plugin-web-vitals-browser@1.1.13 → @amplitude_plugin-web-vitals-browser@1.1.25}/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/constants.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__assign as e}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import n from"../../../../../../../../_virtual/index2.js";import{merge as r}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js";import{getGlobalScope as t}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{consoleObserver as o}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js";var i=t(),c=function(){return new n((function(e){var n=new MutationObserver((function(n){e.next(n)}));return document.body&&n.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return n.disconnect()}}))},u=function(e){return void 0===e&&(e="click"),new n((function(n){var r,o=function(e){n.next(e)};return null===(r=t())||void 0===r||r.document.addEventListener(e,o,{capture:!0}),function(){var n;null===(n=t())||void 0===n||n.document.removeEventListener(e,o,{capture:!0})}}))},s=function(){return new n((function(e){var n,r=function(n){e.next(n)};return null===(n=t())||void 0===n||n.addEventListener("scroll",r),function(){var e;null===(e=t())||void 0===e||e.removeEventListener("scroll",r)}}))},a=function(e,r){return new n((function(n){var o,i=t();if(!(null==i?void 0:i.IntersectionObserver))return function(){};var c=new IntersectionObserver((function(e){e.forEach((function(e){n.next(e)}))}),{root:null,rootMargin:"0px",threshold:1}),u=r.join(",");(null!==(o=null==i?void 0:i.document.querySelectorAll(u))&&void 0!==o?o:[]).forEach((function(e){c.observe(e)}));var s=e.subscribe((function(e){return e.event.forEach((function(e){return e.addedNodes.forEach((function(e){e instanceof Element&&(e.matches(u)&&c.observe(e),e.querySelectorAll(u).forEach((function(e){c.observe(e)})))}))}))}));return function(){s.unsubscribe(),c.disconnect()}}))},l=function(){var t=r(new n((function(n){var r=function(r){if(r instanceof ErrorEvent){var t={kind:"error"};r.error instanceof Error||r.error instanceof DOMException?t=e(e({},t),{message:r.error.message,stack:r.error.stack,filename:r.filename,lineNumber:r.lineno,columnNumber:r.colno}):"string"==typeof r.error&&(t.message=r.error),n.next(t)}};return i.addEventListener("error",r),function(){i.removeEventListener("error",r)}})),new n((function(e){var n=function(n){var r={kind:"unhandledrejection"};n.reason instanceof Error||n.reason instanceof DOMException?(r.message=n.reason.message,r.stack=n.reason.stack):"string"==typeof n.reason&&(r.message=n.reason),e.next(r)};return i.addEventListener("unhandledrejection",n),function(){i.removeEventListener("unhandledrejection",n)}})));return r(t,new n((function(e){var n=function(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var o=void 0;Array.isArray(r[0])&&"string"==typeof r[0][0]&&(o=r[0][0]),e.next({kind:"console",message:o})};return o.addListener("error",n),function(){o.removeListener(n)}})))},d=function(){return new n((function(e){var n=function(n){e.next(n)},r={capture:!0};return i.document.addEventListener("mousemove",n,r),function(){i.document.removeEventListener("mousemove",n,r)}}))};export{u as createClickObservable,l as createErrorObservable,a as createExposureObservable,d as createMouseMoveObservable,c as createMutationObservable,s as createScrollObservable};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r="1.24.2";export{r as VERSION};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";var e=function(){var e,o,r;function i(n){if(n)try{var t=new Function("return "+n)();if("function"==typeof t)return t;null==e||e.error("Custom enrichment body did not evaluate to a function")}catch(n){null==e||e.error("Could not create custom enrichment function",n)}return function(n){return n}}return{name:"@amplitude/plugin-custom-enrichment-browser",type:"enrichment",setup:function(u,c){return n(void 0,void 0,void 0,(function(){var n,c;return t(this,(function(t){return null==(e=u.loggerProvider)||e.log("Installing @amplitude/plugin-custom-enrichment-browser"),(null===(c=u.remoteConfig)||void 0===c?void 0:c.fetchRemoteConfig)&&(u.remoteConfigClient?(n=u.remoteConfigClient.subscribe("configs.analyticsSDK.browserSDK.customEnrichment","all",(function(n){r=n&&function(n){return"object"==typeof n&&null!==n&&"body"in n&&"string"==typeof n.body}(n)?i(n.body||""):i("")})),o=function(){var t;return null===(t=u.remoteConfigClient)||void 0===t?void 0:t.unsubscribe(n)}):null==e||e.debug("Remote config client is not provided, skipping remote config fetch")),[2]}))}))},execute:function(o){return n(void 0,void 0,void 0,(function(){var n;return t(this,(function(t){if(r)try{return[2,null!==(n=r(o))&&void 0!==n?n:null]}catch(n){return null==e||e.error("Could not execute custom enrichment function",n),[2,o]}return[2,o]}))}))},teardown:function(){return n(void 0,void 0,void 0,(function(){return t(this,(function(n){return o&&o(),[2]}))}))}}};export{e as customEnrichmentPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as n}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{PLUGIN_NAME as r}from"./constants.js";import{trackNetworkEvents as t}from"./track-network-event.js";import o from"../../../../../../../../_virtual/index2.js";import{NetworkEventCallback as i,networkObserver as u}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js";var s,c;!function(e){e.NetworkObservable="networkObservable"}(s||(s={}));var l=function(l){void 0===l&&(l={});var a,d=r,v=function(){var e,n=new o((function(e){var n=new i((function(n){var r=function(e,n){return{event:e,timestamp:Date.now(),type:n}}(n,"network");e.next(r)}));return u.subscribe(n,a),function(){u.unsubscribe(n)}}));return(e={})[s.NetworkObservable]=n,e};return{name:d,type:"enrichment",setup:function(r,o){return e(void 0,void 0,void 0,(function(){var e;return n(this,(function(n){return"undefined"==typeof document||(e=v(),a=null==r?void 0:r.loggerProvider,c=t({allObservables:e,networkTrackingOptions:l,amplitude:o,loggerProvider:a}),null==a||a.log("".concat(d," has been successfully added."))),[2]}))}))},execute:function(r){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){return[2,r]}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){return c.unsubscribe(),[2]}))}))}}};export{s as ObservablesEnum,l as networkCapturePlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__spreadArray as e,__read as r,__awaiter as t,__generator as s,__values as o}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{AMPLITUDE_NETWORK_REQUEST_EVENT as n}from"./constants.js";import{getGlobalScope as i}from"../../../../../../@amplitude_analytics-core@2.
|
|
1
|
+
import{__spreadArray as e,__read as r,__awaiter as t,__generator as s,__values as o}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{AMPLITUDE_NETWORK_REQUEST_EVENT as n}from"./constants.js";import{getGlobalScope as i}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{isUrlMatchAllowlist as u}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";import{SAFE_HEADERS as l}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";var a="500-599";function d(e,r){var t="^"+r.replace(/[-[\]{}()+?.,\\^$|#\s]/g,"\\$&").replace(/\*/g,".*")+"$";return new RegExp(t).test(e)}function p(e,t){var s,n,i=t.split(",");try{for(var u=o(i),l=u.next();!l.done;l=u.next()){var a=l.value,d=r(a.split("-").map(Number),2),p=d[0],c=d[1];if(e===p&&void 0===c)return!0;if(e>=p&&e<=c)return!0}}catch(e){s={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(s)throw s.error}}return!1}function c(e){var r;if(e)try{var t=null===(r=i())||void 0===r?void 0:r.location.href,s=new URL(e,t),o=s.searchParams.toString(),n=s.hash.replace("#",""),u=s.href,l=s.host;return s.hash="",s.search="",{query:o,fragment:n,href:u,hrefWithoutQueryOrHash:s.href,host:l}}catch(e){return}}function f(t){if("object"==typeof t&&null!==t){if(0!==t.length)return t}else{if(t)return e([],r(l),!1);if(void 0===t){return}}}function m(e){var r,t;return!(null===(r=null==e?void 0:e.allowlist)||void 0===r?void 0:r.length)&&!(null===(t=null==e?void 0:e.blocklist)||void 0===t?void 0:t.length)}function y(t,s){var o;void 0===s&&(s={});var i=c(t.url);if(!i)return!1;var l,y=i.host;if(!1!==s.ignoreAmplitudeRequests&&(d(y,"*.amplitude.com")||d(y,"amplitude.com")))return!1;if(null===(o=s.ignoreHosts)||void 0===o?void 0:o.find((function(e){return d(y,e)})))return!1;if(!s.captureRules&&void 0!==t.status&&!p(t.status,a))return!1;if(s.captureRules&&(e([],r(s.captureRules),!1).reverse().find((function(e){if(l=function(e,r,t,s,o){if((!e.hosts||e.hosts.find((function(e){return d(r,e)})))&&(!s||!e.urls||u(s,e.urls))&&(!o||!e.methods||e.methods.find((function(e){return o.toLowerCase()===e.toLowerCase()||"*"===e}))))return!((t||0===t)&&!p(t,e.statusCodeRange||a))}(e,y,t.status,t.url,t.method),l){var r=f(e.responseHeaders);if(t.responseWrapper&&r){var s=t.responseWrapper.headers(r);s&&(t.responseHeaders=s)}var o=f(e.requestHeaders);if(t.requestWrapper&&o){var n=t.requestWrapper.headers(o);n&&(t.requestHeaders=n)}t.responseWrapper&&e.responseBody&&!m(e.responseBody)&&(t.responseBodyJson=t.responseWrapper.json(e.responseBody.allowlist,e.responseBody.blocklist)),t.requestWrapper&&e.requestBody&&!m(e.requestBody)&&(t.requestBodyJson=t.requestWrapper.json(e.requestBody.allowlist,e.requestBody.blocklist))}return void 0!==l})),!l))return!1;return!t.requestWrapper||!function(e,r){if(e.includes("amplitude.com"))try{var t=r.body;if("string"!=typeof t)return!1;if(JSON.parse(t).events.find((function(e){return e.event_type===n})))return!0}catch(e){}return!1}(y,t.requestWrapper)}function v(e,o,i,u){return t(this,void 0,void 0,(function(){var t,l,a;return s(this,(function(s){switch(s.label){case 0:return o.requestBodyJson||o.responseBodyJson?[4,Promise.all([o.requestBodyJson,o.responseBodyJson])]:[3,2];case 1:if(t=r.apply(void 0,[s.sent(),2]),l=t[0],a=t[1],l)try{e["[Amplitude] Request Body"]=JSON.stringify(l)}catch(e){null==u||u.debug("Failed to stringify request body",e)}if(a)try{e["[Amplitude] Response Body"]=JSON.stringify(a)}catch(e){null==u||u.debug("Failed to stringify response body")}s.label=2;case 2:return null==i||i.track(n,e),[2]}}))}))}function h(e){var r=e.allObservables,t=e.networkTrackingOptions,s=e.amplitude,o=e.loggerProvider;return r.networkObservable.filter((function(e){return y(e.event,t)})).subscribe((function(e){var r,t,n,i=e.event,u=c(i.url);if(u){var l=null===(t=i.responseWrapper)||void 0===t?void 0:t.bodySize,a=null===(n=i.requestWrapper)||void 0===n?void 0:n.bodySize;v(((r={})["[Amplitude] URL"]=u.hrefWithoutQueryOrHash,r["[Amplitude] URL Query"]=u.query,r["[Amplitude] URL Fragment"]=u.fragment,r["[Amplitude] Request Method"]=i.method,r["[Amplitude] Status Code"]=i.status,r["[Amplitude] Start Time"]=i.startTime,r["[Amplitude] Completion Time"]=i.endTime,r["[Amplitude] Duration"]=i.duration,r["[Amplitude] Request Body Size"]=a,r["[Amplitude] Response Body Size"]=l,r["[Amplitude] Request Type"]=i.type,r["[Amplitude] Request Headers"]=i.requestHeaders,r["[Amplitude] Response Headers"]=i.responseHeaders,r),i,s,o)}}))}export{v as logNetworkAnalyticsEvent,f as parseHeaderCaptureRule,y as shouldTrackNetworkEvent,h as trackNetworkEvents};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t,__assign as n,__read as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getPageTitle as r,replaceSensitiveString as o}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js";import{getDecodeURI as a}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";import{BrowserStorage as l}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js";import{getGlobalScope as s}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{SpecialEventType as u}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js";var c,p="AMP_CURRENT_PAGE",d="AMP_PREVIOUS_PAGE",m="AMP_URL_INFO";!function(e){e.Direct="direct",e.Internal="internal",e.External="external"}(c||(c={}));var v=new Set([u.IDENTIFY,u.GROUP_IDENTIFY,u.REVENUE]),f=function(u){var f={}.internalDomains,g=void 0===f?[]:f,h=s(),_=void 0,P=!1,b=void 0,A=!1,E=!1,w=function(e){var t="undefined"!=typeof location&&location.hostname||"",n=e?function(e){var t;try{var n=a(e,b);t=new URL(n).hostname}catch(e){null==b||b.error("Could not parse URL: ",e)}return t}(e):void 0;if(!n)return c.Direct;var i=g.some((function(e){return-1!==t.indexOf(e)})),r=g.some((function(e){return-1!==n.indexOf(e)}));return t===n||r&&i?c.Internal:c.External},L=function(){e(void 0,void 0,void 0,(function(){var e,n,i,r,o;return t(this,(function(t){switch(t.label){case 0:return _&&P?[4,_.get(m)]:[3,3];case 1:return e=t.sent(),n=a("undefined"!=typeof location&&location.href||""),i=(null==e?void 0:e[p])||"",r=void 0,r=n===i?(null==e?void 0:e[d])||"":i||document.referrer||"",[4,_.set(m,(o={},o[p]=n,o[d]=r,o))];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},R={name:"@amplitude/plugin-page-url-enrichment-browser",type:"enrichment",setup:function(n,r){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if((b=n.loggerProvider).log("Installing @amplitude/plugin-page-url-enrichment-browser"),E=!0,!h)return[3,2];try{_=new l(h.sessionStorage)}catch(e){null==b||b.debug("sessionStorage is not available in this environment.")}return[4,null==_?void 0:_.isEnabled()];case 1:P=null!==(e=t.sent())&&void 0!==e&&e,h.addEventListener("popstate",L),A||(h.history.pushState=new Proxy(h.history.pushState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],l=r[2];e.apply(t,[o,a,l]),E&&L()}}),h.history.replaceState=new Proxy(h.history.replaceState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],l=r[2];e.apply(t,[o,a,l]),E&&L()}}),A=!0),t.label=2;case 2:return[2]}}))}))},execute:function(i){return e(void 0,void 0,void 0,(function(){var e,l,s,u,c;return t(this,(function(t){switch(t.label){case 0:return e=a("undefined"!=typeof location&&location.href||""),_&&P?[4,_.get(m)]:[3,5];case 1:return(null==(l=t.sent())?void 0:l[p])?[3,3]:[4,_.set(m,(c={},c[p]=e,c[d]=document.referrer||"",c))];case 2:t.sent(),t.label=3;case 3:return[4,_.get(m)];case 4:if(s=t.sent(),u="",s&&(u=s[d]||""),v.has(i.event_type))return[2,i];i.event_properties=n(n({},i.event_properties||{}),{"[Amplitude] Page Domain":y(i,"[Amplitude] Page Domain","undefined"!=typeof location&&location.hostname||""),"[Amplitude] Page Location":y(i,"[Amplitude] Page Location",e),"[Amplitude] Page Path":y(i,"[Amplitude] Page Path","undefined"!=typeof location&&a(location.pathname)||""),"[Amplitude] Page Title":y(i,"[Amplitude] Page Title",r(o)),"[Amplitude] Page URL":y(i,"[Amplitude] Page URL",e.split("?")[0]),"[Amplitude] Previous Page Location":u,"[Amplitude] Previous Page Type":w(u)}),t.label=5;case 5:return[2,i]}}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return h&&(h.removeEventListener("popstate",L),E=!1),_&&P?[4,_.set(m,{})]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}};return R};function y(e,t,n){return e.event_properties||(e.event_properties={}),void 0===e.event_properties[t]?n:e.event_properties[t]}export{p as CURRENT_PAGE_STORAGE_KEY,v as EXCLUDED_DEFAULT_EVENT_TYPES,d as PREVIOUS_PAGE_STORAGE_KEY,m as URL_INFO_STORAGE_KEY,f as pageUrlEnrichmentPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t,__assign as n,__read as i,__spreadArray as r}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{omitUndefined as o}from"./utils.js";import{BrowserStorage as a}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js";import{UUID as s}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js";import{getGlobalScope as l}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{getPageTitle as u,replaceSensitiveString as p}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js";import{IdentifyOperation as c}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js";import{BASE_CAMPAIGN as d}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{CampaignParser as m}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js";var v="[Amplitude] Page Viewed",f="AMP_PAGE_VIEW",g=function(r){var o;void 0===r&&(r={});var c,d,m=l(),g=void 0,b=!1,w=r.trackOn,P=r.trackHistoryChanges,j=r.eventType,k=void 0===j?v:j,A=function(e){var t=e;try{t=decodeURI(e)}catch(e){null==g||g.error("Malformed URI sequence: ",e)}return t},I=function(i){return e(void 0,void 0,void 0,(function(){var e,r,o;return t(this,(function(t){switch(t.label){case 0:return e=A("undefined"!=typeof location&&location.href||""),o={event_type:k},r=[{}],[4,y()];case 1:return[2,(o.event_properties=n.apply(void 0,[n.apply(void 0,r.concat([t.sent()])),{"[Amplitude] Page Domain":"undefined"!=typeof location&&location.hostname||"","[Amplitude] Page Location":e,"[Amplitude] Page Path":"undefined"!=typeof location&&A(location.pathname)||"","[Amplitude] Page Title":u(p),"[Amplitude] Page URL":e.split("?")[0],"[Amplitude] Page View ID":i}]),o)]}}))}))},E=function(){return void 0===w||"function"==typeof w&&w()},C="undefined"!=typeof location?location.href:null,L=function(){e(void 0,void 0,void 0,(function(){var e,n,i,r,a;return t(this,(function(t){switch(t.label){case 0:return e=location.href,n=h(P,e,C||"")&&E(),C=e,n?(i=void 0,d&&(i=s(),d.set(f,{pageViewId:i})),null==g||g.log("Tracking page view event"),null!=o?[3,1]:[3,3]):[3,4];case 1:return a=(r=o).track,[4,I(i)];case 2:a.apply(r,[t.sent()]),t.label=3;case 3:t.label=4;case 4:return[2]}}))}))},S={name:"@amplitude/plugin-page-view-tracking-browser",type:"enrichment",setup:function(n,r){return e(void 0,void 0,void 0,(function(){var e,l,u;return t(this,(function(t){switch(t.label){case 0:if(o=r,c=n,(g=n.loggerProvider).log("Installing @amplitude/plugin-page-view-tracking-browser"),b=!0,m){try{d=new a(m.sessionStorage)}catch(e){null==g||g.debug("sessionStorage is not available in this environment.")}m.addEventListener("popstate",L),m.history.pushState=new Proxy(m.history.pushState,{apply:function(e,t,n){var r=i(n,3),o=r[0],a=r[1],s=r[2];e.apply(t,[o,a,s]),b&&L()}})}return E()?(g.log("Tracking page view event"),e=void 0,d&&(e=s(),d.set(f,{pageViewId:e})),u=(l=o).track,[4,I(e)]):[3,2];case 1:u.apply(l,[t.sent()]),t.label=2;case 2:return[2]}}))}))},execute:function(i){return e(void 0,void 0,void 0,(function(){var e,r,o;return t(this,(function(t){switch(t.label){case 0:return"attribution"===w&&_(i)?(null==g||g.log("Enriching campaign event to page view event with campaign parameters"),e=void 0,d?[4,d.get(f)]:[3,2]):[3,4];case 1:r=t.sent(),e=null==r?void 0:r.pageViewId,t.label=2;case 2:return[4,I(e)];case 3:o=t.sent(),i.event_type=o.event_type,i.event_properties=n(n({},i.event_properties),o.event_properties),t.label=4;case 4:return c&&i.event_type===k&&(c.pageCounter=c.pageCounter?c.pageCounter+1:1,i.event_properties=n(n({},i.event_properties),{"[Amplitude] Page Counter":c.pageCounter})),[2,i]}}))}))},teardown:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(e){return m&&(m.removeEventListener("popstate",L),b=!1),[2]}))}))}};return S},y=function(){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=o,[4,(new m).parse()];case 1:return[2,e.apply(void 0,[t.sent()])]}}))}))},_=function(e){if("$identify"===e.event_type&&e.user_properties){var t=e.user_properties,n=t[c.SET]||{},o=t[c.UNSET]||{},a=r(r([],i(Object.keys(n)),!1),i(Object.keys(o)),!1);return Object.keys(d).every((function(e){return a.includes(e)}))}return!1},h=function(e,t,n){if("pathOnly"===e){if(""==n)return!0;var i=new URL(t),r=new URL(n);return i.origin+i.pathname!==r.origin+r.pathname}return t!==n};export{f as PAGE_VIEW_SESSION_STORAGE_KEY,v as defaultPageViewEvent,g as pageViewTrackingPlugin,h as shouldTrackHistoryPageView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as i,__generator as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{PLUGIN_NAME as e,WEB_VITALS_EVENT_NAME as n}from"./constants.js";import{onLCP as o,onFCP as r,onINP as l,onCLS as u,onTTFB as a}from"../../../../../../web-vitals@5.1.0/node_modules/web-vitals/dist/web-vitals.js";import{getGlobalScope as d}from"../../../../../../@amplitude_analytics-core@2.
|
|
1
|
+
import{__awaiter as i,__generator as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{PLUGIN_NAME as e,WEB_VITALS_EVENT_NAME as n}from"./constants.js";import{onLCP as o,onFCP as r,onINP as l,onCLS as u,onTTFB as a}from"../../../../../../web-vitals@5.1.0/node_modules/web-vitals/dist/web-vitals.js";import{getGlobalScope as d}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";import{getDecodeURI as s}from"../../../../../../@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/url-utils.js";function m(i){var t,e=(null===(t=i.entries[0])||void 0===t?void 0:t.startTime)||0;return performance.timeOrigin+e}function c(i){return{value:i.value,rating:i.rating,delta:i.delta,navigationType:i.navigationType,id:i.id,timestamp:Math.floor(m(i)),navigationStart:Math.floor(performance.timeOrigin)}}var v=function(){var m=null,v=d(),p=null==v?void 0:v.document,f=null==v?void 0:v.location;return{name:e,type:"enrichment",setup:function(e,d){return i(void 0,void 0,void 0,(function(){var i,v;return t(this,(function(t){return void 0===p||(i=s((null==f?void 0:f.href)||"",e.loggerProvider),v={"[Amplitude] Page Domain":(null==f?void 0:f.hostname)||"","[Amplitude] Page Location":i,"[Amplitude] Page Path":s((null==f?void 0:f.pathname)||"",e.loggerProvider),"[Amplitude] Page Title":"undefined"!=typeof document&&document.title||"","[Amplitude] Page URL":s(i.split("?")[0],e.loggerProvider)},o((function(i){v["[Amplitude] LCP"]=c(i)})),r((function(i){v["[Amplitude] FCP"]=c(i)})),l((function(i){v["[Amplitude] INP"]=c(i)})),u((function(i){v["[Amplitude] CLS"]=c(i)})),a((function(i){v["[Amplitude] TTFB"]=c(i)})),m=function(){"hidden"===p.visibilityState&&m&&(d.track(n,v),p.removeEventListener("visibilitychange",m),m=null)},p.addEventListener("visibilitychange",m)),[2]}))}))},execute:function(e){return i(void 0,void 0,void 0,(function(){return t(this,(function(i){return[2,e]}))}))},teardown:function(){return i(void 0,void 0,void 0,(function(){return t(this,(function(i){return m&&(null==p||p.removeEventListener("visibilitychange",m)),[2]}))}))}}};export{v as webVitalsPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as r}from"../../../../../_virtual/
|
|
1
|
+
import{__module as r}from"../../../../../_virtual/index3.js";var t;function e(){if(t)return r.exports;t=1;var e=Object.prototype.hasOwnProperty;function n(r){return"[Throws: "+(r?r.message:"?")+"]"}function u(r){var t=[];return function r(u){if(null===u||"object"!=typeof u)return u;if(-1!==t.indexOf(u))return"[Circular]";if(t.push(u),"function"==typeof u.toJSON)try{var o=r(u.toJSON());return t.pop(),o}catch(r){return n(r)}if(Array.isArray(u)){var i=u.map(r);return t.pop(),i}var p=Object.keys(u).reduce((function(t,o){return t[o]=r(function(r,t){if(e.call(r,t))try{return r[t]}catch(r){return n(r)}return r[t]}(u,o)),t}),{});return t.pop(),p}(r)}return r.exports=function(r,t,e){return JSON.stringify(u(r),t,e)},r.exports.ensureProperties=u,r.exports}export{e as __require};
|
package/dist/server/node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__require as r}from"./lib/Observable.js";var e,a;function b(){return a?e:(a=1,e=r().Observable)}export{b as __require};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__exports as e}from"../../../../../../_virtual/Observable.js";var t;function r(){if(t)return e;t=1,Object.defineProperty(e,"__esModule",{value:!0}),e.Observable=void 0;const r=e=>Boolean(Symbol[e]),o=e=>r(e)?Symbol[e]:"@@"+e,n=o("iterator"),i=o("observable"),s=o("species");function c(e,t){let r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function u(e){let t=e.constructor;return void 0!==t&&(t=t[s],null===t&&(t=void 0)),void 0!==t?t:d}function l(e){l.log?l.log(e):setTimeout((()=>{throw e}))}function a(e){Promise.resolve().then((()=>{try{e()}catch(e){l(e)}}))}function f(e){let t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{let e=c(t,"unsubscribe");e&&e.call(t)}}catch(e){l(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function h(e,t,r){e._state="running";let o=e._observer;try{let n=c(o,t);switch(t){case"next":n&&n.call(o,r);break;case"error":if(b(e),!n)throw r;n.call(o,r);break;case"complete":b(e),n&&n.call(o)}}catch(e){l(e)}"closed"===e._state?f(e):"running"===e._state&&(e._state="ready")}function p(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void a((()=>function(e){let t=e._queue;if(t){e._queue=void 0,e._state="ready";for(let r=0;r<t.length&&(h(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)))):void h(e,t,r);e._queue.push({type:t,value:r})}}class y{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";let r=this,o={get closed(){return"closed"===r._state},next(e){p(r,"next",e)},error(e){p(r,"error",e)},complete(){p(r,"complete")}};try{this._cleanup=t.call(void 0,o)}catch(e){o.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(b(this),f(this))}}let d=class e{constructor(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}subscribe(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new y(e,this._subscriber)}forEach(e){return new Promise(((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function o(){n.unsubscribe(),t()}let n=this.subscribe({next(t){try{e(t,o)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t})}))}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))((t=>this.subscribe({next(r){try{r=e(r)}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}})))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))((t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}})))}reduce(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");let t=u(this),r=arguments.length>1,o=!1,n=arguments[1];return new t((t=>this.subscribe({next(i){let s=!o;if(o=!0,!s||r)try{n=e(n,i)}catch(e){return t.error(e)}else n=i},error(e){t.error(e)},complete(){if(!o&&!r)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(n),t.complete()}})))}async all(){let e=[];return await this.forEach((t=>e.push(t))),e}concat(...e){let t=u(this);return new t((r=>{let o,n=0;return function i(s){o=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){n===e.length?(o=void 0,r.complete()):i(t.from(e[n++]))}})}(this),()=>{o&&(o.unsubscribe(),o=void 0)}}))}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");let t=u(this);return new t((r=>{let o=[],n=this.subscribe({next(n){if(e)try{n=e(n)}catch(e){return r.error(e)}let s=t.from(n).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){let e=o.indexOf(s);e>=0&&o.splice(e,1),i()}});o.push(s)},error(e){r.error(e)},complete(){i()}});function i(){n.closed&&0===o.length&&r.complete()}return()=>{o.forEach((e=>e.unsubscribe())),n.unsubscribe()}}))}[i](){return this}static from(t){let o="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");let s=c(t,i);if(s){let e=s.call(t);if(Object(e)!==e)throw new TypeError(e+" is not an object");return function(e){return e instanceof d}(e)&&e.constructor===o?e:new o((t=>e.subscribe(t)))}if(r("iterator")&&(s=c(t,n),s))return new o((e=>{a((()=>{if(!e.closed){for(let r of s.call(t))if(e.next(r),e.closed)return;e.complete()}}))}));if(Array.isArray(t))return new o((e=>{a((()=>{if(!e.closed){for(let r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")}static of(...t){return new("function"==typeof this?this:e)((e=>{a((()=>{if(!e.closed){for(let r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}}))}))}static get[s](){return this}};return e.Observable=d,Object.defineProperty(d,Symbol("extensions"),{value:{symbol:i,hostReportError:l},configurable:!0}),e}export{r as __require};
|
|
@@ -11,15 +11,13 @@ import type { CreatePaymentLinkSettings, PaymentLinkParams } from '../shared/pay
|
|
|
11
11
|
* - `items`: An array of items to be included in the payment link. Each item must conform to the Item type and will be validated.
|
|
12
12
|
* - `callbackUrl`: Required callback URL to redirect to after payment link creation.
|
|
13
13
|
* - `operationSettings`: An object with operation-level settings such as
|
|
14
|
-
* `proxyEndpointDescriptor` (
|
|
14
|
+
* `proxyEndpointDescriptor` (required).
|
|
15
15
|
* @returns Promise resolving to the full URL as a string, which can be used to launch the payment link creation flow in an iframe or browser.
|
|
16
|
-
* @throws `InvalidParametersError` If
|
|
17
|
-
* `proxyRequestFunction` is provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
16
|
+
* @throws `InvalidParametersError` If `proxyEndpointDescriptor` is not provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
18
17
|
* @throws `AuthenticationError` If authentication fails (e.g., invalid or missing access token).
|
|
19
18
|
*
|
|
20
19
|
* @example
|
|
21
20
|
* ```
|
|
22
|
-
* // Preferred: Using proxyEndpointDescriptor
|
|
23
21
|
* const url = await paymentLinks.getPaymentLinkCreationFlowUrl({
|
|
24
22
|
* paymentLinkSettings: {
|
|
25
23
|
* items: [{ id: '1', title: 'Item 1', type: 'service', quantity: 1, measureUnit: 'unit', unitPrice: { currency: 'EUR', value: '10' }, vatRate: '20' }],
|
|
@@ -28,22 +26,6 @@ import type { CreatePaymentLinkSettings, PaymentLinkParams } from '../shared/pay
|
|
|
28
26
|
* operationSettings: { proxyEndpointDescriptor }
|
|
29
27
|
* });
|
|
30
28
|
* ```
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```
|
|
34
|
-
* // Alternative: Using proxyRequestFunction
|
|
35
|
-
* const url = await paymentLinks.getPaymentLinkCreationFlowUrl({
|
|
36
|
-
* paymentLinkSettings: {
|
|
37
|
-
* items: [{ id: '1', title: 'Item 1', type: 'service', quantity: 1, measureUnit: 'unit', unitPrice: { currency: 'EUR', value: '10' }, vatRate: '20' }],
|
|
38
|
-
* callbackUrl: 'https://example.com/callback',
|
|
39
|
-
* },
|
|
40
|
-
* operationSettings: {
|
|
41
|
-
* proxyRequestFunction: async (encodedCall) => {
|
|
42
|
-
* // Implement your proxy logic here
|
|
43
|
-
* },
|
|
44
|
-
* }
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
29
|
*/
|
|
48
30
|
export declare const getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, operationSettings, }: PaymentLinkParams<CreatePaymentLinkSettings, ClientOperationSettings>) => Promise<string>;
|
|
49
31
|
/**
|
|
@@ -57,15 +39,13 @@ export declare const getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, oper
|
|
|
57
39
|
* - `items`: An array of items to be included in the payment link. Each item must conform to the Item type and will be validated.
|
|
58
40
|
* - `callbackUrl`: Required callback URL to redirect to after payment link creation.
|
|
59
41
|
* - `operationSettings`: An object with operation-level settings such as
|
|
60
|
-
* `proxyEndpointDescriptor` (
|
|
42
|
+
* `proxyEndpointDescriptor` (required).
|
|
61
43
|
* @returns This function redirects the browser to the payment link creation flow. Due to the redirect, the returned promise will not resolve.
|
|
62
|
-
* @throws `InvalidParametersError` If
|
|
63
|
-
* `proxyRequestFunction` is provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
44
|
+
* @throws `InvalidParametersError` If `proxyEndpointDescriptor` is not provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
64
45
|
* @throws `AuthenticationError` If authentication fails (e.g., invalid or missing access token).
|
|
65
46
|
*
|
|
66
47
|
* @example
|
|
67
48
|
* ```
|
|
68
|
-
* // Preferred: Using proxyEndpointDescriptor
|
|
69
49
|
* await paymentLinks.redirectToPaymentLinkCreationFlow({
|
|
70
50
|
* paymentLinkSettings: {
|
|
71
51
|
* items: [{ id: '1', title: 'Item 1', type: 'service', quantity: 1, measureUnit: 'unit', unitPrice: { currency: 'EUR', value: '10' }, vatRate: '20' }],
|
|
@@ -74,22 +54,6 @@ export declare const getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, oper
|
|
|
74
54
|
* operationSettings: { proxyEndpointDescriptor }
|
|
75
55
|
* });
|
|
76
56
|
* ```
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```
|
|
80
|
-
* // Alternative: Using proxyRequestFunction
|
|
81
|
-
* await paymentLinks.redirectToPaymentLinkCreationFlow({
|
|
82
|
-
* paymentLinkSettings: {
|
|
83
|
-
* items: [{ id: '1', title: 'Item 1', type: 'service', quantity: 1, measureUnit: 'unit', unitPrice: { currency: 'EUR', value: '10' }, vatRate: '20' }],
|
|
84
|
-
* callbackUrl: 'https://example.com/callback',
|
|
85
|
-
* },
|
|
86
|
-
* operationSettings: {
|
|
87
|
-
* proxyRequestFunction: async (encodedCall) => {
|
|
88
|
-
* // Implement your proxy logic here
|
|
89
|
-
* },
|
|
90
|
-
* }
|
|
91
|
-
* });
|
|
92
|
-
* ```
|
|
93
57
|
*/
|
|
94
58
|
export declare const redirectToPaymentLinkCreationFlow: ({ paymentLinkSettings, operationSettings, }: PaymentLinkParams<CreatePaymentLinkSettings, ClientOperationSettings>) => Promise<void>;
|
|
95
59
|
//# sourceMappingURL=payment-links.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-links.client.d.ts","sourceRoot":"","sources":["../../../../src/payment-links/client/payment-links.client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"payment-links.client.d.ts","sourceRoot":"","sources":["../../../../src/payment-links/client/payment-links.client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAIzF,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAMvC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,6BAA6B,GAAU,6CAGjD,iBAAiB,CAClB,yBAAyB,EACzB,uBAAuB,CACxB,KAAG,OAAO,CAAC,MAAM,CAsCjB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iCAAiC,GAAU,6CAGrD,iBAAiB,CAClB,yBAAyB,EACzB,uBAAuB,CACxB,KAAG,OAAO,CAAC,IAAI,CAOf,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* operations such as starting the payment link creation flow.
|
|
4
4
|
*
|
|
5
5
|
* **Client-side only** - This namespace uses proxy-based authentication
|
|
6
|
-
* (`proxyEndpointDescriptor`
|
|
6
|
+
* (`proxyEndpointDescriptor`).
|
|
7
7
|
*
|
|
8
8
|
* For server-side operations using access token, import from
|
|
9
9
|
* `'@qonto/embed-sdk/server/payment-links'`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sca.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,sBAAsB,EAEtB,SAAS,EACV,MAAM,gBAAgB,CAAC;AAGxB,wBAAuB,cAAc,CAAC,EACpC,WAAW,EACX,iBAAiB,GAClB,EAAE,SAAS,CAAC,sBAAsB,CAAC,
|
|
1
|
+
{"version":3,"file":"sca.d.ts","sourceRoot":"","sources":["../../../src/sca/sca.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,sBAAsB,EAEtB,SAAS,EACV,MAAM,gBAAgB,CAAC;AAGxB,wBAAuB,cAAc,CAAC,EACpC,WAAW,EACX,iBAAiB,GAClB,EAAE,SAAS,CAAC,sBAAsB,CAAC,mEA6BnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{callProxyFunction as t}from"../common/common.utils.js";import{validateOperationSettingsParams as a}from"../validation/operation-settings-validation.js";import{prepareAuthLinkRequest as i,requestAuthLink as n}from"./shared/auth-links.api.js";import{serializeAuthLink as r}from"./shared/auth-links.serializer.js";import{validateAuthLinkRequestSettings as s}from"./shared/auth-links.validate.js";async function c({requestSettings:c,operationSettings:e}){s(c);const{
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{callProxyFunction as t}from"../common/common.utils.js";import{validateOperationSettingsParams as a}from"../validation/operation-settings-validation.js";import{prepareAuthLinkRequest as i,requestAuthLink as n}from"./shared/auth-links.api.js";import{serializeAuthLink as r}from"./shared/auth-links.serializer.js";import{validateAuthLinkRequestSettings as s}from"./shared/auth-links.validate.js";async function c({requestSettings:c,operationSettings:e}){s(c);const{proxyEndpointDescriptor:l,stagingToken:m}=a(e||{});if(l){const o=i({stagingToken:m,action:c.action,callbackUrl:c.callbackUrl}),a=await t({proxyEndpointDescriptor:l,networkCallDescriptor:o});return r(a.body)}{const t=e?.accessToken||o(),a=await n({accessToken:t,stagingToken:m,action:c.action,callbackUrl:c.callbackUrl});return r(a)}}export{c as request};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as i}from"../common/auth/auth.validate.js";import{callProxyFunction as o}from"../common/common.utils.js";import"../common/environment/environment-manager.js";import"../common/locale/locale-manager.js";import"../common/operation-settings/operation-settings.js";import{validateOperationSettingsParams as e}from"../validation/operation-settings-validation.js";import{getBeneficiary as n,prepareGetBeneficiaryCall as t}from"./shared/beneficiaries.api.js";import{serializeBeneficiary as r}from"./shared/beneficiaries.serializer.js";import{validateGetBeneficiaryParams as a}from"./shared/beneficiaries.validate.js";async function s({beneficiarySettings:s,operationSettings:m}){const c=a(s?.beneficiaryId),{proxyEndpointDescriptor:p,accessToken:f,stagingToken:d}=e(m||{});if(p){const i=t({beneficiaryId:c}),e=await o({proxyEndpointDescriptor:p,networkCallDescriptor:i});return r(e.body.beneficiary)}{const o=f||i(),e=await n({beneficiaryId:c,accessToken:o,stagingToken:d});return r(e)}}export{s as getBeneficiary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.
|
|
1
|
+
import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{init as t,track as e,reset as n}from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{ENVIRONMENTS as s}from"../constants.js";import{environmentManager as a}from"../environment/environment-manager.js";import"../operation-settings/operation-settings.js";import{isRunningInServer as o}from"../runtime/runtime.validation.js";import{ANALYTICS_EVENTS as r}from"./analytics.constants.js";import{LogLevel as l}from"../../../node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";class c{constructor(){this.isInitialized=!1}static getInstance(){return c.instance||(c.instance=new c),c.instance}initialize(){if(this.isInitialized||o())return;const e=a.getEnvironment()||"production",n=e===s.PRODUCTION?"52c120d2f5c89ca646fae6649a1ce7ad":"373aa80c38e5bc2a55895a96c8447fef";try{if(!i||"function"!=typeof t)throw new Error("Analytics SDK module not available");const a={defaultTracking:{sessions:!1,pageViews:!1,formInteractions:!1,fileDownloads:!1},logLevel:e!==s.PRODUCTION?l.Debug:l.None};t(n,void 0,a),this.isInitialized=!0,this.track(r.SDK_INITIALIZED)}catch(i){console.error("Failed to initialize analytics tracking:",i)}}isEnabled(){return this.isInitialized}track(i,t){if(this.isInitialized)try{e(i,t)}catch(i){console.error("Failed to track analytics event:",i)}}reset(){if(this.isInitialized)try{n()}catch(i){console.error("Failed to reset analytics:",i)}}}const m=c.getInstance();export{c as AmplitudeManager,m as amplitudeManager};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tracker as
|
|
1
|
+
import{tracker as e}from"../../common/analytics/analytics-tracker.js";import{callProxyFunction as r}from"../../common/common.utils.js";import{validateClientOperationSettings as o}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as s}from"../../errors/InvalidParametersError.js";import{prepareAuthLinkRequest as t}from"../shared/auth-links.api.js";import{serializeAuthLink as n}from"../shared/auth-links.serializer.js";import{validateAuthLinkRequestSettings as i}from"../shared/auth-links.validate.js";async function a({requestSettings:a,operationSettings:c}){e.authLinksRequest(),i(a);const{proxyEndpointDescriptor:p,stagingToken:l}=o(c,'Client-side auth-links operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/auth-links" only in server-side/backend environments.');if(!p)throw new s('Client-side auth-links operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/auth-links" only in server-side/backend environments.');const m=t({stagingToken:l,action:a.action,callbackUrl:a.callbackUrl}),d=await r({proxyEndpointDescriptor:p,networkCallDescriptor:m});return n(d.body)}export{a as request};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{serializePaginationResponse as i}from"../common/api-pagination/api-pagination.js";import"../common/auth/auth.js";import{validatePresenceOfAuthToken as
|
|
1
|
+
import{serializePaginationResponse as i}from"../common/api-pagination/api-pagination.js";import"../common/auth/auth.js";import{validatePresenceOfAuthToken as e}from"../common/auth/auth.validate.js";import{callProxyFunction as n}from"../common/common.utils.js";import"../common/environment/environment-manager.js";import"../common/locale/locale-manager.js";import"../common/operation-settings/operation-settings.js";import{validateOperationSettingsParams as o}from"../validation/operation-settings-validation.js";import{prepareGetBeneficiariesCall as t,getBeneficiaries as a,getBeneficiary as r,prepareGetBeneficiaryCall as s}from"./shared/beneficiaries.api.js";import{serializeBeneficiary as c}from"./shared/beneficiaries.serializer.js";import{validateGetBeneficiaryParams as m}from"./shared/beneficiaries.validate.js";async function p(r){const{stagingToken:s,proxyEndpointDescriptor:m,accessToken:p,paginationSettings:g}=o(r?.operationSettings||{});if(m){const e=t({paginationSettings:g}),o=await n({proxyEndpointDescriptor:m,networkCallDescriptor:e}),a=o.body.beneficiaries.map((i=>c(i))),r=i(o.body.meta);return{beneficiaries:a,...r?{meta:r}:{}}}{const n=p||e(),o=await a({accessToken:n,stagingToken:s,paginationSettings:g}),t=o.beneficiaries.map((i=>c(i))),r=i(o.meta);return{beneficiaries:t,...r?{meta:r}:{}}}}async function g({beneficiarySettings:i,operationSettings:t}){const a=m(i?.beneficiaryId),{proxyEndpointDescriptor:p,accessToken:g,stagingToken:f}=o(t||{});if(p){const i=s({beneficiaryId:a}),e=await n({proxyEndpointDescriptor:p,networkCallDescriptor:i});return c(e.body.beneficiary)}{const i=g||e(),n=await r({beneficiaryId:a,accessToken:i,stagingToken:f});return c(n)}}export{p as getBeneficiaries,g as getBeneficiary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tracker as e}from"../../common/analytics/analytics-tracker.js";import{serializePaginationResponse as i}from"../../common/api-pagination/api-pagination.js";import"../../common/auth/auth.js";import{validatePresenceOfAuthToken as
|
|
1
|
+
import{tracker as e}from"../../common/analytics/analytics-tracker.js";import{serializePaginationResponse as i}from"../../common/api-pagination/api-pagination.js";import"../../common/auth/auth.js";import{validatePresenceOfAuthToken as r}from"../../common/auth/auth.validate.js";import{callProxyFunction as n}from"../../common/common.utils.js";import{ACTIONS as o}from"../../common/constants.js";import{buildRequestHeaders as t}from"../../common/network/network.js";import{validateClientOperationSettings as s,validateOperationSettingsParams as a}from"../../validation/operation-settings-validation.js";import{buildIframeUrl as c,createIframe as p}from"../../iframe/iframe-manager.js";import{prepareAddBeneficiaryCall as d,prepareGetBeneficiariesCall as y,prepareUntrustBeneficiaryCall as m,prepareUpdateBeneficiaryCall as b,prepareGetBeneficiaryCall as f}from"../shared/beneficiaries.api.js";import{serializeBeneficiary as u}from"../shared/beneficiaries.serializer.js";import{validateTrustBeneficiariesParams as l,validateUpdateBeneficiaryParams as k,validateAddBeneficiaryParams as v,validateGetBeneficiaryParams as g}from"../shared/beneficiaries.validate.js";async function x(r){e.beneficiariesList();const{proxyEndpointDescriptor:o,paginationSettings:t}=s(r?.operationSettings,'Client-side beneficiary operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/beneficiaries" only in server-side/backend environments.'),a=y({paginationSettings:t}),c=await n({proxyEndpointDescriptor:o,networkCallDescriptor:a}),p=c.body.beneficiaries.map((e=>u(e))),d=i(c.body.meta);return{beneficiaries:p,...d?{meta:d}:{}}}async function D({beneficiarySettings:i,operationSettings:r}){e.beneficiariesGet();const o=g(i?.beneficiaryId),{proxyEndpointDescriptor:t}=s(r,'Client-side beneficiary operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/beneficiaries" only in server-side/backend environments.'),a=f({beneficiaryId:o}),c=await n({proxyEndpointDescriptor:t,networkCallDescriptor:a});return u(c.body.beneficiary)}async function E({beneficiarySettings:i,operationSettings:r}){e.beneficiariesAdd();const o=v(i),{proxyEndpointDescriptor:a,idempotencyKey:c}=s(r,'Client-side beneficiary operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/beneficiaries" only in server-side/backend environments.'),p=d({beneficiary:o,idempotencyKey:c});p.options.headers=t({...p.options.headers});const y=await n({proxyEndpointDescriptor:a,networkCallDescriptor:p});return u(y.body.beneficiary)}async function w({beneficiarySettings:i,operationSettings:r}){e.beneficiariesUpdate();const o=k(i),{proxyEndpointDescriptor:t,idempotencyKey:a,mfaPreference:c}=s(r,'Client-side beneficiary operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/beneficiaries" only in server-side/backend environments.'),p=b({beneficiaryParamsBeingEdited:o,idempotencyKey:a,mfaPreference:c}),d=await n({proxyEndpointDescriptor:t,networkCallDescriptor:p});return u(d.body.beneficiary)}async function S({beneficiarySettings:i,operationSettings:n}){e.beneficiariesTrust();const{accessToken:t,uiParentElementId:s,debugMode:d}=a(n,{requiresUI:!0}),y=t||r(),m=l(i?.beneficiaryIds),b=c({accessToken:y,debugMode:d}),f=await p({parentElementId:s,iframeUrl:b});return(await f.postMessage({actionId:o.BENEFICIARIES_TRUST,actionData:{body:{beneficiaryIds:m}}})).beneficiaries}async function h({beneficiarySettings:i,operationSettings:r}){e.beneficiariesUntrust();const o=l(i?.beneficiaryIds),{proxyEndpointDescriptor:t}=s(r,'Client-side beneficiary operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/beneficiaries" only in server-side/backend environments.'),a=m({beneficiaryIds:o});return(await n({proxyEndpointDescriptor:t,networkCallDescriptor:a})).body.beneficiaries.map(u)}export{E as addBeneficiary,x as getBeneficiaries,D as getBeneficiary,S as trustBeneficiaries,h as untrustBeneficiaries,w as updateBeneficiary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tracker as e}from"../../common/analytics/analytics-tracker.js";import{authManager as r}from"../../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../../common/auth/auth.validate.js";import{callProxyFunction as
|
|
1
|
+
import{tracker as e}from"../../common/analytics/analytics-tracker.js";import{authManager as r}from"../../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../../common/auth/auth.validate.js";import{callProxyFunction as o}from"../../common/common.utils.js";import{validateOperationSettingsParams as n,validateClientOperationSettings as i}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as s}from"../../errors/InvalidParametersError.js";import{buildIframeUrl as a,createIframe as d}from"../../iframe/iframe-manager.js";import{prepareGetCardIframeUrl as c,prepareGetCardCall as p,prepareGetCardsCall as m}from"../shared/cards.api.js";import{createEmbedUI as g}from"../shared/cards.helper.js";import{serializeUnlockCardPayload as u,serializeCard as l,serializeOrderCardPayload as f}from"../shared/cards.serializer.js";import{validateDisplayCardParams as y,validateUnlockCardParams as w,validateOrderCardParams as k,validateGetCardParams as h}from"../shared/cards.validate.js";async function b(r){e.cardsList();const t=r?.cardSettings?.membershipId;if(t&&"string"!=typeof t)throw new s("membershipId must be a string");if(r?.operationSettings?.proxyRequestFunction)throw new s("proxyRequestFunction is no longer supported for card operations. Use proxyEndpointDescriptor instead.");const{proxyEndpointDescriptor:n,stagingToken:a}=i(r?.operationSettings,'Client-side card operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/cards" only in server-side/backend environments.'),d=m({membershipId:t,stagingToken:a});return(await o({proxyEndpointDescriptor:n,networkCallDescriptor:d})).body.cards.map((e=>l(e)))}async function E({cardSettings:r,operationSettings:t}){e.cardsGet(),h(r);const n=r.cardId;if(t?.proxyRequestFunction)throw new s("proxyRequestFunction is no longer supported for card operations. Use proxyEndpointDescriptor instead.");const{proxyEndpointDescriptor:a,stagingToken:d}=i(t,'Client-side card operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/cards" only in server-side/backend environments.'),c=p({cardId:n,stagingToken:d}),m=(await o({proxyEndpointDescriptor:a,networkCallDescriptor:c})).body.cards;if(Array.isArray(m)&&m.length>0)return l(m[0]);throw new s("Unable to retrieve card data")}async function x(o){e.cardsOrder();const n=t(),{uiParentElementId:i,debugMode:c}=o.operationSettings;if(!i)throw new s("uiParentElementId is required");k(o.cardSettings);const p=a({accessToken:n,stagingToken:r.getStagingToken()||void 0,debugMode:c}),m=await d({iframeUrl:p,parentElementId:i}),g=f(o.cardSettings),u=await m.postMessage(g);return m.destroy(),l(u)}async function I(o){e.cardsUnlock();const n=t(),{uiParentElementId:i,debugMode:c}=o.operationSettings;if(!i)throw new s("uiParentElementId is required");w(o.cardSettings);const p=a({accessToken:n,stagingToken:r.getStagingToken()||void 0,debugMode:c}),m=await d({iframeUrl:p,parentElementId:i}),g=u(o),f=await m.postMessage(g);return m.destroy(),l(f)}async function S(r){e.cardsDisplay();const{uiParentElementId:i,accessToken:a,stagingToken:d,debugMode:p,mfaPreference:m,proxyEndpointDescriptor:u,proxyRequestFunction:l}=n(r.operationSettings,{requiresUI:!0});if(!i)throw new s("uiParentElementId is required");if(y(r.cardSettings),l&&!u)throw new s("proxyRequestFunction is no longer supported for card operations. Use proxyEndpointDescriptor instead.");if(u){const e=c({stagingToken:d}),t=(await o({proxyEndpointDescriptor:u,networkCallDescriptor:e})).body.embed_auth_link;return g({decorationParams:r.cardSettings,operationSettings:{uiParentElementId:i,debugMode:p},cardIframeUrl:t.url})}{const e=a||t(),{getCardIframeURL:o}=await import("../shared/cards.api.js"),n=await o({...r.cardSettings,accessToken:e,stagingToken:d});return g({decorationParams:r.cardSettings,operationSettings:{uiParentElementId:i,debugMode:p},cardIframeUrl:n.url})}}export{S as displayCard,E as getCard,b as getCards,x as orderCard,I as unlockCard};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.
|
|
1
|
+
import*as i from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{init as t,track as e,reset as n}from"../../../node_modules/.pnpm/@amplitude_analytics-browser@2.37.2/node_modules/@amplitude/analytics-browser/lib/esm/index.js";import{ENVIRONMENTS as s}from"../constants.js";import{environmentManager as a}from"../environment/environment-manager.js";import"../operation-settings/operation-settings.js";import{isRunningInServer as o}from"../runtime/runtime.validation.js";import{ANALYTICS_EVENTS as r}from"./analytics.constants.js";import{LogLevel as l}from"../../../node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";class c{constructor(){this.isInitialized=!1}static getInstance(){return c.instance||(c.instance=new c),c.instance}initialize(){if(this.isInitialized||o())return;const e=a.getEnvironment()||"production",n=e===s.PRODUCTION?"52c120d2f5c89ca646fae6649a1ce7ad":"373aa80c38e5bc2a55895a96c8447fef";try{if(!i||"function"!=typeof t)throw new Error("Analytics SDK module not available");const a={defaultTracking:{sessions:!1,pageViews:!1,formInteractions:!1,fileDownloads:!1},logLevel:e!==s.PRODUCTION?l.Debug:l.None};t(n,void 0,a),this.isInitialized=!0,this.track(r.SDK_INITIALIZED)}catch(i){console.error("Failed to initialize analytics tracking:",i)}}isEnabled(){return this.isInitialized}track(i,t){if(this.isInitialized)try{e(i,t)}catch(i){console.error("Failed to track analytics event:",i)}}reset(){if(this.isInitialized)try{n()}catch(i){console.error("Failed to reset analytics:",i)}}}const m=c.getInstance();export{c as AmplitudeManager,m as amplitudeManager};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ENVIRONMENTS as e}from"../constants.js";import{environmentManager as n}from"../environment/environment-manager.js";import{init as i}from"../../../node_modules/.pnpm/@sentry_browser@10.
|
|
1
|
+
import{ENVIRONMENTS as e}from"../constants.js";import{environmentManager as n}from"../environment/environment-manager.js";import{init as i}from"../../../node_modules/.pnpm/@sentry_browser@10.45.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js";import{captureException as t,captureMessage as s}from"../../../node_modules/.pnpm/@sentry_core@10.45.0/node_modules/@sentry/core/build/esm/exports.js";class r{constructor(){this.isInitialized=!1}static getInstance(){return r.instance||(r.instance=new r),r.instance}initialize(){if(this.isInitialized)return;const t=n.getEnvironment()||"production";if(!(t===e.PRODUCTION||t===e.STAGING))return;i({dsn:"https://8e000dda9faf4372bd40163105017f8a@o74188.ingest.us.sentry.io/4510466352742400",environment:t,sampleRate:.1}),this.isInitialized=!0}isEnabled(){return this.isInitialized}captureError(e){this.isInitialized&&t(e)}captureMessage(e,n="info"){this.isInitialized&&s(e,n)}}const o=r.getInstance();export{r as SentryManager,o as sentryManager};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{authLinks as
|
|
1
|
+
import{authLinks as e}from"../../auth-links/index.js";import{tracker as t}from"../../common/analytics/analytics-tracker.js";import{AUTH_LINK_ACTIONS as n}from"../../common/constants.js";import{validateClientOperationSettings as r}from"../../validation/operation-settings-validation.js";import{InvalidParametersError as i}from"../../errors/InvalidParametersError.js";import{validateItems as o,validatePaymentLinkCreationFlowParams as s}from"../shared/payment-links.validate.js";const a=async({paymentLinkSettings:a,operationSettings:p})=>{t.paymentLinksCreate();const{proxyEndpointDescriptor:m}=r(p,'Client-side payment link operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/payment-links" only in server-side/backend environments.');if(!m)throw new i('Client-side payment link operations require proxyEndpointDescriptor. For security, never expose access tokens in the browser. Use "@qonto/embed-sdk/server/payment-links" only in server-side/backend environments.');const{items:c}=a;o(c);const l=s(a),y=await e.request({requestSettings:{action:n.PAYMENT_LINK_CREATE,callbackUrl:l},operationSettings:p}),d=new URLSearchParams({...c?{items:JSON.stringify(c)}:{}});return d.toString()?`${y.url}?${d.toString()}`:y.url},p=async({paymentLinkSettings:e,operationSettings:n})=>{t.paymentLinksRedirect();const r=await a({paymentLinkSettings:e,operationSettings:n});window.location.href=r};export{a as getPaymentLinkCreationFlowUrl,p as redirectToPaymentLinkCreationFlow};
|
package/dist/src/sca/sca.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{callProxyFunction as o}from"../common/common.utils.js";import{prepareScaPollingCall as s}from"./sca.api.js";import{SCA_POLLING_RESULTS as r}from"./sca.constants.js";import{serializeScaPollingResponse as
|
|
1
|
+
import{callProxyFunction as o}from"../common/common.utils.js";import{prepareScaPollingCall as s}from"./sca.api.js";import{SCA_POLLING_RESULTS as r}from"./sca.constants.js";import{serializeScaPollingResponse as i}from"./sca.serializer.js";import{InvalidParametersError as t}from"../errors/InvalidParametersError.js";async function*n({scaSettings:n,operationSettings:e}){if(!n||!n.scaSessionToken)throw new t("scaSettings with scaSessionToken is required to poll SCA session.");if(!e?.proxyEndpointDescriptor)throw new t("operationSettings with proxyEndpointDescriptor is required to poll SCA session.");const p=s({scaSessionToken:n.scaSessionToken,stagingToken:e.stagingToken});let a;do{a&&(yield a);const s=await o({proxyEndpointDescriptor:e.proxyEndpointDescriptor,networkCallDescriptor:p});a=i(s.body)}while(a.result===r.WAITING);return a}export{n as pollScaSession};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qonto/embed-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.0",
|
|
4
4
|
"description": "Library to embed Qonto features in your application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"last 6 opera major version"
|
|
122
122
|
],
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@amplitude/analytics-browser": "^2.
|
|
124
|
+
"@amplitude/analytics-browser": "^2.37.2",
|
|
125
125
|
"@lit/localize": "^0.12.2",
|
|
126
|
-
"@sentry/browser": "^10.
|
|
126
|
+
"@sentry/browser": "^10.45.0",
|
|
127
127
|
"lit": "^3.3.2",
|
|
128
128
|
"lottie-web": "^5.13.0",
|
|
129
129
|
"uuid": "^13.0.0"
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"@storybook/addon-a11y": "^10.2.19",
|
|
145
145
|
"@storybook/addon-docs": "^10.1.11",
|
|
146
146
|
"@storybook/addon-vitest": "^10.2.19",
|
|
147
|
-
"@storybook/web-components-vite": "^10.
|
|
147
|
+
"@storybook/web-components-vite": "^10.3.3",
|
|
148
148
|
"@types/jsdom": "^27.0.0",
|
|
149
149
|
"@types/node": "^25.5.0",
|
|
150
150
|
"@vitest/browser": "3.1.1",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"dotenv": "^17.3.1",
|
|
155
155
|
"eslint": "^9.39.2",
|
|
156
156
|
"eslint-plugin-import": "^2.32.0",
|
|
157
|
-
"eslint-plugin-storybook": "^10.
|
|
157
|
+
"eslint-plugin-storybook": "^10.3.3",
|
|
158
158
|
"eslint-plugin-tsdoc": "^0.5.2",
|
|
159
159
|
"globals": "^17.3.0",
|
|
160
160
|
"husky": "^9.1.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__rest as e,__assign as r,__read as i}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BASE_CAMPAIGN as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{Identify as t}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";import{createIdentifyEvent as s}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js";var a=function(e){var r=e.split(".");return r.length<=2?e:r.slice(r.length-2,r.length).join(".")},o=function(r,i,n,t,s){void 0===s&&(s=!0),r.referrer;var o=r.referring_domain,c=e(r,["referrer","referring_domain"]),l=i||{};l.referrer;var d=l.referring_domain,m=e(l,["referrer","referring_domain"]);if(u(n.excludeReferrers,r.referring_domain))return t.debug("This is not a new campaign because ".concat(r.referring_domain," is in the exclude referrer list.")),!1;if(!s&&function(e){return Object.values(e).every((function(e){return!e}))}(r)&&i)return t.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var f=JSON.stringify(c)!==JSON.stringify(m),p=a(o||"")!==a(d||""),g=!i||f||p;return g?t.debug("This is a new campaign. An $identify event will be sent."):t.debug("This is not a new campaign because it's the same as the previous one."),g},u=function(e,r){return void 0===e&&(e=[]),void 0===r&&(r=""),e.some((function(e){return e instanceof RegExp?e.test(r):e===r}))},c=function(e,a){var o=r(r({},n),e),u=Object.entries(o).reduce((function(e,r){var n,t=i(r,2),s=t[0],o=t[1];return e.setOnce("initial_".concat(s),null!==(n=null!=o?o:a.initialEmptyValue)&&void 0!==n?n:"EMPTY"),o?e.set(s,o):e.unset(s)}),new t);return s(u)},l=function(e){var r=e;return r?(r.startsWith(".")&&(r=r.substring(1)),[new RegExp("".concat(r.replace(".","\\."),"$"))]):[]};export{c as createCampaignEvent,l as getDefaultExcludedReferrers,u as isExcludedReferrer,o as isNewCampaign};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign as t,__awaiter as e,__generator as i,__read as s}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{getDefaultExcludedReferrers as o,isNewCampaign as a,createCampaignEvent as r}from"./helpers.js";import{getStorageKey as n}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/helpers.js";import{BASE_CAMPAIGN as p}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";import{isNewSession as l}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/session.js";import{CampaignParser as u}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js";var m=function(){function m(e,i){var s;this.shouldTrackNewCampaign=!1,this.options=t({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:o(null===(s=i.cookieOptions)||void 0===s?void 0:s.domain),optOut:i.optOut},e),this.storage=i.cookieStorage,this.storageKey=n(i.apiKey,"MKTG"),this.webExpStorageKey=n(i.apiKey,"MKTG_ORIGINAL"),this.currentCampaign=p,this.sessionTimeout=i.sessionTimeout,this.lastEventTime=i.lastEventTime,this.logger=i.loggerProvider,i.loggerProvider.log("Installing web attribution tracking.")}return m.prototype.init=function(){return e(this,void 0,void 0,(function(){var t,e;return i(this,(function(i){switch(i.label){case 0:return this.options.optOut?[2]:[4,this.fetchCampaign()];case 1:return e=s.apply(void 0,[i.sent(),2]),this.currentCampaign=e[0],this.previousCampaign=e[1],t=!this.lastEventTime||l(this.sessionTimeout,this.lastEventTime),a(this.currentCampaign,this.previousCampaign,this.options,this.logger,t)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))},m.prototype.fetchCampaign=function(){return e(this,void 0,void 0,(function(){var t;return i(this,(function(e){switch(e.label){case 0:return[4,this.storage.get(this.webExpStorageKey)];case 1:return(t=e.sent())?[4,this.storage.remove(this.webExpStorageKey)]:[3,3];case 2:e.sent(),e.label=3;case 3:return[4,Promise.all([t||(new u).parse(),this.storage.get(this.storageKey)])];case 4:return[2,e.sent()]}}))}))},m.prototype.generateCampaignEvent=function(t){this.shouldTrackNewCampaign=!1;var e=r(this.currentCampaign,this.options);return t&&(e.event_id=t),e},m.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},m}();export{m as WebAttribution};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{AmplitudeBrowser as e}from"./browser-client.js";import{debugWrapper as i,getClientStates as n,getClientLogConfig as t}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js";var d=function(){var d=new e;return{init:i(d.init.bind(d),"init",t(d),n(d,["config"])),add:i(d.add.bind(d),"add",t(d),n(d,["config.apiKey","timeline.plugins"])),remove:i(d.remove.bind(d),"remove",t(d),n(d,["config.apiKey","timeline.plugins"])),track:i(d.track.bind(d),"track",t(d),n(d,["config.apiKey","timeline.queue.length"])),logEvent:i(d.logEvent.bind(d),"logEvent",t(d),n(d,["config.apiKey","timeline.queue.length"])),identify:i(d.identify.bind(d),"identify",t(d),n(d,["config.apiKey","timeline.queue.length"])),groupIdentify:i(d.groupIdentify.bind(d),"groupIdentify",t(d),n(d,["config.apiKey","timeline.queue.length"])),setGroup:i(d.setGroup.bind(d),"setGroup",t(d),n(d,["config.apiKey","timeline.queue.length"])),revenue:i(d.revenue.bind(d),"revenue",t(d),n(d,["config.apiKey","timeline.queue.length"])),flush:i(d.flush.bind(d),"flush",t(d),n(d,["config.apiKey","timeline.queue.length"])),getUserId:i(d.getUserId.bind(d),"getUserId",t(d),n(d,["config","config.userId"])),setUserId:i(d.setUserId.bind(d),"setUserId",t(d),n(d,["config","config.userId"])),getDeviceId:i(d.getDeviceId.bind(d),"getDeviceId",t(d),n(d,["config","config.deviceId"])),setDeviceId:i(d.setDeviceId.bind(d),"setDeviceId",t(d),n(d,["config","config.deviceId"])),reset:i(d.reset.bind(d),"reset",t(d),n(d,["config","config.userId","config.deviceId"])),getSessionId:i(d.getSessionId.bind(d),"getSessionId",t(d),n(d,["config"])),setSessionId:i(d.setSessionId.bind(d),"setSessionId",t(d),n(d,["config"])),extendSession:i(d.extendSession.bind(d),"extendSession",t(d),n(d,["config"])),setOptOut:i(d.setOptOut.bind(d),"setOptOut",t(d),n(d,["config"])),setTransport:i(d.setTransport.bind(d),"setTransport",t(d),n(d,["config"])),getIdentity:i(d.getIdentity.bind(d),"getIdentity",t(d),n(d,["config"])),setIdentity:i(d.setIdentity.bind(d),"setIdentity",t(d),n(d,["config","config.userId","config.deviceId"])),getOptOut:i(d.getOptOut.bind(d),"getOptOut",t(d),n(d,["config"])),_setDiagnosticsSampleRate:i(d._setDiagnosticsSampleRate.bind(d),"_setDiagnosticsSampleRate",t(d),n(d,["config"]))}},s=d();export{d as createInstance,s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as i,__assign as e,__awaiter as t,__values as s,__read as n,__generator as o,__rest as r}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{isSessionTrackingEnabled as a,isPageUrlEnrichmentEnabled as d,isWebVitalsEnabled as c,isNetworkTrackingEnabled as u,getNetworkTrackingConfig as l,isFrustrationInteractionsEnabled as p,getFrustrationInteractionsConfig as g,isElementInteractionsEnabled as m,getElementInteractionsConfig as f,getPageViewTrackingConfig as h,isPageViewTrackingEnabled as v,isFormInteractionTrackingEnabled as b,isFileDownloadTrackingEnabled as y,isAttributionTrackingEnabled as I,getAttributionTrackingConfig as _}from"./default-tracking.js";import{isInstanceProxy as w,convertProxyObjectToRealObject as j}from"./utils/snippet-helper.js";import{Context as S}from"./plugins/context.js";import{createTransport as k,useBrowserConfig as P,shouldFetchRemoteConfig as T}from"./config.js";import{formInteractionTracking as D}from"./plugins/form-interaction-tracking.js";import{fileDownloadTracking as A}from"./plugins/file-download-tracking.js";import{DEFAULT_SESSION_END_EVENT as O,DEFAULT_SESSION_START_EVENT as C,DEFAULT_SERVER_ZONE as N}from"./constants.js";import{detNotify as E}from"./det-notification.js";import{networkConnectivityCheckerPlugin as q}from"./plugins/network-connectivity-checker.js";import{updateBrowserConfigWithRemoteConfig as R}from"./config/joined-config.js";import{WebAttribution as U}from"./attribution/web-attribution.js";import{LIBPREFIX as K}from"./lib-prefix.js";import{VERSION as x}from"./version.js";import{returnWrapper as z}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js";import{setConnectorUserId as B,setConnectorDeviceId as F,getAnalyticsConnector as L}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/analytics-connector.js";import{UUID as J}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js";import{Identify as Q}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";import{createIdentifyEvent as Z}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js";import{safeJsonStringify as G}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js";import{AmplitudeCore as H}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/core-client.js";import{pageUrlEnrichmentPlugin as M}from"../../../../../../@amplitude_plugin-page-url-enrichment-browser@0.6.2/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js";import{webVitalsPlugin as V}from"../../../../../../@amplitude_plugin-web-vitals-browser@1.1.13/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js";import{networkCapturePlugin as W}from"../../../../../../@amplitude_plugin-network-capture-browser@1.8.2/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js";import{frustrationPlugin as X}from"../../../../../../@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js";import{autocapturePlugin as Y}from"../../../../../../@amplitude_plugin-autocapture-browser@1.22.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js";import{pageViewTrackingPlugin as $}from"../../../../../../@amplitude_plugin-page-view-tracking-browser@2.7.2/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js";import{IdentityEventSender as ii}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js";import{Destination as ei}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js";import{getQueryParams as ti}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js";import{OfflineDisabled as si}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js";import{DiagnosticsClient as ni}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js";import{Logger as oi}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js";import{RemoteConfigClient as ri}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js";import{Revenue as ai}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js";import{isNewSession as di}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/session.js";var ci=function(H){function ci(){var i=null!==H&&H.apply(this,arguments)||this;return i._diagnosticsSampleRate=0,i}return i(ci,H),ci.prototype.init=function(i,t,s){var n,o;return void 0===i&&(i=""),arguments.length>2?(n=t,o=s):"string"==typeof t?(n=t,o=void 0):(n=null==t?void 0:t.userId,o=t),z(this._init(e(e({},o),{userId:n,apiKey:i})))},ci.prototype._init=function(i){var e,s,n,a,w,j,k;return t(this,void 0,void 0,(function(){var O,C,z,B,F,J,Q,Z,G,ai,di,ci,ui,li,pi,gi=this;return o(this,(function(mi){switch(mi.label){case 0:return this.initializing?[2]:(this.initializing=!0,O=T(i),C=null!==(e=i.loggerProvider)&&void 0!==e?e:new oi,z=null!==(s=i.serverZone)&&void 0!==s?s:N,F=this._diagnosticsSampleRate,J=null===(n=i.enableDiagnostics)||void 0===n||n,O?(B=new ri(i.apiKey,C,z,null===(a=i.remoteConfig)||void 0===a?void 0:a.serverUrl),[4,new Promise((function(i){null==B||B.subscribe("configs.diagnostics.browserSDK","all",(function(e,t,s){if(C.debug("Diagnostics remote configuration received:",JSON.stringify({remoteConfig:e,source:t,lastFetch:s},null,2)),e){var n=e.sampleRate;"number"!=typeof n||isNaN(n)||(F=n);var o=e.enabled;"boolean"==typeof o&&(J=o)}i()}))}))]):[3,2]);case 1:mi.sent(),mi.label=2;case 2:return(Q=new ni(i.apiKey,C,z,{enabled:J,sampleRate:F})).setTag("library","".concat(K,"/").concat(x)),"undefined"!=typeof navigator&&Q.setTag("user_agent",navigator.userAgent),[4,P(i.apiKey,i,this,Q,{loggerProvider:C,serverZone:z,enableDiagnostics:J,diagnosticsSampleRate:F})];case 3:return Z=mi.sent(),O&&B?[4,new Promise((function(i){null==B||B.subscribe("configs.analyticsSDK.browserSDK","all",(function(e,t,s){Z.loggerProvider.debug("Remote configuration received:",JSON.stringify({remoteConfig:e,source:t,lastFetch:s},null,2)),e&&R(e,Z),i()}))}))]:[3,5];case 4:mi.sent(),mi.label=5;case 5:return[4,H.prototype._init.call(this,Z)];case 6:return mi.sent(),this.logBrowserOptions(Z),this.config.remoteConfigClient=B,I(this.config.defaultTracking)?(this.config.optOut&&this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return i?[3,2]:(e=_(this.config),this.webAttribution=new U(e,this.config),[4,this.webAttribution.init()]);case 1:t.sent(),t.label=2;case 2:return[2]}}))}))})),G=_(this.config),this.webAttribution=new U(G,this.config),[4,this.webAttribution.init()]):[3,8];case 7:mi.sent(),mi.label=8;case 8:return ai=ti(),di=ai.ampTimestamp?Number(ai.ampTimestamp):void 0,ci=!di||Date.now()<di,ui=ci&&!Number.isNaN(Number(ai.ampSessionId))?Number(ai.ampSessionId):void 0,-1!==(li=this.config.deferredSessionId)||this.config.optOut||(li=Date.now()),this.setSessionId(null!==(k=null!==(j=null!==(w=i.sessionId)&&void 0!==w?w:ui)&&void 0!==j?j:li)&&void 0!==k?k:this.config.sessionId),this.config.optOut&&this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){return o(this,(function(e){return!i&&this.config.deferredSessionId&&(-1===this.config.deferredSessionId?this.setSessionId(void 0):this.setSessionId(this.config.deferredSessionId)),[2]}))}))})),(pi=L(i.instanceName)).identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===si?[3,10]:[4,this.add(q()).promise];case 9:mi.sent(),mi.label=10;case 10:return[4,this.add(new ei({diagnosticsClient:Q})).promise];case 11:return mi.sent(),[4,this.add(new S).promise];case 12:return mi.sent(),[4,this.add(new ii).promise];case 13:return mi.sent(),E(this.config),y(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(A()).promise]):[3,15];case 14:mi.sent(),mi.label=15;case 15:return b(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(D()).promise]):[3,17];case 16:mi.sent(),mi.label=17;case 17:return v(this.config.defaultTracking)?this.config.optOut?[3,19]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add($(h(this.config))).promise]):[3,20];case 18:return mi.sent(),[3,20];case 19:this.timeline.addOptOutListener((function(i){return t(gi,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return i?[2]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add($(h(this.config))).promise]);case 1:return e.sent(),[2]}}))}))})),mi.label=20;case 20:return m(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(Y(f(this.config),{diagnosticsClient:Q})).promise]):[3,22];case 21:mi.sent(),mi.label=22;case 22:return p(this.config.autocapture)?(this.config.loggerProvider.debug("Adding frustration interactions plugin"),[4,this.add(X(g(this.config))).promise]):[3,24];case 23:mi.sent(),mi.label=24;case 24:return u(this.config.autocapture)?(this.config.loggerProvider.debug("Adding network tracking plugin"),[4,this.add(W(l(this.config))).promise]):[3,26];case 25:mi.sent(),mi.label=26;case 26:return c(this.config.autocapture)?(this.config.loggerProvider.debug("Adding web vitals plugin"),[4,this.add(V()).promise]):[3,28];case 27:mi.sent(),mi.label=28;case 28:return d(this.config.autocapture)?(this.config.loggerProvider.debug("Adding referrer page url plugin"),[4,this.add(M()).promise]):[3,30];case 29:mi.sent(),mi.label=30;case 30:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 31:return mi.sent(),pi.eventBridge.setEventReceiver((function(i){var e=i.eventProperties||{},t=e.time,s=r(e,["time"]),n="number"==typeof t?{time:t}:void 0;gi.track(i.eventType,s,n)})),[2]}}))}))},ci.prototype.getUserId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.userId},ci.prototype.setUserId=function(i){this.config?(this.config.loggerProvider.debug("function setUserId: ",i),i===this.config.userId&&void 0!==i||(this.config.userId=i,this.timeline.onIdentityChanged({userId:i}),B(i,this.config.instanceName))):this.q.push(this.setUserId.bind(this,i))},ci.prototype.getDeviceId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.deviceId},ci.prototype.setDeviceId=function(i){this.config?(this.config.loggerProvider.debug("function setDeviceId: ",i),i!==this.config.deviceId&&(this.config.deviceId=i,this.timeline.onIdentityChanged({deviceId:i}),F(i,this.config.instanceName))):this.q.push(this.setDeviceId.bind(this,i))},ci.prototype.reset=function(){this.setDeviceId(J()),this.setUserId(void 0),this.timeline.onReset()},ci.prototype.getIdentity=function(){var i,e;return{deviceId:null===(i=this.config)||void 0===i?void 0:i.deviceId,userId:null===(e=this.config)||void 0===e?void 0:e.userId,userProperties:this.userProperties}},ci.prototype.setIdentity=function(i){var e,t,o;if("userId"in i&&this.setUserId(i.userId),"deviceId"in i&&i.deviceId&&this.setDeviceId(i.deviceId),"userProperties"in i){this.userProperties=i.userProperties;var r=new Q,a=null!==(o=i.userProperties)&&void 0!==o?o:{};try{for(var d=s(Object.entries(a)),c=d.next();!c.done;c=d.next()){var u=n(c.value,2),l=u[0],p=u[1];r.set(l,p)}}catch(i){e={error:i}}finally{try{c&&!c.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}this.identify(r)}},ci.prototype.getOptOut=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.optOut},ci.prototype.getSessionId=function(){var i;return null===(i=this.config)||void 0===i?void 0:i.sessionId},ci.prototype.setSessionId=function(i){var e,t=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,i)),z(Promise.resolve());if(this.config.optOut)return this.config.deferredSessionId=null!=i?i:-1,z(Promise.resolve());if(void 0===i&&(i=Date.now()),i===this.config.sessionId)return z(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",i);var s=this.getSessionId();s!==i&&this.timeline.onSessionIdChanged(i);var n=this.config.lastEventTime,o=null!==(e=this.config.lastEventId)&&void 0!==e?e:-1;this.config.sessionId=i,this.config.lastEventTime=void 0,this.config.pageCounter=0,a(this.config.defaultTracking)&&(s&&n&&t.push(this.track(O,void 0,{device_id:this.previousSessionDeviceId,event_id:++o,session_id:s,time:n+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var r=this.trackCampaignEventIfNeeded(++o,t);return this.config.identify&&t.push(this.track(Z(this.config.identify)).promise),a(this.config.defaultTracking)&&t.push(this.track(C,void 0,{event_id:r?++o:o,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,z(Promise.all(t))},ci.prototype.extendSession=function(){this.config?this.config.lastEventTime=Date.now():this.q.push(this.extendSession.bind(this))},ci.prototype.setTransport=function(i){this.config?this.config.transportProvider=k(i):this.q.push(this.setTransport.bind(this,i))},ci.prototype.identify=function(i,e){if(w(i)){var t=i._q;i._q=[],i=j(new Q,t)}return(null==e?void 0:e.user_id)&&this.setUserId(e.user_id),(null==e?void 0:e.device_id)&&this.setDeviceId(e.device_id),H.prototype.identify.call(this,i,e)},ci.prototype.groupIdentify=function(i,e,t,s){if(w(t)){var n=t._q;t._q=[],t=j(new Q,n)}return H.prototype.groupIdentify.call(this,i,e,t,s)},ci.prototype.revenue=function(i,e){if(w(i)){var t=i._q;i._q=[],i=j(new ai,t)}return H.prototype.revenue.call(this,i,e)},ci.prototype.trackCampaignEventIfNeeded=function(i,e){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var t=this.webAttribution.generateCampaignEvent(i);return e?e.push(this.track(t).promise):this.track(t),this.config.loggerProvider.log("Tracking attribution."),!0},ci.prototype.process=function(i){return t(this,void 0,void 0,(function(){var e,t,s;return o(this,(function(n){return e=Date.now(),t=di(this.config.sessionTimeout,this.config.lastEventTime),s=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),i.event_type===C||i.event_type===O||i.session_id&&i.session_id!==this.getSessionId()||(t||s?(this.setSessionId(e),s&&this.config.loggerProvider.log("Created a new session for new campaign.")):t||this.trackCampaignEventIfNeeded()),[2,H.prototype.process.call(this,i)]}))}))},ci.prototype.logBrowserOptions=function(i){try{var t=e(e({},i),{apiKey:i.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",G(t))}catch(i){this.config.loggerProvider.error("Error logging browser config",i)}},ci.prototype._setDiagnosticsSampleRate=function(i){i>1||i<0||this.config||(this._diagnosticsSampleRate=i)},ci}(H);export{ci as AmplitudeBrowser};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__values as t,__spreadArray as r,__read as a}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{SAFE_HEADERS as o}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js";function l(e){var n,u,i,c,p,d,s,f,v,g,y;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var k=Object.keys(e);try{for(var w=t(k),b=w.next();!b.done;b=w.next()){var m=b.value;try{var h=e[m];"boolean"==typeof(null==h?void 0:h.enabled)&&(h.enabled?(delete h.enabled,0===Object.keys(h).length&&(e[m]=!0)):e[m]=!1),l(h)}catch(e){}}}catch(e){n={error:e}}finally{try{b&&!b.done&&(u=w.return)&&u.call(w)}finally{if(n)throw n.error}}try{if(null===(v=null===(f=null===(s=e.autocapture)||void 0===s?void 0:s.networkTracking)||void 0===f?void 0:f.captureRules)||void 0===v?void 0:v.length)try{for(var x=t(e.autocapture.networkTracking.captureRules),I=x.next();!I.done;I=x.next()){var R=I.value;try{for(var j=(p=void 0,t(["responseHeaders","requestHeaders"])),A=j.next();!A.done;A=j.next()){var T=A.value,C=null!==(g=R[T])&&void 0!==g?g:{},_=C.captureSafeHeaders,U=C.allowlist;(_||U)&&(void 0===U||Array.isArray(U)?R[T]=r(r([],a(_?o:[]),!1),a(null!=U?U:[]),!1):delete R[T])}}catch(e){p={error:e}}finally{try{A&&!A.done&&(d=j.return)&&d.call(j)}finally{if(p)throw p.error}}}}catch(e){i={error:e}}finally{try{I&&!I.done&&(c=x.return)&&c.call(x)}finally{if(i)throw i.error}}}catch(e){}var O=null===(y=e.autocapture)||void 0===y?void 0:y.frustrationInteractions;O&&(O.rageClick&&(O.rageClicks=O.rageClick,delete O.rageClick),O.deadClick&&(O.deadClicks=O.deadClick,delete O.deadClick))}}function n(e,r,a){var o,l,n=[];try{for(var u=t(null!=r?r:[]),i=u.next();!i.done;i=u.next()){var c=i.value;try{n.push(new RegExp(c))}catch(e){a.loggerProvider.warn("Invalid regex pattern: ".concat(c),e)}}}catch(e){o={error:e}}finally{try{i&&!i.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return e.concat(n)}function u(r,a){var o,u,i,c,p,d,s;if(r){l(r);try{a.loggerProvider.debug("Update browser config with remote configuration:",JSON.stringify(r));var f=r;if(f&&"autocapture"in f){if("boolean"==typeof f.autocapture&&(a.autocapture=f.autocapture),"object"==typeof f.autocapture&&null!==f.autocapture){var v=e({},f.autocapture);if(void 0===a.autocapture&&(a.autocapture=f.autocapture),"object"==typeof f.autocapture.elementInteractions&&null!==f.autocapture.elementInteractions&&(null===(i=f.autocapture.elementInteractions.pageUrlAllowlistRegex)||void 0===i?void 0:i.length)){v.elementInteractions=e({},f.autocapture.elementInteractions);var g=v.elementInteractions,y=null!==(c=g.pageUrlAllowlist)&&void 0!==c?c:[],k=f.autocapture.elementInteractions.pageUrlAllowlistRegex;g.pageUrlAllowlist=n(y,k,a),delete g.pageUrlAllowlistRegex}if("object"==typeof f.autocapture.networkTracking&&null!==f.autocapture.networkTracking&&(null===(p=f.autocapture.networkTracking.captureRules)||void 0===p?void 0:p.length)){v.networkTracking=e({},f.autocapture.networkTracking);var w=null!==(d=v.networkTracking.captureRules)&&void 0!==d?d:[];try{for(var b=t(w),m=b.next();!m.done;m=b.next()){var h=m.value;h.urls=n(null!==(s=h.urls)&&void 0!==s?s:[],h.urlsRegex,a),delete h.urlsRegex}}catch(e){o={error:e}}finally{try{m&&!m.done&&(u=b.return)&&u.call(b)}finally{if(o)throw o.error}}}"boolean"==typeof a.autocapture&&(a.autocapture=e({attribution:a.autocapture,fileDownloads:a.autocapture,formInteractions:a.autocapture,pageViews:a.autocapture,sessions:a.autocapture,elementInteractions:a.autocapture,webVitals:a.autocapture,frustrationInteractions:a.autocapture},v)),"object"==typeof a.autocapture&&(a.autocapture=e(e({},a.autocapture),v))}a.defaultTracking=a.autocapture}a.loggerProvider.debug("Browser config after remote config update:",JSON.stringify(a))}catch(e){a.loggerProvider.error("Failed to apply remote configuration because of error: ",e)}}}export{l as translateRemoteConfigToLocal,u as updateBrowserConfigWithRemoteConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e,__awaiter as t,__generator as o,__assign as i}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{LocalStorage as n}from"./storage/local-storage.js";import{SessionStorage as r}from"./storage/session-storage.js";import{XHRTransport as s}from"./transports/xhr.js";import{SendBeaconTransport as a}from"./transports/send-beacon.js";import{parseLegacyCookies as d}from"./cookie-migration/index.js";import{DEFAULT_IDENTITY_STORAGE as l,DEFAULT_SERVER_ZONE as u}from"./constants.js";import{VERSION as c}from"./version.js";import{FetchTransport as p}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/fetch.js";import{Logger as v}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/logger.js";import{LogLevel as g}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js";import{CookieStorage as m,decodeCookieValue as f,isDomainEqual as h}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js";import{getCookieName as b}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/cookie-name.js";import{Config as _}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/config.js";import{MemoryStorage as I}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js";import{getQueryParams as y}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/query-params.js";import{UUID as S}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js";var O=function(t){function o(e,o,i,r,s,a,d,p,m,f,h,b,_,y,S,O,k,j,E,P,w,T,L,R,D,x,M,A,N,K,U,Z,z,B,F,Q,V,q,J,W,G){void 0===i&&(i=new I),void 0===r&&(r={domain:"",expiration:365,sameSite:"Lax",secure:!1,upgrade:!0}),void 0===p&&(p=1e3),void 0===m&&(m=5),void 0===f&&(f=30),void 0===h&&(h=l),void 0===O&&(O=new v),void 0===k&&(k=g.Warn),void 0===E&&(E=!1),void 0===P&&(P=!1),void 0===L&&(L=""),void 0===R&&(R=u),void 0===M&&(M=18e5),void 0===A&&(A=new n({loggerProvider:O})),void 0===N&&(N={ipAddress:!0,language:!0,platform:!0}),void 0===K&&(K="fetch"),void 0===U&&(U=!1),void 0===Z&&(Z=!0),void 0===q&&(q=!0),void 0===J&&(J=0);var H,X=this;(X=t.call(this,{apiKey:e,storageProvider:A,transportProvider:C(K)})||this).apiKey=e,X.appVersion=o,X.cookieOptions=r,X.defaultTracking=s,X.autocapture=a,X.flushIntervalMillis=p,X.flushMaxRetries=m,X.flushQueueSize=f,X.identityStorage=h,X.ingestionMetadata=b,X.instanceName=_,X.loggerProvider=O,X.logLevel=k,X.minIdLength=j,X.offline=E,X.partnerId=w,X.plan=T,X.serverUrl=L,X.serverZone=R,X.sessionTimeout=M,X.storageProvider=A,X.trackingOptions=N,X.transport=K,X.useBatch=U,X.fetchRemoteConfig=Z,X.networkTrackingOptions=Q,X.identify=V,X.enableDiagnostics=q,X.diagnosticsSampleRate=J,X.diagnosticsClient=W,X.remoteConfig=G,X.version=c,X._optOut=!1,X._cookieStorage=i,X.deviceId=d,X.lastEventId=y,X.lastEventTime=S,X.optOut=P,X.deferredSessionId=x,X.sessionId=D,X.pageCounter=B,X.userId=z,X.debugLogsEnabled=F,X.loggerProvider.enable(F?g.Debug:X.logLevel),X.networkTrackingOptions=Q,X.identify=V,X.enableDiagnostics=q,X.diagnosticsSampleRate=J,X.diagnosticsClient=W;var Y=null!==(H=null==G?void 0:G.fetchRemoteConfig)&&void 0!==H?H:Z;return X.remoteConfig=X.remoteConfig||{},X.remoteConfig.fetchRemoteConfig=Y,X.fetchRemoteConfig=Y,X}return e(o,t),Object.defineProperty(o.prototype,"cookieStorage",{get:function(){return this._cookieStorage},set:function(e){this._cookieStorage!==e&&(this._cookieStorage=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"deviceId",{get:function(){return this._deviceId},set:function(e){this._deviceId!==e&&(this._deviceId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"userId",{get:function(){return this._userId},set:function(e){this._userId!==e&&(this._userId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"sessionId",{get:function(){return this._sessionId},set:function(e){this._sessionId!==e&&(this._sessionId=e,void 0!==e&&void 0!==this._deferredSessionId&&(this._deferredSessionId=void 0),this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"deferredSessionId",{get:function(){return this._deferredSessionId},set:function(e){this._deferredSessionId!==e&&e!==this.sessionId&&(this._deferredSessionId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut!==e&&(this._optOut=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(e){this._lastEventTime!==e&&(this._lastEventTime=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(e){this._lastEventId!==e&&(this._lastEventId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pageCounter",{get:function(){return this._pageCounter},set:function(e){this._pageCounter!==e&&(this._pageCounter=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"debugLogsEnabled",{set:function(e){this._debugLogsEnabled!==e&&(this._debugLogsEnabled=e,this.updateStorage())},enumerable:!1,configurable:!0}),o.prototype.updateStorage=function(){var e={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,deferredSessionId:this._deferredSessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId,pageCounter:this._pageCounter,debugLogsEnabled:this._debugLogsEnabled,cookieDomain:void 0};this.cookieStorage instanceof m&&(e.cookieDomain=this.cookieStorage.options.domain),this.cookieStorage.set(b(this.apiKey),e)},o}(_),k=function(e,n,r,s,a){return void 0===n&&(n={}),t(void 0,void 0,void 0,(function(){var t,u,c,p,v,g,m,_,k,E,C,w,T,L,R,D,x,M,A,N,K,U,Z,z,B,F,Q,V,q,J,W,G,H,X,Y,$,ee,te,oe,ie,ne,re,se,ae,de,le,ue,ce,pe,ve,ge;return o(this,(function(o){switch(o.label){case 0:return t=n.identityStorage||l,Z={},t===l?[3,1]:(c="",[3,5]);case 1:return null===(B=null===(z=n.cookieOptions)||void 0===z?void 0:z.domain)||void 0===B?[3,2]:(p=B,[3,4]);case 2:return[4,P()];case 3:p=o.sent(),o.label=4;case 4:c=p,o.label=5;case 5:return u=i.apply(void 0,[(Z.domain=c,Z.expiration=365,Z.sameSite="Lax",Z.secure=!1,Z.upgrade=!0,Z),n.cookieOptions]),v={duplicateResolverFn:function(e){var t=f(e);if(!t)return!1;var o=JSON.parse(t);return h(o.cookieDomain,u.domain)},diagnosticsClient:s},g=j(n.identityStorage,u,v),[4,d(e,g,null===(Q=null===(F=n.cookieOptions)||void 0===F?void 0:F.upgrade)||void 0===Q||Q)];case 6:return m=o.sent(),[4,g.get(b(e))];case 7:return _=o.sent(),k=y(),E=k.ampTimestamp?Number(k.ampTimestamp):void 0,C=!E||Date.now()<E,w=null!==(G=null!==(W=null!==(J=null!==(V=n.deviceId)&&void 0!==V?V:C?null!==(q=k.ampDeviceId)&&void 0!==q?q:k.deviceId:void 0)&&void 0!==J?J:null==_?void 0:_.deviceId)&&void 0!==W?W:m.deviceId)&&void 0!==G?G:S(),T=null!==(H=null==_?void 0:_.lastEventId)&&void 0!==H?H:m.lastEventId,L=null!==(X=null==_?void 0:_.lastEventTime)&&void 0!==X?X:m.lastEventTime,R=null!==($=null!==(Y=n.optOut)&&void 0!==Y?Y:null==_?void 0:_.optOut)&&void 0!==$?$:m.optOut,D=null!==(ee=null==_?void 0:_.sessionId)&&void 0!==ee?ee:m.sessionId,x=null==_?void 0:_.deferredSessionId,M=null!==(oe=null!==(te=n.userId)&&void 0!==te?te:null==_?void 0:_.userId)&&void 0!==oe?oe:m.userId,r.previousSessionDeviceId=null!==(ie=null==_?void 0:_.deviceId)&&void 0!==ie?ie:m.deviceId,r.previousSessionUserId=null!==(ne=null==_?void 0:_.userId)&&void 0!==ne?ne:m.userId,A={ipAddress:null===(se=null===(re=n.trackingOptions)||void 0===re?void 0:re.ipAddress)||void 0===se||se,language:null===(de=null===(ae=n.trackingOptions)||void 0===ae?void 0:ae.language)||void 0===de||de,platform:null===(ue=null===(le=n.trackingOptions)||void 0===le?void 0:le.platform)||void 0===ue||ue},N=null==_?void 0:_.pageCounter,K=null==_?void 0:_.debugLogsEnabled,void 0!==n.autocapture&&(n.defaultTracking=n.autocapture),[4,(U=new O(e,n.appVersion,g,u,n.defaultTracking,n.autocapture,w,n.flushIntervalMillis,n.flushMaxRetries,n.flushQueueSize,t,n.ingestionMetadata,n.instanceName,T,L,null!==(ce=null==a?void 0:a.loggerProvider)&&void 0!==ce?ce:n.loggerProvider,n.logLevel,n.minIdLength,n.offline,R,n.partnerId,n.plan,n.serverUrl,null!==(pe=null==a?void 0:a.serverZone)&&void 0!==pe?pe:n.serverZone,D,x,n.sessionTimeout,n.storageProvider,A,n.transport,n.useBatch,n.fetchRemoteConfig,M,N,K,n.networkTrackingOptions,n.identify,null!==(ve=null==a?void 0:a.enableDiagnostics)&&void 0!==ve?ve:n.enableDiagnostics,null!==(ge=null==a?void 0:a.diagnosticsSampleRate)&&void 0!==ge?ge:r._diagnosticsSampleRate,s,n.remoteConfig)).storageProvider.isEnabled()];case 8:return o.sent()||(U.loggerProvider.warn("Storage provider ".concat(U.storageProvider.constructor.name," is not enabled. Falling back to MemoryStorage.")),U.storageProvider=new I),[2,U]}}))}))},j=function(e,t,o){switch(void 0===e&&(e=l),void 0===t&&(t={}),e){case"localStorage":return new n;case"sessionStorage":return new r;case"none":return new I;default:return new m(i(i({},t),{expirationDays:t.expiration}),o)}},E=function(e){var t,o;return void 0===e&&(e={}),!0===(null===(t=e.remoteConfig)||void 0===t?void 0:t.fetchRemoteConfig)||!1!==(null===(o=e.remoteConfig)||void 0===o?void 0:o.fetchRemoteConfig)&&!1!==e.fetchRemoteConfig},C=function(e){var t="object"==typeof e?e.type:e,o="object"==typeof e?e.headers:void 0;return"xhr"===t?new s(o):"beacon"===t?new a:new p(o)},P=function(e){return t(void 0,void 0,void 0,(function(){var e,t,i,n,r,s,a,d;return o(this,(function(o){switch(o.label){case 0:return[4,(new m).isEnabled()];case 1:if(!o.sent()||"undefined"==typeof location||!location.hostname)return[2,""];for(e=location.hostname,t=e.split("."),i=[],n=S(),r="AMP_TLDTEST_".concat(n.substring(0,8)),s=t.length-2;s>=0;--s)i.push(t.slice(s).join("."));s=0,o.label=2;case 2:return s<i.length?(a=i[s],[4,(d=new m({domain:"."+a,expirationDays:.003})).set(r,1)]):[3,7];case 3:return o.sent(),[4,d.get(r)];case 4:return o.sent()?[4,d.remove(r)]:[3,6];case 5:return o.sent(),[2,"."+a];case 6:return s++,[3,2];case 7:return[2,""]}}))}))};export{O as BrowserConfig,j as createCookieStorage,C as createTransport,P as getTopLevelDomain,E as shouldFetchRemoteConfig,k as useBrowserConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign as t}from"../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";var e=function(t,e){return"boolean"==typeof t?t:!1!==(null==t?void 0:t[e])},n=function(t){return e(t,"attribution")},o=function(t){return e(t,"fileDownloads")},r=function(t){return e(t,"formInteractions")},a=function(t){return e(t,"pageViews")},i=function(t){return e(t,"sessions")},u=function(t){return e(t,"pageUrlEnrichment")},c=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.networkTracking||"object"==typeof t.networkTracking)},f=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.elementInteractions||"object"==typeof t.elementInteractions)},s=function(t){return"boolean"==typeof t?t:"object"==typeof t&&!0===t.webVitals},p=function(t){return"boolean"==typeof t?t:"object"==typeof t&&(!0===t.frustrationInteractions||"object"==typeof t.frustrationInteractions)},l=function(t){if(f(t.autocapture)&&"object"==typeof t.autocapture&&"object"==typeof t.autocapture.elementInteractions)return t.autocapture.elementInteractions},g=function(t){if(p(t.autocapture)&&"object"==typeof t.autocapture&&"object"==typeof t.autocapture.frustrationInteractions)return t.autocapture.frustrationInteractions},d=function(e){var n;if(c(e.autocapture)){var o=void 0;return"object"==typeof e.autocapture&&"object"==typeof e.autocapture.networkTracking?o=e.autocapture.networkTracking:e.networkTrackingOptions&&(o=e.networkTrackingOptions),t(t({},o),{captureRules:null===(n=null==o?void 0:o.captureRules)||void 0===n?void 0:n.map((function(n){var o,r,a;if((null===(o=n.urls)||void 0===o?void 0:o.length)&&(null===(r=n.hosts)||void 0===r?void 0:r.length)){var i=JSON.stringify(n.hosts),u=JSON.stringify(n.urls);return null===(a=e.loggerProvider)||void 0===a||a.warn("Found network capture rule with both urls='".concat(u,"' and hosts='").concat(i,"' set. ")+"Definition of urls takes precedence over hosts, so ignoring hosts."),t(t({},n),{hosts:void 0})}return n}))})}},k=function(t){var e,n=function(){return!1},o=void 0,r=t.pageCounter;return a(t.defaultTracking)&&(n=void 0,e=void 0,t.defaultTracking&&"object"==typeof t.defaultTracking&&t.defaultTracking.pageViews&&"object"==typeof t.defaultTracking.pageViews&&("trackOn"in t.defaultTracking.pageViews&&(n=t.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in t.defaultTracking.pageViews&&(o=t.defaultTracking.pageViews.trackHistoryChanges),"eventType"in t.defaultTracking.pageViews&&t.defaultTracking.pageViews.eventType&&(e=t.defaultTracking.pageViews.eventType))),{trackOn:n,trackHistoryChanges:o,eventType:e,pageCounter:r}},y=function(e){return n(e.defaultTracking)&&e.defaultTracking&&"object"==typeof e.defaultTracking&&e.defaultTracking.attribution&&"object"==typeof e.defaultTracking.attribution?t({},e.defaultTracking.attribution):{}},b=function(t){if(r(t.defaultTracking)&&t.defaultTracking&&"object"==typeof t.defaultTracking&&"object"==typeof t.defaultTracking.formInteractions)return t.defaultTracking.formInteractions};export{y as getAttributionTrackingConfig,l as getElementInteractionsConfig,b as getFormInteractionsConfig,g as getFrustrationInteractionsConfig,d as getNetworkTrackingConfig,k as getPageViewTrackingConfig,n as isAttributionTrackingEnabled,f as isElementInteractionsEnabled,o as isFileDownloadTrackingEnabled,r as isFormInteractionTrackingEnabled,p as isFrustrationInteractionsEnabled,c as isNetworkTrackingEnabled,u as isPageUrlEnrichmentEnabled,a as isPageViewTrackingEnabled,i as isSessionTrackingEnabled,s as isWebVitalsEnabled};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"./browser-client-factory.js";export{createInstance}from"./browser-client-factory.js";export{AmplitudeBrowser}from"./browser-client.js";export{runQueuedFunctions}from"./utils/snippet-helper.js";import*as t from"./types.js";export{t as Types};export{Identify}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/identify.js";export{Revenue}from"../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/revenue.js";var s=e.add,r=e.extendSession,o=e.flush,i=e.getDeviceId,n=e.getIdentity,a=e.getOptOut,d=e.getSessionId,p=e.getUserId,l=e.groupIdentify,c=e.identify,m=e.init,u=e.logEvent,f=e.remove,y=e.reset,I=e.revenue,g=e.setDeviceId,v=e.setGroup,x=e.setIdentity,j=e.setOptOut,b=e.setSessionId,_=e.setTransport,w=e.setUserId,O=e.track,S=e._setDiagnosticsSampleRate;export{S as _setDiagnosticsSampleRate,s as add,r as extendSession,o as flush,i as getDeviceId,n as getIdentity,a as getOptOut,d as getSessionId,p as getUserId,l as groupIdentify,c as identify,m as init,u as logEvent,f as remove,y as reset,I as revenue,g as setDeviceId,v as setGroup,x as setIdentity,j as setOptOut,b as setSessionId,_ as setTransport,w as setUserId,O as track};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__extends as e,__awaiter as t,__generator as n}from"../../../../../../../@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js";import{BaseTransport as o}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js";import{getGlobalScope as r}from"../../../../../../../@amplitude_analytics-core@2.40.1/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js";var i=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return e(i,o),i.prototype.send=function(e,o){return t(this,void 0,void 0,(function(){var t=this;return n(this,(function(n){return[2,new Promise((function(n,i){var s=r();if(!(null==s?void 0:s.navigator.sendBeacon))throw new Error("SendBeaconTransport is not supported");try{var l=JSON.stringify(o);return n(s.navigator.sendBeacon(e,JSON.stringify(o))?t.buildResponse({code:200,events_ingested:o.events.length,payload_size_bytes:l.length,server_upload_time:Date.now()}):t.buildResponse({code:500}))}catch(e){i(e)}}))]}))}))},i}(o);export{i as SendBeaconTransport};
|