@adobe/alloy 2.29.0-beta.4 → 2.29.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.
Files changed (141) hide show
  1. package/libEs5/components/ActivityCollector/utils/dom/findClickableElement.js +4 -0
  2. package/libEs5/components/Advertising/handlers/clickThroughHandler.js +2 -1
  3. package/libEs5/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -3
  4. package/libEs5/components/Advertising/handlers/viewThroughHandler.js +2 -1
  5. package/libEs5/components/Advertising/identities/collectID5Id.js +1 -1
  6. package/libEs5/components/Advertising/identities/collectRampId.js +1 -1
  7. package/libEs5/components/Consent/createConsentRequestPayload.js +14 -3
  8. package/libEs5/components/Consent/types.js +18 -0
  9. package/libEs5/components/Personalization/dom-actions/action.js +7 -4
  10. package/libEs5/components/Personalization/dom-actions/initDomActionsModules.js +10 -10
  11. package/libEs5/components/PushNotifications/helpers/getPushSubscriptionDetails.js +116 -0
  12. package/libEs5/components/PushNotifications/index.js +96 -0
  13. package/libEs5/components/PushNotifications/request/createSendPushSubscriptionPayload.js +62 -0
  14. package/libEs5/components/PushNotifications/request/createSendPushSubscriptionRequest.js +35 -0
  15. package/libEs5/components/PushNotifications/request/makeSendPushSubscriptionRequest.js +88 -0
  16. package/libEs5/components/PushNotifications/types.js +14 -0
  17. package/libEs5/constants/libraryVersion.js +1 -1
  18. package/libEs5/core/componentCreators.js +8 -1
  19. package/libEs5/core/consent/createConsent.js +10 -0
  20. package/libEs5/core/consent/createConsentStateMachine.js +36 -0
  21. package/libEs5/core/consent/types.js +24 -0
  22. package/libEs5/core/edgeNetwork/injectSendEdgeNetworkRequest.js +20 -0
  23. package/libEs5/core/edgeNetwork/types.js +10 -0
  24. package/libEs5/core/identity/createIdentity.js +36 -0
  25. package/libEs5/core/identity/types.js +15 -0
  26. package/libEs5/core/injectCreateResponse.js +9 -7
  27. package/libEs5/core/types.js +101 -11
  28. package/libEs5/utils/bytes.js +12 -1
  29. package/libEs5/utils/createLoggingCookieJar.js +14 -1
  30. package/libEs5/utils/createMerger.js +5 -4
  31. package/libEs5/utils/injectStorage.js +19 -0
  32. package/libEs5/utils/request/createDataCollectionRequestPayload.js +16 -8
  33. package/libEs5/utils/request/createRequest.js +28 -1
  34. package/libEs5/utils/request/createRequestPayload.js +68 -4
  35. package/libEs5/utils/request/types.js +52 -0
  36. package/libEs5/utils/types.js +39 -0
  37. package/libEs6/components/ActivityCollector/utils/dom/findClickableElement.js +4 -0
  38. package/libEs6/components/Advertising/handlers/clickThroughHandler.js +2 -1
  39. package/libEs6/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -3
  40. package/libEs6/components/Advertising/handlers/viewThroughHandler.js +2 -1
  41. package/libEs6/components/Advertising/identities/collectID5Id.js +1 -1
  42. package/libEs6/components/Advertising/identities/collectRampId.js +1 -1
  43. package/libEs6/components/Consent/createConsentRequestPayload.js +16 -3
  44. package/libEs6/components/Consent/types.js +15 -0
  45. package/libEs6/components/Personalization/dom-actions/action.js +7 -4
  46. package/libEs6/components/Personalization/dom-actions/initDomActionsModules.js +10 -10
  47. package/libEs6/components/PushNotifications/helpers/getPushSubscriptionDetails.js +114 -0
  48. package/libEs6/components/PushNotifications/index.js +93 -0
  49. package/libEs6/components/PushNotifications/request/createSendPushSubscriptionPayload.js +61 -0
  50. package/libEs6/components/PushNotifications/request/createSendPushSubscriptionRequest.js +34 -0
  51. package/libEs6/components/PushNotifications/request/makeSendPushSubscriptionRequest.js +84 -0
  52. package/libEs6/components/PushNotifications/types.js +11 -0
  53. package/libEs6/constants/libraryVersion.js +1 -1
  54. package/libEs6/core/componentCreators.js +2 -1
  55. package/libEs6/core/consent/createConsent.js +12 -0
  56. package/libEs6/core/consent/createConsentStateMachine.js +36 -0
  57. package/libEs6/core/consent/types.js +21 -0
  58. package/libEs6/core/edgeNetwork/injectSendEdgeNetworkRequest.js +20 -0
  59. package/libEs6/core/edgeNetwork/types.js +7 -0
  60. package/libEs6/core/identity/createIdentity.js +38 -0
  61. package/libEs6/core/identity/types.js +12 -0
  62. package/libEs6/core/injectCreateResponse.js +11 -7
  63. package/libEs6/core/types.js +101 -11
  64. package/libEs6/utils/bytes.js +12 -1
  65. package/libEs6/utils/createLoggingCookieJar.js +15 -1
  66. package/libEs6/utils/createMerger.js +5 -4
  67. package/libEs6/utils/injectStorage.js +20 -0
  68. package/libEs6/utils/request/createDataCollectionRequestPayload.js +19 -8
  69. package/libEs6/utils/request/createRequest.js +29 -1
  70. package/libEs6/utils/request/createRequestPayload.js +67 -4
  71. package/libEs6/utils/request/types.js +49 -0
  72. package/libEs6/utils/types.js +36 -0
  73. package/package.json +30 -30
  74. package/types/components/ActivityCollector/utils/dom/findClickableElement.d.ts.map +1 -1
  75. package/types/components/Advertising/handlers/onBeforeSendEventHandler.d.ts.map +1 -1
  76. package/types/components/Advertising/handlers/viewThroughHandler.d.ts.map +1 -1
  77. package/types/components/Consent/createConsentRequest.d.ts +1 -11
  78. package/types/components/Consent/createConsentRequest.d.ts.map +1 -1
  79. package/types/components/Consent/createConsentRequestPayload.d.ts +2 -9
  80. package/types/components/Consent/createConsentRequestPayload.d.ts.map +1 -1
  81. package/types/components/Consent/types.d.ts +28 -0
  82. package/types/components/Consent/types.d.ts.map +1 -0
  83. package/types/components/Identity/getIdentity/createIdentityRequest.d.ts +1 -11
  84. package/types/components/Identity/getIdentity/createIdentityRequest.d.ts.map +1 -1
  85. package/types/components/Identity/getIdentity/createIdentityRequestPayload.d.ts +1 -9
  86. package/types/components/Identity/getIdentity/createIdentityRequestPayload.d.ts.map +1 -1
  87. package/types/components/Personalization/dom-actions/action.d.ts +1 -1
  88. package/types/components/Personalization/dom-actions/action.d.ts.map +1 -1
  89. package/types/components/PushNotifications/helpers/getPushSubscriptionDetails.d.ts +30 -0
  90. package/types/components/PushNotifications/helpers/getPushSubscriptionDetails.d.ts.map +1 -0
  91. package/types/components/PushNotifications/index.d.ts +43 -0
  92. package/types/components/PushNotifications/index.d.ts.map +1 -0
  93. package/types/components/PushNotifications/request/createSendPushSubscriptionPayload.d.ts +10 -0
  94. package/types/components/PushNotifications/request/createSendPushSubscriptionPayload.d.ts.map +1 -0
  95. package/types/components/PushNotifications/request/createSendPushSubscriptionRequest.d.ts +7 -0
  96. package/types/components/PushNotifications/request/createSendPushSubscriptionRequest.d.ts.map +1 -0
  97. package/types/components/PushNotifications/request/makeSendPushSubscriptionRequest.d.ts +20 -0
  98. package/types/components/PushNotifications/request/makeSendPushSubscriptionRequest.d.ts.map +1 -0
  99. package/types/components/PushNotifications/types.d.ts +23 -0
  100. package/types/components/PushNotifications/types.d.ts.map +1 -0
  101. package/types/components/StreamingMedia/createMediaRequest.d.ts +1 -11
  102. package/types/components/StreamingMedia/createMediaRequest.d.ts.map +1 -1
  103. package/types/core/componentCreators.d.ts +1 -0
  104. package/types/core/consent/createConsent.d.ts +4 -10
  105. package/types/core/consent/createConsent.d.ts.map +1 -1
  106. package/types/core/consent/createConsentStateMachine.d.ts +4 -12
  107. package/types/core/consent/createConsentStateMachine.d.ts.map +1 -1
  108. package/types/core/consent/types.d.ts +42 -0
  109. package/types/core/consent/types.d.ts.map +1 -0
  110. package/types/core/edgeNetwork/injectSendEdgeNetworkRequest.d.ts +15 -13
  111. package/types/core/edgeNetwork/injectSendEdgeNetworkRequest.d.ts.map +1 -1
  112. package/types/core/edgeNetwork/types.d.ts +12 -0
  113. package/types/core/edgeNetwork/types.d.ts.map +1 -0
  114. package/types/core/identity/createIdentity.d.ts +9 -9
  115. package/types/core/identity/createIdentity.d.ts.map +1 -1
  116. package/types/core/identity/types.d.ts +23 -0
  117. package/types/core/identity/types.d.ts.map +1 -0
  118. package/types/core/injectCreateResponse.d.ts +3 -27
  119. package/types/core/injectCreateResponse.d.ts.map +1 -1
  120. package/types/core/types.d.ts +209 -22
  121. package/types/core/types.d.ts.map +1 -1
  122. package/types/utils/bytes.d.ts +3 -1
  123. package/types/utils/bytes.d.ts.map +1 -1
  124. package/types/utils/createLoggingCookieJar.d.ts +5 -3
  125. package/types/utils/createLoggingCookieJar.d.ts.map +1 -1
  126. package/types/utils/createMerger.d.ts +1 -1
  127. package/types/utils/createMerger.d.ts.map +1 -1
  128. package/types/utils/injectStorage.d.ts +2 -40
  129. package/types/utils/injectStorage.d.ts.map +1 -1
  130. package/types/utils/request/createDataCollectionRequest.d.ts +1 -11
  131. package/types/utils/request/createDataCollectionRequest.d.ts.map +1 -1
  132. package/types/utils/request/createDataCollectionRequestPayload.d.ts +2 -9
  133. package/types/utils/request/createDataCollectionRequestPayload.d.ts.map +1 -1
  134. package/types/utils/request/createRequest.d.ts +13 -11
  135. package/types/utils/request/createRequest.d.ts.map +1 -1
  136. package/types/utils/request/createRequestPayload.d.ts +7 -9
  137. package/types/utils/request/createRequestPayload.d.ts.map +1 -1
  138. package/types/utils/request/types.d.ts +91 -0
  139. package/types/utils/request/types.d.ts.map +1 -0
  140. package/types/utils/types.d.ts +91 -0
  141. package/types/utils/types.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/consent/types.js"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;GAQG;AAEH,uBAAwB;;QAlBV,CAAS,IAAM,EAAN,MAAM,KAAG,IAAI;SACtB,CAAS,IAAM,EAAN,MAAM,KAAG,IAAI;aACtB,CAAS,IAAM,EAAN,MAAM,KAAG,IAAI;kBACtB,CAAS,IAAQ,EAAR,OAAO,YAAC,KAAG,OAAO,CAAC,IAAI,CAAC;iBACjC,MAAY,OAAO,CAAC,IAAI,CAAC;aACzB,MAAY;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC;;;uBAK5C,CAAS,IAAM,OAAE,IAAM,UAAG,IAAI;gBAC9B,CAAS,IAAM,UAAG,IAAI;aACtB,MAAY,IAAI;kBAChB,MAAY,OAAO,CAAC,IAAI,CAAC;iBACzB,MAAY,OAAO,CAAC,IAAI,CAAC;aACzB,MAAY;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC"}
