@ponceca/storage-sdk 0.1.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -14,7 +14,7 @@ yarn add @ponceca/storage-sdk
14
14
 
15
15
  ```typescript
16
16
  import {
17
- initializeStorage,
17
+ getStorage,
18
18
  ref,
19
19
  uploadBytesResumable,
20
20
  getDownloadURL,
@@ -24,7 +24,7 @@ import {
24
24
  } from '@ponceca/storage-sdk';
25
25
 
26
26
  // Inicializar (igual que Firebase)
27
- const storage = initializeStorage({
27
+ const storage = getStorage({
28
28
  authEndpoint: 'http://localhost:8080/api',
29
29
  tokenGetter: async () => localStorage.getItem('token')
30
30
  });
@@ -90,6 +90,7 @@ El SDK incluye un wrapper Angular con provider + inyección + helpers reactivos.
90
90
  Guía completa (Angular + integración con Firestore clone):
91
91
 
92
92
  - `ANGULAR_FIRESTORE_INTEGRACION.md`
93
+ - `.github/docs/GUIA_ANGULAR_CLONES_FIRESTORE_STORAGE.md`
93
94
 
94
95
  ### Imports disponibles
95
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponceca/storage-sdk",
3
- "version": "0.1.0",
3
+ "version": "1.0.1",
4
4
  "description": "Firebase Storage Clone SDK - Compatible con Firebase v9",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -96,4 +96,4 @@
96
96
  "ts-jest": "^29.4.6",
97
97
  "typescript": "^5.9.3"
98
98
  }
99
- }
99
+ }