@vue-solana/vue 0.2.1 → 0.2.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/index.cjs CHANGED
@@ -262,7 +262,9 @@ function createSolanaPlugin(options = {}) {
262
262
  }
263
263
  };
264
264
  app.provide(solanaInjectionKey, vueContext);
265
- void checkConnection();
265
+ if (typeof window !== "undefined") {
266
+ void checkConnection();
267
+ }
266
268
  }
267
269
  };
268
270
  }
package/dist/index.mjs CHANGED
@@ -260,7 +260,9 @@ function createSolanaPlugin(options = {}) {
260
260
  }
261
261
  };
262
262
  app.provide(solanaInjectionKey, vueContext);
263
- void checkConnection();
263
+ if (typeof window !== "undefined") {
264
+ void checkConnection();
265
+ }
264
266
  }
265
267
  };
266
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/vue",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Vue plugin and composables for Solana applications.",
5
5
  "license": "MIT",
6
6
  "keywords": [