@@ -1,16 +1,18 @@
1
1
  declare function _default({ config, lifecycle, cookieTransfer, sendNetworkRequest, createResponse, processWarningsAndErrors, getLocationHint, getAssuranceValidationTokenParams, }: {
2
- config: any;
3
- lifecycle: any;
4
- cookieTransfer: any;
5
- sendNetworkRequest: any;
6
- createResponse: any;
7
- processWarningsAndErrors: any;
8
- getLocationHint: any;
9
- getAssuranceValidationTokenParams: any;
10
- }): ({ request, runOnResponseCallbacks, runOnRequestFailureCallbacks, }: {
11
- request: any;
12
- runOnResponseCallbacks?: () => void;
13
- runOnRequestFailureCallbacks?: () => void;
14
- }) => any;
2
+ config: {
3
+ edgeDomain: string;
4
+ edgeBasePath: string;
5
+ datastreamId: string;
6
+ };
7
+ lifecycle: object;
8
+ cookieTransfer: object;
9
+ sendNetworkRequest: (arg0: object) => Promise<any>;
10
+ createResponse: ResponseCreator;
11
+ processWarningsAndErrors: (arg0: object) => void;
12
+ getLocationHint: () => string | undefined;
13
+ getAssuranceValidationTokenParams: () => string;
14
+ }): EdgeRequestExecutor;
15
15
  export default _default;
