@agilie/sdk-template 1.0.11 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +32 -8
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,35 @@
1
1
  # Givingli Builder
2
- Insert the following code into your html file:
3
- <script src="https://cdn.jsdelivr.net/npm/@agilie/sdk-template"></script>
4
2
 
5
- For call the Givingli Builder use next code:
3
+ Add the following code into your html file:
6
4
 
7
- <script>
8
- GivingliBuilder.init().then((res) => {
9
- console.log('Your images:', res);
10
- });
11
- </script>
5
+ ```html
6
+
7
+ <script src="https://cdn.jsdelivr.net/npm/@agilie/sdk-template@1.0.13"></script>
8
+ ```
9
+
10
+ To call the Givingli Builder SDK use next code:
11
+
12
+ ```js
13
+ GivingliBuilder.init().then((res) => {
14
+ console.log('Your images:', res);
15
+ });
16
+ ```
17
+
18
+ ## Result
19
+
20
+ This interface represents the URLs of images used for the front and back sides of a card.
21
+
22
+ ### Structure:
23
+
24
+ ```ts
25
+ {
26
+ frontImageUrl: string;
27
+ backImageUrl: string;
28
+ }
29
+ ```
30
+
31
+ ### Properties:
32
+
33
+ - **frontImageUrl (string)** - the URL of the image displayed on the front side of the card.
34
+
35
+ - **backImageUrl (string)** - the URL of the image displayed on the back side of the card.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilie/sdk-template",
3
- "version": "1.0.11",
3
+ "version": "1.1.0",
4
4
  "main": "src/embed.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -12,5 +12,5 @@
12
12
  "author": "",
13
13
  "license": "ISC",
14
14
  "description": "",
15
- "gitHead": "cf8e37f5289f60d7fdfc1c77ab0dbcb4905d338f"
15
+ "gitHead": "d640b16724a7b546f59da8b042e7e2d3780442e0"
16
16
  }