@saooti/octopus-sdk 32.0.38 → 32.0.40

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 CHANGED
@@ -686,4 +686,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
686
686
  * 32.0.33 Pétouilles graphiques ou d'UX diverses
687
687
  * 32.0.34 Modale RSS
688
688
  * 32.0.35 Enlever Dummy param
689
- * 32.0.36 Select -> font family
689
+ * 32.0.36 Select -> font family
690
+ * 32.0.40 Problème majeur !!!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "32.0.38",
3
+ "version": "32.0.40",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -337,6 +337,7 @@ export default defineComponent({
337
337
  flex-direction: column;
338
338
  background: transparent;
339
339
  border-width: 0;
340
+ width: 100%;
340
341
  &:focus{
341
342
  background: rgba(0, 0, 0, 0.5);
342
343
  }
@@ -121,7 +121,7 @@ export default defineComponent({
121
121
  list-style: none;
122
122
  position: relative;
123
123
  width: 13rem;
124
- height: 21.4rem;
124
+ height: 22rem;
125
125
  overflow: hidden;
126
126
  display: flex;
127
127
  flex-direction: column;
@@ -13,7 +13,7 @@ export const imageProxy ={
13
13
  if(!url){
14
14
  return "";
15
15
  }
16
- if(state.octopusApi.imageUrl){
16
+ if(state.octopusApi.imageUrl && url.includes('http')){
17
17
  return state.octopusApi.imageUrl+"image/"+btoa(url)+"?width="+width+"&useWebp=true";
18
18
  }
19
19
  return url;
@@ -9,7 +9,7 @@ const state:paramStore = {
9
9
  isRoleLive: true,
10
10
  isCommments: true,
11
11
  isOrganisation: true,
12
- isPlaylist: false,
12
+ isPlaylist: true,
13
13
  isProduction: true,
14
14
  isContribution: true,
15
15
  ApiUri: 'https://api.dev2.saooti.org/',
@@ -209,6 +209,9 @@ const definedProps = (obj: GeneralParameters|PodcastPage|PodcastsPage|EmissionsP
209
209
  const initialize = function initialize(initObject: paramStore): Promise<void> {
210
210
  return new Promise<void>((resolve, reject) => {
211
211
  state.generalParameters = Object.assign(state.generalParameters, definedProps(initObject.generalParameters));
212
+ if(!state.generalParameters.authenticated){
213
+ state.generalParameters.organisationId = undefined;
214
+ }
212
215
  state.podcastPage = Object.assign(state.podcastPage, definedProps(initObject.podcastPage));
213
216
  state.podcastsPage = Object.assign(state.podcastsPage, definedProps(initObject.podcastsPage));
214
217
  state.emissionsPage = Object.assign(state.emissionsPage, definedProps(initObject.emissionsPage));