16
+ import type { ResponseCreator } from '../types.js';
17
+ import type { EdgeRequestExecutor } from './types.js';
16
18
  //# sourceMappingURL=injectSendEdgeNetworkRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectSendEdgeNetworkRequest.d.ts","sourceRoot":"","sources":["../../../src/core/edgeNetwork/injectSendEdgeNetworkRequest.js"],"names":[],"mappings":"AAuBe;;;;;;;;;KAqCL;;;;CAIP,SAsEF"}
1
+ {"version":3,"file":"injectSendEdgeNetworkRequest.d.ts","sourceRoot":"","sources":["../../../src/core/edgeNetwork/injectSendEdgeNetworkRequest.js"],"names":[],"mappings":"AA0Ce,oLAZZ;IAAkF,MAAM,EAAhF;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAC;IAChD,SAAS,EAAzB,MAAM;IACU,cAAc,EAA9B,MAAM;IACqC,kBAAkB,EAA7D,CAAS,IAAM,EAAN,MAAM,KAAG,OAAO,KAAQ;IACR,cAAc,EAAvC,eAAe;IACiB,wBAAwB,EAAxD,CAAS,IAAM,EAAN,MAAM,KAAG,IAAI;IACgB,eAAe,EAArD,MAAY,MAAM,GAAC,SAAS;IACA,iCAAiC,EAA7D,MAAY,MAAM;CAG1B,GAAU,mBAAmB,CAiH/B;;qCA5IoC,aAAa;yCADT,YAAY"}
@@ -0,0 +1,12 @@
1
+ /** @import { Request } from '../../utils/request/types.js' */
2
+ /**
3
+ * @typedef {function({request: Request, runOnResponseCallbacks?: function(): void, runOnRequestFailureCallbacks?: function(): void}): Promise<Object>} EdgeRequestExecutor
4
+ */
5
+ export const Types: {};
6
+ export type EdgeRequestExecutor = (arg0: {
7
+ request: Request;
8
+ runOnResponseCallbacks?: () => void;
9
+ runOnRequestFailureCallbacks?: () => void;
10
+ }) => Promise<any>;
11
+ import type { Request } from '../../utils/request/types.js';
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/edgeNetwork/types.js"],"names":[],"mappings":"AAAA,8DAA8D;AAE9D;;GAEG;AAEH,uBAAwB;kCAHX,CAAS,IAA8G,EAA9G;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,sBAAsB,CAAC,EAAE,MAAY,IAAI,CAAC;IAAC,4BAA4B,CAAC,EAAE,MAAY,IAAI,CAAA;CAAC,KAAG,OAAO,KAAQ;6BAHzH,8BAA8B"}
@@ -1,12 +1,12 @@
1
1
  declare function _default({ logger, loggingCookieJar, config }: {
2
- logger: any;
3
- loggingCookieJar: any;
4
- config: any;
5
- }): {
6
- initialize(): void;
7
- setIdentityAcquired(): void;
8
- awaitIdentity(): Promise<any>;
9
- getEcidFromCookie: () => string;
10
- };
2
+ logger: Logger;
3
+ loggingCookieJar: CookieJar;
4
+ config: {
5
+ orgId: string;
6
+ };
7
+ }): IdentityManager;
11
8
  export default _default;
