@paypay/mini-app-js-sdk 1.61.0 → 1.62.0

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.
@@ -50,8 +50,8 @@ function normalizeNativeResponseData(data2) {
50
50
  }
51
51
  class JsBridge {
52
52
  constructor(global2) {
53
- this.version = "1.61.0";
54
- this.revision = "edfaab4";
53
+ this.version = "1.62.0";
54
+ this.revision = "64cbc05";
55
55
  this.messageHandlers = /* @__PURE__ */ new Map();
56
56
  this.responseCallbacks = /* @__PURE__ */ new Map();
57
57
  this.global = global2;
@@ -1225,7 +1225,7 @@ const registerPaymentFeatures$2 = {
1225
1225
  },
1226
1226
  autoTopupSettingComplete: {
1227
1227
  title: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F",
1228
- description: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u306F\nPayPay\u3067\u306E\u3059\u3079\u3066\u306E\u652F\u6255\u3044\u306B\u9069\u7528\u3055\u308C\u307E\u3059\n\u8A2D\u5B9A\u306E\u5909\u66F4\u306FPayPay\u30A2\u30D7\u30EA\u306E\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u7BA1\u7406\u300D\u304B\u3089\u884C\u3048\u307E\u3059",
1228
+ description: "\u30AA\u30FC\u30C8\u30C1\u30E3\u30FC\u30B8\u306E\u8A2D\u5B9A\u306F\nPayPay\u3067\u306E\u3059\u3079\u3066\u306E\u652F\u6255\u3044\u306B\u9069\u7528\u3055\u308C\u307E\u3059\n\u8A2D\u5B9A\u306E\u5909\u66F4\u306FPayPay\u30A2\u30D7\u30EA\u306E\n\u300C\u652F\u6255\u3044\u65B9\u6CD5\u306E\u7BA1\u7406\u300D\u304B\u3089\u884C\u3048\u307E\u3059",
1229
1229
  finish: "\u5B8C\u4E86\u3059\u308B"
1230
1230
  },
1231
1231
  setupTopupMethod: {
@@ -1950,15 +1950,13 @@ const opaUrl = () => {
1950
1950
  const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
1951
1951
  let headers = new Headers({
1952
1952
  "Content-Type": "application/json",
1953
- "Client-Version": "1.61.0",
1953
+ "Client-Version": "1.62.0",
1954
1954
  "Client-OS-Type": getRuntime(),
1955
1955
  ...customHeaders
1956
1956
  });
1957
- if (urlEndpoint === "web-api/app/v2/payment/methods" || urlEndpoint === "web-api/app/v2/payment/consult" || urlEndpoint === "web-api/app/v1/payment/cashbackDetail" || urlEndpoint === "web-api/app/v1/confirmAgeForCashback" || urlEndpoint === "web-api/app/v1/internal/request" || urlEndpoint === "web-api/app/v1/addressbyzip" || urlEndpoint === "/web-api/app/platform/v1/balance" || urlEndpoint === "web-api/app/v1/users/autoTopupConfiguration" || urlEndpoint === "web-api/app/v1/users/preTransactionAutoTopupConfiguration" || urlEndpoint === "web-api/app/v1/users/consultPaymentFeature" || urlEndpoint === "web-api/app/v1/users/paymentFeatureSettings") {
1958
- headers.set("Client-UUID", getClientUUID());
1959
- headers.set("Device-UUID", getDeviceUUID());
1960
- headers.set("Client-Type", "MINIAPP");
1961
- }
1957
+ headers.set("Client-UUID", getClientUUID());
1958
+ headers.set("Device-UUID", getDeviceUUID());
1959
+ headers.set("Client-Type", "MINIAPP");
1962
1960
  if (urlEndpoint !== "web-api/app/token/v1/issue" && urlEndpoint !== "web-api/app/token/v1/refresh" && urlEndpoint !== "web-api/app/v1/apps/detail") {
1963
1961
  const token = getAccessToken();
1964
1962
  if (!token) {
@@ -9591,7 +9589,7 @@ const _sfc_main$1y = defineComponent({
9591
9589
  }
9592
9590
  });
9593
9591
  const _hoisted_1$W = ["src"];
9594
- const _hoisted_2$p = ["src"];
9592
+ const _hoisted_2$q = ["src"];
9595
9593
  function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9596
9594
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
9597
9595
  return openBlock(), createElementBlock("div", {
@@ -9633,7 +9631,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9633
9631
  class: normalizeClass(_ctx.$style.greenTick),
9634
9632
  src: _ctx.images.checkGreen,
9635
9633
  alt: "green-tick"
9636
- }, null, 10, _hoisted_2$p),
9634
+ }, null, 10, _hoisted_2$q),
9637
9635
  createBaseVNode("span", {
9638
9636
  class: normalizeClass(_ctx.$style.autoCharge)
9639
9637
  }, toDisplayString(_ctx.lg.wallet.autoCharge), 3)
@@ -9792,7 +9790,7 @@ const _sfc_main$1x = defineComponent({
9792
9790
  }
9793
9791
  });
9794
9792
  const _hoisted_1$V = ["src"];
9795
- const _hoisted_2$o = ["src"];
9793
+ const _hoisted_2$p = ["src"];
9796
9794
  function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9797
9795
  return openBlock(), createElementBlock("div", {
9798
9796
  class: normalizeClass([
@@ -9832,7 +9830,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9832
9830
  createBaseVNode("img", {
9833
9831
  src: _ctx.authInfo.img,
9834
9832
  class: normalizeClass([_ctx.authInfo.authImg])
9835
- }, null, 10, _hoisted_2$o),
9833
+ }, null, 10, _hoisted_2$p),
9836
9834
  createBaseVNode("span", {
9837
9835
  class: normalizeClass([_ctx.style.authText])
9838
9836
  }, toDisplayString(_ctx.authInfo.text), 3)
@@ -23434,7 +23432,7 @@ const _sfc_main$1r = defineComponent({
23434
23432
  }
23435
23433
  });
23436
23434
  const _hoisted_1$Q = ["src"];
23437
- const _hoisted_2$n = ["src"];
23435
+ const _hoisted_2$o = ["src"];
23438
23436
  const _hoisted_3$a = ["onClick"];
23439
23437
  function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
23440
23438
  const _component_Button = resolveComponent("Button");
@@ -23487,7 +23485,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
23487
23485
  src: _ctx.authInfo.img,
23488
23486
  class: normalizeClass(_ctx.authInfo.imgStyle),
23489
23487
  alt: ""
23490
- }, null, 10, _hoisted_2$n),
23488
+ }, null, 10, _hoisted_2$o),
23491
23489
  createBaseVNode("span", null, toDisplayString(_ctx.authInfo.text), 1)
