@teambit/pubsub 1.0.309 → 1.0.311
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.harmony/pubsub@1.0.
|
|
3
|
+
<testsuite name="teambit.harmony/pubsub@1.0.311" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/pubsub-preview"]=t():e["teambit.harmony/pubsub-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/pubsub-preview"]=t():e["teambit.harmony/pubsub-preview"]=t()}(self,(()=>(()=>{"use strict";var e={12585:(e,t,o)=>{var r={id:"teambit.harmony/pubsub@1.0.311",homepage:"https://bit.cloud/teambit/harmony/pubsub",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/pubsub.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>m,overview:()=>b});var n={};o.r(n),o.d(n,{default:()=>l});var i=o(12585);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var s=["components"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},u.apply(null,arguments)}var c={},d="wrapper";function l(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,a.mdx)(d,u({},c,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],b=[n],m={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -585,7 +585,8 @@
|
|
|
585
585
|
"character": 3
|
|
586
586
|
},
|
|
587
587
|
"raw": "/**\n * subscribe to events\n */",
|
|
588
|
-
"comment": "subscribe to events"
|
|
588
|
+
"comment": "subscribe to events",
|
|
589
|
+
"tags": []
|
|
589
590
|
},
|
|
590
591
|
"signature": "(property) PubsubUI.sub: (topic: string, callback: Callback) => () => void",
|
|
591
592
|
"name": "sub",
|
|
@@ -616,7 +617,8 @@
|
|
|
616
617
|
"character": 3
|
|
617
618
|
},
|
|
618
619
|
"raw": "/**\n * publish event to all subscribers, including nested iframes.\n */",
|
|
619
|
-
"comment": "publish event to all subscribers, including nested iframes."
|
|
620
|
+
"comment": "publish event to all subscribers, including nested iframes.",
|
|
621
|
+
"tags": []
|
|
620
622
|
},
|
|
621
623
|
"signature": "(property) PubsubUI.pub: (topic: string, event: BitBaseEvent<any>, { propagate }?: PubOptions) => void",
|
|
622
624
|
"name": "pub",
|
|
@@ -920,7 +922,8 @@
|
|
|
920
922
|
"character": 3
|
|
921
923
|
},
|
|
922
924
|
"raw": "/**\n * starts a connection to an iframe child.\n * Returns a destroy() function that will break the connection.\n */",
|
|
923
|
-
"comment": "starts a connection to an iframe child.\nReturns a destroy() function that will break the connection."
|
|
925
|
+
"comment": "starts a connection to an iframe child.\nReturns a destroy() function that will break the connection.",
|
|
926
|
+
"tags": []
|
|
924
927
|
},
|
|
925
928
|
"signature": "(method) PubSubRegistry.connect(ref: HTMLIFrameElement): () => void",
|
|
926
929
|
"name": "connect",
|
|
@@ -1501,7 +1504,8 @@
|
|
|
1501
1504
|
"character": 3
|
|
1502
1505
|
},
|
|
1503
1506
|
"raw": "/**\n * subscribe to events\n */",
|
|
1504
|
-
"comment": "subscribe to events"
|
|
1507
|
+
"comment": "subscribe to events",
|
|
1508
|
+
"tags": []
|
|
1505
1509
|
},
|
|
1506
1510
|
"signature": "(property) PubsubUI.sub: (topic: string, callback: Callback) => () => void",
|
|
1507
1511
|
"name": "sub",
|
|
@@ -1532,7 +1536,8 @@
|
|
|
1532
1536
|
"character": 3
|
|
1533
1537
|
},
|
|
1534
1538
|
"raw": "/**\n * publish event to all subscribers, including nested iframes.\n */",
|
|
1535
|
-
"comment": "publish event to all subscribers, including nested iframes."
|
|
1539
|
+
"comment": "publish event to all subscribers, including nested iframes.",
|
|
1540
|
+
"tags": []
|
|
1536
1541
|
},
|
|
1537
1542
|
"signature": "(property) PubsubUI.pub: (topic: string, event: BitBaseEvent<any>, { propagate }?: PubOptions) => void",
|
|
1538
1543
|
"name": "pub",
|
|
@@ -1708,7 +1713,8 @@
|
|
|
1708
1713
|
"character": 3
|
|
1709
1714
|
},
|
|
1710
1715
|
"raw": "/** forward the event to adjacent windows (including the preview iframe) */",
|
|
1711
|
-
"comment": "forward the event to adjacent windows (including the preview iframe)"
|
|
1716
|
+
"comment": "forward the event to adjacent windows (including the preview iframe)",
|
|
1717
|
+
"tags": []
|
|
1712
1718
|
},
|
|
1713
1719
|
"signature": "(property) propagate?: boolean | undefined",
|
|
1714
1720
|
"name": "propagate",
|
|
@@ -1875,7 +1881,8 @@
|
|
|
1875
1881
|
"character": 3
|
|
1876
1882
|
},
|
|
1877
1883
|
"raw": "/**\n * starts a connection to an iframe child.\n * Returns a destroy() function that will break the connection.\n */",
|
|
1878
|
-
"comment": "starts a connection to an iframe child.\nReturns a destroy() function that will break the connection."
|
|
1884
|
+
"comment": "starts a connection to an iframe child.\nReturns a destroy() function that will break the connection.",
|
|
1885
|
+
"tags": []
|
|
1879
1886
|
},
|
|
1880
1887
|
"signature": "(method) PubSubRegistry.connect(ref: HTMLIFrameElement): () => void",
|
|
1881
1888
|
"name": "connect",
|
|
@@ -2078,7 +2085,7 @@
|
|
|
2078
2085
|
"componentId": {
|
|
2079
2086
|
"scope": "teambit.harmony",
|
|
2080
2087
|
"name": "pubsub",
|
|
2081
|
-
"version": "1.0.
|
|
2088
|
+
"version": "1.0.311"
|
|
2082
2089
|
},
|
|
2083
2090
|
"taggedModuleExports": []
|
|
2084
2091
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_pubsub@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_pubsub@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_pubsub@1.0.311/dist/pubsub.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_pubsub@1.0.311/dist/pubsub.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/pubsub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.311",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/pubsub",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "pubsub",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.311"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"eventemitter2": "6.4.4",
|
|
13
13
|
"penpal": "6.2.2",
|
|
14
14
|
"@teambit/harmony": "0.4.6",
|
|
15
|
-
"@teambit/cli": "0.0.
|
|
16
|
-
"@teambit/ui": "1.0.
|
|
15
|
+
"@teambit/cli": "0.0.888",
|
|
16
|
+
"@teambit/ui": "1.0.311"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/mocha": "9.1.0",
|
|
20
20
|
"chai": "4.3.0",
|
|
21
21
|
"@teambit/ui-foundation.ui.is-browser": "0.0.500",
|
|
22
22
|
"@teambit/harmony.envs.core-aspect-env": "0.0.39",
|
|
23
|
-
"@teambit/preview": "1.0.
|
|
23
|
+
"@teambit/preview": "1.0.311"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.0 || ^18.0.0",
|