9
+ import type { Logger } from '../types.js';
10
+ import type { CookieJar } from '../../utils/types.js';
11
+ import type { IdentityManager } from './types.js';
12
12
  //# sourceMappingURL=createIdentity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createIdentity.d.ts","sourceRoot":"","sources":["../../../src/core/identity/createIdentity.js"],"names":[],"mappings":"AAce;;;;;;;;;EA+Bd"}
1
+ {"version":3,"file":"createIdentity.d.ts","sourceRoot":"","sources":["../../../src/core/identity/createIdentity.js"],"names":[],"mappings":"AAmDe,gEAvBZ;IAAwB,MAAM,EAAtB,MAAM;IACa,gBAAgB,EAAnC,SAAS;IACgB,MAAM,EAA/B;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC;CAEvB,GAAU,eAAe,CAkD3B;;4BArE2B,aAAa;+BACV,sBAAsB;qCAFhB,YAAY"}
@@ -0,0 +1,23 @@
1
+ /** @import { Logger } from '../../core/types.js' */
2
+ /** @import { CookieJar } from '../../utils/types.js' */
3
+ /**
4
+ * @typedef {Object} IdentityManager
5
+ * @property {Function} initialize
6
+ * @property {Function} setIdentityAcquired - Marks identity as acquired and resolves any pending identity promises
7
+ * @property {Function} awaitIdentity - Returns a promise that resolves when identity is acquired
8
+ * @property {Function} getEcidFromCookie
9
+ */
10
+ export const Types: {};
11
+ export type IdentityManager = {
12
+ initialize: Function;
13
+ /**
14
+ * - Marks identity as acquired and resolves any pending identity promises
15
+ */
16
+ setIdentityAcquired: Function;
17
+ /**
18
+ * - Returns a promise that resolves when identity is acquired
19
+ */
20
+ awaitIdentity: Function;
21
+ getEcidFromCookie: Function;
22
+ };
23
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/identity/types.js"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,wDAAwD;AAExD;;;;;;GAMG;AAEH,uBAAwB"}
@@ -1,30 +1,6 @@
1
1
  declare function _default({ extractEdgeInfo }: {
2
- extractEdgeInfo: any;
3
- }): ({ content, getHeader }: {
4
- content?: {};
5
- getHeader: any;
6
- }) => {
7
- /**
8
- * Returns matching fragments of the response by type.
9
- * @param {String} type A string with the current format: <namespace:action>
10
- *
11
- * @example
12
- * getPayloadsByType("identity:persist")
13
- */
14
- getPayloadsByType(type: string): any;
15
- /**
16
- * Returns all errors.
17
- */
18
- getErrors(): any;
19
- /**
20
- * Returns all warnings.
21
- */
22
- getWarnings(): any;
23
- /**
24
- * Returns an object containing the regionId from the x-adobe-edge header
25
- */
26
- getEdge(): any;
27
- toJSON(): {};
28
- };
2
+ extractEdgeInfo: (arg0: string) => any;
3
+ }): ResponseCreator;
29
4
  export default _default;
5
+ import type { ResponseCreator } from './types.js';
30
6
  //# sourceMappingURL=injectCreateResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectCreateResponse.d.ts","sourceRoot":"","sources":["../../src/core/injectCreateResponse.js"],"names":[],"mappings":"AAkBe;;KACZ;;;CAA2B;IAQxB;;;;;;OAMG;;IAMH;;OAEG;;IAIH;;OAEG;;IAIH;;OAEG;;;EAQN"}
