@lydianpay/sdk-web 1.0.0 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,27 @@
1
1
  {
2
2
  "name": "@lydianpay/sdk-web",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
+ "description": "Drop-in crypto payment checkout for the web — a <lydian-checkout> web component and window.Lydian API across 20+ chains and major stablecoins.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/lydianpay/sdk-web.git"
9
+ },
10
+ "homepage": "https://github.com/lydianpay/sdk-web#readme",
11
+ "bugs": "https://github.com/lydianpay/sdk-web/issues",
12
+ "keywords": [
13
+ "lydian",
14
+ "crypto",
15
+ "payments",
16
+ "checkout",
17
+ "stablecoin",
18
+ "usdt",
19
+ "usdc",
20
+ "web3",
21
+ "walletconnect",
22
+ "web-component",
23
+ "sdk"
24
+ ],
4
25
  "type": "module",
5
26
  "main": "dist/lydian.iife.js",
6
27
  "files": [
@@ -10,7 +31,10 @@
10
31
  "access": "public"
11
32
  },
12
33
  "scripts": {
34
+ "prepublishOnly": "[ \"$CI\" = \"true\" ] || (echo 'Publish via CI release only' && exit 1)",
35
+ "lint": "eslint .",
13
36
  "test": "vitest run",
37
+ "test:coverage": "vitest run --coverage --coverage.provider=v8 --coverage.reporter=lcov --coverage.reporter=text",
14
38
  "build:css": "npx tailwindcss -i src/ui/lydian.css -o ./src/ui/lydian.generated.css --minify",
15
39
  "build": "npm run build:css && vite build",
16
40
  "build:watch": "npm run build:css && vite build --watch",
@@ -18,7 +42,12 @@
18
42
  "dev": "vite"
19
43
  },
20
44
  "devDependencies": {
45
+ "@eslint/js": "^9.0.0",
21
46
  "@types/qrcode": "^1.5.5",
47
+ "@vitest/coverage-v8": "^3.0.0",
48
+ "eslint": "^9.0.0",
49
+ "globals": "^16.0.0",
50
+ "typescript-eslint": "^8.0.0",
22
51
  "autoprefixer": "^10.4.0",
23
52
  "is-mobile": "^5.0.0",
24
53
  "postcss": "^8.4.6",