@blotoutio/providers-facebook-sdk 0.6.4 → 0.6.5

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.
Files changed (2) hide show
  1. package/index.js +9 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -107,11 +107,16 @@ var ProvidersFacebookSdk = (function () {
107
107
  tag,
108
108
  init,
109
109
  };
110
- if (window) {
111
- if (!window.edgetagProviders) {
112
- window.edgetagProviders = [];
110
+ try {
111
+ if (window) {
112
+ if (!window.edgetagProviders) {
113
+ window.edgetagProviders = [];
114
+ }
115
+ window.edgetagProviders.push(data);
113
116
  }
114
- window.edgetagProviders.push(data);
117
+ }
118
+ catch (_a) {
119
+ // No window
115
120
  }
116
121
 
117
122
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-facebook-sdk",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Facebook Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",