1
+ {"version":3,"file":"injectCreateResponse.d.ts","sourceRoot":"","sources":["../../src/core/injectCreateResponse.js"],"names":[],"mappings":"AA2Be,+CAJZ;IAA0C,eAAe,EAAjD,CAAS,IAAM,EAAN,MAAM,QAAS;CAEhC,GAAU,eAAe,CAyCzB;;qCAtDkC,YAAY"}
@@ -1,29 +1,216 @@
1
1
  /**
2
2
  * @typedef {object} AlloyMonitor
3
- * @property {function(data): void} [onBeforeLog]
4
- * @property {function(data): void} [onInstanceCreated]
5
- * @property {function(data): void} [onInstanceConfigured]
6
- * @property {function(data): void} [onBeforeCommand]
7
- * @property {function(data): void} [onCommandResolved]
8
- * @property {function(data): void} [onCommandRejected]
9
- * @property {function(data): void} [onBeforeNetworkRequest]
10
- * @property {function(data): void} [onNetworkResponse]
11
- * @property {function(data): void} [onNetworkError]
12
- * @property {function(data): void} [onContentHiding]
13
- * @property {function(data): void} [onContentRendering]
3
+ * @property {function(any): void} [onBeforeLog]
4
+ * @property {function(any): void} [onInstanceCreated]
5
+ * @property {function(any): void} [onInstanceConfigured]
6
+ * @property {function(any): void} [onBeforeCommand]
7
+ * @property {function(any): void} [onCommandResolved]
8
+ * @property {function(any): void} [onCommandRejected]
9
+ * @property {function(any): void} [onBeforeNetworkRequest]
10
+ * @property {function(any): void} [onNetworkResponse]
11
+ * @property {function(any): void} [onNetworkError]
12
+ * @property {function(any): void} [onContentHiding]
13
+ * @property {function(any): void} [onContentRendering]
14
+ */
15
+ /**
16
+ * @typedef {object} Logger
17
+ * @property {boolean} enabled
18
+ * @property {function(any): void} logOnInstanceCreated
19
+ * @property {function(any): void} logOnInstanceConfigured
20
+ * @property {function(any): void} logOnBeforeCommand
21
+ * @property {function(any): void} logOnCommandResolved
22
+ * @property {function(any): void} logOnCommandRejected
23
+ * @property {function(any): void} logOnBeforeNetworkRequest
24
+ * @property {function(any): void} logOnNetworkResponse
25
+ * @property {function(any): void} logOnNetworkError
26
+ * @property {function(any): void} logOnContentHiding
27
+ * @property {function(any): void} logOnContentRendering
28
+ * @property {function(...any): void} info
29
+ * @property {function(...any): void} warn
30
+ * @property {function(...any): void} error
31
+ */
32
+ /**
33
+ * @typedef {object} Event
34
+ * @property {function(): boolean} hasQuery
35
+ * @property {function(): object} getContent
36
+ * @property {function(object): void} setUserXdm
37
+ * @property {function(object): void} setUserData
38
+ * @property {function(object): void} mergeXdm
39
+ * @property {function(object): void} mergeData
40
+ * @property {function(object): void} mergeMeta
41
+ * @property {function(object): void} mergeQuery
42
+ * @property {function(): void} documentMayUnload
43
+ * @property {function(function=): void} finalize
44
+ * @property {function(): boolean} getDocumentMayUnload
45
+ * @property {function(): boolean} isEmpty
46
+ * @property {function(): boolean} shouldSend
47
+ * @property {function(): string|undefined} getViewName
48
+ * @property {function(): object} toJSON
49
+ */
50
+ /**
51
+ * @typedef {object} SendEventOptions
52
+ * @property {object} [edgeConfigOverrides]
53
+ configuration
54
+ * @property {boolean} [renderDecisions]
55
+ * @property {string[]} [decisionScopes]
56
+ * @property {object} [decisionContext]
57
+ * @property {object} [personalization]
58
+ * @property {object} [mediaOptions]
59
+ */
60
+ /**
61
+ * @typedef {object} ApplyResponseOptions
62
+ * @property {boolean} [renderDecisions=false]
63
+ * @property {object} [decisionContext={}]
64
+ * @property {object} [responseHeaders={}]
65
+ * @property {object} [responseBody={handle:[]}]
66
+ * @property {object} [personalization]
67
+ */
68
+ /**
69
+ * @typedef {object} EventManager
70
+ * @property {function(): Event} createEvent
71
+ * @property {function(Event, SendEventOptions=): Promise<any>} sendEvent
72
+ * @property {function(Event, ApplyResponseOptions=): Promise<any>} applyResponse
73
+ */
74
+ /**
75
+ * @typedef {Object} ResponseContent
76
+ * @property {Array<{type: string, payload: Array<Object>}>} [handle] - Array of response fragments with type and payload
77
+ * @property {Array<object>} [errors] - Array of error objects
78
+ * @property {Array<object>} [warnings] - Array of warning objects
79
+ */
80
+ /**
81
+ * @typedef {Object} ResponseFragment
82
+ * @property {string} type - Fragment type in format "<namespace:action>"
83
+ * @property {any} payload - Fragment payload data
84
+ */
85
+ /**
86
+ * @typedef {Object} Response
87
+ * @property {function(string): Array<any>} getPayloadsByType - Returns matching fragments by type (e.g., "identity:persist")
88
+ * @property {function(): Array<object>} getErrors - Returns all error objects from the response
89
+ * @property {function(): Array<object>} getWarnings - Returns all warning objects from the response
90
+ * @property {function(): object} getEdge - Returns object containing regionId from x-adobe-edge header
91
+ * @property {function(): ResponseContent} toJSON
92
+ */
93
+ /**
94
+ * @typedef {function({content?: ResponseContent, getHeader: function(string): string|undefined}): Response} ResponseCreator
14
95
  */
15
96
  export const Types: {};
