@umituz/react-native-r2-storage 1.1.0 → 1.1.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-r2-storage",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Cloudflare R2 storage integration for React Native apps with URL building, asset management, and configurable storage paths.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -3,6 +3,27 @@
3
3
  * @description Manages R2 configuration with runtime and environment-based initialization
4
4
  */
5
5
 
6
+ declare global {
7
+ namespace NodeJS {
8
+ interface ProcessEnv {
9
+ readonly EXPO_PUBLIC_R2_ACCOUNT_ID?: string;
10
+ readonly R2_ACCOUNT_ID?: string;
11
+ readonly EXPO_PUBLIC_R2_ACCESS_KEY_ID?: string;
12
+ readonly R2_ACCESS_KEY_ID?: string;
13
+ readonly EXPO_PUBLIC_R2_SECRET_ACCESS_KEY?: string;
14
+ readonly R2_SECRET_ACCESS_KEY?: string;
15
+ readonly EXPO_PUBLIC_R2_BUCKET_NAME?: string;
16
+ readonly R2_BUCKET_NAME?: string;
17
+ readonly EXPO_PUBLIC_R2_PUBLIC_DOMAIN?: string;
18
+ readonly R2_PUBLIC_DOMAIN?: string;
19
+ }
20
+ }
21
+
22
+ var process: {
23
+ env: NodeJS.ProcessEnv;
24
+ };
25
+ }
26
+
6
27
  import type { R2Config, R2PathStructure } from "../../domain/entities";
7
28
  import { DEFAULT_R2_PATHS } from "../constants";
8
29