@useinsider/guido 3.3.0-beta.0a507dd → 3.3.0-beta.3708c8a

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.
@@ -1,4 +1,4 @@
1
- const o = { stripo: { version: "2.62.0" } }, s = {
1
+ const o = { stripo: { version: "2.63.1" } }, s = {
2
2
  guido: o
3
3
  };
4
4
  export {
@@ -1,13 +1,13 @@
1
1
  import { useHttp as t } from "../composables/useHttp.js";
2
- import { useToaster as a } from "../composables/useToaster.js";
2
+ import { useToaster as n } from "../composables/useToaster.js";
3
3
  const u = () => {
4
- const { get: e } = t(), { handleError: s } = a();
4
+ const { get: r } = t(), { handleError: s } = n();
5
5
  return { getUnsubscribePages: async () => {
6
6
  try {
7
- const { data: r } = await e("/unsubscribe-pages/get-all");
8
- return Array.isArray(r) ? r : [];
9
- } catch (r) {
10
- return s(r, "Failed to fetch unsubscribe pages"), [];
7
+ const { data: e = [] } = await r("/unsubscribe-pages/get-all");
8
+ return e;
9
+ } catch (e) {
10
+ return s(e, "Failed to fetch unsubscribe pages"), [];
11
11
  }
12
12
  } };
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "3.3.0-beta.0a507dd",
3
+ "version": "3.3.0-beta.3708c8a",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",
@@ -90,7 +90,7 @@
90
90
  },
91
91
  "guido": {
92
92
  "stripo": {
93
- "version": "2.62.0"
93
+ "version": "2.63.1"
94
94
  }
95
95
  }
96
96
  }