@cocreate/api 1.2.20 → 1.2.21
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 +7 -0
- package/demo/index.html +19 -19
- package/docs/index.html +13 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.2.21](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.20...v1.2.21) (2022-01-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* removed data- from attributes ([ed63cfd](https://github.com/CoCreate-app/CoCreate-api/commit/ed63cfd6375cba25960fc0a3349ee39ddb98eebc))
|
|
7
|
+
|
|
1
8
|
## [1.2.20](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.19...v1.2.20) (2021-12-31)
|
|
2
9
|
|
|
3
10
|
|
package/demo/index.html
CHANGED
|
@@ -10,31 +10,31 @@
|
|
|
10
10
|
<h1>Form Demo</h1>
|
|
11
11
|
|
|
12
12
|
<form>
|
|
13
|
-
<input
|
|
13
|
+
<input xxx="xxxCreateRequest.name">
|
|
14
14
|
|
|
15
|
-
<div
|
|
16
|
-
<input
|
|
17
|
-
<input
|
|
15
|
+
<div xxx="xxxCreateRequest.address" xxx_array="address">
|
|
16
|
+
<input xxx="address.home.city">
|
|
17
|
+
<input xxx="address.work">
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
|
-
<div
|
|
21
|
-
<input
|
|
22
|
-
<input
|
|
23
|
-
<input
|
|
24
|
-
|
|
25
|
-
<div
|
|
26
|
-
<input
|
|
27
|
-
<input
|
|
28
|
-
<input
|
|
29
|
-
<input
|
|
20
|
+
<div xxx="xxxCreateRequest.address" xxx_array="address">
|
|
21
|
+
<input xxx="address.home.city">
|
|
22
|
+
<input xxx="address.name">
|
|
23
|
+
<input xxx="address.line1">
|
|
24
|
+
|
|
25
|
+
<div xxx="address.billing" xxx_array="b">
|
|
26
|
+
<input xxx="b.address1">
|
|
27
|
+
<input xxx="b.city">
|
|
28
|
+
<input xxx="b.code.zip">
|
|
29
|
+
<input xxx="b.code.postal">
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
<input
|
|
32
|
+
<input xxx="xxxCreateRequest.email">
|
|
33
33
|
|
|
34
|
-
<div template_id="xxxCreateCard" render-array="data.card" render-key="c"
|
|
35
|
-
<input
|
|
36
|
-
<input
|
|
37
|
-
<input
|
|
34
|
+
<div template_id="xxxCreateCard" render-array="data.card" render-key="c" xxx="xxxCreateCard.card" xxx_array="card">
|
|
35
|
+
<input xxx="card.number" value="c.number">
|
|
36
|
+
<input xxx="card.cvv" value="c.cvv">
|
|
37
|
+
<input xxx="card.expiry" value="c.expiry">
|
|
38
38
|
</div>
|
|
39
39
|
|
|
40
40
|
|
package/docs/index.html
CHANGED
|
@@ -156,22 +156,22 @@
|
|
|
156
156
|
<p class="padding:10px_0px line-height:1.5">
|
|
157
157
|
<pre><code class="language-html">
|
|
158
158
|
<form>
|
|
159
|
-
<input
|
|
160
|
-
<div
|
|
161
|
-
<input
|
|
162
|
-
<input
|
|
159
|
+
<input stripe="createCustomer.name">
|
|
160
|
+
<div stripe="createCustomer.address" stripe_array="address">
|
|
161
|
+
<input stripe="address.home.city">
|
|
162
|
+
<input stripe="address.work">
|
|
163
163
|
</div>
|
|
164
164
|
|
|
165
|
-
<div
|
|
166
|
-
<input
|
|
167
|
-
<input
|
|
168
|
-
<input
|
|
165
|
+
<div stripe="createCustomer.address" xxx_array="address">
|
|
166
|
+
<input stripe="address.home.city">
|
|
167
|
+
<input stripe="address.name">
|
|
168
|
+
<input stripe="address.line1">
|
|
169
169
|
|
|
170
|
-
<div
|
|
171
|
-
<input
|
|
172
|
-
<input
|
|
173
|
-
<input
|
|
174
|
-
<input
|
|
170
|
+
<div stripe="address.billing" xxx_array="b">
|
|
171
|
+
<input stripe="b.address1">
|
|
172
|
+
<input stripe="b.city">
|
|
173
|
+
<input stripe="b.code.zip">
|
|
174
|
+
<input stripe="b.code.postal">
|
|
175
175
|
</div>
|
|
176
176
|
</div>
|
|
177
177
|
<button actions='createCustomer'>Create Form</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.21",
|
|
4
4
|
"description": "A simple api helper component in vanilla javascript used by JavaScript developers to create thirdparty api intergrations. CoCreate-api includes the client component and server side for api processing. Thirdparty apis can be accessible using HTML5 attributes and/or JavaScript API. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thirdparty-api-intergration",
|