@wiicode/s3-client 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +7 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,15 +22,6 @@ yarn add @wiicode/s3-client
22
22
  pnpm add @wiicode/s3-client
23
23
  ```
24
24
 
25
- ### Alternative: Install from Git Repository
26
-
27
- ```bash
28
- # Install from development branch
29
- npm install git+https://github.com/eeyuub/wiis3.service.git#development:packages/client
30
-
31
- # Or install from specific commit/tag
32
- npm install git+https://github.com/eeyuub/wiis3.service.git#v1.0.0:packages/client
33
- ```
34
25
 
35
26
  ---
36
27
 
@@ -40,8 +31,8 @@ npm install git+https://github.com/eeyuub/wiis3.service.git#v1.0.0:packages/clie
40
31
  import { WiiS3Client } from '@wiicode/s3-client';
41
32
 
42
33
  const s3 = new WiiS3Client({
43
- endpoint: 'https://wiis3.wiicode.ma',
44
- apiKey: 'wiicode_your_tenant_api_key',
34
+ endpoint: 'https://your-s3-service.com',
35
+ apiKey: 'your_api_key',
45
36
  });
46
37
 
47
38
  // Upload a file
@@ -99,8 +90,8 @@ npm install form-data
99
90
  import { WiiS3Client } from '@wiicode/s3-client';
100
91
 
101
92
  const s3 = new WiiS3Client({
102
- endpoint: 'https://wiis3.wiicode.ma',
103
- apiKey: 'wiicode_your_tenant_api_key',
93
+ endpoint: 'https://your-s3-service.com',
94
+ apiKey: 'your_api_key',
104
95
  });
105
96
 
106
97
  // Upload from file input
@@ -266,22 +257,15 @@ try {
266
257
  ## Environment Variables
267
258
 
268
259
  ```env
269
- WIIS3_ENDPOINT=https://wiis3.wiicode.ma
270
- WIIS3_API_KEY=wiicode_your_tenant_api_key
260
+ WIIS3_ENDPOINT=https://your-s3-service.com
261
+ WIIS3_API_KEY=your_api_key
271
262
  ```
272
263
 
273
264
  ---
274
265
 
275
266
  ## Obtaining API Keys
276
267
 
277
- Contact your administrator to create a tenant and obtain an API key, or use the admin API:
278
-
279
- ```bash
280
- curl -X POST https://wiis3.wiicode.ma/admin/tenants \
281
- -H "x-admin-key: your_admin_key" \
282
- -H "Content-Type: application/json" \
283
- -d '{"name": "my-project"}'
284
- ```
268
+ Contact your service administrator to create a tenant and obtain an API key.
285
269
 
286
270
  ---
287
271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiicode/s3-client",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Official SDK client for WiiCode S3 Upload Service",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",