@capillarytech/creatives-library 7.14.7-alpha.0 → 7.14.7
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,6 +12,8 @@
|
|
|
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
|
+
|
|
15
17
|
<!-- Google Tag Manager -->
|
|
16
18
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
17
19
|
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.7
|
|
4
|
+
"version": "7.14.7",
|
|
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.
|
|
19
|
+
"@mailupinc/bee-plugin": "^1.2.0",
|
|
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,7 +10,6 @@ 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';
|
|
14
13
|
import makeSelectBEE from './selectors';
|
|
15
14
|
import { UserIsAuthenticated } from '../../utils/authWrapper';
|
|
16
15
|
import config from '../../config/app';
|
|
@@ -177,17 +176,12 @@ function BeeEditor(props) {
|
|
|
177
176
|
actions.createCustomRow(JSON.parse(rowJSON), callbackSaveRow);
|
|
178
177
|
},
|
|
179
178
|
};
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
// beePluginInstance = instance;
|
|
187
|
-
// const parseJson = JSON.parse(beeJson);
|
|
188
|
-
// beePluginInstance.start(parseJson);
|
|
189
|
-
// saveBeeInstance(beePluginInstance);
|
|
190
|
-
// });
|
|
179
|
+
window.BeePlugin.create(tokenData, beeConfig, (instance) => {
|
|
180
|
+
beePluginInstance = instance;
|
|
181
|
+
const parseJson = JSON.parse(beeJson);
|
|
182
|
+
beePluginInstance.start(parseJson);
|
|
183
|
+
saveBeeInstance(beePluginInstance);
|
|
184
|
+
});
|
|
191
185
|
return () => clearInterval(intervalTimer);
|
|
192
186
|
}, []);
|
|
193
187
|
const callbackSaveRow = (status, errorMsg) => {
|