@paynext/sdk 0.0.37 → 0.0.38

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,6 +13,8 @@ npm install @paynext/sdk
13
13
  ```typescript
14
14
  import { PayNextCheckout, type PaymentResult } from '@paynext/sdk'
15
15
 
16
+ import '@paynext/sdk/styles'
17
+
16
18
  const checkout = new PayNextCheckout(document.getElementById('checkout-form'))
17
19
 
18
20
  await checkout.mount({
@@ -32,6 +34,8 @@ await checkout.mount({
32
34
  import { useEffect, useRef } from 'react'
33
35
  import { PayNextCheckout, type PaymentResult } from '@paynext/sdk'
34
36
 
37
+ import '@paynext/sdk/styles'
38
+
35
39
  // interface
36
40
  interface IProps {
37
41
  clientToken: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paynext/sdk",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",