@paypercut/checkout-js 1.3.1 → 1.4.1
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 +72 -1
- package/dist/developer-assistance.cjs +2769 -0
- package/dist/developer-assistance.cjs.map +1 -0
- package/dist/developer-assistance.d.cts +2 -0
- package/dist/developer-assistance.d.mts +2 -0
- package/dist/developer-assistance.mjs +2766 -0
- package/dist/developer-assistance.mjs.map +1 -0
- package/dist/index.cjs +661 -166
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +898 -0
- package/dist/index.d.mts +898 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.mjs +660 -166
- package/dist/index.mjs.map +1 -1
- package/dist/paypercut-checkout.iife.min.js +1 -1
- package/dist/paypercut-checkout.iife.min.js.map +1 -1
- package/dist/paypercut-developer-assistance.iife.min.js +2 -0
- package/dist/paypercut-developer-assistance.iife.min.js.map +1 -0
- package/package.json +16 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypercut/checkout-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Lightweight JavaScript SDK for Paypercut Checkout",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -8,9 +8,14 @@
|
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
},
|
|
14
19
|
"default": "./dist/index.mjs"
|
|
15
20
|
},
|
|
16
21
|
"./cdn": "./dist/paypercut-checkout.iife.min.js",
|
|
@@ -24,9 +29,13 @@
|
|
|
24
29
|
"README.md",
|
|
25
30
|
"LICENSE"
|
|
26
31
|
],
|
|
27
|
-
"sideEffects":
|
|
32
|
+
"sideEffects": [
|
|
33
|
+
"./dist/developer-assistance.mjs",
|
|
34
|
+
"./dist/developer-assistance.cjs",
|
|
35
|
+
"./dist/paypercut-developer-assistance.iife.min.js"
|
|
36
|
+
],
|
|
28
37
|
"scripts": {
|
|
29
|
-
"build": "BUILD_MODE=production rollup -c && BUILD_MODE=production npm run check:package-boundary",
|
|
38
|
+
"build": "BUILD_MODE=production rollup -c && BUILD_MODE=production npm run check:package-boundary && npm run test:package",
|
|
30
39
|
"build:internal": "npm run clean && BUILD_MODE=internal rollup -c && BUILD_MODE=internal npm run check:package-boundary",
|
|
31
40
|
"dev": "BUILD_MODE=internal rollup -c -w",
|
|
32
41
|
"serve": "npx serve . -p 3001",
|
|
@@ -34,6 +43,7 @@
|
|
|
34
43
|
"lint": "eslint src",
|
|
35
44
|
"typecheck": "tsc --noEmit",
|
|
36
45
|
"test:unit": "vitest run",
|
|
46
|
+
"test:package": "node --test tests/package/developer-assistance-artifacts.test.mjs",
|
|
37
47
|
"test:e2e": "npm run build:internal && playwright test",
|
|
38
48
|
"storybook": "pnpm --dir apps/elements-storybook storybook",
|
|
39
49
|
"storybook:build": "pnpm --dir apps/elements-storybook build",
|