@saooti/octopus-sdk 32.0.34 → 32.0.35

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
@@ -685,3 +685,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
685
685
  * 32.0.32 Error player parameters
686
686
  * 32.0.33 Pétouilles graphiques ou d'UX diverses
687
687
  * 32.0.34 Modale RSS
688
+ * 32.0.35 Enlever Dummy param
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "32.0.34",
3
+ "version": "32.0.35",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -162,7 +162,6 @@ export default defineComponent({
162
162
  return {
163
163
  activeEmission: true as boolean,
164
164
  podcasts: [] as Array<Podcast>,
165
- dummyParam: new Date().getTime().toString() as string,
166
165
  };
167
166
  },
168
167
 
@@ -71,12 +71,6 @@ export default defineComponent({
71
71
  props: {
72
72
  playlist: { default: ()=>({}), type: Object as ()=>Playlist},
73
73
  },
74
-
75
- data() {
76
- return {
77
- dummyParam: new Date().getTime().toString() as string,
78
- };
79
- },
80
74
 
81
75
  computed: {
82
76
  isPodcastmaker(): boolean {
@@ -98,7 +98,6 @@ export default defineComponent({
98
98
  minScroll: 0 as number,
99
99
  organisationId: undefined as string | undefined,
100
100
  reset: false as boolean,
101
- dummyParam: new Date().getTime().toString() as string,
102
101
  };
103
102
  },
104
103
  computed: {
@@ -131,7 +130,7 @@ export default defineComponent({
131
130
  },
132
131
  imgUrl(): string {
133
132
  if (!this.$store.state.filter.imgUrl?.includes('emptypodcast'))
134
- return `${this.$store.state.filter.imgUrl}?dummy=${this.dummyParam}`;
133
+ return `${this.$store.state.filter.imgUrl}`;
135
134
  return '';
136
135
  },
137
136
  },
@@ -123,7 +123,6 @@ export default defineComponent({
123
123
  ftpEmission: false as boolean,
124
124
  exclusive: false as boolean,
125
125
  notExclusive: false as boolean,
126
- dummyParam: new Date().getTime().toString() as string,
127
126
  fetchLive: true as boolean,
128
127
  };
129
128
  },
@@ -148,7 +147,7 @@ export default defineComponent({
148
147
  return this.emission?.name??'';
149
148
  },
150
149
  imageUrl(): string {
151
- return this.emission? `${this.emission.imageUrl}?dummy=${this.dummyParam}`:'';
150
+ return this.emission? `${this.emission.imageUrl}`:'';
152
151
  },
153
152
  description(): string {
154
153
  return this.emission?.description??'';
@@ -98,8 +98,7 @@ export default defineComponent({
98
98
  return this.playlist?.title ??'';
99
99
  },
100
100
  imageUrl(): string {
101
- const dummy = new Date().getTime().toString();
102
- return this.playlist ? this.playlist.imageUrl + '?dummy=' + dummy : '';
101
+ return this.playlist?.imageUrl ?? '';
103
102
  },
104
103
  description(): string {
105
104
  return this.playlist?.description ??'';