paygate-checkout-sdk 0.0.0 → 0.0.2

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.
@@ -1,2 +1,8 @@
1
- export { default as PaygateCheckoutSdk } from '../containers/Payment/PaygateCheckoutSdk';
2
- export type { MerchantDataProps as UserBasicDataType, PaygateCheckoutSdkProps } from '../shared/types';
1
+ import type { MerchantDataProps, PaygateCheckoutSdkProps } from '../shared/types';
2
+ export type { MerchantDataProps, PaygateCheckoutSdkProps };
3
+ export declare const PaygateSdk: {
4
+ setup: (config: {
5
+ targetId: string;
6
+ props: PaygateCheckoutSdkProps;
7
+ }) => void;
8
+ };
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "paygate-checkout-sdk",
3
- "version": "0.0.0",
4
- "main": "dist/index.js",
3
+ "version": "0.0.2",
4
+ "main": "dist/index.jsx",
5
5
  "type": "module",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
6
+ "module": "dist/index.esm.jsx",
7
+ "types": "dist/index.d.tsx",
8
+ "unpkg": "dist/index.iife.jsx",
9
+ "jsdelivr": "dist/index.iife.jsx",
8
10
  "files": [
9
11
  "dist"
10
12
  ],