Skip to content

Commit 925ffde

Browse files
authoredJan 3, 2025··
Merge pull request #352 from bobbrodie/9.1.x
SP-1130 Upgrade PHP Key Utils to 2.0.5
·
9.2.29.1.4
2 parents a10c574 + 5e1943f commit 925ffde

File tree

8 files changed

+83
-62
lines changed

8 files changed

+83
-62
lines changed
 

‎composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"php": "^8.1 || ^8.2 || ^8.3",
1616
"ext-json": "*",
1717
"ext-reflection": "*",
18-
"bitpay/key-utils": "^1.1",
18+
"bitpay/key-utils": "^2.0",
1919
"guzzlehttp/guzzle": "^7.0",
2020
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
2121
"netresearch/jsonmapper": "^4.1",

‎composer.lock

Lines changed: 57 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/classes/BitPaySDK-Env.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ <h4 id="toc-constants">
216216
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
217217
<a class="" href="classes/BitPaySDK-Env.html#constant_BITPAY_PLUGIN_INFO">BITPAY_PLUGIN_INFO</a>
218218
<span>
219-
&nbsp;= &quot;BitPay_PHP_Client_v9.1.3&quot; </span>
219+
&nbsp;= &quot;BitPay_PHP_Client_v9.1.4&quot; </span>
220220
</dt>
221221

222222
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
@@ -371,7 +371,7 @@ <h4 class="phpdocumentor-element__name" id="constant_BITPAY_PLUGIN_INFO">
371371
<span class="phpdocumentor-signature__visibility">public</span>
372372
<span class="phpdocumentor-signature__type">mixed</span>
373373
<span class="phpdocumentor-signature__name">BITPAY_PLUGIN_INFO</span>
374-
= <span class="phpdocumentor-signature__default-value">&quot;BitPay_PHP_Client_v9.1.3&quot;</span>
374+
= <span class="phpdocumentor-signature__default-value">&quot;BitPay_PHP_Client_v9.1.4&quot;</span>
375375
</code>
376376

377377

‎docs/css/template.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,3 +273,6 @@
273273
.phpdocumentor-tag-link {
274274
margin-right: var(--spacing-sm);
275275
}
276+
.phpdocumentor-uml-diagram svg {
277+
cursor: zoom-in;
278+
}

‎docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>BitPay PHP SDK</title>
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
8+
<base href="./">
99
<link rel="icon" href="images/favicon.ico"/>
1010
<link rel="stylesheet" href="css/normalize.css">
1111
<link rel="stylesheet" href="css/base.css">

‎docs/js/template.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,20 @@
1515
observer.observe(el);
1616
})
1717
})();
18+
function openSvg(svg) {
19+
// convert to a valid XML source
20+
const as_text = new XMLSerializer().serializeToString(svg);
21+
// store in a Blob
22+
const blob = new Blob([as_text], { type: "image/svg+xml" });
23+
// create an URI pointing to that blob
24+
const url = URL.createObjectURL(blob);
25+
const win = open(url);
26+
// so the Garbage Collector can collect the blob
27+
win.onload = (evt) => URL.revokeObjectURL(url);
28+
};
29+
30+
31+
var svgs = document.querySelectorAll(".phpdocumentor-uml-diagram svg");
32+
for( var i=0,il = svgs.length; i< il; i ++ ) {
33+
svgs[i].onclick = (evt) => openSvg(evt.target);
34+
}

‎phpdoc.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<output>docs</output>
1111
</paths>
1212

13-
<version number="9.1.3">
13+
<version number="9.1.4">
1414
<api format="php">
1515
<source dsn=".">
1616
<path>src</path>

‎src/BitPaySDK/Env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface Env
1717
public const TEST_URL = "https://test.bitpay.com/";
1818
public const PROD_URL = "https://bitpay.com/";
1919
public const BITPAY_API_VERSION = "2.0.0";
20-
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.1.3";
20+
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.1.4";
2121
public const BITPAY_API_FRAME = "std";
2222
public const BITPAY_API_FRAME_VERSION = "1.0.0";
2323
}

0 commit comments

Comments
 (0)
Please sign in to comment.