xendit-components-web 0.0.9 → 0.0.10
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/CHANGELOG.md +8 -0
- package/README.md +2 -2
- package/README.md.bak +2 -2
- package/package.json +16 -14
- package/sdk/dist/index.esm.js +2 -1
- package/sdk/dist/index.esm.js.map +1 -1
- package/sdk/dist/index.umd.js +2 -1
- package/sdk/dist/index.umd.js.map +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ npm install xendit-components-web --save
|
|
|
15
15
|
Or load it directly from our CDN:
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
|
-
<script src="https://assets.xendit.co/components/
|
|
18
|
+
<script src="https://assets.xendit.co/components/v0.0.10/index.umd.js"></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Our npm package includes TypeScript types. If you're using the CDN, download type declarations from `https://assets.xendit.co/components/
|
|
21
|
+
Our npm package includes TypeScript types. If you're using the CDN, download type declarations from `https://assets.xendit.co/components/v0.0.10/index.d.ts`
|
|
22
22
|
|
|
23
23
|
## Sessions
|
|
24
24
|
|
package/README.md.bak
CHANGED
|
@@ -15,10 +15,10 @@ npm install xendit-components-web --save
|
|
|
15
15
|
Or load it directly from our CDN:
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
|
-
<script src="https://assets.xendit.co/components/
|
|
18
|
+
<script src="https://assets.xendit.co/components/VERSION_NUMBER_HERE/index.umd.js"></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Our npm package includes TypeScript types. If you're using the CDN, download type declarations from `https://assets.xendit.co/components/
|
|
21
|
+
Our npm package includes TypeScript types. If you're using the CDN, download type declarations from `https://assets.xendit.co/components/VERSION_NUMBER_HERE/index.d.ts`
|
|
22
22
|
|
|
23
23
|
## Sessions
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xendit-components-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Xendit frontend payment components SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Xendit",
|
|
@@ -34,6 +34,19 @@
|
|
|
34
34
|
"default": "./sdk/dist/index.umd.js"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"dev": "./build.ts dev",
|
|
39
|
+
"build": "./build.ts prod",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"test:watch": "vitest",
|
|
42
|
+
"test:run": "vitest run",
|
|
43
|
+
"test:debug": "vitest run --printConsoleTrace=true --silent=false",
|
|
44
|
+
"lint": "eslint . --ext .ts,.tsx",
|
|
45
|
+
"lint:fix": "eslint . --fix --ext .ts,.tsx",
|
|
46
|
+
"prettier": "prettier . --check",
|
|
47
|
+
"prettier:fix": "prettier . --check --write",
|
|
48
|
+
"prepare": "husky"
|
|
49
|
+
},
|
|
37
50
|
"dependencies": {
|
|
38
51
|
"card-validator": "^10.0.3",
|
|
39
52
|
"classnames": "^2.5.1",
|
|
@@ -74,16 +87,5 @@
|
|
|
74
87
|
"typescript-eslint": "^8.48.0",
|
|
75
88
|
"vitest": "^4.0.14"
|
|
76
89
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"build": "./build.ts prod",
|
|
80
|
-
"test": "vitest run",
|
|
81
|
-
"test:watch": "vitest",
|
|
82
|
-
"test:run": "vitest run",
|
|
83
|
-
"test:debug": "vitest run --printConsoleTrace=true --silent=false",
|
|
84
|
-
"lint": "eslint . --ext .ts,.tsx",
|
|
85
|
-
"lint:fix": "eslint . --fix --ext .ts,.tsx",
|
|
86
|
-
"prettier": "prettier . --check",
|
|
87
|
-
"prettier:fix": "prettier . --check --write"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
+
"packageManager": "pnpm@10.15.1"
|
|
91
|
+
}
|