Plugin Directory

Changeset 3206673


Ignore:
Timestamp:
12/12/2024 03:51:59 AM (16 months ago)
Author:
gaft
Message:

Update to version 1.23.0

Location:
cardanopress
Files:
18 added
25 deleted
13 edited
290 copied

Legend:

Unmodified
Added
Removed
  • cardanopress/tags/1.23.0/assets/dist/.vite/manifest.json

    r3164589 r3206673  
    11{
    2   "_actions-BibYINJW.js": {
    3     "file": "actions-BibYINJW.js",
     2  "_actions-AvagY9U-.js": {
     3    "file": "actions-AvagY9U-.js",
    44    "name": "actions",
    55    "imports": [
    6       "_util-WIVeI6f2.js"
     6      "_util-BRbWzvM7.js"
    77    ]
    88  },
     
    1212    "isDynamicEntry": true
    1313  },
    14   "_util-WIVeI6f2.js": {
    15     "file": "util-WIVeI6f2.js",
     14  "_util-BRbWzvM7.js": {
     15    "file": "util-BRbWzvM7.js",
    1616    "name": "util",
    1717    "dynamicImports": [
     
    2222  },
    2323  "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib.js": {
    24     "file": "cardano_serialization_lib-DZgxyT4u.js",
     24    "file": "cardano_serialization_lib-Cz45fKuP.js",
    2525    "name": "cardano_serialization_lib",
    2626    "src": "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib.js",
     
    3030    ]
    3131  },
    32   "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm": {
    33     "file": "cardano_serialization_lib_bg-BIH9BbI5.wasm",
    34     "src": "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm"
    35   },
    3632  "node_modules/.pnpm/@pbwebdev+cardano-wallet-browser-extensions-interface@1.4.0/node_modules/@pbwebdev/cardano-wallet-browser-extensions-interface/dist/lib/coinSelection.js": {
    37     "file": "coinSelection-BK9MdsDt.js",
     33    "file": "coinSelection-ZTPJQMGb.js",
    3834    "name": "coinSelection",
    3935    "src": "node_modules/.pnpm/@pbwebdev+cardano-wallet-browser-extensions-interface@1.4.0/node_modules/@pbwebdev/cardano-wallet-browser-extensions-interface/dist/lib/coinSelection.js",
     
    4440  },
    4541  "src/delegation.js": {
    46     "file": "delegation-Dq7eiB_A.js",
     42    "file": "delegation-Ct0ysDTp.js",
    4743    "name": "delegation",
    4844    "src": "src/delegation.js",
    4945    "isEntry": true,
    5046    "imports": [
    51       "_actions-BibYINJW.js",
    52       "_util-WIVeI6f2.js"
     47      "_actions-AvagY9U-.js",
     48      "_util-BRbWzvM7.js"
    5349    ]
    5450  },
     
    5955  },
    6056  "src/main.js": {
    61     "file": "script-PtNlOw8P.js",
     57    "file": "script-DcT8T8DQ.js",
    6258    "name": "script",
    6359    "src": "src/main.js",
    6460    "isEntry": true,
    6561    "imports": [
    66       "_actions-BibYINJW.js",
    67       "_util-WIVeI6f2.js"
     62      "_actions-AvagY9U-.js",
     63      "_util-BRbWzvM7.js"
    6864    ]
    6965  },
    7066  "src/notification.js": {
    71     "file": "notification-BHrRxRLx.js",
     67    "file": "notification-CW9iilvo.js",
    7268    "name": "notification",
    7369    "src": "src/notification.js",
    7470    "isEntry": true,
    7571    "imports": [
    76       "_util-WIVeI6f2.js"
     72      "_util-BRbWzvM7.js"
    7773    ]
    7874  },
    7975  "src/payment.js": {
    80     "file": "payment-Cslb_ZlF.js",
     76    "file": "payment-DwigUgf9.js",
    8177    "name": "payment",
    8278    "src": "src/payment.js",
    8379    "isEntry": true,
    8480    "imports": [
    85       "_util-WIVeI6f2.js",
    86       "_actions-BibYINJW.js"
     81      "_util-BRbWzvM7.js",
     82      "_actions-AvagY9U-.js"
    8783    ]
    8884  },
    8985  "src/split.js": {
    90     "file": "split-CgnlZAx9.js",
     86    "file": "split-Com6l462.js",
    9187    "name": "split",
    9288    "src": "src/split.js",
    9389    "isEntry": true,
    9490    "imports": [
    95       "_actions-BibYINJW.js",
    96       "_util-WIVeI6f2.js"
     91      "_actions-AvagY9U-.js",
     92      "_util-BRbWzvM7.js"
    9793    ]
    9894  }
  • cardanopress/tags/1.23.0/assets/package.json

    r3164589 r3206673  
    1313    "tailwindcss": "^3.4.10",
    1414    "vite": "^5.4.2",
     15    "vite-plugin-offload-wasm": "^0.2.0",
    1516    "vite-plugin-themeplate": "^1.6.0",
    1617    "vite-plugin-top-level-await": "^1.4.4",
  • cardanopress/tags/1.23.0/assets/pnpm-lock.yaml

    r3164589 r3206673  
    2828        specifier: ^5.4.2
    2929        version: 5.4.2(@types/node@20.14.2)(terser@5.31.1)
     30      vite-plugin-offload-wasm:
     31        specifier: ^0.2.0
     32        version: 0.2.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1))
    3033      vite-plugin-themeplate:
    3134        specifier: ^1.6.0
     
    861864    resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
    862865    hasBin: true
     866
     867  vite-plugin-offload-wasm@0.2.0:
     868    resolution: {integrity: sha512-86V5NRyWC3Qod3nNLFhn3FEKhGxo36NTJS467/fF4pcCWT0j1G0eTTOQsHgLuSBsAWZpfFuosbcNNtGjgUrpJQ==}
     869    peerDependencies:
     870      vite: ^5.2.12
    863871
    864872  vite-plugin-themeplate@1.6.0:
     
    16481656  uuid@10.0.0: {}
    16491657
     1658  vite-plugin-offload-wasm@0.2.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1)):
     1659    dependencies:
     1660      vite: 5.4.2(@types/node@20.14.2)(terser@5.31.1)
     1661
    16501662  vite-plugin-themeplate@1.6.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1)):
    16511663    dependencies:
  • cardanopress/tags/1.23.0/assets/vite.config.ts

    r3102653 r3206673  
    11import { defineConfig } from 'vite'
     2import offloadWasm from 'vite-plugin-offload-wasm'
    23import themeplate from 'vite-plugin-themeplate'
    34import topLevelAwait from 'vite-plugin-top-level-await'
     
    2526        },
    2627    },
    27     plugins: [themeplate(), wasm(), topLevelAwait()],
     28    plugins: [
     29        themeplate(),
     30        wasm(),
     31        topLevelAwait(),
     32        offloadWasm({
     33            'cardano_serialization_lib_bg.wasm':
     34                '//unpkg.com/@emurgo/cardano-serialization-lib-browser@9.1.4/cardano_serialization_lib_bg.wasm',
     35        }),
     36    ],
    2837})
  • cardanopress/tags/1.23.0/cardanopress.php

    r3164589 r3206673  
    77 * Author URI:  https://cardanopress.io
    88 * Description: Core plugin for the suite of CardanoPress plugins
    9  * Version:     1.22.0
     9 * Version:     1.23.0
    1010 * License:     GPL-2.0-only
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • cardanopress/tags/1.23.0/dependencies/CardanoPHP/Verifier.php

    r3159600 r3206673  
    6666        }
    6767
    68         if (84 !== strlen($this->key)) {
     68        if (84 > strlen($this->key)) {
    6969            return false;
    7070        }
     
    203203    protected function handledHeader($value): bool
    204204    {
    205         if (! is_array($value) || 2 !== count($value)) {
     205        if (! is_array($value) || 2 > count($value)) {
    206206            return false;
    207207        }
     
    224224    protected function validKeyPair($data): bool
    225225    {
    226         if (! is_array($data) || 4 !== count($data)) {
     226        if (! is_array($data) || 4 > count($data)) {
    227227            return false;
    228228        }
  • cardanopress/tags/1.23.0/dependencies/vendor/composer/installed.json

    r3164589 r3206673  
    176176        {
    177177            "name": "kermage/cardanophp",
    178             "version": "v0.2.0",
    179             "version_normalized": "0.2.0.0",
     178            "version": "v0.3.0",
     179            "version_normalized": "0.3.0.0",
    180180            "source": {
    181181                "type": "git",
    182182                "url": "https://github.com/kermage/CardanoPHP.git",
    183                 "reference": "f20e5ad843861a521af63e3c8412c2baab84203f"
    184             },
    185             "dist": {
    186                 "type": "zip",
    187                 "url": "https://api.github.com/repos/kermage/CardanoPHP/zipball/f20e5ad843861a521af63e3c8412c2baab84203f",
    188                 "reference": "f20e5ad843861a521af63e3c8412c2baab84203f",
     183                "reference": "2cea0e1a11f11bc8ac677951757eee52fe82f0ba"
     184            },
     185            "dist": {
     186                "type": "zip",
     187                "url": "https://api.github.com/repos/kermage/CardanoPHP/zipball/2cea0e1a11f11bc8ac677951757eee52fe82f0ba",
     188                "reference": "2cea0e1a11f11bc8ac677951757eee52fe82f0ba",
    189189                "shasum": ""
    190190            },
     
    197197                "themeplate/tester": "^2.2"
    198198            },
    199             "time": "2024-09-16T15:29:09+00:00",
     199            "time": "2024-12-04T00:06:04+00:00",
    200200            "type": "library",
    201201            "installation-source": "dist",
     
    217217            "support": {
    218218                "issues": "https://github.com/kermage/CardanoPHP/issues",
    219                 "source": "https://github.com/kermage/CardanoPHP/tree/v0.2.0"
     219                "source": "https://github.com/kermage/CardanoPHP/tree/v0.3.0"
    220220            },
    221221            "install-path": "../kermage/cardanophp"
  • cardanopress/tags/1.23.0/dependencies/vendor/composer/installed.php

    r3164589 r3206673  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => 'dev-main',
    5         'version' => 'dev-main',
    6         'reference' => 'e38a13b6114d5a268e4e55fbeb7cd30ae014b05d',
     4        'pretty_version' => 'dev-develop',
     5        'version' => 'dev-develop',
     6        'reference' => '24a8c39ce45f085f21f33d5c2ed0c6ed07b8ea7a',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        '__root__' => array(
    23             'pretty_version' => 'dev-main',
    24             'version' => 'dev-main',
    25             'reference' => 'e38a13b6114d5a268e4e55fbeb7cd30ae014b05d',
     23            'pretty_version' => 'dev-develop',
     24            'version' => 'dev-develop',
     25            'reference' => '24a8c39ce45f085f21f33d5c2ed0c6ed07b8ea7a',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../../',
     
    4848        ),
    4949        'kermage/cardanophp' => array(
    50             'pretty_version' => 'v0.2.0',
    51             'version' => '0.2.0.0',
    52             'reference' => 'f20e5ad843861a521af63e3c8412c2baab84203f',
     50            'pretty_version' => 'v0.3.0',
     51            'version' => '0.3.0.0',
     52            'reference' => '2cea0e1a11f11bc8ac677951757eee52fe82f0ba',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../kermage/cardanophp',
  • cardanopress/tags/1.23.0/dependencies/vendor/composer/jetpack_autoload_classmap.php

    r3164589 r3206673  
    4040    ),
    4141    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader' => array(
    42         'version' => 'dev-main',
     42        'version' => 'dev-develop',
    4343        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader.php'
    4444    ),
    4545    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader_Handler' => array(
    46         'version' => 'dev-main',
     46        'version' => 'dev-develop',
    4747        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader-handler.php'
    4848    ),
    4949    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader_Locator' => array(
    50         'version' => 'dev-main',
     50        'version' => 'dev-develop',
    5151        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader-locator.php'
    5252    ),
    5353    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Container' => array(
    54         'version' => 'dev-main',
     54        'version' => 'dev-develop',
    5555        'path'    => $vendorDir . '/jetpack-autoloader/class-container.php'
    5656    ),
    5757    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Hook_Manager' => array(
    58         'version' => 'dev-main',
     58        'version' => 'dev-develop',
    5959        'path'    => $vendorDir . '/jetpack-autoloader/class-hook-manager.php'
    6060    ),
    6161    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Latest_Autoloader_Guard' => array(
    62         'version' => 'dev-main',
     62        'version' => 'dev-develop',
    6363        'path'    => $vendorDir . '/jetpack-autoloader/class-latest-autoloader-guard.php'
    6464    ),
    6565    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Manifest_Reader' => array(
    66         'version' => 'dev-main',
     66        'version' => 'dev-develop',
    6767        'path'    => $vendorDir . '/jetpack-autoloader/class-manifest-reader.php'
    6868    ),
    6969    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\PHP_Autoloader' => array(
    70         'version' => 'dev-main',
     70        'version' => 'dev-develop',
    7171        'path'    => $vendorDir . '/jetpack-autoloader/class-php-autoloader.php'
    7272    ),
    7373    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Path_Processor' => array(
    74         'version' => 'dev-main',
     74        'version' => 'dev-develop',
    7575        'path'    => $vendorDir . '/jetpack-autoloader/class-path-processor.php'
    7676    ),
    7777    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Plugin_Locator' => array(
    78         'version' => 'dev-main',
     78        'version' => 'dev-develop',
    7979        'path'    => $vendorDir . '/jetpack-autoloader/class-plugin-locator.php'
    8080    ),
    8181    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Plugins_Handler' => array(
    82         'version' => 'dev-main',
     82        'version' => 'dev-develop',
    8383        'path'    => $vendorDir . '/jetpack-autoloader/class-plugins-handler.php'
    8484    ),
    8585    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Shutdown_Handler' => array(
    86         'version' => 'dev-main',
     86        'version' => 'dev-develop',
    8787        'path'    => $vendorDir . '/jetpack-autoloader/class-shutdown-handler.php'
    8888    ),
    8989    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Version_Loader' => array(
    90         'version' => 'dev-main',
     90        'version' => 'dev-develop',
    9191        'path'    => $vendorDir . '/jetpack-autoloader/class-version-loader.php'
    9292    ),
    9393    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Version_Selector' => array(
    94         'version' => 'dev-main',
     94        'version' => 'dev-develop',
    9595        'path'    => $vendorDir . '/jetpack-autoloader/class-version-selector.php'
    9696    ),
     
    100100    ),
    101101    'CardanoPress\\Dependencies\\CBOR\\CBOREncoder' => array(
    102         'version' => 'dev-main',
     102        'version' => 'dev-develop',
    103103        'path'    => $baseDir . '/CBOR/CBOREncoder.php'
    104104    ),
    105105    'CardanoPress\\Dependencies\\CBOR\\CBORIncorrectAdditionalInfoException' => array(
    106         'version' => 'dev-main',
     106        'version' => 'dev-develop',
    107107        'path'    => $baseDir . '/CBOR/CBORIncorrectAdditionalInfoException.php'
    108108    ),
    109109    'CardanoPress\\Dependencies\\CBOR\\Types\\CBORByteString' => array(
    110         'version' => 'dev-main',
     110        'version' => 'dev-develop',
    111111        'path'    => $baseDir . '/CBOR/Types/CBORByteString.php'
    112112    ),
    113113    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\AbstractAddress' => array(
    114         'version' => 'dev-main',
     114        'version' => 'dev-develop',
    115115        'path'    => $baseDir . '/CardanoPHP/Addresses/AbstractAddress.php'
    116116    ),
    117117    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\EnterpriseAddress' => array(
    118         'version' => 'dev-main',
     118        'version' => 'dev-develop',
    119119        'path'    => $baseDir . '/CardanoPHP/Addresses/EnterpriseAddress.php'
    120120    ),
    121121    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\RewardAddress' => array(
    122         'version' => 'dev-main',
     122        'version' => 'dev-develop',
    123123        'path'    => $baseDir . '/CardanoPHP/Addresses/RewardAddress.php'
    124124    ),
    125125    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\ShelleyAddress' => array(
    126         'version' => 'dev-main',
     126        'version' => 'dev-develop',
    127127        'path'    => $baseDir . '/CardanoPHP/Addresses/ShelleyAddress.php'
    128128    ),
    129129    'CardanoPress\\Dependencies\\CardanoPHP\\HashType\\Address' => array(
    130         'version' => 'dev-main',
     130        'version' => 'dev-develop',
    131131        'path'    => $baseDir . '/CardanoPHP/HashType/Address.php'
    132132    ),
    133133    'CardanoPress\\Dependencies\\CardanoPHP\\HashType\\Script' => array(
    134         'version' => 'dev-main',
     134        'version' => 'dev-develop',
    135135        'path'    => $baseDir . '/CardanoPHP/HashType/Script.php'
    136136    ),
    137137    'CardanoPress\\Dependencies\\CardanoPHP\\Network\\Mainnet' => array(
    138         'version' => 'dev-main',
     138        'version' => 'dev-develop',
    139139        'path'    => $baseDir . '/CardanoPHP/Network/Mainnet.php'
    140140    ),
    141141    'CardanoPress\\Dependencies\\CardanoPHP\\Network\\Testnet' => array(
    142         'version' => 'dev-main',
     142        'version' => 'dev-develop',
    143143        'path'    => $baseDir . '/CardanoPHP/Network/Testnet.php'
    144144    ),
    145145    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Bech32' => array(
    146         'version' => 'dev-main',
     146        'version' => 'dev-develop',
    147147        'path'    => $baseDir . '/CardanoPHP/Utilities/Bech32.php'
    148148    ),
    149149    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Credential' => array(
    150         'version' => 'dev-main',
     150        'version' => 'dev-develop',
    151151        'path'    => $baseDir . '/CardanoPHP/Utilities/Credential.php'
    152152    ),
    153153    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\HashType' => array(
    154         'version' => 'dev-main',
     154        'version' => 'dev-develop',
    155155        'path'    => $baseDir . '/CardanoPHP/Utilities/HashType.php'
    156156    ),
    157157    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Network' => array(
    158         'version' => 'dev-main',
     158        'version' => 'dev-develop',
    159159        'path'    => $baseDir . '/CardanoPHP/Utilities/Network.php'
    160160    ),
    161161    'CardanoPress\\Dependencies\\CardanoPHP\\Verifier' => array(
    162         'version' => 'dev-main',
     162        'version' => 'dev-develop',
    163163        'path'    => $baseDir . '/CardanoPHP/Verifier.php'
    164164    ),
     
    13441344    ),
    13451345    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Handler' => array(
    1346         'version' => 'dev-main',
     1346        'version' => 'dev-develop',
    13471347        'path'    => $baseDir . '/ThemePlate/Resource/Handler.php'
    13481348    ),
    13491349    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Helper' => array(
    1350         'version' => 'dev-main',
     1350        'version' => 'dev-develop',
    13511351        'path'    => $baseDir . '/ThemePlate/Resource/Helper.php'
    13521352    ),
    13531353    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Item' => array(
    1354         'version' => 'dev-main',
     1354        'version' => 'dev-develop',
    13551355        'path'    => $baseDir . '/ThemePlate/Resource/Item.php'
    13561356    ),
     
    13641364    ),
    13651365    'CardanoPress\\Dependencies\\ThemePlate\\Vite' => array(
    1366         'version' => 'dev-main',
     1366        'version' => 'dev-develop',
    13671367        'path'    => $baseDir . '/ThemePlate/Vite.php'
    13681368    ),
     
    14841484    ),
    14851485    'ComposerAutoloaderInitde7fb72f78c3e14dee982fd04a0f969a' => array(
    1486         'version' => 'dev-main',
     1486        'version' => 'dev-develop',
    14871487        'path'    => $vendorDir . '/composer/autoload_real.php'
    14881488    ),
    14891489    'Composer\\Autoload\\ClassLoader' => array(
    1490         'version' => 'dev-main',
     1490        'version' => 'dev-develop',
    14911491        'path'    => $vendorDir . '/composer/ClassLoader.php'
    14921492    ),
    14931493    'Composer\\Autoload\\ComposerStaticInitde7fb72f78c3e14dee982fd04a0f969a' => array(
    1494         'version' => 'dev-main',
     1494        'version' => 'dev-develop',
    14951495        'path'    => $vendorDir . '/composer/autoload_static.php'
    14961496    ),
    14971497    'Composer\\InstalledVersions' => array(
    1498         'version' => 'dev-main',
     1498        'version' => 'dev-develop',
    14991499        'path'    => $vendorDir . '/composer/InstalledVersions.php'
    15001500    ),
     
    15161516    ),
    15171517    'PBWebDev\\CardanoPress\\Actions\\AdminAction' => array(
    1518         'version' => 'dev-main',
     1518        'version' => 'dev-develop',
    15191519        'path'    => $baseDir . '/../src/Actions/AdminAction.php'
    15201520    ),
    15211521    'PBWebDev\\CardanoPress\\Actions\\CoreAction' => array(
    1522         'version' => 'dev-main',
     1522        'version' => 'dev-develop',
    15231523        'path'    => $baseDir . '/../src/Actions/CoreAction.php'
    15241524    ),
    15251525    'PBWebDev\\CardanoPress\\Actions\\Sanitization' => array(
    1526         'version' => 'dev-main',
     1526        'version' => 'dev-develop',
    15271527        'path'    => $baseDir . '/../src/Actions/Sanitization.php'
    15281528    ),
    15291529    'PBWebDev\\CardanoPress\\Actions\\WalletAction' => array(
    1530         'version' => 'dev-main',
     1530        'version' => 'dev-develop',
    15311531        'path'    => $baseDir . '/../src/Actions/WalletAction.php'
    15321532    ),
    15331533    'PBWebDev\\CardanoPress\\Admin' => array(
    1534         'version' => 'dev-main',
     1534        'version' => 'dev-develop',
    15351535        'path'    => $baseDir . '/../src/Admin.php'
    15361536    ),
    15371537    'PBWebDev\\CardanoPress\\Application' => array(
    1538         'version' => 'dev-main',
     1538        'version' => 'dev-develop',
    15391539        'path'    => $baseDir . '/../src/Application.php'
    15401540    ),
    15411541    'PBWebDev\\CardanoPress\\Blockfrost' => array(
    1542         'version' => 'dev-main',
     1542        'version' => 'dev-develop',
    15431543        'path'    => $baseDir . '/../src/Blockfrost.php'
    15441544    ),
    15451545    'PBWebDev\\CardanoPress\\Collection' => array(
    1546         'version' => 'dev-main',
     1546        'version' => 'dev-develop',
    15471547        'path'    => $baseDir . '/../src/Collection.php'
    15481548    ),
    15491549    'PBWebDev\\CardanoPress\\Compatibility' => array(
    1550         'version' => 'dev-main',
     1550        'version' => 'dev-develop',
    15511551        'path'    => $baseDir . '/../src/Compatibility.php'
    15521552    ),
    15531553    'PBWebDev\\CardanoPress\\Installer' => array(
    1554         'version' => 'dev-main',
     1554        'version' => 'dev-develop',
    15551555        'path'    => $baseDir . '/../src/Installer.php'
    15561556    ),
    15571557    'PBWebDev\\CardanoPress\\Manifest' => array(
    1558         'version' => 'dev-main',
     1558        'version' => 'dev-develop',
    15591559        'path'    => $baseDir . '/../src/Manifest.php'
    15601560    ),
    15611561    'PBWebDev\\CardanoPress\\Profile' => array(
    1562         'version' => 'dev-main',
     1562        'version' => 'dev-develop',
    15631563        'path'    => $baseDir . '/../src/Profile.php'
    15641564    ),
    15651565    'PBWebDev\\CardanoPress\\Shortcode' => array(
    1566         'version' => 'dev-main',
     1566        'version' => 'dev-develop',
    15671567        'path'    => $baseDir . '/../src/Shortcode.php'
    15681568    ),
    15691569    'PBWebDev\\CardanoPress\\Templates' => array(
    1570         'version' => 'dev-main',
     1570        'version' => 'dev-develop',
    15711571        'path'    => $baseDir . '/../src/Templates.php'
    15721572    ),
  • cardanopress/tags/1.23.0/readme.txt

    r3164589 r3206673  
    44Tags: cardano, blockchain, web3, ada, token-gating
    55Requires at least: 5.9
    6 Tested up to: 6.6.99
    7 Stable tag: 1.22.0
     6Tested up to: 6.7.99
     7Stable tag: 1.23.0
    88Requires PHP: 7.4
    99License: GPLv3
     
    137137You can follow our [GitHub release](https://github.com/CardanoPress/cardanopress/releases) for full details on updates to the plugins.
    138138
     139= 1.23.0 =
     140- Handle wallets with more data during message signing
     141- Rebuild assets to fully bypass the local server for WASM
     142
    139143= 1.22.0 =
    140144- Fix data/message for certain wallets
  • cardanopress/tags/1.23.0/src/Actions/Sanitization.php

    r3159600 r3206673  
    155155        }
    156156
    157         return join('|', $value);
     157        return join('|', [$value['signature'], $value['key']]);
    158158    }
    159159}
  • cardanopress/tags/1.23.0/src/Manifest.php

    r3131933 r3206673  
    1515{
    1616    private bool $legacy_loaded;
    17     private array $wasm_module;
    1817    private Vite $vite;
    1918
     
    2322    {
    2423        $this->legacy_loaded = ! (isset($this->data) && $this->data instanceof CustomData);
    25         $this->wasm_module = $this->getWasmModuleLinks();
    2624        $this->vite = new Vite(plugin_dir_path($this->path), plugin_dir_url($this->path));
    27     }
    28 
    29     private function getWasmModuleLinks(): array
    30     {
    31         $manifest = $this->path . '.vite/manifest.json';
    32         $assets = array_column($this->readAssetsManifest($manifest), 'file');
    33         $wasm = array_filter($assets, function ($item) {
    34             return str_ends_with($item, '.wasm') && str_starts_with($item, 'cardano_serialization_lib_bg');
    35         });
    36 
    37         if (empty($wasm)) {
    38             return [];
    39         }
    40 
    41         return [
    42             'local' => plugin_dir_url($this->path . '/wasm') . array_pop($wasm),
    43             'remote' => 'https://unpkg.com/@emurgo/cardano-serialization-lib-browser@9.1.4/cardano_serialization_lib_bg.wasm'
    44         ];
    4525    }
    4626
     
    5131        add_action('wp_body_open', [$this, 'completeInjections']);
    5232        add_action('wp_footer', [$this, 'completeInjections']);
    53 
    54         if (empty($this->wasm_module)) {
    55             return;
    56         }
    57 
    58         add_action('plugins_loaded', function () {
    59             if ($_SERVER['REQUEST_URI'] === wp_make_link_relative($this->wasm_module['local'])) {
    60                 wp_redirect($this->wasm_module['remote']);
    61                 die;
    62             }
    63         });
    6433    }
    6534
  • cardanopress/trunk/assets/dist/.vite/manifest.json

    r3164589 r3206673  
    11{
    2   "_actions-BibYINJW.js": {
    3     "file": "actions-BibYINJW.js",
     2  "_actions-AvagY9U-.js": {
     3    "file": "actions-AvagY9U-.js",
    44    "name": "actions",
    55    "imports": [
    6       "_util-WIVeI6f2.js"
     6      "_util-BRbWzvM7.js"
    77    ]
    88  },
     
    1212    "isDynamicEntry": true
    1313  },
    14   "_util-WIVeI6f2.js": {
    15     "file": "util-WIVeI6f2.js",
     14  "_util-BRbWzvM7.js": {
     15    "file": "util-BRbWzvM7.js",
    1616    "name": "util",
    1717    "dynamicImports": [
     
    2222  },
    2323  "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib.js": {
    24     "file": "cardano_serialization_lib-DZgxyT4u.js",
     24    "file": "cardano_serialization_lib-Cz45fKuP.js",
    2525    "name": "cardano_serialization_lib",
    2626    "src": "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib.js",
     
    3030    ]
    3131  },
    32   "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm": {
    33     "file": "cardano_serialization_lib_bg-BIH9BbI5.wasm",
    34     "src": "node_modules/.pnpm/@emurgo+cardano-serialization-lib-browser@9.1.4/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm"
    35   },
    3632  "node_modules/.pnpm/@pbwebdev+cardano-wallet-browser-extensions-interface@1.4.0/node_modules/@pbwebdev/cardano-wallet-browser-extensions-interface/dist/lib/coinSelection.js": {
    37     "file": "coinSelection-BK9MdsDt.js",
     33    "file": "coinSelection-ZTPJQMGb.js",
    3834    "name": "coinSelection",
    3935    "src": "node_modules/.pnpm/@pbwebdev+cardano-wallet-browser-extensions-interface@1.4.0/node_modules/@pbwebdev/cardano-wallet-browser-extensions-interface/dist/lib/coinSelection.js",
     
    4440  },
    4541  "src/delegation.js": {
    46     "file": "delegation-Dq7eiB_A.js",
     42    "file": "delegation-Ct0ysDTp.js",
    4743    "name": "delegation",
    4844    "src": "src/delegation.js",
    4945    "isEntry": true,
    5046    "imports": [
    51       "_actions-BibYINJW.js",
    52       "_util-WIVeI6f2.js"
     47      "_actions-AvagY9U-.js",
     48      "_util-BRbWzvM7.js"
    5349    ]
    5450  },
     
    5955  },
    6056  "src/main.js": {
    61     "file": "script-PtNlOw8P.js",
     57    "file": "script-DcT8T8DQ.js",
    6258    "name": "script",
    6359    "src": "src/main.js",
    6460    "isEntry": true,
    6561    "imports": [
    66       "_actions-BibYINJW.js",
    67       "_util-WIVeI6f2.js"
     62      "_actions-AvagY9U-.js",
     63      "_util-BRbWzvM7.js"
    6864    ]
    6965  },
    7066  "src/notification.js": {
    71     "file": "notification-BHrRxRLx.js",
     67    "file": "notification-CW9iilvo.js",
    7268    "name": "notification",
    7369    "src": "src/notification.js",
    7470    "isEntry": true,
    7571    "imports": [
    76       "_util-WIVeI6f2.js"
     72      "_util-BRbWzvM7.js"
    7773    ]
    7874  },
    7975  "src/payment.js": {
    80     "file": "payment-Cslb_ZlF.js",
     76    "file": "payment-DwigUgf9.js",
    8177    "name": "payment",
    8278    "src": "src/payment.js",
    8379    "isEntry": true,
    8480    "imports": [
    85       "_util-WIVeI6f2.js",
    86       "_actions-BibYINJW.js"
     81      "_util-BRbWzvM7.js",
     82      "_actions-AvagY9U-.js"
    8783    ]
    8884  },
    8985  "src/split.js": {
    90     "file": "split-CgnlZAx9.js",
     86    "file": "split-Com6l462.js",
    9187    "name": "split",
    9288    "src": "src/split.js",
    9389    "isEntry": true,
    9490    "imports": [
    95       "_actions-BibYINJW.js",
    96       "_util-WIVeI6f2.js"
     91      "_actions-AvagY9U-.js",
     92      "_util-BRbWzvM7.js"
    9793    ]
    9894  }
  • cardanopress/trunk/assets/package.json

    r3164589 r3206673  
    1313    "tailwindcss": "^3.4.10",
    1414    "vite": "^5.4.2",
     15    "vite-plugin-offload-wasm": "^0.2.0",
    1516    "vite-plugin-themeplate": "^1.6.0",
    1617    "vite-plugin-top-level-await": "^1.4.4",
  • cardanopress/trunk/assets/pnpm-lock.yaml

    r3164589 r3206673  
    2828        specifier: ^5.4.2
    2929        version: 5.4.2(@types/node@20.14.2)(terser@5.31.1)
     30      vite-plugin-offload-wasm:
     31        specifier: ^0.2.0
     32        version: 0.2.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1))
    3033      vite-plugin-themeplate:
    3134        specifier: ^1.6.0
     
    861864    resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
    862865    hasBin: true
     866
     867  vite-plugin-offload-wasm@0.2.0:
     868    resolution: {integrity: sha512-86V5NRyWC3Qod3nNLFhn3FEKhGxo36NTJS467/fF4pcCWT0j1G0eTTOQsHgLuSBsAWZpfFuosbcNNtGjgUrpJQ==}
     869    peerDependencies:
     870      vite: ^5.2.12
    863871
    864872  vite-plugin-themeplate@1.6.0:
     
    16481656  uuid@10.0.0: {}
    16491657
     1658  vite-plugin-offload-wasm@0.2.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1)):
     1659    dependencies:
     1660      vite: 5.4.2(@types/node@20.14.2)(terser@5.31.1)
     1661
    16501662  vite-plugin-themeplate@1.6.0(vite@5.4.2(@types/node@20.14.2)(terser@5.31.1)):
    16511663    dependencies:
  • cardanopress/trunk/assets/vite.config.ts

    r3102653 r3206673  
    11import { defineConfig } from 'vite'
     2import offloadWasm from 'vite-plugin-offload-wasm'
    23import themeplate from 'vite-plugin-themeplate'
    34import topLevelAwait from 'vite-plugin-top-level-await'
     
    2526        },
    2627    },
    27     plugins: [themeplate(), wasm(), topLevelAwait()],
     28    plugins: [
     29        themeplate(),
     30        wasm(),
     31        topLevelAwait(),
     32        offloadWasm({
     33            'cardano_serialization_lib_bg.wasm':
     34                '//unpkg.com/@emurgo/cardano-serialization-lib-browser@9.1.4/cardano_serialization_lib_bg.wasm',
     35        }),
     36    ],
    2837})
  • cardanopress/trunk/cardanopress.php

    r3164589 r3206673  
    77 * Author URI:  https://cardanopress.io
    88 * Description: Core plugin for the suite of CardanoPress plugins
    9  * Version:     1.22.0
     9 * Version:     1.23.0
    1010 * License:     GPL-2.0-only
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • cardanopress/trunk/dependencies/CardanoPHP/Verifier.php

    r3159600 r3206673  
    6666        }
    6767
    68         if (84 !== strlen($this->key)) {
     68        if (84 > strlen($this->key)) {
    6969            return false;
    7070        }
     
    203203    protected function handledHeader($value): bool
    204204    {
    205         if (! is_array($value) || 2 !== count($value)) {
     205        if (! is_array($value) || 2 > count($value)) {
    206206            return false;
    207207        }
     
    224224    protected function validKeyPair($data): bool
    225225    {
    226         if (! is_array($data) || 4 !== count($data)) {
     226        if (! is_array($data) || 4 > count($data)) {
    227227            return false;
    228228        }
  • cardanopress/trunk/dependencies/vendor/composer/installed.json

    r3164589 r3206673  
    176176        {
    177177            "name": "kermage/cardanophp",
    178             "version": "v0.2.0",
    179             "version_normalized": "0.2.0.0",
     178            "version": "v0.3.0",
     179            "version_normalized": "0.3.0.0",
    180180            "source": {
    181181                "type": "git",
    182182                "url": "https://github.com/kermage/CardanoPHP.git",
    183                 "reference": "f20e5ad843861a521af63e3c8412c2baab84203f"
    184             },
    185             "dist": {
    186                 "type": "zip",
    187                 "url": "https://api.github.com/repos/kermage/CardanoPHP/zipball/f20e5ad843861a521af63e3c8412c2baab84203f",
    188                 "reference": "f20e5ad843861a521af63e3c8412c2baab84203f",
     183                "reference": "2cea0e1a11f11bc8ac677951757eee52fe82f0ba"
     184            },
     185            "dist": {
     186                "type": "zip",
     187                "url": "https://api.github.com/repos/kermage/CardanoPHP/zipball/2cea0e1a11f11bc8ac677951757eee52fe82f0ba",
     188                "reference": "2cea0e1a11f11bc8ac677951757eee52fe82f0ba",
    189189                "shasum": ""
    190190            },
     
    197197                "themeplate/tester": "^2.2"
    198198            },
    199             "time": "2024-09-16T15:29:09+00:00",
     199            "time": "2024-12-04T00:06:04+00:00",
    200200            "type": "library",
    201201            "installation-source": "dist",
     
    217217            "support": {
    218218                "issues": "https://github.com/kermage/CardanoPHP/issues",
    219                 "source": "https://github.com/kermage/CardanoPHP/tree/v0.2.0"
     219                "source": "https://github.com/kermage/CardanoPHP/tree/v0.3.0"
    220220            },
    221221            "install-path": "../kermage/cardanophp"
  • cardanopress/trunk/dependencies/vendor/composer/installed.php

    r3164589 r3206673  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => 'dev-main',
    5         'version' => 'dev-main',
    6         'reference' => 'e38a13b6114d5a268e4e55fbeb7cd30ae014b05d',
     4        'pretty_version' => 'dev-develop',
     5        'version' => 'dev-develop',
     6        'reference' => '24a8c39ce45f085f21f33d5c2ed0c6ed07b8ea7a',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        '__root__' => array(
    23             'pretty_version' => 'dev-main',
    24             'version' => 'dev-main',
    25             'reference' => 'e38a13b6114d5a268e4e55fbeb7cd30ae014b05d',
     23            'pretty_version' => 'dev-develop',
     24            'version' => 'dev-develop',
     25            'reference' => '24a8c39ce45f085f21f33d5c2ed0c6ed07b8ea7a',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../../',
     
    4848        ),
    4949        'kermage/cardanophp' => array(
    50             'pretty_version' => 'v0.2.0',
    51             'version' => '0.2.0.0',
    52             'reference' => 'f20e5ad843861a521af63e3c8412c2baab84203f',
     50            'pretty_version' => 'v0.3.0',
     51            'version' => '0.3.0.0',
     52            'reference' => '2cea0e1a11f11bc8ac677951757eee52fe82f0ba',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../kermage/cardanophp',
  • cardanopress/trunk/dependencies/vendor/composer/jetpack_autoload_classmap.php

    r3164589 r3206673  
    4040    ),
    4141    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader' => array(
    42         'version' => 'dev-main',
     42        'version' => 'dev-develop',
    4343        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader.php'
    4444    ),
    4545    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader_Handler' => array(
    46         'version' => 'dev-main',
     46        'version' => 'dev-develop',
    4747        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader-handler.php'
    4848    ),
    4949    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Autoloader_Locator' => array(
    50         'version' => 'dev-main',
     50        'version' => 'dev-develop',
    5151        'path'    => $vendorDir . '/jetpack-autoloader/class-autoloader-locator.php'
    5252    ),
    5353    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Container' => array(
    54         'version' => 'dev-main',
     54        'version' => 'dev-develop',
    5555        'path'    => $vendorDir . '/jetpack-autoloader/class-container.php'
    5656    ),
    5757    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Hook_Manager' => array(
    58         'version' => 'dev-main',
     58        'version' => 'dev-develop',
    5959        'path'    => $vendorDir . '/jetpack-autoloader/class-hook-manager.php'
    6060    ),
    6161    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Latest_Autoloader_Guard' => array(
    62         'version' => 'dev-main',
     62        'version' => 'dev-develop',
    6363        'path'    => $vendorDir . '/jetpack-autoloader/class-latest-autoloader-guard.php'
    6464    ),
    6565    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Manifest_Reader' => array(
    66         'version' => 'dev-main',
     66        'version' => 'dev-develop',
    6767        'path'    => $vendorDir . '/jetpack-autoloader/class-manifest-reader.php'
    6868    ),
    6969    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\PHP_Autoloader' => array(
    70         'version' => 'dev-main',
     70        'version' => 'dev-develop',
    7171        'path'    => $vendorDir . '/jetpack-autoloader/class-php-autoloader.php'
    7272    ),
    7373    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Path_Processor' => array(
    74         'version' => 'dev-main',
     74        'version' => 'dev-develop',
    7575        'path'    => $vendorDir . '/jetpack-autoloader/class-path-processor.php'
    7676    ),
    7777    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Plugin_Locator' => array(
    78         'version' => 'dev-main',
     78        'version' => 'dev-develop',
    7979        'path'    => $vendorDir . '/jetpack-autoloader/class-plugin-locator.php'
    8080    ),
    8181    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Plugins_Handler' => array(
    82         'version' => 'dev-main',
     82        'version' => 'dev-develop',
    8383        'path'    => $vendorDir . '/jetpack-autoloader/class-plugins-handler.php'
    8484    ),
    8585    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Shutdown_Handler' => array(
    86         'version' => 'dev-main',
     86        'version' => 'dev-develop',
    8787        'path'    => $vendorDir . '/jetpack-autoloader/class-shutdown-handler.php'
    8888    ),
    8989    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Version_Loader' => array(
    90         'version' => 'dev-main',
     90        'version' => 'dev-develop',
    9191        'path'    => $vendorDir . '/jetpack-autoloader/class-version-loader.php'
    9292    ),
    9393    'Automattic\\Jetpack\\Autoloader\\jpde7fb72f78c3e14dee982fd04a0f969a\\al2_12_0\\Version_Selector' => array(
    94         'version' => 'dev-main',
     94        'version' => 'dev-develop',
    9595        'path'    => $vendorDir . '/jetpack-autoloader/class-version-selector.php'
    9696    ),
     
    100100    ),
    101101    'CardanoPress\\Dependencies\\CBOR\\CBOREncoder' => array(
    102         'version' => 'dev-main',
     102        'version' => 'dev-develop',
    103103        'path'    => $baseDir . '/CBOR/CBOREncoder.php'
    104104    ),
    105105    'CardanoPress\\Dependencies\\CBOR\\CBORIncorrectAdditionalInfoException' => array(
    106         'version' => 'dev-main',
     106        'version' => 'dev-develop',
    107107        'path'    => $baseDir . '/CBOR/CBORIncorrectAdditionalInfoException.php'
    108108    ),
    109109    'CardanoPress\\Dependencies\\CBOR\\Types\\CBORByteString' => array(
    110         'version' => 'dev-main',
     110        'version' => 'dev-develop',
    111111        'path'    => $baseDir . '/CBOR/Types/CBORByteString.php'
    112112    ),
    113113    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\AbstractAddress' => array(
    114         'version' => 'dev-main',
     114        'version' => 'dev-develop',
    115115        'path'    => $baseDir . '/CardanoPHP/Addresses/AbstractAddress.php'
    116116    ),
    117117    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\EnterpriseAddress' => array(
    118         'version' => 'dev-main',
     118        'version' => 'dev-develop',
    119119        'path'    => $baseDir . '/CardanoPHP/Addresses/EnterpriseAddress.php'
    120120    ),
    121121    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\RewardAddress' => array(
    122         'version' => 'dev-main',
     122        'version' => 'dev-develop',
    123123        'path'    => $baseDir . '/CardanoPHP/Addresses/RewardAddress.php'
    124124    ),
    125125    'CardanoPress\\Dependencies\\CardanoPHP\\Addresses\\ShelleyAddress' => array(
    126         'version' => 'dev-main',
     126        'version' => 'dev-develop',
    127127        'path'    => $baseDir . '/CardanoPHP/Addresses/ShelleyAddress.php'
    128128    ),
    129129    'CardanoPress\\Dependencies\\CardanoPHP\\HashType\\Address' => array(
    130         'version' => 'dev-main',
     130        'version' => 'dev-develop',
    131131        'path'    => $baseDir . '/CardanoPHP/HashType/Address.php'
    132132    ),
    133133    'CardanoPress\\Dependencies\\CardanoPHP\\HashType\\Script' => array(
    134         'version' => 'dev-main',
     134        'version' => 'dev-develop',
    135135        'path'    => $baseDir . '/CardanoPHP/HashType/Script.php'
    136136    ),
    137137    'CardanoPress\\Dependencies\\CardanoPHP\\Network\\Mainnet' => array(
    138         'version' => 'dev-main',
     138        'version' => 'dev-develop',
    139139        'path'    => $baseDir . '/CardanoPHP/Network/Mainnet.php'
    140140    ),
    141141    'CardanoPress\\Dependencies\\CardanoPHP\\Network\\Testnet' => array(
    142         'version' => 'dev-main',
     142        'version' => 'dev-develop',
    143143        'path'    => $baseDir . '/CardanoPHP/Network/Testnet.php'
    144144    ),
    145145    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Bech32' => array(
    146         'version' => 'dev-main',
     146        'version' => 'dev-develop',
    147147        'path'    => $baseDir . '/CardanoPHP/Utilities/Bech32.php'
    148148    ),
    149149    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Credential' => array(
    150         'version' => 'dev-main',
     150        'version' => 'dev-develop',
    151151        'path'    => $baseDir . '/CardanoPHP/Utilities/Credential.php'
    152152    ),
    153153    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\HashType' => array(
    154         'version' => 'dev-main',
     154        'version' => 'dev-develop',
    155155        'path'    => $baseDir . '/CardanoPHP/Utilities/HashType.php'
    156156    ),
    157157    'CardanoPress\\Dependencies\\CardanoPHP\\Utilities\\Network' => array(
    158         'version' => 'dev-main',
     158        'version' => 'dev-develop',
    159159        'path'    => $baseDir . '/CardanoPHP/Utilities/Network.php'
    160160    ),
    161161    'CardanoPress\\Dependencies\\CardanoPHP\\Verifier' => array(
    162         'version' => 'dev-main',
     162        'version' => 'dev-develop',
    163163        'path'    => $baseDir . '/CardanoPHP/Verifier.php'
    164164    ),
     
    13441344    ),
    13451345    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Handler' => array(
    1346         'version' => 'dev-main',
     1346        'version' => 'dev-develop',
    13471347        'path'    => $baseDir . '/ThemePlate/Resource/Handler.php'
    13481348    ),
    13491349    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Helper' => array(
    1350         'version' => 'dev-main',
     1350        'version' => 'dev-develop',
    13511351        'path'    => $baseDir . '/ThemePlate/Resource/Helper.php'
    13521352    ),
    13531353    'CardanoPress\\Dependencies\\ThemePlate\\Resource\\Item' => array(
    1354         'version' => 'dev-main',
     1354        'version' => 'dev-develop',
    13551355        'path'    => $baseDir . '/ThemePlate/Resource/Item.php'
    13561356    ),
     
    13641364    ),
    13651365    'CardanoPress\\Dependencies\\ThemePlate\\Vite' => array(
    1366         'version' => 'dev-main',
     1366        'version' => 'dev-develop',
    13671367        'path'    => $baseDir . '/ThemePlate/Vite.php'
    13681368    ),
     
    14841484    ),
    14851485    'ComposerAutoloaderInitde7fb72f78c3e14dee982fd04a0f969a' => array(
    1486         'version' => 'dev-main',
     1486        'version' => 'dev-develop',
    14871487        'path'    => $vendorDir . '/composer/autoload_real.php'
    14881488    ),
    14891489    'Composer\\Autoload\\ClassLoader' => array(
    1490         'version' => 'dev-main',
     1490        'version' => 'dev-develop',
    14911491        'path'    => $vendorDir . '/composer/ClassLoader.php'
    14921492    ),
    14931493    'Composer\\Autoload\\ComposerStaticInitde7fb72f78c3e14dee982fd04a0f969a' => array(
    1494         'version' => 'dev-main',
     1494        'version' => 'dev-develop',
    14951495        'path'    => $vendorDir . '/composer/autoload_static.php'
    14961496    ),
    14971497    'Composer\\InstalledVersions' => array(
    1498         'version' => 'dev-main',
     1498        'version' => 'dev-develop',
    14991499        'path'    => $vendorDir . '/composer/InstalledVersions.php'
    15001500    ),
     
    15161516    ),
    15171517    'PBWebDev\\CardanoPress\\Actions\\AdminAction' => array(
    1518         'version' => 'dev-main',
     1518        'version' => 'dev-develop',
    15191519        'path'    => $baseDir . '/../src/Actions/AdminAction.php'
    15201520    ),
    15211521    'PBWebDev\\CardanoPress\\Actions\\CoreAction' => array(
    1522         'version' => 'dev-main',
     1522        'version' => 'dev-develop',
    15231523        'path'    => $baseDir . '/../src/Actions/CoreAction.php'
    15241524    ),
    15251525    'PBWebDev\\CardanoPress\\Actions\\Sanitization' => array(
    1526         'version' => 'dev-main',
     1526        'version' => 'dev-develop',
    15271527        'path'    => $baseDir . '/../src/Actions/Sanitization.php'
    15281528    ),
    15291529    'PBWebDev\\CardanoPress\\Actions\\WalletAction' => array(
    1530         'version' => 'dev-main',
     1530        'version' => 'dev-develop',
    15311531        'path'    => $baseDir . '/../src/Actions/WalletAction.php'
    15321532    ),
    15331533    'PBWebDev\\CardanoPress\\Admin' => array(
    1534         'version' => 'dev-main',
     1534        'version' => 'dev-develop',
    15351535        'path'    => $baseDir . '/../src/Admin.php'
    15361536    ),
    15371537    'PBWebDev\\CardanoPress\\Application' => array(
    1538         'version' => 'dev-main',
     1538        'version' => 'dev-develop',
    15391539        'path'    => $baseDir . '/../src/Application.php'
    15401540    ),
    15411541    'PBWebDev\\CardanoPress\\Blockfrost' => array(
    1542         'version' => 'dev-main',
     1542        'version' => 'dev-develop',
    15431543        'path'    => $baseDir . '/../src/Blockfrost.php'
    15441544    ),
    15451545    'PBWebDev\\CardanoPress\\Collection' => array(
    1546         'version' => 'dev-main',
     1546        'version' => 'dev-develop',
    15471547        'path'    => $baseDir . '/../src/Collection.php'
    15481548    ),
    15491549    'PBWebDev\\CardanoPress\\Compatibility' => array(
    1550         'version' => 'dev-main',
     1550        'version' => 'dev-develop',
    15511551        'path'    => $baseDir . '/../src/Compatibility.php'
    15521552    ),
    15531553    'PBWebDev\\CardanoPress\\Installer' => array(
    1554         'version' => 'dev-main',
     1554        'version' => 'dev-develop',
    15551555        'path'    => $baseDir . '/../src/Installer.php'
    15561556    ),
    15571557    'PBWebDev\\CardanoPress\\Manifest' => array(
    1558         'version' => 'dev-main',
     1558        'version' => 'dev-develop',
    15591559        'path'    => $baseDir . '/../src/Manifest.php'
    15601560    ),
    15611561    'PBWebDev\\CardanoPress\\Profile' => array(
    1562         'version' => 'dev-main',
     1562        'version' => 'dev-develop',
    15631563        'path'    => $baseDir . '/../src/Profile.php'
    15641564    ),
    15651565    'PBWebDev\\CardanoPress\\Shortcode' => array(
    1566         'version' => 'dev-main',
     1566        'version' => 'dev-develop',
    15671567        'path'    => $baseDir . '/../src/Shortcode.php'
    15681568    ),
    15691569    'PBWebDev\\CardanoPress\\Templates' => array(
    1570         'version' => 'dev-main',
     1570        'version' => 'dev-develop',
    15711571        'path'    => $baseDir . '/../src/Templates.php'
    15721572    ),
  • cardanopress/trunk/readme.txt

    r3164589 r3206673  
    44Tags: cardano, blockchain, web3, ada, token-gating
    55Requires at least: 5.9
    6 Tested up to: 6.6.99
    7 Stable tag: 1.22.0
     6Tested up to: 6.7.99
     7Stable tag: 1.23.0
    88Requires PHP: 7.4
    99License: GPLv3
     
    137137You can follow our [GitHub release](https://github.com/CardanoPress/cardanopress/releases) for full details on updates to the plugins.
    138138
     139= 1.23.0 =
     140- Handle wallets with more data during message signing
     141- Rebuild assets to fully bypass the local server for WASM
     142
    139143= 1.22.0 =
    140144- Fix data/message for certain wallets
  • cardanopress/trunk/src/Actions/Sanitization.php

    r3159600 r3206673  
    155155        }
    156156
    157         return join('|', $value);
     157        return join('|', [$value['signature'], $value['key']]);
    158158    }
    159159}
  • cardanopress/trunk/src/Manifest.php

    r3131933 r3206673  
    1515{
    1616    private bool $legacy_loaded;
    17     private array $wasm_module;
    1817    private Vite $vite;
    1918
     
    2322    {
    2423        $this->legacy_loaded = ! (isset($this->data) && $this->data instanceof CustomData);
    25         $this->wasm_module = $this->getWasmModuleLinks();
    2624        $this->vite = new Vite(plugin_dir_path($this->path), plugin_dir_url($this->path));
    27     }
    28 
    29     private function getWasmModuleLinks(): array
    30     {
    31         $manifest = $this->path . '.vite/manifest.json';
    32         $assets = array_column($this->readAssetsManifest($manifest), 'file');
    33         $wasm = array_filter($assets, function ($item) {
    34             return str_ends_with($item, '.wasm') && str_starts_with($item, 'cardano_serialization_lib_bg');
    35         });
    36 
    37         if (empty($wasm)) {
    38             return [];
    39         }
    40 
    41         return [
    42             'local' => plugin_dir_url($this->path . '/wasm') . array_pop($wasm),
    43             'remote' => 'https://unpkg.com/@emurgo/cardano-serialization-lib-browser@9.1.4/cardano_serialization_lib_bg.wasm'
    44         ];
    4525    }
    4626
     
    5131        add_action('wp_body_open', [$this, 'completeInjections']);
    5232        add_action('wp_footer', [$this, 'completeInjections']);
    53 
    54         if (empty($this->wasm_module)) {
    55             return;
    56         }
    57 
    58         add_action('plugins_loaded', function () {
    59             if ($_SERVER['REQUEST_URI'] === wp_make_link_relative($this->wasm_module['local'])) {
    60                 wp_redirect($this->wasm_module['remote']);
    61                 die;
    62             }
    63         });
    6433    }
    6534
Note: See TracChangeset for help on using the changeset viewer.