egora-library-dev 1.66.0 → 1.68.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.
package/README.md CHANGED
@@ -64,6 +64,22 @@ The library is compatible with both **React** and **Next.js** projects.
64
64
  - NEXT_PUBLIC_ENV='staging' # staging
65
65
  - NEXT_PUBLIC_ENV='production' # production
66
66
 
67
+ # DigitalOcean Spaces image delivery
68
+ # Use the public CDN endpoint in the client application. Do not expose
69
+ # SPACES_ACCESS_KEY or SPACES_SECRET_KEY in React/Next.js environment vars.
70
+ - REACT_APP_SPACES_NAME='egora-dev'
71
+ - REACT_APP_SPACES_ENDPOINT='https://egora-dev.sgp1.cdn.digitaloceanspaces.com'
72
+
73
+ # For Next.js, use the NEXT_PUBLIC_ equivalents instead:
74
+ - NEXT_PUBLIC_SPACES_NAME='egora-dev'
75
+ - NEXT_PUBLIC_SPACES_ENDPOINT='https://egora-dev.sgp1.cdn.digitaloceanspaces.com'
76
+
77
+ # The store can also keep its existing names:
78
+ - NEXT_PUBLIC_DO_SPACES_BUCKET_NAME='egora-dev'
79
+ - NEXT_PUBLIC_DO_SPACES_CDN_URL='https://egora-dev.sgp1.cdn.digitaloceanspaces.com'
80
+
81
+ # Access and secret keys belong only in the server-side upload/API service.
82
+
67
83
  # Notes
68
84
 
69
85
  - Automatically loads the correct package based on environment.
@@ -76,4 +92,4 @@ The library is compatible with both **React** and **Next.js** projects.
76
92
  - Mahum Maqbool - https://github.com/mahum24
77
93
  - Muhammad Sufyan - https://github.com/msufyan634
78
94
  - Musfirah Saleem - https://github.com/musfirah-saleem
79
- - Zain ul Abideen - https://github.com/ZA535
95
+ - Zain ul Abideen - https://github.com/ZA535