@agilie/sdk-template 1.0.12 → 1.1.1
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/README.md +20 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -4,7 +4,7 @@ Add the following code into your html file:
|
|
4
4
|
|
5
5
|
```html
|
6
6
|
|
7
|
-
<script src="https://cdn.jsdelivr.net/npm/@agilie/sdk-template"></script>
|
7
|
+
<script src="https://cdn.jsdelivr.net/npm/@agilie/sdk-template@1.1.1"></script>
|
8
8
|
```
|
9
9
|
|
10
10
|
To call the Givingli Builder SDK use next code:
|
@@ -14,3 +14,22 @@ GivingliBuilder.init().then((res) => {
|
|
14
14
|
console.log('Your images:', res);
|
15
15
|
});
|
16
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.
|
3
|
+
"version": "1.1.1",
|
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": "
|
15
|
+
"gitHead": "d9aadf49ca790fd6ab6f5c95f34523878cd8c6d3"
|
16
16
|
}
|