@commercetools/connect-payments-sdk 0.3.0 → 0.4.0
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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/dist/commercetools/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @commercetools/connect-payments-sdk
|
|
1
|
+
# @commercetools/connect-payments-sdk [**Early Access**]
|
|
2
2
|
|
|
3
3
|
This is the SDK for integrating payments with commercetools platform using TypeScript.
|
|
4
4
|
|
|
@@ -16,4 +16,4 @@ First, import the SDK:
|
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
18
|
import { setupPaymentSDK } from '@commercetools/connect-payments-sdk';
|
|
19
|
-
```
|
|
19
|
+
```
|
|
@@ -2,3 +2,4 @@ export { CartService as CommercetoolsCartService } from './types/cart.type';
|
|
|
2
2
|
export { PaymentService as CommercetoolsPaymentService, TransactionData, UpdatePayment } from './types/payment.type';
|
|
3
3
|
export { SessionService as CommercetoolsSessionService, Session } from './types/session.type';
|
|
4
4
|
export { AuthorizationService as CommercetoolsAuthorizationService } from './types/authorization.type';
|
|
5
|
+
export { Cart, Payment, PaymentDraft, Money, LineItem, CustomLineItem, Address, Transaction, TransactionType, TransactionState, ShippingInfo, } from '@commercetools/platform-sdk';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools/connect-payments-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Payment SDK for commercetools payment connectors",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
],
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@commercetools/platform-sdk": "7.
|
|
19
|
-
"@commercetools/sdk-client-v2": "2.
|
|
18
|
+
"@commercetools/platform-sdk": "7.5.0",
|
|
19
|
+
"@commercetools/sdk-client-v2": "2.4.0",
|
|
20
20
|
"jsonwebtoken": "9.0.2",
|
|
21
21
|
"jwks-rsa": "3.1.0"
|
|
22
22
|
}
|