@lottiefiles/dotlottie-vue 0.2.8 → 0.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.
@@ -92,5 +92,6 @@ declare const DotLottieVue: vue.DefineComponent<{
92
92
  loop: boolean;
93
93
  useFrameInterpolation: boolean;
94
94
  }, {}>;
95
+ declare const setWasmUrl: (url: string) => void;
95
96
 
96
- export { DotLottieVue, type DotLottieVueProps };
97
+ export { DotLottieVue, type DotLottieVueProps, setWasmUrl };
package/dist/dotlottie.js CHANGED
@@ -124,5 +124,8 @@ var DotLottieVue = defineComponent({
124
124
  return () => h("div", { ...attrs }, h("canvas", { style: "height: 100%; width: 100%", ref: canvas }));
125
125
  }
126
126
  });
127
+ var setWasmUrl = (url) => {
128
+ DotLottie.setWasmUrl(url);
129
+ };
127
130
 
128
- export { DotLottieVue };
131
+ export { DotLottieVue, setWasmUrl };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { DotLottieVue, DotLottieVueProps } from './dotlottie.js';
1
+ export { DotLottieVue, DotLottieVueProps, setWasmUrl } from './dotlottie.js';
2
2
  export { DotLottie } from '@lottiefiles/dotlottie-web';
3
3
  import 'vue';
package/dist/index.js CHANGED
@@ -124,5 +124,8 @@ var DotLottieVue = defineComponent({
124
124
  return () => h("div", { ...attrs }, h("canvas", { style: "height: 100%; width: 100%", ref: canvas }));
125
125
  }
126
126
  });
127
+ var setWasmUrl = (url) => {
128
+ DotLottie.setWasmUrl(url);
129
+ };
127
130
 
128
- export { DotLottieVue };
131
+ export { DotLottieVue, setWasmUrl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/dotlottie-vue",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "description": "Vue wrapper around the dotlottie-web library",
6
6
  "repository": {
@@ -35,7 +35,7 @@
35
35
  "vue": "^3.3.4"
36
36
  },
37
37
  "dependencies": {
38
- "@lottiefiles/dotlottie-web": "0.21.1"
38
+ "@lottiefiles/dotlottie-web": "0.22.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@vue/runtime-dom": "^3.4.6",