@solidgate/vue-sdk 1.1.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ **1.1.2**
2
+
3
+ Added license
4
+
1
5
  **1.1.0**
2
6
 
3
7
  ***
package/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ Apache License, Version 2.0
2
+
3
+ Copyright 2015 - GTWS Tech Limited (https://solidgate.com/)
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -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,8 +10,9 @@
10
10
  "import": "./dist/solid-payment.es.js"
11
11
  }
12
12
  },
13
- "version": "1.1.0",
13
+ "version": "1.1.3",
14
14
  "typings": "./dist/lib/index.d.ts",
15
+ "license": "Apache-2.0",
15
16
  "scripts": {
16
17
  "start": "vite",
17
18
  "build": "vite build && vue-tsc --emitDeclarationOnly",