Plugin Directory

Changeset 3377555


Ignore:
Timestamp:
10/13/2025 01:26:13 PM (6 months ago)
Author:
apiki
Message:

commit missing tag 1.3.14

Location:
wc-koin-official/tags/1.3.14
Files:
9 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wc-koin-official/tags/1.3.14/app/Helpers/Config.php

    r3364572 r3377555  
    9595    public static function __version()
    9696    {
    97         return '1.3.13';
     97        return '1.3.14';
    9898    }
    9999
  • wc-koin-official/tags/1.3.14/composer.json

    r3364572 r3377555  
    33    "description": "Koin Official Payments for Woocommerce",
    44    "type": "wordpress-plugin",
    5     "version": "1.3.13",
     5    "version": "1.3.14",
    66    "license": "GPL-3.0",
    77    "require": {
  • wc-koin-official/tags/1.3.14/dist/blocks/checkout-banner/index.asset.php

    r3348291 r3377555  
    1 <?php return array('dependencies' => array('react', 'wc-blocks-data-store', 'wp-data', 'wp-element', 'wp-plugins'), 'version' => '4c5c25a4aaebcfd061c1');
     1<?php return array('dependencies' => array('react', 'wc-blocks-data-store', 'wp-data', 'wp-element', 'wp-plugins'), 'version' => '5c2f36044ee57ac2b8c0');
  • wc-koin-official/tags/1.3.14/dist/blocks/checkout-banner/index.js

    r3348291 r3377555  
    1 (()=>{"use strict";var e={20:(e,o,t)=>{var n=t(609),r=Symbol.for("react.element"),c=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,o,t){var n,u={},i=null,a=null;for(n in void 0!==t&&(i=""+t),void 0!==o.key&&(i=""+o.key),void 0!==o.ref&&(a=o.ref),o)c.call(o,n)&&!s.hasOwnProperty(n)&&(u[n]=o[n]);if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===u[n]&&(u[n]=o[n]);return{$$typeof:r,type:e,key:i,ref:a,props:u,_owner:p.current}}o.jsx=u,o.jsxs=u},848:(e,o,t)=>{e.exports=t(20)},609:e=>{e.exports=window.React}},o={};const t=window.wp.plugins,n=window.wp.element,r=window.wp.data,c=window.wc.wcBlocksData;var p=function t(n){var r=o[n];if(void 0!==r)return r.exports;var c=o[n]={exports:{}};return e[n](c,c.exports,t),c.exports}(848);(0,t.registerPlugin)("checkout-banner",{render:()=>{const[e,o]=(0,n.useState)(!1),t=(0,n.useRef)(null),s=(0,n.useRef)(null),[u,i]=(0,n.useState)(!0),a=(e="component")=>{if(u&&"component"===e)return void i(!1);const t=document.querySelector("#koin-popup-about");t&&(t.parentElement.style.display="block",o(!0))},l=()=>{const e=document.querySelector("#koin-popup-about");e&&(e.parentElement.style.display="none",o(!1))},d=(0,r.useSelect)(e=>e(c.PAYMENT_STORE_KEY).getActivePaymentMethod());return(0,n.useEffect)(()=>{document.addEventListener("koinOpenPopup",async()=>{a("click")})},[]),(0,n.useEffect)(()=>{"wc-koin-billet"===d&&a()},[d]),(0,n.useEffect)(()=>{const e=e=>{"koin-popup-about"===e.target.id&&l()},o=document.querySelector("#koin-popup-about");return o&&o.addEventListener("click",e),()=>{o&&o.removeEventListener("click",e)}},[]),(0,p.jsx)("div",{ref:t,id:"koin-popup-about",className:"koin-popup-about "+(e?"koin-popup-about-active":""),children:(0,p.jsxs)("div",{ref:s,className:"koin-popup-about-content",children:[(0,p.jsx)("i",{id:"koin-close-popup",className:"close",onClick:l,children:"×"}),(0,p.jsx)("koin-checkout-banner",{})]})})},scope:"woocommerce-checkout"})})();
     1(()=>{"use strict";var e={20:(e,o,t)=>{var n=t(609),r=Symbol.for("react.element"),c=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,o,t){var n,s={},p=null,a=null;for(n in void 0!==t&&(p=""+t),void 0!==o.key&&(p=""+o.key),void 0!==o.ref&&(a=o.ref),o)c.call(o,n)&&!i.hasOwnProperty(n)&&(s[n]=o[n]);if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===s[n]&&(s[n]=o[n]);return{$$typeof:r,type:e,key:p,ref:a,props:s,_owner:u.current}}o.jsx=s,o.jsxs=s},848:(e,o,t)=>{e.exports=t(20)},609:e=>{e.exports=window.React}},o={};const t=window.wp.plugins,n=window.wp.element,r=window.wp.data,c=window.wc.wcBlocksData;var u=function t(n){var r=o[n];if(void 0!==r)return r.exports;var c=o[n]={exports:{}};return e[n](c,c.exports,t),c.exports}(848);(0,t.registerPlugin)("checkout-banner",{render:()=>{const[e,o]=(0,n.useState)(!1),t=(0,n.useRef)(null),i=(0,n.useRef)(null),[s,p]=(0,n.useState)(!0),[a,l]=(0,n.useState)(!1),d=(0,n.useRef)(null),f=(e="component")=>{if(s&&"component"===e)return void p(!1);const t=document.querySelector("#koin-popup-about");t&&(t.parentElement.style.display="block",o(!0))},k=()=>{const e=document.querySelector("#koin-popup-about");e&&(e.parentElement.style.display="none",o(!1))},w=(0,r.useSelect)(e=>e(c.PAYMENT_STORE_KEY).getActivePaymentMethod());return(0,n.useEffect)(()=>{document.addEventListener("koinOpenPopup",async()=>{f("click")})},[]),(0,n.useEffect)(()=>{if(!a)return d.current=w,void l(!0);"wc-koin-billet"===w&&"wc-koin-billet"!==d.current&&f(),d.current=w},[w,a]),(0,n.useEffect)(()=>{const e=e=>{"koin-popup-about"===e.target.id&&k()},o=document.querySelector("#koin-popup-about");return o&&o.addEventListener("click",e),()=>{o&&o.removeEventListener("click",e)}},[]),(0,u.jsx)("div",{ref:t,id:"koin-popup-about",className:"koin-popup-about "+(e?"koin-popup-about-active":""),children:(0,u.jsxs)("div",{ref:i,className:"koin-popup-about-content",children:[(0,u.jsx)("i",{id:"koin-close-popup",className:"close",onClick:k,children:"×"}),(0,u.jsx)("koin-checkout-banner",{})]})})},scope:"woocommerce-checkout"})})();
  • wc-koin-official/tags/1.3.14/readme.txt

    r3364572 r3377555  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.3.13
     6Stable tag: 1.3.14
    77Requires PHP: 7.4
    88License: GPLv3
     
    4242
    4343== Changelog ==
     44
     45= 1.3.14 = - 2025-09-18
     46- Fixes the behavior of opening the BNPL banner on blocks checkout
    4447
    4548= 1.3.13 = - 2025-09-18
  • wc-koin-official/tags/1.3.14/resources/blocks/components/CheckoutBanner/index.jsx

    r3279008 r3377555  
    99    const contentRef = useRef(null);
    1010    const [isLoading, setIsLoading] = useState(true);
     11    const [isInitialized, setIsInitialized] = useState(false);
     12    const previousPaymentMethod = useRef(null);
    1113
    1214    const openPopup = (origin = 'component') => {
     
    4143
    4244    useEffect(() => {
    43         if (activePaymentMethod === 'wc-koin-billet') {
     45        if (!isInitialized) {
     46            previousPaymentMethod.current = activePaymentMethod;
     47            setIsInitialized(true);
     48            return;
     49        }
     50
     51        if (activePaymentMethod === 'wc-koin-billet' && previousPaymentMethod.current !== 'wc-koin-billet') {
    4452            openPopup();
    4553        }
    46     }, [activePaymentMethod]);
     54
     55        previousPaymentMethod.current = activePaymentMethod;
     56    }, [activePaymentMethod, isInitialized]);
    4757
    4858    useEffect(() => {
  • wc-koin-official/tags/1.3.14/vendor/composer/installed.json

    r3348291 r3377555  
    11{
    22    "packages": [],
    3     "dev": false,
     3    "dev": true,
    44    "dev-package-names": []
    55}
  • wc-koin-official/tags/1.3.14/vendor/composer/installed.php

    r3364572 r3377555  
    22    'root' => array(
    33        'name' => 'apiki/wc-koin-official',
    4         'pretty_version' => '1.3.13',
    5         'version' => '1.3.13.0',
     4        'pretty_version' => '1.3.14',
     5        'version' => '1.3.14.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    99        'aliases' => array(),
    10         'dev' => false,
     10        'dev' => true,
    1111    ),
    1212    'versions' => array(
    1313        'apiki/wc-koin-official' => array(
    14             'pretty_version' => '1.3.13',
    15             'version' => '1.3.13.0',
     14            'pretty_version' => '1.3.14',
     15            'version' => '1.3.14.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
  • wc-koin-official/tags/1.3.14/wc-koin-official.php

    r3364572 r3377555  
    44 * Plugin Name: Koin Official Payments
    55 * Plugin URI:  https://github.com/koinlatam
    6  * Version:     1.3.13
     6 * Version:     1.3.14
    77 * Description: Koin Official Payments Gateways
    88 * Text Domain: wc-koin-official
Note: See TracChangeset for help on using the changeset viewer.