@capillarytech/creatives-library 7.14.5 → 7.14.7-alpha.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/index.html
CHANGED
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
<meta http-equiv="Expires" content="0" />
|
|
13
13
|
<script src="https://use.typekit.net/ifw1ntv.js"></script>
|
|
14
14
|
|
|
15
|
-
<script src="https://app-rsrc.getbee.io/plugin/BeePlugin.js" type="text/javascript"></script>
|
|
16
|
-
|
|
17
15
|
<!-- Google Tag Manager -->
|
|
18
16
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
19
17
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/creatives-library",
|
|
3
3
|
"author": "meharaj",
|
|
4
|
-
"version": "7.14.
|
|
4
|
+
"version": "7.14.7-alpha.0",
|
|
5
5
|
"description": "Capillary creatives ui",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.es.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@bugsnag/js": "^7.2.1",
|
|
17
17
|
"@bugsnag/plugin-react": "^7.2.1",
|
|
18
18
|
"@capillarytech/cap-ui-utils": "1.4.2",
|
|
19
|
-
"@mailupinc/bee-plugin": "^1.2
|
|
19
|
+
"@mailupinc/bee-plugin": "^1.11.2",
|
|
20
20
|
"babel-cli": "^6.26.0",
|
|
21
21
|
"chalk": "1.1.3",
|
|
22
22
|
"flow": "^0.2.3",
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
"webpack-bugsnag-plugins": "^1.4.3",
|
|
45
45
|
"whatwg-fetch": "2.0.1"
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
|
@@ -10,6 +10,7 @@ import { connect } from 'react-redux';
|
|
|
10
10
|
import TagList from '../TagList';
|
|
11
11
|
import { bindActionCreators } from 'redux';
|
|
12
12
|
import { createStructuredSelector } from 'reselect';
|
|
13
|
+
import BeePlugin from '@mailupinc/bee-plugin';
|
|
13
14
|
import makeSelectBEE from './selectors';
|
|
14
15
|
import { UserIsAuthenticated } from '../../utils/authWrapper';
|
|
15
16
|
import config from '../../config/app';
|
|
@@ -176,12 +177,17 @@ function BeeEditor(props) {
|
|
|
176
177
|
actions.createCustomRow(JSON.parse(rowJSON), callbackSaveRow);
|
|
177
178
|
},
|
|
178
179
|
};
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
const beeInstance = new BeePlugin(tokenData);
|
|
181
|
+
const parseJson = JSON.parse(beeJson);
|
|
182
|
+
beeInstance.start(parseJson);
|
|
183
|
+
saveBeeInstance(beePluginInstance);
|
|
184
|
+
// beeInstance.start();
|
|
185
|
+
// BeePlugin.create(tokenData, beeConfig, (instance) => {
|
|
186
|
+
// beePluginInstance = instance;
|
|
187
|
+
// const parseJson = JSON.parse(beeJson);
|
|
188
|
+
// beePluginInstance.start(parseJson);
|
|
189
|
+
// saveBeeInstance(beePluginInstance);
|
|
190
|
+
// });
|
|
185
191
|
return () => clearInterval(intervalTimer);
|
|
186
192
|
}, []);
|
|
187
193
|
const callbackSaveRow = (status, errorMsg) => {
|