@achyutlabsau/vue-payment-gateway 0.9.0 → 0.9.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.
@@ -5,7 +5,7 @@ import axios, { isAxiosError, HttpStatusCode } from "axios";
5
5
  import { v7 } from "uuid";
6
6
  import { d as dialogDefaultOpts } from "./utils-GrbVNAXw.js";
7
7
  import { e as environment, c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-mfX7jhRY.js";
8
- import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
8
+ import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-B3fcwSQq.js";
9
9
  import { useLocalStorage } from "@vueuse/core";
10
10
  const LINKLY_CONSTANTS = {
11
11
  PATHS: {
@@ -5,7 +5,7 @@ import dayjs from "dayjs";
5
5
  import { Loading, Dialog, QDialog, QCard, QForm, QToolbar, QToolbarTitle, QIcon, QCardSection, QInput, QCardActions, QBtn, Notify, QSelect } from "quasar";
6
6
  import { d as delay } from "./index-e4lpzJsL.js";
7
7
  import { c as state, m as mdiCheckCircle, f as mdiChevronLeft, d as mdiRefresh, _ as _sfc_main$3, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-mfX7jhRY.js";
8
- import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
8
+ import { _ as _sfc_main$2 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-B3fcwSQq.js";
9
9
  import { validate } from "uuid";
10
10
  var SettlementTypes = /* @__PURE__ */ ((SettlementTypes2) => {
11
11
  SettlementTypes2["SETTLEMENT"] = "SETTLEMENT";
@@ -5,10 +5,10 @@ import { v7 } from "uuid";
5
5
  import { Dialog, QCard, QIcon, QBtn, QCardSection, QForm, QInput, QSelect, Loading, Notify } from "quasar";
6
6
  import { h as checkPluginInitialized, e as environment, c as state, m as mdiCheckCircle, d as mdiRefresh, _ as _sfc_main$2, f as mdiChevronLeft, g as mdiLink } from "./PairInstructions.vue_vue_type_script_setup_true_lang-mfX7jhRY.js";
7
7
  import { d as dialogDefaultOpts } from "./utils-GrbVNAXw.js";
8
- import { _ as _sfc_main$1 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
8
+ import { _ as _sfc_main$1 } from "./TransactionDialog.vue_vue_type_script_setup_true_lang-B3fcwSQq.js";
9
9
  const TEST_URL = {
10
- TERMINAL: "http://localhost:3000/adyen"
11
- // "https://terminal-api-test.adyen.com",
10
+ TERMINAL: "https://terminal-api-test.adyen.com"
11
+ //http://localhost:3000/adyen| "https://terminal-api-test.adyen.com",
12
12
  };
13
13
  const PROD_URL = {
14
14
  TERMINAL: "https://terminal-api-live-au.adyen.com"
@@ -445,7 +445,7 @@ const useValpay = () => {
445
445
  const dialog = Dialog.create({
446
446
  component: _sfc_main$1,
447
447
  componentProps: {
448
- message: `Purchase of ${currency} ${amount / 100} in progress...`,
448
+ message: `Purchase of ${currency} ${amount} in progress...`,
449
449
  title: "INPROGRESS",
450
450
  cancelTxn: () => cancelTxn()
451
451
  }
@@ -484,7 +484,7 @@ const useValpay = () => {
484
484
  const dialog = Dialog.create({
485
485
  component: _sfc_main$1,
486
486
  componentProps: {
487
- message: `Refund of ${currency} ${amount / 100} in progress...`,
487
+ message: `Refund of ${currency} ${amount} in progress...`,
488
488
  title: "INPROGRESS",
489
489
  cancelTxn: () => cancelTxn()
490
490
  }
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, resolveDirective, createBlock, openBlock, unref, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, withDirectives } from "vue";
2
2
  import { useDialogPluginComponent, QDialog, QCard, QCardSection } from "quasar";
3
3
  import { _ as _sfc_main$1 } from "./PBtn.vue_vue_type_script_setup_true_lang-BZRHAS0P.js";
4
- const _hoisted_1 = { class: "text-center text-lg font-semibold uppercase text-gray-500" };
5
- const _hoisted_2 = { class: "text-center text-lg font-semibold uppercase text-gray-500" };
6
- const _hoisted_3 = { class: "text-center text-lg font-semibold uppercase text-gray-500" };
4
+ const _hoisted_1 = { class: "text-center text-lg font-semibold text-gray-500 uppercase" };
5
+ const _hoisted_2 = { class: "text-center text-lg font-semibold text-gray-500 uppercase" };
6
+ const _hoisted_3 = { class: "text-center text-lg font-semibold text-gray-500 uppercase" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "TransactionDialog",
9
9
  props: {
@@ -17,12 +17,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  ...useDialogPluginComponent.emits
18
18
  ],
19
19
  setup(__props) {
20
- const { dialogRef, onDialogHide } = useDialogPluginComponent();
20
+ const { onDialogHide } = useDialogPluginComponent();
21
21
  return (_ctx, _cache) => {
22
22
  const _directive_close_popup = resolveDirective("close-popup");
23
23
  return openBlock(), createBlock(unref(QDialog), {
24
- ref_key: "dialogRef",
25
- ref: dialogRef,
24
+ ref: "dialogRef",
26
25
  onHide: unref(onDialogHide),
27
26
  persistent: ""
28
27
  }, {
package/dist/index.js CHANGED
@@ -9,12 +9,12 @@ import "uuid";
9
9
  import "./emitter-B70DsNvX.js";
10
10
  import { TimApiEvents, timApi, PairTimapi as _sfc_main$4 } from "./worldline.js";
11
11
  import "axios";
12
- import "./TransactionDialog.vue_vue_type_script_setup_true_lang-C6l6nnLB.js";
13
- import { _ as _sfc_main$3 } from "./PairLinkly.vue_vue_type_script_setup_true_lang-tAA6XiwD.js";
12
+ import "./TransactionDialog.vue_vue_type_script_setup_true_lang-B3fcwSQq.js";
13
+ import { _ as _sfc_main$3 } from "./PairLinkly.vue_vue_type_script_setup_true_lang-BbhGtKC_.js";
14
14
  import { _ as _sfc_main$6 } from "./PairSmartPay.vue_vue_type_script_setup_true_lang-BcBbu7WF.js";
15
15
  import "dayjs";
16
- import { _ as _sfc_main$5 } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-006hTpVF.js";
17
- import { _ as _sfc_main$7 } from "./PairValpay.vue_vue_type_script_setup_true_lang-Pi4Zt1xw.js";
16
+ import { _ as _sfc_main$5 } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-B8Ogcsql.js";
17
+ import { _ as _sfc_main$7 } from "./PairValpay.vue_vue_type_script_setup_true_lang-iW1ee9Rd.js";
18
18
  import { g } from "./index-e4lpzJsL.js";
19
19
  var ReceiptTypes = /* @__PURE__ */ ((ReceiptTypes2) => {
20
20
  ReceiptTypes2["MERCHANT_COPY"] = "MERCHANT_COPY";
package/dist/linkly.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C, L, _, R, a, b, T, u } from "./PairLinkly.vue_vue_type_script_setup_true_lang-tAA6XiwD.js";
1
+ import { C, L, _, R, a, b, T, u } from "./PairLinkly.vue_vue_type_script_setup_true_lang-BbhGtKC_.js";
2
2
  export {
3
3
  C as CurrencyCodes,
4
4
  L as LinklyKeyType,
@@ -1,4 +1,4 @@
1
- import { _, S, T, b, a, u } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-006hTpVF.js";
1
+ import { _, S, T, b, a, u } from "./PairTillPayment.vue_vue_type_script_setup_true_lang-B8Ogcsql.js";
2
2
  export {
3
3
  _ as PairTillPayment,
4
4
  S as SettlementTypes,
package/dist/valpay.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P, _, T, V, u } from "./PairValpay.vue_vue_type_script_setup_true_lang-Pi4Zt1xw.js";
1
+ import { P, _, T, V, u } from "./PairValpay.vue_vue_type_script_setup_true_lang-iW1ee9Rd.js";
2
2
  export {
3
3
  P as PROD_URL,
4
4
  _ as PairValpay,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@achyutlabsau/vue-payment-gateway",
3
3
  "private": false,
4
- "version": "0.9.0",
4
+ "version": "0.9.2",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@mx51/spi-client-js": "^2.9.13",
63
- "@vueuse/core": "^14.0",
64
- "@vueuse/rxjs": "^14.0.0",
63
+ "@vueuse/core": "^14.1",
64
+ "@vueuse/rxjs": "^14.1.0",
65
65
  "axios": "1.13.2",
66
66
  "dayjs": "1.11.19",
67
67
  "dexie": "^4.2.1",
@@ -76,22 +76,22 @@
76
76
  "vue": ">=3.5.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@microsoft/api-extractor": "^7.55.0",
79
+ "@microsoft/api-extractor": "^7.55.2",
80
80
  "@quasar/extras": "^1.17.0",
81
- "@tailwindcss/vite": "^4.1.17",
81
+ "@tailwindcss/vite": "^4.1.18",
82
82
  "@types/node": "*",
83
- "@vitejs/plugin-vue": "^6.0.1",
84
- "@vue/language-core": "^3.1.3",
85
- "oxlint": "^1.28.0",
86
- "prettier": "^3.6.2",
87
- "prettier-plugin-tailwindcss": "^0.7.1",
88
- "quasar": "^2.18.5",
89
- "tailwindcss": "^4.1.17",
83
+ "@vitejs/plugin-vue": "^6.0.3",
84
+ "@vue/language-core": "^3.1.8",
85
+ "oxlint": "^1.33.0",
86
+ "prettier": "^3.7.4",
87
+ "prettier-plugin-tailwindcss": "^0.7.2",
88
+ "quasar": "^2.18.6",
89
+ "tailwindcss": "^4.1.18",
90
90
  "typescript": "5.9.3",
91
91
  "unplugin-dts": "^1.0.0-beta.6",
92
- "vite": "^7.2.2",
93
- "vitepress": "^2.0.0-alpha.8",
94
- "vue": "^3.5.24",
95
- "vue-tsc": "^3.1.3"
92
+ "vite": "^7.3.0",
93
+ "vitepress": "^2.0.0-alpha.15",
94
+ "vue": "^3.5.26",
95
+ "vue-tsc": "^3.1.8"
96
96
  }
97
97
  }