@caspay/sdk 1.1.2 → 1.1.4
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.
- package/README.md +2 -2
- package/dist/caspay.min.js +2 -2
- package/dist/index.esm.js +17 -2
- package/dist/index.js +17 -2
- package/dist/resources/wallet.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ yarn add @caspay/sdk
|
|
|
28
28
|
### CDN (PHP, HTML)
|
|
29
29
|
|
|
30
30
|
```html
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@caspay/sdk@1.1.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@caspay/sdk@1.1.4/dist/caspay.min.js"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
> **Note**: Users only need to install **Casper Wallet browser extension**. No additional dependencies required.
|
|
@@ -67,7 +67,7 @@ const subResult = await caspay.payments.makePayment({
|
|
|
67
67
|
#### PHP / Vanilla JS
|
|
68
68
|
|
|
69
69
|
```html
|
|
70
|
-
<script src="https://cdn.jsdelivr.net/npm/@caspay/sdk@1.1.
|
|
70
|
+
<script src="https://cdn.jsdelivr.net/npm/@caspay/sdk@1.1.4/dist/caspay.min.js"></script>
|
|
71
71
|
|
|
72
72
|
<button id="payBtn">Pay 10 CSPR</button>
|
|
73
73
|
|