23492
23490
  ], 2)
23493
23491
  ], 2),
@@ -23672,7 +23670,7 @@ const _sfc_main$1q = defineComponent({
23672
23670
  }
23673
23671
  });
23674
23672
  const _hoisted_1$P = ["src"];
23675
- const _hoisted_2$m = ["onClick"];
23673
+ const _hoisted_2$n = ["onClick"];
23676
23674
  function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23677
23675
  const _component_Button = resolveComponent("Button");
23678
23676
  return openBlock(), createElementBlock("div", {
@@ -23743,7 +23741,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23743
23741
  class: normalizeClass(_ctx.style.maintainanceInfo),
23744
23742
  style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23745
23743
  onClick: ($event) => _ctx.handleClick($event, info2)
23746
- }, toDisplayString(info2.text), 15, _hoisted_2$m);
23744
+ }, toDisplayString(info2.text), 15, _hoisted_2$n);
23747
23745
  }), 128))
23748
23746
  ], 2)
23749
23747
  ], 2);
@@ -23846,7 +23844,7 @@ const _sfc_main$1p = defineComponent({
23846
23844
  }
23847
23845
  });
23848
23846
  const _hoisted_1$O = ["src"];
23849
- const _hoisted_2$l = ["onClick"];
23847
+ const _hoisted_2$m = ["onClick"];
23850
23848
  function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23851
23849
  const _component_Button = resolveComponent("Button");
