alphavalid-sdk 0.1.5 → 0.1.6
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/bin/alphavalid.js
CHANGED
|
@@ -45,12 +45,12 @@ function copyLoaderGif() {
|
|
|
45
45
|
|
|
46
46
|
if (!fs.existsSync(loaderSrc)) return;
|
|
47
47
|
|
|
48
|
-
// Angular/Ionic Angular: src/assets/
|
|
48
|
+
// Angular/Ionic Angular: src/assets/image (singular)
|
|
49
49
|
if (fs.existsSync(path.join(projectRoot, 'angular.json'))) {
|
|
50
|
-
const
|
|
51
|
-
fs.mkdirSync(
|
|
52
|
-
fs.copyFileSync(loaderSrc, path.join(
|
|
53
|
-
console.log('[AlphaValid] Loader GIF copiado para',
|
|
50
|
+
const angularImage = path.join(projectRoot, 'src', 'assets', 'image');
|
|
51
|
+
fs.mkdirSync(angularImage, { recursive: true });
|
|
52
|
+
fs.copyFileSync(loaderSrc, path.join(angularImage, 'alphaloader.gif'));
|
|
53
|
+
console.log('[AlphaValid] Loader GIF copiado para', angularImage);
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
|
package/package.json
CHANGED
|
Binary file
|