@paypay/mini-app-js-sdk 2.69.0 → 2.73.2-beta.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 +2 -0
- package/dist/client/clientUtils.d.ts +1 -0
- package/dist/client/communicationWithCore.d.ts +2 -0
- package/dist/client/functions/logPageNav.d.ts +2 -0
- package/dist/client/functions/logPerf.d.ts +2 -0
- package/dist/client/observeTtid.d.ts +2 -0
- package/dist/client/supportedFunctionsList.d.ts +1 -1
- package/dist/client/types.d.ts +3 -1
- package/dist/constants/localStorageKeys.d.ts +1 -1
- package/dist/core/coreFunctions/index.d.ts +4 -0
- package/dist/core/coreFunctions/logPageNav.d.ts +6 -0
- package/dist/core/coreFunctions/logPerf.d.ts +6 -0
- package/dist/core/coreUtils.d.ts +1 -1
- package/dist/core/coupon/middlewares/clientOriginOnly.d.ts +2 -0
- package/dist/core/coupon/utils/helpers.d.ts +15 -0
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +2012 -140
- package/dist/model/makePayment.d.ts +20 -1
- package/dist/package/lottie/lottie.d.ts +2 -0
- package/dist/resources/images.d.ts +8 -0
- package/dist/resources/locales/payment/index.d.ts +0 -20
- package/dist/resources/locales/payment/ja.d.ts +0 -10
- package/dist/types/init.d.ts +17 -1
- package/dist/types/makePayment.d.ts +217 -1
- package/dist/types.d.ts +11 -1
- package/dist/utils/analytics.d.ts +0 -1
- package/dist/utils/consumedOtt.d.ts +2 -0
- package/dist/utils/fetch.d.ts +1 -1
- package/dist/utils/helper.d.ts +7 -3
- package/dist/utils/ip.d.ts +0 -1
- package/dist/utils/openTelemetry/index.d.ts +5 -0
- package/dist/utils/openTelemetry/openTelemetry.d.ts +5 -0
- package/dist/utils/openTelemetry/types.d.ts +23 -0
- package/dist/utils/popstateHandler.d.ts +1 -1
- package/dist/views/coupon/components/CouponAction/index.d.ts +4 -0
- package/dist/views/coupon/index.d.ts +4 -0
- package/dist/views/make-payment/store.d.ts +5264 -46
- package/package.json +60 -37
- package/dist/utils/secondary-list.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paypay/mini-app-js-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.2-beta.1",
|
|
4
4
|
"private": false,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "yarn build:client && yarn build:core",
|
|
7
|
-
"build:miniApp": "SDK_TYPE=miniApp yarn build",
|
|
8
|
-
"build:smartPayment": "SDK_TYPE=smartPayment yarn build",
|
|
9
|
-
"build:client": "vite build",
|
|
10
|
-
"build:core": "vite build --config vite.config.core.ts",
|
|
11
|
-
"build:init": "vite build --config vite.config.init.ts",
|
|
12
|
-
"build:miniAppPackage": "rollup -c",
|
|
13
|
-
"build:coreEntryPoint": "rollup -c",
|
|
14
|
-
"dev": "run-p dev:client dev:core",
|
|
15
|
-
"dev:client": "vite --host 0.0.0.0",
|
|
16
|
-
"dev:core": "vite --config vite.config.core.ts",
|
|
17
|
-
"lint": "yarn lint:script && yarn lint:style",
|
|
18
|
-
"lint:script": "eslint src test --ext .ts,.tsx,.vue",
|
|
19
|
-
"lint:style": "stylelint src/**/*.{css,less,vue}",
|
|
20
|
-
"format": "prettier --write '{src,test}/**/*.{ts,tsx,vue,less}'",
|
|
21
|
-
"upgrade": "yarn upgrade-interactive",
|
|
22
|
-
"test": "vitest --coverage.enabled --coverage.include=src/** --coverage.reporter=lcov --run --silent",
|
|
23
|
-
"test:watch": "vitest --watch",
|
|
24
|
-
"e2e:sp": "SDK=SP playwright test",
|
|
25
|
-
"e2e:sp:update": "yarn e2e:sp --update-snapshots",
|
|
26
|
-
"e2e:ma": "SDK=MA playwright test",
|
|
27
|
-
"e2e:ma:update": "yarn e2e:sp --update-snapshots",
|
|
28
|
-
"preview": "yarn dev:client & vite preview --config vite.config.core.ts --port 3100",
|
|
29
|
-
"generate-init-test-pages": "node .github/scripts/generate-init-test-pages.js"
|
|
30
|
-
},
|
|
31
5
|
"license": "MIT",
|
|
32
6
|
"author": "paypay",
|
|
33
7
|
"main": "dist/mini-app-js-sdk.es.js",
|
|
@@ -37,10 +11,22 @@
|
|
|
37
11
|
"engines": {
|
|
38
12
|
"node": ">=22.0.0"
|
|
39
13
|
},
|
|
14
|
+
"devEngines": {
|
|
15
|
+
"packageManager": {
|
|
16
|
+
"name": "pnpm",
|
|
17
|
+
"version": "11.21.0",
|
|
18
|
+
"onFail": "error"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
40
21
|
"dependencies": {
|
|
41
22
|
"js-cookie": "^3.0.5"
|
|
42
23
|
},
|
|
43
24
|
"devDependencies": {
|
|
25
|
+
"@opentelemetry/api": "^1.9.1",
|
|
26
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.221.0",
|
|
27
|
+
"@opentelemetry/resources": "^2.10.0",
|
|
28
|
+
"@opentelemetry/sdk-trace-web": "^2.10.0",
|
|
29
|
+
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
44
30
|
"@paypay/avalanche": "^0.1.2",
|
|
45
31
|
"@pinia/testing": "0.1.7",
|
|
46
32
|
"@playwright/test": "^1.49.1",
|
|
@@ -50,6 +36,7 @@
|
|
|
50
36
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
51
37
|
"@sentry/browser": "^8.45.1",
|
|
52
38
|
"@sentry/vite-plugin": "^2.22.7",
|
|
39
|
+
"@testing-library/dom": "7.31.2",
|
|
53
40
|
"@testing-library/jest-dom": "^6.6.3",
|
|
54
41
|
"@testing-library/vue": "^6.4.2",
|
|
55
42
|
"@types/js-cookie": "^3.0.6",
|
|
@@ -71,7 +58,6 @@
|
|
|
71
58
|
"eslint-plugin-prettier": "^5.2.3",
|
|
72
59
|
"eslint-plugin-vue": "^9.32.0",
|
|
73
60
|
"husky": "^9.1.7",
|
|
74
|
-
"identity-obj-proxy": "^3.0.0",
|
|
75
61
|
"jsdom": "^26.0.0",
|
|
76
62
|
"less": "^4.2.1",
|
|
77
63
|
"lint-staged": "^15.4.1",
|
|
@@ -88,6 +74,8 @@
|
|
|
88
74
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
89
75
|
"stylelint": "^16.13.2",
|
|
90
76
|
"terser": "^5.37.0",
|
|
77
|
+
"tldts": "^7.4.18",
|
|
78
|
+
"tslib": "^2.8.1",
|
|
91
79
|
"typescript": "~5.7.3",
|
|
92
80
|
"uuid": "^11.0.3",
|
|
93
81
|
"vite": "^5.4.11",
|
|
@@ -97,19 +85,54 @@
|
|
|
97
85
|
"vitest-canvas-mock": "^0.3.3",
|
|
98
86
|
"vitest-fetch-mock": "^0.4.3",
|
|
99
87
|
"vue": "~3.5.13",
|
|
88
|
+
"vue-demi": "0.14.10",
|
|
100
89
|
"vue-eslint-parser": "^9.4.3",
|
|
101
|
-
"vue-tsc": "^2.2.0"
|
|
90
|
+
"vue-tsc": "^2.2.0",
|
|
91
|
+
"web-vitals": "^6.0.1"
|
|
102
92
|
},
|
|
103
93
|
"files": [
|
|
104
94
|
"dist"
|
|
105
95
|
],
|
|
106
|
-
"husky": {
|
|
107
|
-
"hooks": {
|
|
108
|
-
"pre-commit": "lint-staged"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
96
|
"lint-staged": {
|
|
112
|
-
"{src,test}/**/*.{ts,tsx
|
|
113
|
-
|
|
97
|
+
"{src,test}/**/*.{ts,tsx}": [
|
|
98
|
+
"prettier --write",
|
|
99
|
+
"eslint --cache --fix --no-error-on-unmatched-pattern"
|
|
100
|
+
],
|
|
101
|
+
"{src,test}/**/*.{css,less}": [
|
|
102
|
+
"prettier --write",
|
|
103
|
+
"stylelint --fix --allow-empty-input"
|
|
104
|
+
],
|
|
105
|
+
"{src,test}/**/*.vue": [
|
|
106
|
+
"prettier --write",
|
|
107
|
+
"eslint --cache --fix --no-error-on-unmatched-pattern",
|
|
108
|
+
"stylelint --fix --allow-empty-input"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"scripts": {
|
|
112
|
+
"build": "pnpm build:client && pnpm build:core",
|
|
113
|
+
"build:miniApp": "SDK_TYPE=miniApp pnpm build",
|
|
114
|
+
"build:smartPayment": "SDK_TYPE=smartPayment pnpm build",
|
|
115
|
+
"build:client": "vite build",
|
|
116
|
+
"build:core": "vite build --config vite.config.core.ts",
|
|
117
|
+
"build:init": "vite build --config vite.config.init.ts",
|
|
118
|
+
"build:miniAppPackage": "rollup -c",
|
|
119
|
+
"build:coreEntryPoint": "rollup -c",
|
|
120
|
+
"dev": "run-p dev:client dev:core",
|
|
121
|
+
"dev:client": "vite --host 0.0.0.0",
|
|
122
|
+
"dev:core": "vite --config vite.config.core.ts",
|
|
123
|
+
"lint": "pnpm lint:script && pnpm lint:style",
|
|
124
|
+
"lint:script": "eslint src test --ext .ts,.tsx,.vue",
|
|
125
|
+
"lint:style": "stylelint src/**/*.{css,less,vue}",
|
|
126
|
+
"format": "prettier --write '{src,test}/**/*.{ts,tsx,vue,less}'",
|
|
127
|
+
"type-check": "vue-tsc --noEmit",
|
|
128
|
+
"deps:upgrade": "pnpm update --interactive --latest",
|
|
129
|
+
"test": "vitest --coverage.enabled --coverage.include=src/** --coverage.reporter=lcov --run --silent",
|
|
130
|
+
"test:watch": "vitest --watch",
|
|
131
|
+
"e2e:sp": "SDK=SP playwright test",
|
|
132
|
+
"e2e:sp:update": "pnpm e2e:sp --update-snapshots",
|
|
133
|
+
"e2e:ma": "SDK=MA playwright test",
|
|
134
|
+
"e2e:ma:update": "pnpm e2e:ma --update-snapshots",
|
|
135
|
+
"preview": "pnpm dev:client & vite preview --config vite.config.core.ts --port 3100",
|
|
136
|
+
"generate-init-test-pages": "node .github/scripts/generate-init-test-pages.js"
|
|
114
137
|
}
|
|
115
|
-
}
|
|
138
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const secondaryList: string[];
|