onairos 0.0.0 → 0.0.2
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/onairos.js +0 -8
- package/package.json +1 -1
- package/src/onairos.jsx +0 -2
package/dist/onairos.js
CHANGED
|
@@ -25,13 +25,7 @@ function Onairos(_ref) {
|
|
|
25
25
|
const ConnectOnairos = async () => {
|
|
26
26
|
// Title here has to match a model in the Users : accountInfo.AccountInfo.models
|
|
27
27
|
// Prepare the data to be sent
|
|
28
|
-
|
|
29
|
-
const access_token = "access_token";
|
|
30
28
|
// Send the data to the content script
|
|
31
|
-
window.postMessage({
|
|
32
|
-
source: 'bookstore',
|
|
33
|
-
type: 'GET_API_URL'
|
|
34
|
-
}, '*');
|
|
35
29
|
window.postMessage({
|
|
36
30
|
source: 'webpage',
|
|
37
31
|
type: 'GET_API_URL',
|
|
@@ -42,9 +36,7 @@ function Onairos(_ref) {
|
|
|
42
36
|
//No Longer needed, REMOVE
|
|
43
37
|
requestData: sendData
|
|
44
38
|
});
|
|
45
|
-
// chrome.runtime.sendMessage({ source: 'bookstore', type: 'GET_API_URL'});
|
|
46
39
|
};
|
|
47
|
-
|
|
48
40
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("button", {
|
|
49
41
|
className: "OnairosConnect flex flex-col items-center justify-center text-white font-bold py-2 px-4 rounded cursor-pointer",
|
|
50
42
|
onClick: OnairosAnime
|
package/package.json
CHANGED
package/src/onairos.jsx
CHANGED
|
@@ -15,9 +15,7 @@ function Onairos( {sendData, onairosID, access_token}) {
|
|
|
15
15
|
const ConnectOnairos = async () => {
|
|
16
16
|
// Title here has to match a model in the Users : accountInfo.AccountInfo.models
|
|
17
17
|
// Prepare the data to be sent
|
|
18
|
-
const access_token="access_token";
|
|
19
18
|
// Send the data to the content script
|
|
20
|
-
window.postMessage({ source: 'bookstore', type: 'GET_API_URL' }, '*');
|
|
21
19
|
window.postMessage({
|
|
22
20
|
source: 'webpage',
|
|
23
21
|
type: 'GET_API_URL',
|