16
97
  export type AlloyMonitor = {
17
- onBeforeLog?: (arg0: data) => void;
18
- onInstanceCreated?: (arg0: data) => void;
19
- onInstanceConfigured?: (arg0: data) => void;
20
- onBeforeCommand?: (arg0: data) => void;
21
- onCommandResolved?: (arg0: data) => void;
22
- onCommandRejected?: (arg0: data) => void;
23
- onBeforeNetworkRequest?: (arg0: data) => void;
24
- onNetworkResponse?: (arg0: data) => void;
25
- onNetworkError?: (arg0: data) => void;
26
- onContentHiding?: (arg0: data) => void;
27
- onContentRendering?: (arg0: data) => void;
98
+ onBeforeLog?: (arg0: any) => void;
99
+ onInstanceCreated?: (arg0: any) => void;
100
+ onInstanceConfigured?: (arg0: any) => void;
101
+ onBeforeCommand?: (arg0: any) => void;
102
+ onCommandResolved?: (arg0: any) => void;
103
+ onCommandRejected?: (arg0: any) => void;
104
+ onBeforeNetworkRequest?: (arg0: any) => void;
105
+ onNetworkResponse?: (arg0: any) => void;
106
+ onNetworkError?: (arg0: any) => void;
107
+ onContentHiding?: (arg0: any) => void;
108
+ onContentRendering?: (arg0: any) => void;
109
+ };
110
+ export type Logger = {
111
+ enabled: boolean;
112
+ logOnInstanceCreated: (arg0: any) => void;
113
+ logOnInstanceConfigured: (arg0: any) => void;
114
+ logOnBeforeCommand: (arg0: any) => void;
115
+ logOnCommandResolved: (arg0: any) => void;
116
+ logOnCommandRejected: (arg0: any) => void;
117
+ logOnBeforeNetworkRequest: (arg0: any) => void;
118
+ logOnNetworkResponse: (arg0: any) => void;
119
+ logOnNetworkError: (arg0: any) => void;
120
+ logOnContentHiding: (arg0: any) => void;
121
+ logOnContentRendering: (arg0: any) => void;
122
+ info: (...args: any[]) => void;
123
+ warn: (...args: any[]) => void;
124
+ error: (...args: any[]) => void;
125
+ };
126
+ export type Event = {
127
+ hasQuery: () => boolean;
128
+ getContent: () => object;
129
+ setUserXdm: (arg0: object) => void;
130
+ setUserData: (arg0: object) => void;
131
+ mergeXdm: (arg0: object) => void;
132
+ mergeData: (arg0: object) => void;
133
+ mergeMeta: (arg0: object) => void;
134
+ mergeQuery: (arg0: object) => void;
135
+ documentMayUnload: () => void;
136
+ finalize: (arg0: Function | undefined) => void;
137
+ getDocumentMayUnload: () => boolean;
138
+ isEmpty: () => boolean;
139
+ shouldSend: () => boolean;
140
+ getViewName: () => string | undefined;
141
+ toJSON: () => object;
142
+ };
143
+ export type SendEventOptions = {
144
+ /**
145
+ * configuration
146
+ */
147
+ edgeConfigOverrides?: object;
148
+ renderDecisions?: boolean;
149
+ decisionScopes?: string[];
150
+ decisionContext?: object;
151
+ personalization?: object;
152
+ mediaOptions?: object;
153
+ };
154
+ export type ApplyResponseOptions = {
155
+ renderDecisions?: boolean;
156
+ decisionContext?: object;
157
+ responseHeaders?: object;
158
+ responseBody?: object;
159
+ personalization?: object;
160
+ };
161
+ export type EventManager = {
162
+ createEvent: () => Event;
163
+ sendEvent: (arg0: Event, arg1: SendEventOptions | undefined) => Promise<any>;
164
+ applyResponse: (arg0: Event, arg1: ApplyResponseOptions | undefined) => Promise<any>;
165
+ };
166
+ export type ResponseContent = {
167
+ /**
168
+ * - Array of response fragments with type and payload
169
+ */
170
+ handle?: Array<{
171
+ type: string;
172
+ payload: Array<any>;
173
+ }>;
174
+ /**
175
+ * - Array of error objects
176
+ */
177
+ errors?: Array<object>;
178
+ /**
179
+ * - Array of warning objects
180
+ */
181
+ warnings?: Array<object>;
182
+ };
183
+ export type ResponseFragment = {
184
+ /**
185
+ * - Fragment type in format "<namespace:action>"
186
+ */
187
+ type: string;
188
+ /**
189
+ * - Fragment payload data
190
+ */
191
+ payload: any;
192
+ };
193
+ export type Response = {
194
+ /**
195
+ * - Returns matching fragments by type (e.g., "identity:persist")
196
+ */
197
+ getPayloadsByType: (arg0: string) => Array<any>;
198
+ /**
199
+ * - Returns all error objects from the response
200
+ */
201
+ getErrors: () => Array<object>;
202
+ /**
203
+ * - Returns all warning objects from the response
204
+ */
205
+ getWarnings: () => Array<object>;
206
+ /**
207
+ * - Returns object containing regionId from x-adobe-edge header
208
+ */
209
+ getEdge: () => object;
210
+ toJSON: () => ResponseContent;
28
211
  };
212
+ export type ResponseCreator = (arg0: {
213
+ content?: ResponseContent;
214
+ getHeader: (arg0: string) => string | undefined;
215
+ }) => Response;
29
216
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,uBAAwB;;kBAbV,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;wBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;2BACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;sBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;wBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;wBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;6BACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;wBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;qBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;sBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI;yBACpB,CAAS,IAAI,EAAJ,IAAI,KAAG,IAAI"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.js"],"names":[],"mappings":"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"}
@@ -1,3 +1,5 @@
1
1
  export function base64ToBytes(base64String: string): Uint8Array;