23852
23850
  return openBlock(), createElementBlock("div", {
@@ -23909,7 +23907,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23909
23907
  class: normalizeClass(_ctx.style.maintainanceInfo),
23910
23908
  style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23911
23909
  onClick: ($event) => _ctx.handleClick($event, info2)
23912
- }, toDisplayString(info2.text), 15, _hoisted_2$l);
23910
+ }, toDisplayString(info2.text), 15, _hoisted_2$m);
23913
23911
  }), 128))
23914
23912
  ], 2)
23915
23913
  ], 2);
@@ -24013,7 +24011,7 @@ const _sfc_main$1o = defineComponent({
24013
24011
  }
24014
24012
  });
24015
24013
  const _hoisted_1$N = ["src"];
24016
- const _hoisted_2$k = ["onClick"];
24014
+ const _hoisted_2$l = ["onClick"];
24017
24015
  function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
24018
24016
  const _component_Button = resolveComponent("Button");
24019
24017
  return openBlock(), createElementBlock("div", {
@@ -24075,7 +24073,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
24075
24073
  class: normalizeClass(_ctx.$style.maintainanceInfo),
24076
24074
  style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
24077
24075
  onClick: ($event) => _ctx.handleClick($event, info2)
24078
- }, toDisplayString(info2.text), 15, _hoisted_2$k);
24076
+ }, toDisplayString(info2.text), 15, _hoisted_2$l);
24079
24077
  }), 128))
24080
24078
  ], 2)
24081
24079
  ], 2);
@@ -24584,11 +24582,14 @@ const _sfc_main$1k = defineComponent({
24584
24582
  };
24585
24583
  }
24586
24584
  });
24587
- const _hoisted_1$K = { "data-testid": "address-title" };
24585
+ const _hoisted_1$K = ["aria-selected"];
24586
+ const _hoisted_2$k = { "data-testid": "address-title" };
24588
24587
  function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
24589
24588
  const _component_Button = resolveComponent("Button");
24590
24589
  return openBlock(), createElementBlock("div", {
24591
- class: normalizeClass(_ctx.style.root)
24590
+ class: normalizeClass(_ctx.style.root),
24591
+ role: "option",
24592
+ "aria-selected": _ctx.selected
24592
24593
  }, [
24593
24594
  createBaseVNode("div", {
24594
24595
  class: normalizeClass(_ctx.style.addressContainer),
@@ -24598,7 +24599,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
24598
24599
  createBaseVNode("div", {
24599
24600
  class: normalizeClass(_ctx.style.header)
24600
24601
  }, [
24601
- createBaseVNode("span", _hoisted_1$K, toDisplayString(_ctx.address.kyc ? _ctx.lg.userAddress.title : _ctx.address.title), 1)
24602
+ createBaseVNode("span", _hoisted_2$k, toDisplayString(_ctx.address.kyc ? _ctx.lg.userAddress.title : _ctx.address.title), 1)
24602
24603
  ], 2),
24603
24604
  createBaseVNode("div", {
24604
24605
  class: normalizeClass([_ctx.style.text]),
@@ -24640,7 +24641,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
24640
24641
  ]),
24641
24642
  _: 1
24642
24643
  }, 8, ["class", "onClick"])) : createCommentVNode("", true)
24643
- ], 2);
24644
+ ], 10, _hoisted_1$K);
24644
24645
  }
24645
24646
  const cssModules$19 = {};
24646
24647
  cssModules$19["$style"] = style0$19;
@@ -25459,14 +25460,12 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
25459
25460
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.addresses, (address2, index2) => {
25460
25461
  return openBlock(), createBlock(_component_Address, {
25461
25462
  key: address2.id,
25462
- role: "option",
25463
25463
  address: address2,
25464
25464
  selected: _ctx.isSelected(index2),
25465
- "aria-selected": _ctx.isSelected(index2),
25466
25465
  "is-makepayment": _ctx.isMakepayment,
25467
25466
  onSelect: ($event) => _ctx.selectIndex(address2),
25468
25467
  onEdit: ($event) => _ctx.$emit("edit", address2)
25469
- }, null, 8, ["address", "selected", "aria-selected", "is-makepayment", "onSelect", "onEdit"]);
25468
+ }, null, 8, ["address", "selected", "is-makepayment", "onSelect", "onEdit"]);
25470
25469
  }), 128)),
