select-animation 1.1.0 → 1.1.2

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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "select-animation",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "High-performance JavaScript animation engine for organic & fluid motion",
5
- "main": "index.js",
5
+ "main": "select-animation.js",
6
6
  "scripts": {
7
7
  "build": ""
8
8
  },
package/readme.md CHANGED
@@ -42,7 +42,7 @@ npm install select-animation
42
42
  Include the script directly:
43
43
 
44
44
  ```html
45
- <script src="https://cdn.jsdelivr.net/npm/select-animation/index.js"></script>
45
+ <script src="https://unpkg.com/select-animation/index.js"></script>
46
46
  ```
47
47
 
48
48
  or via CDN if available.
@@ -6,8 +6,7 @@
6
6
  * Copyright: ©2026 Housseyn Cheriet
7
7
  * License: MIT
8
8
  * ------------------------------------------------------------------------- */
9
- (function (global) {
10
- "use strict";
9
+
11
10
  (function (global) {
12
11
  "use strict"; // Enable strict mode for safer JavaScript execution
13
12
 
@@ -706,7 +705,6 @@
706
705
 
707
706
  // Additional helper functions can be added as needed...
708
707
 
709
- })(window);
710
708
  if (typeof module !== 'undefined' && module.exports) {
711
709
  module.exports = {
712
710
  animate: global.animate