@plasmicpkgs/plasmic-intercom 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/intercom.d.ts +1 -1
- package/dist/plasmic-intercom.cjs.development.js +3 -5
- package/dist/plasmic-intercom.cjs.development.js.map +1 -1
- package/dist/plasmic-intercom.cjs.production.min.js +1 -1
- package/dist/plasmic-intercom.cjs.production.min.js.map +1 -1
- package/dist/plasmic-intercom.esm.js +3 -5
- package/dist/plasmic-intercom.esm.js.map +1 -1
- package/package.json +5 -7
package/dist/intercom.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ interface IntercomProviderProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const IntercomProviderMeta: ComponentMeta<IntercomProviderProps>;
|
|
14
|
-
export declare function IntercomProvider({ apiBase, shouldInitialize, initializeDelay, workSpaceId }: IntercomProviderProps): React.JSX.Element;
|
|
14
|
+
export declare function IntercomProvider({ apiBase, shouldInitialize, initializeDelay, workSpaceId, }: IntercomProviderProps): React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
6
|
|
|
7
7
|
var registerComponent = _interopDefault(require('@plasmicapp/host/registerComponent'));
|
|
8
|
-
var reactUseIntercom = require('react-use-intercom');
|
|
9
8
|
var React = _interopDefault(require('react'));
|
|
9
|
+
var reactUseIntercom = require('react-use-intercom');
|
|
10
10
|
|
|
11
11
|
function ensure(x) {
|
|
12
12
|
if (x === null || x === undefined) {
|
|
@@ -18,7 +18,7 @@ function ensure(x) {
|
|
|
18
18
|
}
|
|
19
19
|
var modulePath = "@plasmicpkgs/plasmic-intercom";
|
|
20
20
|
var IntercomProviderMeta = {
|
|
21
|
-
name: "
|
|
21
|
+
name: "hostless-intercom",
|
|
22
22
|
displayName: "Intercom Provider",
|
|
23
23
|
importName: "IntercomProvider",
|
|
24
24
|
importPath: modulePath,
|
|
@@ -72,9 +72,7 @@ function registerAll(loader) {
|
|
|
72
72
|
registerComponent(Component, defaultMeta);
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
_registerComponent(IntercomProvider, IntercomProviderMeta);
|
|
77
|
-
}
|
|
75
|
+
_registerComponent(IntercomProvider, IntercomProviderMeta);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
exports.IntercomProvider = IntercomProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plasmic-intercom.cjs.development.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"plasmic-intercom.cjs.development.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\nimport { IntercomProvider as Provider } from \"react-use-intercom\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-intercom\";\n\ninterface IntercomProviderProps {\n workSpaceId?: string;\n autoBoot?: boolean;\n buttonText?: string;\n shouldInitialize?: boolean;\n apiBase?: string;\n initializeDelay?: number;\n className?: string;\n}\nexport const IntercomProviderMeta: ComponentMeta<IntercomProviderProps> = {\n name: \"hostless-intercom\",\n displayName: \"Intercom Provider\",\n importName: \"IntercomProvider\",\n importPath: modulePath,\n providesData: true,\n props: {\n workSpaceId: {\n type: \"string\",\n displayName: \"Workspace ID\",\n description: \"ID of your workspace\",\n helpText:\n \"The easiest way to find your workspace ID is to check the URL of any page you have open in Intercom. It's the code that comes after apps/ in the URL.\",\n },\n shouldInitialize: {\n type: \"boolean\",\n displayName: \"Intercom Initialize\",\n description:\n \"indicates if the Intercom should be initialized. Can be used in multistaged environment\",\n },\n initializeDelay: {\n type: \"number\",\n displayName: \"Delay\",\n description:\n \"Indicates if the intercom initialization should be delayed, delay is in ms, defaults to 0\",\n },\n apiBase: {\n type: \"string\",\n displayName: \"Api Base\",\n description:\n \"If you need to route your Messenger requests through a different endpoint than the default. Generally speaking, this is not need\",\n },\n },\n};\n\nexport function IntercomProvider({\n apiBase,\n shouldInitialize,\n initializeDelay,\n workSpaceId,\n}: IntercomProviderProps) {\n if (!workSpaceId) {\n return <div>Please enter your Workspace ID</div>;\n }\n\n return (\n <Provider\n appId={workSpaceId}\n autoBoot\n apiBase={apiBase}\n shouldInitialize={shouldInitialize}\n initializeDelay={initializeDelay}\n ></Provider>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport { IntercomProvider, IntercomProviderMeta } from \"./intercom\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n _registerComponent(IntercomProvider, IntercomProviderMeta);\n}\n\nexport * from \"./intercom\";\n"],"names":["ensure","x","undefined","Error","modulePath","IntercomProviderMeta","name","displayName","importName","importPath","providesData","props","workSpaceId","type","description","helpText","shouldInitialize","initializeDelay","apiBase","IntercomProvider","_ref","React","Provider","appId","autoBoot","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;;;;;;;SAKgBA,MAAMA,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,sCAAsC,CAAC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,+BAA+B;IAWrCC,oBAAoB,GAAyC;EACxEC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,mBAAmB;EAChCC,UAAU,EAAE,kBAAkB;EAC9BC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,KAAK,EAAE;IACLC,WAAW,EAAE;MACXC,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,cAAc;MAC3BO,WAAW,EAAE,sBAAsB;MACnCC,QAAQ,EACN;KACH;IACDC,gBAAgB,EAAE;MAChBH,IAAI,EAAE,SAAS;MACfN,WAAW,EAAE,qBAAqB;MAClCO,WAAW,EACT;KACH;IACDG,eAAe,EAAE;MACfJ,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,OAAO;MACpBO,WAAW,EACT;KACH;IACDI,OAAO,EAAE;MACPL,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,UAAU;MACvBO,WAAW,EACT;;;;SAKQK,gBAAgBA,CAAAC,IAAA;MAC9BF,OAAO,GAAAE,IAAA,CAAPF,OAAO;IACPF,gBAAgB,GAAAI,IAAA,CAAhBJ,gBAAgB;IAChBC,eAAe,GAAAG,IAAA,CAAfH,eAAe;IACfL,WAAW,GAAAQ,IAAA,CAAXR,WAAW;EAEX,IAAI,CAACA,WAAW,EAAE;IAChB,OAAOS,kEAAyC;;EAGlD,OACEA,oBAACC,iCAAQ;IACPC,KAAK,EAAEX,WAAW;IAClBY,QAAQ;IACRN,OAAO,EAAEA,OAAO;IAChBF,gBAAgB,EAAEA,gBAAgB;IAClCC,eAAe,EAAEA;IACP;AAEhB;;SCzEgBQ,WAAWA,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAEDF,kBAAkB,CAACR,gBAAgB,EAAEd,oBAAoB,CAAC;AAC5D;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@plasmicapp/host/registerComponent")),i=require("react
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@plasmicapp/host/registerComponent")),i=e(require("react")),r=require("react-use-intercom"),o={name:"hostless-intercom",displayName:"Intercom Provider",importName:"IntercomProvider",importPath:"@plasmicpkgs/plasmic-intercom",providesData:!0,props:{workSpaceId:{type:"string",displayName:"Workspace ID",description:"ID of your workspace",helpText:"The easiest way to find your workspace ID is to check the URL of any page you have open in Intercom. It's the code that comes after apps/ in the URL."},shouldInitialize:{type:"boolean",displayName:"Intercom Initialize",description:"indicates if the Intercom should be initialized. Can be used in multistaged environment"},initializeDelay:{type:"number",displayName:"Delay",description:"Indicates if the intercom initialization should be delayed, delay is in ms, defaults to 0"},apiBase:{type:"string",displayName:"Api Base",description:"If you need to route your Messenger requests through a different endpoint than the default. Generally speaking, this is not need"}}};function a(e){var t=e.workSpaceId;return t?i.createElement(r.IntercomProvider,{appId:t,autoBoot:!0,apiBase:e.apiBase,shouldInitialize:e.shouldInitialize,initializeDelay:e.initializeDelay}):i.createElement("div",null,"Please enter your Workspace ID")}exports.IntercomProvider=a,exports.IntercomProviderMeta=o,exports.ensure=function(e){if(null==e)throw new Error("Value must not be undefined or null");return e},exports.registerAll=function(e){var i,r;i=a,r=o,e?e.registerComponent(i,r):t(i,r)};
|
|
2
2
|
//# sourceMappingURL=plasmic-intercom.cjs.production.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plasmic-intercom.cjs.production.min.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"plasmic-intercom.cjs.production.min.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\nimport { IntercomProvider as Provider } from \"react-use-intercom\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-intercom\";\n\ninterface IntercomProviderProps {\n workSpaceId?: string;\n autoBoot?: boolean;\n buttonText?: string;\n shouldInitialize?: boolean;\n apiBase?: string;\n initializeDelay?: number;\n className?: string;\n}\nexport const IntercomProviderMeta: ComponentMeta<IntercomProviderProps> = {\n name: \"hostless-intercom\",\n displayName: \"Intercom Provider\",\n importName: \"IntercomProvider\",\n importPath: modulePath,\n providesData: true,\n props: {\n workSpaceId: {\n type: \"string\",\n displayName: \"Workspace ID\",\n description: \"ID of your workspace\",\n helpText:\n \"The easiest way to find your workspace ID is to check the URL of any page you have open in Intercom. It's the code that comes after apps/ in the URL.\",\n },\n shouldInitialize: {\n type: \"boolean\",\n displayName: \"Intercom Initialize\",\n description:\n \"indicates if the Intercom should be initialized. Can be used in multistaged environment\",\n },\n initializeDelay: {\n type: \"number\",\n displayName: \"Delay\",\n description:\n \"Indicates if the intercom initialization should be delayed, delay is in ms, defaults to 0\",\n },\n apiBase: {\n type: \"string\",\n displayName: \"Api Base\",\n description:\n \"If you need to route your Messenger requests through a different endpoint than the default. Generally speaking, this is not need\",\n },\n },\n};\n\nexport function IntercomProvider({\n apiBase,\n shouldInitialize,\n initializeDelay,\n workSpaceId,\n}: IntercomProviderProps) {\n if (!workSpaceId) {\n return <div>Please enter your Workspace ID</div>;\n }\n\n return (\n <Provider\n appId={workSpaceId}\n autoBoot\n apiBase={apiBase}\n shouldInitialize={shouldInitialize}\n initializeDelay={initializeDelay}\n ></Provider>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport { IntercomProvider, IntercomProviderMeta } from \"./intercom\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n _registerComponent(IntercomProvider, IntercomProviderMeta);\n}\n\nexport * from \"./intercom\";\n"],"names":["IntercomProviderMeta","name","displayName","importName","importPath","providesData","props","workSpaceId","type","description","helpText","shouldInitialize","initializeDelay","apiBase","IntercomProvider","_ref","React","Provider","appId","autoBoot","x","Error","loader","Component","defaultMeta","registerComponent"],"mappings":"uPAyBaA,EAA6D,CACxEC,KAAM,oBACNC,YAAa,oBACbC,WAAY,mBACZC,WAfiB,gCAgBjBC,cAAc,EACdC,MAAO,CACLC,YAAa,CACXC,KAAM,SACNN,YAAa,eACbO,YAAa,uBACbC,SACE,yJAEJC,iBAAkB,CAChBH,KAAM,UACNN,YAAa,sBACbO,YACE,2FAEJG,gBAAiB,CACfJ,KAAM,SACNN,YAAa,QACbO,YACE,6FAEJI,QAAS,CACPL,KAAM,SACNN,YAAa,WACbO,YACE,+IAKQK,EAAgBC,OAI9BR,EAAWQ,EAAXR,YAEA,OAAKA,EAKHS,gBAACC,oBACCC,MAAOX,EACPY,YACAN,QAbGE,EAAPF,QAcIF,iBAbYI,EAAhBJ,iBAcIC,gBAbWG,EAAfH,kBAISI,+IA9DeI,GACxB,GAAIA,MAAAA,EAEF,MAAM,IAAIC,6CAEV,OAAOD,gCCJiBE,GAI1B,IACEC,EACAC,EADAD,EAUiBT,EATjBU,EASmCxB,EAP/BsB,EACFA,EAAOG,kBAAkBF,EAAWC,GAEpCC,EAAkBF,EAAWC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import registerComponent from '@plasmicapp/host/registerComponent';
|
|
2
|
-
import { IntercomProvider as IntercomProvider$1 } from 'react-use-intercom';
|
|
3
2
|
import React from 'react';
|
|
3
|
+
import { IntercomProvider as IntercomProvider$1 } from 'react-use-intercom';
|
|
4
4
|
|
|
5
5
|
function ensure(x) {
|
|
6
6
|
if (x === null || x === undefined) {
|
|
@@ -12,7 +12,7 @@ function ensure(x) {
|
|
|
12
12
|
}
|
|
13
13
|
var modulePath = "@plasmicpkgs/plasmic-intercom";
|
|
14
14
|
var IntercomProviderMeta = {
|
|
15
|
-
name: "
|
|
15
|
+
name: "hostless-intercom",
|
|
16
16
|
displayName: "Intercom Provider",
|
|
17
17
|
importName: "IntercomProvider",
|
|
18
18
|
importPath: modulePath,
|
|
@@ -66,9 +66,7 @@ function registerAll(loader) {
|
|
|
66
66
|
registerComponent(Component, defaultMeta);
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
|
|
70
|
-
_registerComponent(IntercomProvider, IntercomProviderMeta);
|
|
71
|
-
}
|
|
69
|
+
_registerComponent(IntercomProvider, IntercomProviderMeta);
|
|
72
70
|
}
|
|
73
71
|
|
|
74
72
|
export { IntercomProvider, IntercomProviderMeta, ensure, registerAll };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plasmic-intercom.esm.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"plasmic-intercom.esm.js","sources":["../src/intercom.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\nimport { IntercomProvider as Provider } from \"react-use-intercom\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-intercom\";\n\ninterface IntercomProviderProps {\n workSpaceId?: string;\n autoBoot?: boolean;\n buttonText?: string;\n shouldInitialize?: boolean;\n apiBase?: string;\n initializeDelay?: number;\n className?: string;\n}\nexport const IntercomProviderMeta: ComponentMeta<IntercomProviderProps> = {\n name: \"hostless-intercom\",\n displayName: \"Intercom Provider\",\n importName: \"IntercomProvider\",\n importPath: modulePath,\n providesData: true,\n props: {\n workSpaceId: {\n type: \"string\",\n displayName: \"Workspace ID\",\n description: \"ID of your workspace\",\n helpText:\n \"The easiest way to find your workspace ID is to check the URL of any page you have open in Intercom. It's the code that comes after apps/ in the URL.\",\n },\n shouldInitialize: {\n type: \"boolean\",\n displayName: \"Intercom Initialize\",\n description:\n \"indicates if the Intercom should be initialized. Can be used in multistaged environment\",\n },\n initializeDelay: {\n type: \"number\",\n displayName: \"Delay\",\n description:\n \"Indicates if the intercom initialization should be delayed, delay is in ms, defaults to 0\",\n },\n apiBase: {\n type: \"string\",\n displayName: \"Api Base\",\n description:\n \"If you need to route your Messenger requests through a different endpoint than the default. Generally speaking, this is not need\",\n },\n },\n};\n\nexport function IntercomProvider({\n apiBase,\n shouldInitialize,\n initializeDelay,\n workSpaceId,\n}: IntercomProviderProps) {\n if (!workSpaceId) {\n return <div>Please enter your Workspace ID</div>;\n }\n\n return (\n <Provider\n appId={workSpaceId}\n autoBoot\n apiBase={apiBase}\n shouldInitialize={shouldInitialize}\n initializeDelay={initializeDelay}\n ></Provider>\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport { IntercomProvider, IntercomProviderMeta } from \"./intercom\";\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n _registerComponent(IntercomProvider, IntercomProviderMeta);\n}\n\nexport * from \"./intercom\";\n"],"names":["ensure","x","undefined","Error","modulePath","IntercomProviderMeta","name","displayName","importName","importPath","providesData","props","workSpaceId","type","description","helpText","shouldInitialize","initializeDelay","apiBase","IntercomProvider","_ref","React","Provider","appId","autoBoot","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;SAKgBA,MAAMA,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,sCAAsC,CAAC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,+BAA+B;IAWrCC,oBAAoB,GAAyC;EACxEC,IAAI,EAAE,mBAAmB;EACzBC,WAAW,EAAE,mBAAmB;EAChCC,UAAU,EAAE,kBAAkB;EAC9BC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,KAAK,EAAE;IACLC,WAAW,EAAE;MACXC,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,cAAc;MAC3BO,WAAW,EAAE,sBAAsB;MACnCC,QAAQ,EACN;KACH;IACDC,gBAAgB,EAAE;MAChBH,IAAI,EAAE,SAAS;MACfN,WAAW,EAAE,qBAAqB;MAClCO,WAAW,EACT;KACH;IACDG,eAAe,EAAE;MACfJ,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,OAAO;MACpBO,WAAW,EACT;KACH;IACDI,OAAO,EAAE;MACPL,IAAI,EAAE,QAAQ;MACdN,WAAW,EAAE,UAAU;MACvBO,WAAW,EACT;;;;SAKQK,gBAAgBA,CAAAC,IAAA;MAC9BF,OAAO,GAAAE,IAAA,CAAPF,OAAO;IACPF,gBAAgB,GAAAI,IAAA,CAAhBJ,gBAAgB;IAChBC,eAAe,GAAAG,IAAA,CAAfH,eAAe;IACfL,WAAW,GAAAQ,IAAA,CAAXR,WAAW;EAEX,IAAI,CAACA,WAAW,EAAE;IAChB,OAAOS,kEAAyC;;EAGlD,OACEA,oBAACC,kBAAQ;IACPC,KAAK,EAAEX,WAAW;IAClBY,QAAQ;IACRN,OAAO,EAAEA,OAAO;IAChBF,gBAAgB,EAAEA,gBAAgB;IAClCC,eAAe,EAAEA;IACP;AAEhB;;SCzEgBQ,WAAWA,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAEDF,kBAAkB,CAACR,gBAAgB,EAAEd,oBAAoB,CAAC;AAC5D;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/plasmic-intercom",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Plasmic intercom components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"start": "tsdx watch",
|
|
16
16
|
"build": "tsdx build",
|
|
17
|
-
"test": "yarn --cwd=../.. test --passWithNoTests",
|
|
17
|
+
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test --passWithNoTests",
|
|
18
18
|
"lint": "tsdx lint",
|
|
19
|
-
"
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
20
|
"size": "size-limit",
|
|
21
21
|
"analyze": "size-limit --why"
|
|
22
22
|
},
|
|
@@ -34,19 +34,17 @@
|
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@plasmicapp/host": "
|
|
38
|
-
"@size-limit/preset-small-lib": "^7.0.8",
|
|
37
|
+
"@plasmicapp/host": "1.0.225",
|
|
39
38
|
"@types/react": "^17.0.43",
|
|
40
39
|
"@types/react-dom": "^17.0.14",
|
|
41
40
|
"husky": "^7.0.4",
|
|
42
41
|
"react": "^18.0.0",
|
|
43
42
|
"react-dom": "^18.0.0",
|
|
44
|
-
"size-limit": "^7.0.8",
|
|
45
43
|
"tsdx": "^0.14.1",
|
|
46
44
|
"tslib": "^2.3.1"
|
|
47
45
|
},
|
|
48
46
|
"dependencies": {
|
|
49
47
|
"react-use-intercom": "^2.0.0"
|
|
50
48
|
},
|
|
51
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "400da4e813c2876ed9d2ada28ef265afd30c69d5"
|
|
52
50
|
}
|