@ic-pay/icpay-widget 0.1.85 → 0.1.88
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/dist/index.d.ts +11 -0
- package/dist/index.global.js +475 -380
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +192 -97
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ic-pay/icpay-widget",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.88",
|
|
4
4
|
"description": "ICPay embeddable payment widgets as framework-agnostic Web Components",
|
|
5
5
|
"homepage": "https://github.com/icpay/icpay-widget#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -25,13 +25,14 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "tsup src/index.ts --format esm,iife --global-name ICPayWidget --dts --minify --sourcemap --clean --external @ic-pay/icpay-sdk &&
|
|
28
|
+
"build": "tsup src/index.ts --format esm,iife --global-name ICPayWidget --dts --minify --sourcemap --clean --external @ic-pay/icpay-sdk && pnpm build:css",
|
|
29
29
|
"build:css": "tailwindcss -i src/styles/tailwind.css -o dist/tailwind.css --minify",
|
|
30
30
|
"dev": "tsup src/index.ts --watch --format esm,iife --global-name ICPayWidget --dts --external @ic-pay/icpay-sdk",
|
|
31
|
+
"build:embed": "tsup src/index.ts --format iife --global-name ICPayWidget --minify --sourcemap --no-splitting --platform=browser && node -e \"const fs=require('fs');if(fs.existsSync('dist/index.global.js')){fs.renameSync('dist/index.global.js','dist/index.embed.js');if(fs.existsSync('dist/index.global.js.map'))fs.renameSync('dist/index.global.js.map','dist/index.embed.js.map');}\"",
|
|
31
32
|
"prepare": "pnpm build"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
|
-
"@ic-pay/icpay-sdk": "^1.3.
|
|
35
|
+
"@ic-pay/icpay-sdk": "^1.3.67",
|
|
35
36
|
"@windoge98/plug-n-play": "^0.0.70",
|
|
36
37
|
"lit": "^3.3.1"
|
|
37
38
|
},
|