@useinsider/guido 1.0.3-beta.a04f37a → 1.0.3-beta.a058e8a
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/package.json.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
* Checks if the current environment is Kube environment
|
|
3
|
+
*/
|
|
4
|
+
export declare const isKubeEnvironment: () => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Gets the appropriate environment prefix for unsubscribe links
|
|
4
7
|
*/
|
|
5
8
|
export declare const getEnvironmentPrefix: () => string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { KUBE_ENV_PREFIX as n, PROD_ENV_PREFIX as o } from "../enums/environment.js";
|
|
2
|
+
const t = () => window.location.hostname.includes(n), i = () => t() ? n : o;
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
i as getEnvironmentPrefix,
|
|
5
|
+
t as isKubeEnvironment
|
|
4
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "1.0.3-beta.
|
|
3
|
+
"version": "1.0.3-beta.a058e8a",
|
|
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",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
},
|
|
84
84
|
"guido": {
|
|
85
85
|
"stripo": {
|
|
86
|
-
"version": "2.
|
|
86
|
+
"version": "2.42.0"
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|