Skip to content

Commit 8caa327

Browse files
author
Mario Pando
committed
update dependences
1 parent f40567e commit 8caa327

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"cryptomkt/cryptomkt-guzzle-php": "dev-master"
16+
"cryptomkt/cryptomkt-curl-php": "dev-master"
1717
},
1818
"require-dev": {
1919
"wp-cli/wp-cli": "*",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "woocommerce-plugin",
44
"license": "MIT",
55
"description": "CryptoMarket Payment Gateway for WooCommerce",
6-
"version": "1.1.10",
6+
"version": "0.1.1",
77
"repository": {
88
"type": "git",
99
"url": "git://github.com/cryptomkt/woocommerce-plugin.git"

src/class-wc-gateway-criptomarket.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Description: Accept multiple cryptocurrencies and turn into local currency as EUR, CLP, BRL and ARS on your WooCommerce store..
66
Author: CryptoMarket Dev Team
77
Text Domain: CryptoMarket
8-
Author URI: https://www.cryptomkt.com
8+
Author URI: https://github.com/cryptomkt
99
10-
Version: 0.1
10+
Version: 0.1.1
1111
License: Copyright 2016-2018 Cryptomarket SPA., MIT License
1212
License URI: https://github.com/cryptomkt/woocommerce-plugin/blob/master/LICENSE
1313
GitHub Plugin URI: https://github.com/cryptomkt/woocommerce-plugin
@@ -20,8 +20,8 @@
2020

2121
//composer autoload
2222
$loader = require __DIR__ . '/lib/autoload.php';
23-
$loader->add('Cryptomkt\\Exchange\\Client', __DIR__);
24-
$loader->add('Cryptomkt\\Exchange\\Configuration as CMConfiguration', __DIR__);
23+
$loader->add('Cryptomkt\\Client', __DIR__);
24+
$loader->add('Cryptomkt\\Configuration', __DIR__);
2525

2626
// Ensures WooCommerce is loaded before initializing the cryptomarket plugin
2727
add_action('plugins_loaded', 'woocommerce_cryptomarket_init', 0);
@@ -104,11 +104,11 @@ public function is_valid_for_use() {
104104
}
105105

106106
// Setup the cryptomarket client
107-
$configuration = Cryptomkt\Exchange\Configuration::apiKey(
107+
$configuration = Cryptomkt\Configuration::apiKey(
108108
$this->get_option('api_key'),
109109
$this->get_option('api_secret')
110110
);
111-
$this->client = Cryptomkt\Exchange\Client::create($configuration);
111+
$this->client = Cryptomkt\Client::create($configuration);
112112

113113
// Ensure the currency is supported by cryptomarket
114114
$currency = get_woocommerce_currency();

0 commit comments

Comments
 (0)