@paypay/mini-app-js-sdk 1.66.0 → 1.68.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.
@@ -64,6 +64,11 @@ declare type MethodBase = {
64
64
  statusDescription: DescriptionInfo | null;
65
65
  additionalDescription: DescriptionInfo | null;
66
66
  detailDescription: DescriptionInfo | null;
67
+ amountInfo?: {
68
+ label: string;
69
+ amount: number;
70
+ currency: string;
71
+ };
67
72
  };
68
73
  };
69
74
  export declare type DescriptionInfo = {
@@ -168,6 +173,7 @@ export declare type BankInfo = {
168
173
  bankAccountType?: string;
169
174
  bankAccountNumberLast2digits?: string;
170
175
  preTransactionAutoChargeSupported?: boolean;
176
+ showAmount?: boolean;
171
177
  };
172
178
  export declare type BankMethod = MethodBase & {
173
179
  paymentMethodType: PaymentMethodType.BANK | PaymentMethodType.YMONEY_BANK;
@@ -58,7 +58,8 @@ export declare enum MiniAppErrorType {
58
58
  unacceptableOp = "UNACCEPTABLE_OP",
59
59
  kycUpdateRequired = "KYC_UPDATE_REQUIRED",
60
60
  notCompleted = "NOT_COMPLETED",
61
- kycValidationInProcess = "KYC_VALIDATION_IN_PROCESS"
61
+ kycValidationInProcess = "KYC_VALIDATION_IN_PROCESS",
62
+ noLocationData = "NO_LOCATION_DATA"
62
63
  }
63
64
  export declare class MiniAppError extends Error {
64
65
  constructor(type: MiniAppErrorType);
@@ -27,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  paymentMethodStatusText: import("vue").ComputedRef<unknown>;
28
28
  getClass: string;
29
29
  style: Record<string, string>;
30
+ balance: import("vue").ComputedRef<string | null>;
30
31
  payMethodDescriptionInfo: import("vue").ComputedRef<DescriptionInfo[]>;
31
32
  getMaintenanceStyle: import("vue").ComputedRef<(info: DescriptionInfo) => {
32
33
  color: string;
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  branchName: string | undefined;
24
24
  digits: string | undefined;
25
25
  }>;
26
+ balance: import("vue").ComputedRef<string | null>;
26
27
  style: Record<string, string>;
27
28
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
29
  bank: {
package/dist/types.d.ts CHANGED
@@ -187,6 +187,7 @@ export interface GetUserLocationResult {
187
187
  export interface GetUserLocationParams extends NativeParams<GetUserLocationResult> {
188
188
  validTimeMinutes?: number;
189
189
  accuracy?: string;
190
+ fallbackToGeolocation?: boolean;
190
191
  }
191
192
  export interface SetTitleParams extends NativeParams<void> {
192
193
  title?: string;