@coveo/relay 0.6.11 → 0.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cdn/relay.min.js +1 -1
- package/lib/docs/relay-docs.json +42 -42
- package/lib/relay.cjs +1 -1
- package/lib/relay.js +1 -1
- package/lib/relay.mjs +1 -1
- package/package.json +3 -6
package/lib/cdn/relay.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(t){const n="visitorId";return{getClientId:()=>{const r=t.get(),o=r.storage,c=o.getItem(n),a=c&&("string"==typeof(s=c)&&e.test(s))?c:r.generateUUID();var s;return o.setItem(n,a),a},clear:()=>{t.get().storage.removeItem(n)}}}const n="0.6.
|
|
1
|
+
var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(t){const n="visitorId";return{getClientId:()=>{const r=t.get(),o=r.storage,c=o.getItem(n),a=c&&("string"==typeof(s=c)&&e.test(s))?c:r.generateUUID();var s;return o.setItem(n,a),a},clear:()=>{t.get().storage.removeItem(n)}}}const n="0.6.12";function r(e){return(e.source||[]).concat([`relay@${n}`])}function o(e,t,n,o){const{getReferrer:c,getLocation:a,getUserAgent:s}=n,i=function(e){const{trackingId:t}=e;return{trackingId:t}}(t),u=o.getClientId();return Object.freeze({type:e,config:i,ts:Date.now(),source:r(t),clientId:u,userAgent:s(),referrer:c(),location:a()})}const c="*";function a(){const e=[];function t({type:t,callback:n}){return e.findIndex((e=>e.type===t&&e.callback===n))}function n(n,r){r?function(n){const r=t(n);r>=0&&e.splice(r,1)}({type:n,callback:r}):function(t){if(t===c)e.length=0;else for(let n=e.length-1;n>=0;n--)e[n].type===t&&e.splice(n,1)}(n)}return{add:function(r){return t(r)<0&&e.push(r),()=>n(r.type,r.callback)},call:function(t){e.forEach((e=>{if(function(e,t){return"*"===e.type||t===e.type}(e,t.meta.type))try{e.callback(t)}catch(e){console.error(e)}}))},remove:n}}function s({url:e,token:t,trackingId:n,...r}){return Object.freeze({url:e,token:t,trackingId:n,...!!r.mode&&{mode:r.mode},...!!r.source&&{source:r.source}})}const i=function(){const e="coveo_";return{getItem(t){const n=`${e}${t}=`,r=document.cookie.split(";");for(const e of r){const t=e.replace(/^\s+/,"");if(0===t.lastIndexOf(n,0))return t.substring(n.length,t.length)}return null},setItem(t,n,r){const o=(e=>{const t=e.split(".").slice(-2);return 2==t.length?t.join("."):""})(window.location.hostname),c=`;expires=${new Date((new Date).getTime()+r).toUTCString()}`,a=o?`;domain=${o}`:"";document.cookie=`${e}${t}=${n}${c}${a};path=/;SameSite=Lax`},removeItem(e){this.setItem(e,"",-1)}}}();function u(){return{runtime:"browser",send:async(e,t,n)=>{const r=navigator.sendBeacon(`${e}?access_token=${t}`,new Blob([JSON.stringify([n])],{type:"application/json"})),o=function(){const e="undefined"!=typeof window;return{sendMessage(t){e&&window.postMessage(t,"*")}}}();if(o.sendMessage({kind:"EVENT_PROTOCOL",event:n,url:e,token:t}),!r)throw new Error("Failed to send the event(s) because the payload size exceeded the maximum allowed size (32 KB). Please contact support if the problem persists.")},getReferrer:()=>function(){const e=document.referrer;return""===e?null:e}(),getLocation:()=>window.location.href,getUserAgent:()=>navigator.userAgent,generateUUID:()=>crypto.randomUUID(),storage:{getItem:e=>i.getItem(e)||localStorage.getItem(e),removeItem(e){i.removeItem(e),localStorage.removeItem(e)},setItem(e,t){localStorage.setItem(e,t),i.setItem(e,t,31556952e3)}}}}function l(e){return"disabled"!==e.get().mode&&function(){try{return"object"==typeof window}catch(e){return!1}}()?u():{runtime:"null",send:async()=>{},getReferrer:()=>null,getLocation:()=>null,getUserAgent:()=>null,generateUUID:()=>"",storage:{getItem:()=>null,removeItem(){},setItem(){}}}}function g(e){const r=function(e){let t=s(e);return{get:()=>t,update:e=>{t=s({...t,...e})}}}(e),c=a(),i=function(e){return{get:()=>Object.freeze(l(e))}}(r),u=t(i);return{emit:(e,t)=>{const n=r.get(),a=i.get(),s=function(e,t,n,r,c){return{...t,meta:o(e,n,r,c)}}(e,t,n,a,u);return async function({config:e,environment:t,event:n,listenerManager:r}){const{url:o,token:c,mode:a}=e;"disabled"!==a&&(r.call(n),t.send(o,c,n))}({config:n,environment:a,event:s,listenerManager:c})},getMeta:e=>o(e,r.get(),i.get(),u),on:(e,t)=>c.add({type:e,callback:t}),off:(e,t)=>c.remove(e,t),updateConfig:e=>r.update(e),version:n,clearStorage:()=>{u.clear()}}}export{g as createRelay};
|
|
2
2
|
//# sourceMappingURL=relay.min.js.map
|
package/lib/docs/relay-docs.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"fileName": "event/meta/meta.ts",
|
|
48
48
|
"line": 13,
|
|
49
49
|
"character": 2,
|
|
50
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
50
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L13"
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
"type": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"fileName": "event/meta/meta.ts",
|
|
70
70
|
"line": 9,
|
|
71
71
|
"character": 17,
|
|
72
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
72
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L9"
|
|
73
73
|
}
|
|
74
74
|
]
|
|
75
75
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"fileName": "event/meta/meta.ts",
|
|
116
116
|
"line": 43,
|
|
117
117
|
"character": 2,
|
|
118
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
118
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L43"
|
|
119
119
|
}
|
|
120
120
|
],
|
|
121
121
|
"type": {
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"fileName": "event/meta/meta.ts",
|
|
143
143
|
"line": 28,
|
|
144
144
|
"character": 2,
|
|
145
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
145
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L28"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
148
|
"type": {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"fileName": "event/meta/meta.ts",
|
|
172
172
|
"line": 58,
|
|
173
173
|
"character": 2,
|
|
174
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
174
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L58"
|
|
175
175
|
}
|
|
176
176
|
],
|
|
177
177
|
"type": {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"fileName": "event/meta/meta.ts",
|
|
208
208
|
"line": 53,
|
|
209
209
|
"character": 2,
|
|
210
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
210
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L53"
|
|
211
211
|
}
|
|
212
212
|
],
|
|
213
213
|
"type": {
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"fileName": "event/meta/meta.ts",
|
|
244
244
|
"line": 38,
|
|
245
245
|
"character": 2,
|
|
246
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
246
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L38"
|
|
247
247
|
}
|
|
248
248
|
],
|
|
249
249
|
"type": {
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"fileName": "event/meta/meta.ts",
|
|
274
274
|
"line": 33,
|
|
275
275
|
"character": 2,
|
|
276
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
276
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L33"
|
|
277
277
|
}
|
|
278
278
|
],
|
|
279
279
|
"type": {
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"fileName": "event/meta/meta.ts",
|
|
301
301
|
"line": 23,
|
|
302
302
|
"character": 2,
|
|
303
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
303
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L23"
|
|
304
304
|
}
|
|
305
305
|
],
|
|
306
306
|
"type": {
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"fileName": "event/meta/meta.ts",
|
|
328
328
|
"line": 48,
|
|
329
329
|
"character": 2,
|
|
330
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
330
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L48"
|
|
331
331
|
}
|
|
332
332
|
],
|
|
333
333
|
"type": {
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
"fileName": "event/meta/meta.ts",
|
|
366
366
|
"line": 19,
|
|
367
367
|
"character": 17,
|
|
368
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
368
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/event/meta/meta.ts#L19"
|
|
369
369
|
}
|
|
370
370
|
]
|
|
371
371
|
},
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"fileName": "relay.ts",
|
|
396
396
|
"line": 68,
|
|
397
397
|
"character": 2,
|
|
398
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
398
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L68"
|
|
399
399
|
}
|
|
400
400
|
],
|
|
401
401
|
"type": {
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"fileName": "relay.ts",
|
|
412
412
|
"line": 68,
|
|
413
413
|
"character": 16,
|
|
414
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
414
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L68"
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
"signatures": [
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"fileName": "relay.ts",
|
|
441
441
|
"line": 68,
|
|
442
442
|
"character": 16,
|
|
443
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
443
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L68"
|
|
444
444
|
}
|
|
445
445
|
],
|
|
446
446
|
"type": {
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"fileName": "relay.ts",
|
|
464
464
|
"line": 23,
|
|
465
465
|
"character": 2,
|
|
466
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
466
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L23"
|
|
467
467
|
}
|
|
468
468
|
],
|
|
469
469
|
"type": {
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"fileName": "relay.ts",
|
|
480
480
|
"line": 23,
|
|
481
481
|
"character": 8,
|
|
482
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
482
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L23"
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
485
|
"signatures": [
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"fileName": "relay.ts",
|
|
509
509
|
"line": 23,
|
|
510
510
|
"character": 8,
|
|
511
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
511
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L23"
|
|
512
512
|
}
|
|
513
513
|
],
|
|
514
514
|
"parameters": [
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
"fileName": "relay.ts",
|
|
598
598
|
"line": 30,
|
|
599
599
|
"character": 2,
|
|
600
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
600
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L30"
|
|
601
601
|
}
|
|
602
602
|
],
|
|
603
603
|
"type": {
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
"fileName": "relay.ts",
|
|
614
614
|
"line": 30,
|
|
615
615
|
"character": 11,
|
|
616
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
616
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L30"
|
|
617
617
|
}
|
|
618
618
|
],
|
|
619
619
|
"signatures": [
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"fileName": "relay.ts",
|
|
643
643
|
"line": 30,
|
|
644
644
|
"character": 11,
|
|
645
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
645
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L30"
|
|
646
646
|
}
|
|
647
647
|
],
|
|
648
648
|
"parameters": [
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"fileName": "relay.ts",
|
|
689
689
|
"line": 50,
|
|
690
690
|
"character": 2,
|
|
691
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
691
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L50"
|
|
692
692
|
}
|
|
693
693
|
],
|
|
694
694
|
"type": {
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
"fileName": "relay.ts",
|
|
705
705
|
"line": 50,
|
|
706
706
|
"character": 7,
|
|
707
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
707
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L50"
|
|
708
708
|
}
|
|
709
709
|
],
|
|
710
710
|
"signatures": [
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
"fileName": "relay.ts",
|
|
734
734
|
"line": 50,
|
|
735
735
|
"character": 7,
|
|
736
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
736
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L50"
|
|
737
737
|
}
|
|
738
738
|
],
|
|
739
739
|
"parameters": [
|
|
@@ -800,7 +800,7 @@
|
|
|
800
800
|
"fileName": "relay.ts",
|
|
801
801
|
"line": 41,
|
|
802
802
|
"character": 2,
|
|
803
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
803
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L41"
|
|
804
804
|
}
|
|
805
805
|
],
|
|
806
806
|
"type": {
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"fileName": "relay.ts",
|
|
817
817
|
"line": 41,
|
|
818
818
|
"character": 6,
|
|
819
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
819
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L41"
|
|
820
820
|
}
|
|
821
821
|
],
|
|
822
822
|
"signatures": [
|
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
"fileName": "relay.ts",
|
|
846
846
|
"line": 41,
|
|
847
847
|
"character": 6,
|
|
848
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
848
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L41"
|
|
849
849
|
}
|
|
850
850
|
],
|
|
851
851
|
"parameters": [
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
"fileName": "relay.ts",
|
|
908
908
|
"line": 57,
|
|
909
909
|
"character": 2,
|
|
910
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
910
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L57"
|
|
911
911
|
}
|
|
912
912
|
],
|
|
913
913
|
"type": {
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
"fileName": "relay.ts",
|
|
924
924
|
"line": 57,
|
|
925
925
|
"character": 16,
|
|
926
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
926
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L57"
|
|
927
927
|
}
|
|
928
928
|
],
|
|
929
929
|
"signatures": [
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
"fileName": "relay.ts",
|
|
953
953
|
"line": 57,
|
|
954
954
|
"character": 16,
|
|
955
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
955
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L57"
|
|
956
956
|
}
|
|
957
957
|
],
|
|
958
958
|
"parameters": [
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
"fileName": "relay.ts",
|
|
1018
1018
|
"line": 62,
|
|
1019
1019
|
"character": 2,
|
|
1020
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1020
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L62"
|
|
1021
1021
|
}
|
|
1022
1022
|
],
|
|
1023
1023
|
"type": {
|
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
"fileName": "relay.ts",
|
|
1046
1046
|
"line": 16,
|
|
1047
1047
|
"character": 10,
|
|
1048
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1048
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L16"
|
|
1049
1049
|
}
|
|
1050
1050
|
]
|
|
1051
1051
|
},
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
"fileName": "config/config.ts",
|
|
1105
1105
|
"line": 28,
|
|
1106
1106
|
"character": 2,
|
|
1107
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1107
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L28"
|
|
1108
1108
|
}
|
|
1109
1109
|
],
|
|
1110
1110
|
"type": {
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
"fileName": "config/config.ts",
|
|
1139
1139
|
"line": 35,
|
|
1140
1140
|
"character": 2,
|
|
1141
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1141
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L35"
|
|
1142
1142
|
}
|
|
1143
1143
|
],
|
|
1144
1144
|
"type": {
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
"fileName": "config/config.ts",
|
|
1169
1169
|
"line": 15,
|
|
1170
1170
|
"character": 2,
|
|
1171
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1171
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L15"
|
|
1172
1172
|
}
|
|
1173
1173
|
],
|
|
1174
1174
|
"type": {
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
"fileName": "config/config.ts",
|
|
1196
1196
|
"line": 20,
|
|
1197
1197
|
"character": 2,
|
|
1198
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1198
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L20"
|
|
1199
1199
|
}
|
|
1200
1200
|
],
|
|
1201
1201
|
"type": {
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
"fileName": "config/config.ts",
|
|
1223
1223
|
"line": 10,
|
|
1224
1224
|
"character": 2,
|
|
1225
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1225
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L10"
|
|
1226
1226
|
}
|
|
1227
1227
|
],
|
|
1228
1228
|
"type": {
|
|
@@ -1248,7 +1248,7 @@
|
|
|
1248
1248
|
"fileName": "config/config.ts",
|
|
1249
1249
|
"line": 6,
|
|
1250
1250
|
"character": 17,
|
|
1251
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1251
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/config/config.ts#L6"
|
|
1252
1252
|
}
|
|
1253
1253
|
]
|
|
1254
1254
|
},
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
"fileName": "listener/listener.ts",
|
|
1264
1264
|
"line": 11,
|
|
1265
1265
|
"character": 12,
|
|
1266
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1266
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/listener/listener.ts#L11"
|
|
1267
1267
|
}
|
|
1268
1268
|
],
|
|
1269
1269
|
"type": {
|
|
@@ -1279,7 +1279,7 @@
|
|
|
1279
1279
|
"fileName": "listener/listener.ts",
|
|
1280
1280
|
"line": 11,
|
|
1281
1281
|
"character": 28,
|
|
1282
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1282
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/listener/listener.ts#L11"
|
|
1283
1283
|
}
|
|
1284
1284
|
],
|
|
1285
1285
|
"signatures": [
|
|
@@ -1341,7 +1341,7 @@
|
|
|
1341
1341
|
"fileName": "relay.ts",
|
|
1342
1342
|
"line": 76,
|
|
1343
1343
|
"character": 16,
|
|
1344
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1344
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L76"
|
|
1345
1345
|
}
|
|
1346
1346
|
],
|
|
1347
1347
|
"signatures": [
|
|
@@ -1370,7 +1370,7 @@
|
|
|
1370
1370
|
"fileName": "relay.ts",
|
|
1371
1371
|
"line": 76,
|
|
1372
1372
|
"character": 16,
|
|
1373
|
-
"url": "https://github.com/coveo/relay/blob/
|
|
1373
|
+
"url": "https://github.com/coveo/relay/blob/dcc7cc1/packages/relay/src/relay.ts#L76"
|
|
1374
1374
|
}
|
|
1375
1375
|
],
|
|
1376
1376
|
"parameters": [
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
}
|
|
1423
1423
|
],
|
|
1424
1424
|
"packageName": "@coveo/relay",
|
|
1425
|
-
"packageVersion": "0.6.
|
|
1425
|
+
"packageVersion": "0.6.12",
|
|
1426
1426
|
"readme": [
|
|
1427
1427
|
{
|
|
1428
1428
|
"kind": "text",
|
package/lib/relay.cjs
CHANGED
package/lib/relay.js
CHANGED
package/lib/relay.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/relay",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"description": "A library for sending analytics events using Coveo's Event protocol.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib/**/*"
|
|
@@ -53,16 +53,13 @@
|
|
|
53
53
|
"ts-jest": "^29.1.1",
|
|
54
54
|
"typedoc": "^0.25.3",
|
|
55
55
|
"typescript": "^5.1.6",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
56
|
+
"eslint-config-custom": "0.0.0",
|
|
57
|
+
"tsconfig": "0.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@coveo/explorer-messenger": "^0.1.1",
|
|
61
61
|
"uuid": "^9.0.1"
|
|
62
62
|
},
|
|
63
|
-
"engines": {
|
|
64
|
-
"node": "^18.12.0 || ^20.0.0"
|
|
65
|
-
},
|
|
66
63
|
"scripts": {
|
|
67
64
|
"build": "npm run clean && rollup --config ./config/rollup.config.mjs && npm run typedoc",
|
|
68
65
|
"clean": "rimraf -rf ./lib",
|