@solidgate/vue-sdk 1.1.2 → 1.1.3

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,5 @@
1
1
  import { CustomStylesAppendedMessage, OrderStatusMessage, InteractionMessage, RedirectMessage, MountedMessage, SuccessMessage, ResizeMessage, VerifyMessage, SubmitMessage, ErrorMessage, FailMessage, CardMessage } from '@solidgate/client-sdk-loader';
2
+ import './boot';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  merchantData: {
4
5
  type: import("vue").PropType<{
@@ -0,0 +1,6 @@
1
+ declare global {
2
+ interface Window {
3
+ __SOLIDGATE_PRIVATE__SDK_INIT_TYPE: string;
4
+ }
5
+ }
6
+ export {};
@@ -2200,6 +2200,8 @@ const onSubscribe = (sdkInstanceValue, props) => {
2200
2200
  sdkInstanceValue.on(MessageType.Resize, (e) => props.onResize(e.data));
2201
2201
  sdkInstanceValue.on(MessageType.Card, (e) => props.onCard(e.data));
2202
2202
  };
2203
+ const sdkInitType = "vue";
2204
+ window.__SOLIDGATE_PRIVATE__SDK_INIT_TYPE = sdkInitType;
2203
2205
  const _sfc_main = /* @__PURE__ */ defineComponent({
2204
2206
  props: {
2205
2207
  merchantData: null,
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "import": "./dist/solid-payment.es.js"
11
11
  }
12
12
  },
13
- "version": "1.1.2",
13
+ "version": "1.1.3",
14
14
  "typings": "./dist/lib/index.d.ts",
15
15
  "license": "Apache-2.0",
16
16
  "scripts": {