25471
25470
  _ctx.showsNoRegisteredAddressMessage ? (openBlock(), createBlock(_component_NoRegisteredAddressMessage, {
25472
25471
  key: 0,
@@ -26425,17 +26424,15 @@ const states = [
26425
26424
  { label: "\u9E7F\u5150\u5CF6\u770C", value: "\u9E7F\u5150\u5CF6\u770C" },
26426
26425
  { label: "\u6C96\u7E04\u770C", value: "\u6C96\u7E04\u770C" }
26427
26426
  ];
26428
- const root$2 = "_root_bzg2i_1";
26429
- const prepend = "_prepend_bzg2i_15";
26430
- const append = "_append_bzg2i_22";
26431
- const input$5 = "_input_bzg2i_38";
26432
- const select = "_select_bzg2i_51";
26433
- const borderDel = "_borderDel_bzg2i_54";
26434
- const spacer = "_spacer_bzg2i_57";
26427
+ const root$2 = "_root_7td5b_1";
26428
+ const prepend = "_prepend_7td5b_15";
26429
+ const input$5 = "_input_7td5b_22";
26430
+ const select = "_select_7td5b_35";
26431
+ const borderDel = "_borderDel_7td5b_38";
26432
+ const spacer = "_spacer_7td5b_41";
26435
26433
  var style0$10 = {
26436
26434
  root: root$2,
26437
26435
  prepend,
26438
- append,
26439
26436
  input: input$5,
26440
26437
  select,
26441
26438
  borderDel,
@@ -26630,13 +26627,11 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
26630
26627
  "data-testid": "content-title",
26631
26628
  disabled: _ctx.kyc,
26632
26629
  prepend: _ctx.lg.userAddress.titlePre,
26633
- append: _ctx.lg.userAddress.titleApp,
26634
26630
  "prepend-class-name": _ctx.style.prepend,
26635
- "append-class-name": _ctx.style.append,
26636
26631
  class: normalizeClass([_ctx.style.input, { [_ctx.style.borderDel]: !_ctx.state.title }]),
26637
26632
  placeholder: _ctx.lg.userAddress.titlePlace,
26638
26633
  required: ""
26639
- }, null, 8, ["modelValue", "disabled", "prepend", "append", "prepend-class-name", "append-class-name", "class", "placeholder"])) : createCommentVNode("", true),
26634
+ }, null, 8, ["modelValue", "disabled", "prepend", "prepend-class-name", "class", "placeholder"])) : createCommentVNode("", true),
26640
26635
  _ctx.state.visibilities.receiver ? (openBlock(), createBlock(_component_Input, {
26641
26636
  key: 1,
26642
26637
  id: "content-receiver",
@@ -35907,7 +35902,7 @@ function debug(params) {
35907
35902
  function execute$9(params) {
35908
35903
  var _a2;
35909
35904
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
35910
- v: "1.61.0"
35905
+ v: "1.62.0"
35911
35906
  });
35912
35907
  }
35913
35908
  function useCallBack(props, ctx) {
@@ -36864,7 +36859,6 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
36864
36859
  message: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093"
36865
36860
  }
36866
36861
  ],
36867
- "auto-capitalize": "none",
36868
36862
  "data-testid": "input-email",
36869
36863
  onValidate: _ctx.validateEmail
36870
36864
  }, null, 8, ["modelValue", "rules", "onValidate"])
@@ -38981,9 +38975,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
38981
38975
  }, null, 8, ["data-point"])) : (openBlock(), createBlock(_component_RegisterUserInfoSimpleInput, {
38982
38976
  key: 2,
38983
38977
  "data-point": dataPoint,
38984
- "has-error": _ctx.errorMessage != null,
38985
38978
  class: normalizeClass(_ctx.$style.input)
38986
- }, null, 8, ["data-point", "has-error", "class"]))
38979
+ }, null, 8, ["data-point", "class"]))
38987
38980
  ], 64);
38988
38981
  }), 128))
38989
38982
  ], 2),