mediaspace 1.3.1 → 1.3.2

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 +7 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,24 +1,9 @@
1
1
  # About
2
2
 
3
- This is a mediaspaces app package that gets data from Mediaspaces App API
3
+ This is a mediaspaces app package that fetches images from [Mediaspaces](https://www.mediaspaces.app) and displayes them in a pleasant, responsive fashion using masonry
4
4
 
5
- # Running the project locally
5
+ # Running the project
6
6
 
7
- ```
8
- npm i
9
- npm run build
10
- ```
11
-
12
- Open the index.html file on liveserver
13
-
14
- # Running in other pages
15
-
16
- ```
17
- npm version <new_version>
18
- npm publish
19
- ```
20
-
21
- After publishing, install the package in another project as follows;
22
7
  ```
23
8
  npm install mediaspace
24
9
  ```
@@ -27,5 +12,9 @@ Use it as follows;
27
12
  ```
28
13
  import Mediaspace from 'mediaspace'
29
14
 
15
+ const element = document.querySelector(<selector>)
16
+
30
17
  const M = new Mediaspace(<element>, {apiKey: <api_key>})
31
- ```
18
+ ```
19
+
20
+ You get the api key from [mediaspaces.app](https://www.mediaspaces.app)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediaspace",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Display media on your website",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {