@scaleflex/widget-instagram 4.0.7 → 4.3.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.
- package/CHANGELOG.md +7490 -7462
- package/LICENSE +21 -21
- package/README.md +83 -83
- package/package.json +6 -6
- package/types/index.d.ts +16 -16
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 scaleflex
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 scaleflex
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
# @scaleflex/widget-instagram
|
|
2
|
-
|
|
3
|
-
[![Plugins][plugins-image]](#plugins)
|
|
4
|
-
[![Website][filerobot-image]][sfx-url]
|
|
5
|
-
[![Version][filerobot-version]][version-url]
|
|
6
|
-
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<div align='center'>
|
|
12
|
-
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
The Instagram [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core) lets users import photos from their Instagram account.
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
### NPM
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm install --save @scaleflex/widget-instagram
|
|
23
|
-
```
|
|
24
|
-
### YARN
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
yarn add @scaleflex/widget-instagram
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
then
|
|
31
|
-
|
|
32
|
-
```js
|
|
33
|
-
import Instagram from '@scaleflex/widget-instagram'
|
|
34
|
-
...
|
|
35
|
-
...
|
|
36
|
-
...
|
|
37
|
-
scaleflexWidget.use(Instagram, propertiesObject)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### CDN
|
|
41
|
-
|
|
42
|
-
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.Instagram`
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
const Instagram = window.ScaleflexWidget.Instagram
|
|
46
|
-
...
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
scaleflexWidget.use(Instagram, propertiesObject)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Properties
|
|
53
|
-
|
|
54
|
-
### `title`
|
|
55
|
-
|
|
56
|
-
<u>Type:</u> `string`
|
|
57
|
-
|
|
58
|
-
<u>Default:</u> `'Instagram'`
|
|
59
|
-
|
|
60
|
-
The title/label that would be shown & used for the plugin.
|
|
61
|
-
|
|
62
|
-
### `companionHeaders`
|
|
63
|
-
|
|
64
|
-
<u>Type:</u> `null` | `object`
|
|
65
|
-
|
|
66
|
-
<u>Default:</u> `null`
|
|
67
|
-
|
|
68
|
-
If you need to pass additional headers for in companion requests then pass them in this property.
|
|
69
|
-
|
|
70
|
-
<!-- Variables -->
|
|
71
|
-
|
|
72
|
-
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-instagram
|
|
73
|
-
[license-url]: https://opensource.org/licenses/MIT
|
|
74
|
-
[sfx-url]: https://www.scaleflex.com/
|
|
75
|
-
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-instagram
|
|
76
|
-
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
77
|
-
|
|
78
|
-
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
79
|
-
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
80
|
-
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
81
|
-
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
82
|
-
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
83
|
-
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-instagram?label=Version&style=for-the-badge&logo=npm
|
|
1
|
+
# @scaleflex/widget-instagram
|
|
2
|
+
|
|
3
|
+
[![Plugins][plugins-image]](#plugins)
|
|
4
|
+
[![Website][filerobot-image]][sfx-url]
|
|
5
|
+
[![Version][filerobot-version]][version-url]
|
|
6
|
+
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
+
[![License][license-image]][license-url]
|
|
8
|
+
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<div align='center'>
|
|
12
|
+
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
The Instagram [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core) lets users import photos from their Instagram account.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### NPM
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install --save @scaleflex/widget-instagram
|
|
23
|
+
```
|
|
24
|
+
### YARN
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
yarn add @scaleflex/widget-instagram
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
then
|
|
31
|
+
|
|
32
|
+
```js
|
|
33
|
+
import Instagram from '@scaleflex/widget-instagram'
|
|
34
|
+
...
|
|
35
|
+
...
|
|
36
|
+
...
|
|
37
|
+
scaleflexWidget.use(Instagram, propertiesObject)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### CDN
|
|
41
|
+
|
|
42
|
+
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.Instagram`
|
|
43
|
+
|
|
44
|
+
```js
|
|
45
|
+
const Instagram = window.ScaleflexWidget.Instagram
|
|
46
|
+
...
|
|
47
|
+
...
|
|
48
|
+
...
|
|
49
|
+
scaleflexWidget.use(Instagram, propertiesObject)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Properties
|
|
53
|
+
|
|
54
|
+
### `title`
|
|
55
|
+
|
|
56
|
+
<u>Type:</u> `string`
|
|
57
|
+
|
|
58
|
+
<u>Default:</u> `'Instagram'`
|
|
59
|
+
|
|
60
|
+
The title/label that would be shown & used for the plugin.
|
|
61
|
+
|
|
62
|
+
### `companionHeaders`
|
|
63
|
+
|
|
64
|
+
<u>Type:</u> `null` | `object`
|
|
65
|
+
|
|
66
|
+
<u>Default:</u> `null`
|
|
67
|
+
|
|
68
|
+
If you need to pass additional headers for in companion requests then pass them in this property.
|
|
69
|
+
|
|
70
|
+
<!-- Variables -->
|
|
71
|
+
|
|
72
|
+
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-instagram
|
|
73
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
74
|
+
[sfx-url]: https://www.scaleflex.com/
|
|
75
|
+
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-instagram
|
|
76
|
+
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
77
|
+
|
|
78
|
+
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
79
|
+
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
80
|
+
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
81
|
+
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
82
|
+
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
83
|
+
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-instagram?label=Version&style=for-the-badge&logo=npm
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-instagram",
|
|
3
3
|
"description": "Import photos and videos from Instagram, into Scaleflex.",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@scaleflex/widget-companion-client": "^4.0
|
|
10
|
-
"@scaleflex/widget-icons": "^4.0
|
|
11
|
-
"@scaleflex/widget-provider-views": "^4.0
|
|
12
|
-
"@scaleflex/widget-utils": "^4.0
|
|
9
|
+
"@scaleflex/widget-companion-client": "^4.3.0",
|
|
10
|
+
"@scaleflex/widget-icons": "^4.3.0",
|
|
11
|
+
"@scaleflex/widget-provider-views": "^4.3.0",
|
|
12
|
+
"@scaleflex/widget-utils": "^4.3.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"react": "^19.0.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "712930995f6dfd4a0d874c0638dde61065fd0683"
|
|
35
35
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import Filerobot = require("@scaleflex/widget-core");
|
|
2
|
-
import CompanionClient = require("@scaleflex/widget-companion-client");
|
|
3
|
-
|
|
4
|
-
declare module Instagram {
|
|
5
|
-
interface InstagramOptions
|
|
6
|
-
extends Filerobot.PluginOptions,
|
|
7
|
-
CompanionClient.PublicProviderOptions {
|
|
8
|
-
replaceTargetContent?: boolean;
|
|
9
|
-
target?: Filerobot.PluginTarget;
|
|
10
|
-
storage?: CompanionClient.TokenStorage;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare class Instagram extends Filerobot.Plugin<Instagram.InstagramOptions> {}
|
|
15
|
-
|
|
16
|
-
export = Instagram;
|
|
1
|
+
import Filerobot = require("@scaleflex/widget-core");
|
|
2
|
+
import CompanionClient = require("@scaleflex/widget-companion-client");
|
|
3
|
+
|
|
4
|
+
declare module Instagram {
|
|
5
|
+
interface InstagramOptions
|
|
6
|
+
extends Filerobot.PluginOptions,
|
|
7
|
+
CompanionClient.PublicProviderOptions {
|
|
8
|
+
replaceTargetContent?: boolean;
|
|
9
|
+
target?: Filerobot.PluginTarget;
|
|
10
|
+
storage?: CompanionClient.TokenStorage;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class Instagram extends Filerobot.Plugin<Instagram.InstagramOptions> {}
|
|
15
|
+
|
|
16
|
+
export = Instagram;
|