2
- export function bytesToBase64(bytes: Uint8Array): string;
2
+ export function bytesToBase64(bytes: Uint8Array, options?: {
3
+ urlSafe?: boolean;
4
+ }): string;
3
5
  //# sourceMappingURL=bytes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bytes.d.ts","sourceRoot":"","sources":["../../src/utils/bytes.js"],"names":[],"mappings":"AAiBO,4CAHI,MAAM,GACJ,UAAU,CAWtB;AAOM,qCAHI,UAAU,GACR,MAAM,CAEwD"}
1
+ {"version":3,"file":"bytes.d.ts","sourceRoot":"","sources":["../../src/utils/bytes.js"],"names":[],"mappings":"AAiBO,4CAHI,MAAM,GACJ,UAAU,CAWtB;AASM,qCALI,UAAU,YAElB;IAA0B,OAAO,GAAzB,OAAO;CACf,GAAU,MAAM,CAWlB"}
@@ -1,6 +1,8 @@
1
1
  declare function _default({ logger, cookieJar }: {
2
- logger: any;
3
- cookieJar: any;
4
- }): any;
2
+ logger: Logger;
3
+ cookieJar: CookieJar;
4
+ }): CookieJar;
5
5
  export default _default;
6
+ import type { Logger } from '../core/types.js';
7
+ import type { CookieJar } from './types.js';
6
8
  //# sourceMappingURL=createLoggingCookieJar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLoggingCookieJar.d.ts","sourceRoot":"","sources":["../../src/utils/createLoggingCookieJar.js"],"names":[],"mappings":"AAYe;;;QAQd"}
1
+ {"version":3,"file":"createLoggingCookieJar.d.ts","sourceRoot":"","sources":["../../src/utils/createLoggingCookieJar.js"],"names":[],"mappings":"AA0Be,iDALZ;IAAwB,MAAM,EAAtB,MAAM;IACa,SAAS,EAA5B,SAAS;CAEjB,GAAU,SAAS,CAUrB;;4BAtB2B,kBAAkB;+BACf,YAAY"}
@@ -1,3 +1,3 @@
1
- declare function _default(content: any, key: string): Function;
1
+ declare function _default(content: object, key: string): (arg0: object) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=createMerger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createMerger.d.ts","sourceRoot":"","sources":["../../src/utils/createMerger.js"],"names":[],"mappings":"AAsBe,+DAOd"}
1
+ {"version":3,"file":"createMerger.d.ts","sourceRoot":"","sources":["../../src/utils/createMerger.js"],"names":[],"mappings":"AAuBe,mCALJ,MAAM,OACN,MAAM,GAEJ,CAAS,IAAM,EAAN,MAAM,KAAG,IAAI,CASlC"}
@@ -1,42 +1,4 @@
1
- declare function _default(context: any): (additionalNamespace: any) => {
2
- session: {
3
- /**
4
- * Reads a value from storage.
5
- * @param {string} name The name of the item to be read.
6
- * @returns {string}
7
- */
8
- getItem(name: string): string;
9
- /**
10
- * Saves a value to storage.
11
- * @param {string} name The name of the item to be saved.
12
- * @param {string} value The value of the item to be saved.
13
- * @returns {boolean} Whether the item was successfully saved to storage.
14
- */
15
- setItem(name: string, value: string): boolean;
16
- /**
17
- * Clear all values in storage that match the namespace.
18
- */
19
- clear(): boolean;
20
- };
21
- persistent: {
22
- /**
23
- * Reads a value from storage.
24
- * @param {string} name The name of the item to be read.
25
- * @returns {string}
26
- */
27
- getItem(name: string): string;
28
- /**
29
- * Saves a value to storage.
30
- * @param {string} name The name of the item to be saved.
31
- * @param {string} value The value of the item to be saved.
32
- * @returns {boolean} Whether the item was successfully saved to storage.
33
- */
34
- setItem(name: string, value: string): boolean;
35
- /**
36
- * Clear all values in storage that match the namespace.
37
- */
38
- clear(): boolean;
39
- };
40
- };
1
+ declare function _default(context: any): StorageCreator;
41
2
  export default _default;
3
+ import type { StorageCreator } from './types.js';
42
4
  //# sourceMappingURL=injectStorage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectStorage.d.ts","sourceRoot":"","sources":["../../src/utils/injectStorage.js"],"names":[],"mappings":"AA+De,0CAAc,wBAAmB;;QA5C5C;;;;WAIG;sBAFQ,MAAM,GACJ,MAAM;QASnB;;;;;WAKG;sBAHQ,MAAM,SACN,MAAM,GACJ,OAAO;QAUpB;;WAEG;;;;QA5BH;;;;WAIG;sBAFQ,MAAM,GACJ,MAAM;QASnB;;;;;WAKG;sBAHQ,MAAM,SACN,MAAM,GACJ,OAAO;QAUpB;;WAEG;;;EAsBN"}
1
+ {"version":3,"file":"injectStorage.d.ts","sourceRoot":"","sources":["../../src/utils/injectStorage.js"],"names":[],"mappings":"AAiFe,yCAFF,cAAc,CAQ1B;;oCA3E4C,YAAY"}
@@ -1,16 +1,6 @@
1
1
  declare function _default({ payload: dataCollectionRequestPayload, datastreamIdOverride, }: {
2
2
  payload: any;
3
3
  datastreamIdOverride: any;
4
- }): {
5
- getId(): string;
6
- getPayload(): any;
7
- getAction(): any;
8
- getDatastreamIdOverride(): any;
9
- getUseSendBeacon(): any;
10
- getEdgeSubPath(): any;
11
- getUseIdThirdPartyDomain(): boolean;
12
- setUseIdThirdPartyDomain(): void;
13
- setIsIdentityEstablished(): void;
14
- };
4
+ }): import("./types.js").Request;
15
5
  export default _default;
16
6
  //# sourceMappingURL=createDataCollectionRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDataCollectionRequest.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createDataCollectionRequest.js"],"names":[],"mappings":"AAce;;;;;;;;;;;;;EAuDd"}
1
+ {"version":3,"file":"createDataCollectionRequest.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createDataCollectionRequest.js"],"names":[],"mappings":"AAce;;;iCAuDd"}
@@ -1,11 +1,4 @@
1
- declare function _default(): {
2
- mergeMeta: Function;
3
- mergeState: Function;
4
- mergeQuery: Function;
5
- mergeConfigOverride: (updates: any) => any;
6
- addIdentity: any;
7
- hasIdentity: any;
8
- toJSON(): any;
9
- };
1
+ declare function _default(): DataCollectionRequestPayload;
10
2
  export default _default;
3
+ import type { DataCollectionRequestPayload } from './types.js';
11
4
  //# sourceMappingURL=createDataCollectionRequestPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDataCollectionRequestPayload.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createDataCollectionRequestPayload.js"],"names":[],"mappings":"AAee;;;;;;;;EAkBd"}
1
+ {"version":3,"file":"createDataCollectionRequestPayload.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createDataCollectionRequestPayload.js"],"names":[],"mappings":"AAuBe,6BAFF,4BAA4B,CAsBxC;;kDA/BiD,YAAY"}
@@ -1,13 +1,15 @@
1
- declare function _default(options: any): {
2
- getId(): string;
3
- getPayload(): any;
4
- getAction(): any;
5
- getDatastreamIdOverride(): any;
6
- getUseSendBeacon(): any;
7
- getEdgeSubPath(): any;
8
- getUseIdThirdPartyDomain(): boolean;
9
- setUseIdThirdPartyDomain(): void;
10
- setIsIdentityEstablished(): void;
11
- };
1
+ declare function _default(options: {
2
+ payload: RequestPayload;
3
+ getAction: (arg0: {
4
+ isIdentityEstablished: boolean;
5
+ }) => string;
6
+ getUseSendBeacon: (arg0: {
7
+ isIdentityEstablished: boolean;
8
+ }) => boolean;
9
+ datastreamIdOverride?: string;
10
+ edgeSubPath?: string;
11
+ }): Request;
12
12
  export default _default;
13
+ import type { RequestPayload } from './types.js';
14
+ import type { Request } from './types.js';
13
15
  //# sourceMappingURL=createRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createRequest.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createRequest.js"],"names":[],"mappings":"AAee;;;;;;;;;;EA6Cd"}
1
+ {"version":3,"file":"createRequest.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createRequest.js"],"names":[],"mappings":"AA2Ce,mCArBZ;IAAgC,OAAO,EAA/B,cAAc;IAC8C,SAAS,EAArE,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,MAAM;IACW,gBAAgB,EAA7E,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,OAAO;IAClC,oBAAoB,GAArC,MAAM;IACW,WAAW,GAA5B,MAAM;CAEd,GAAU,OAAO,CA4DnB;;oCA5E4C,YAAY;6BAAZ,YAAY"}
@@ -1,11 +1,9 @@
1
- declare function _default(options: any): {
2
- mergeMeta: Function;
3
- mergeState: Function;
4
- mergeQuery: Function;
5
- mergeConfigOverride: (updates: any) => any;
6
- addIdentity: any;
7
- hasIdentity: any;
8
- toJSON(): any;
9
- };
1
+ declare function _default(options: {
2
+ content: any;
3
+ addIdentity: (arg0: string, arg1: Identity) => void;
4
+ hasIdentity: (arg0: string) => boolean;
5
+ }): RequestPayload;
10
6
  export default _default;
7
+ import type { Identity } from './types.js';
8
+ import type { RequestPayload } from './types.js';
11
9
  //# sourceMappingURL=createRequestPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createRequestPayload.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createRequestPayload.js"],"names":[],"mappings":"AAgBe;;;;;;;;EAed"}
1
+ {"version":3,"file":"createRequestPayload.d.ts","sourceRoot":"","sources":["../../../src/utils/request/createRequestPayload.js"],"names":[],"mappings":"AAgFe,mCANZ;IAAwB,OAAO;IACmB,WAAW,EAArD,CAAS,IAAM,EAAN,MAAM,EAAE,IAAQ,EAAR,QAAQ,KAAG,IAAI;IACI,WAAW,EAA/C,CAAS,IAAM,EAAN,MAAM,KAAI,OAAO;CAElC,GAAU,cAAc,CAoB1B;;8BAtF6C,YAAY;oCAAZ,YAAY"}