@firebase/storage 0.12.6-canary.f58d48cd4 → 0.12.6-dataconnect-preview.d986d4bf2
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/dist/index.browser.cjs.js +4 -4
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +4 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/api.d.ts +1 -1
- package/dist/node-esm/src/implementation/connection.d.ts +1 -1
- package/dist/node-esm/src/public-types.d.ts +1 -1
- package/dist/node-esm/src/reference.d.ts +1 -1
- package/dist/src/api.d.ts +1 -1
- package/dist/src/implementation/connection.d.ts +1 -1
- package/dist/src/public-types.d.ts +1 -1
- package/dist/src/reference.d.ts +1 -1
- package/dist/storage-public.d.ts +2 -2
- package/dist/storage.d.ts +3 -3
- package/package.json +6 -6
|
@@ -82,7 +82,7 @@ export declare function uploadString(ref: StorageReference, value: string, forma
|
|
|
82
82
|
export declare function uploadBytesResumable(ref: StorageReference, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): UploadTask;
|
|
83
83
|
/**
|
|
84
84
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
85
|
-
* object doesn't exist or metadata cannot be
|
|
85
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
86
86
|
* rejected.
|
|
87
87
|
* @public
|
|
88
88
|
* @param ref - {@link StorageReference} to get metadata from.
|
|
@@ -48,7 +48,7 @@ export interface Connection<T extends ConnectionType> {
|
|
|
48
48
|
removeUploadProgressListener(listener: (p1: ProgressEvent) => void): void;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Error codes for requests made by the
|
|
51
|
+
* Error codes for requests made by the XhrIo wrapper.
|
|
52
52
|
*/
|
|
53
53
|
export declare enum ErrorCode {
|
|
54
54
|
NO_ERROR = 0,
|
|
@@ -164,7 +164,7 @@ export declare function listAll(ref: Reference): Promise<ListResult>;
|
|
|
164
164
|
export declare function list(ref: Reference, options?: ListOptions | null): Promise<ListResult>;
|
|
165
165
|
/**
|
|
166
166
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
167
|
-
* object doesn't exist or metadata cannot be
|
|
167
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
168
168
|
* rejected.
|
|
169
169
|
* @public
|
|
170
170
|
* @param ref - StorageReference to get metadata from.
|
package/dist/src/api.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare function uploadString(ref: StorageReference, value: string, forma
|
|
|
82
82
|
export declare function uploadBytesResumable(ref: StorageReference, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): UploadTask;
|
|
83
83
|
/**
|
|
84
84
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
85
|
-
* object doesn't exist or metadata cannot be
|
|
85
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
86
86
|
* rejected.
|
|
87
87
|
* @public
|
|
88
88
|
* @param ref - {@link StorageReference} to get metadata from.
|
|
@@ -48,7 +48,7 @@ export interface Connection<T extends ConnectionType> {
|
|
|
48
48
|
removeUploadProgressListener(listener: (p1: ProgressEvent) => void): void;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Error codes for requests made by the
|
|
51
|
+
* Error codes for requests made by the XhrIo wrapper.
|
|
52
52
|
*/
|
|
53
53
|
export declare enum ErrorCode {
|
|
54
54
|
NO_ERROR = 0,
|
package/dist/src/reference.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ export declare function listAll(ref: Reference): Promise<ListResult>;
|
|
|
164
164
|
export declare function list(ref: Reference, options?: ListOptions | null): Promise<ListResult>;
|
|
165
165
|
/**
|
|
166
166
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
167
|
-
* object doesn't exist or metadata cannot be
|
|
167
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
168
168
|
* rejected.
|
|
169
169
|
* @public
|
|
170
170
|
* @param ref - StorageReference to get metadata from.
|
package/dist/storage-public.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export declare interface FullMetadata extends UploadMetadata {
|
|
|
91
91
|
*/
|
|
92
92
|
updated: string;
|
|
93
93
|
/**
|
|
94
|
-
* Tokens to allow access to the
|
|
94
|
+
* Tokens to allow access to the download URL.
|
|
95
95
|
*/
|
|
96
96
|
downloadTokens: string[] | undefined;
|
|
97
97
|
/**
|
|
@@ -142,7 +142,7 @@ export declare function getBytes(ref: StorageReference, maxDownloadSizeBytes?: n
|
|
|
142
142
|
export declare function getDownloadURL(ref: StorageReference): Promise<string>;
|
|
143
143
|
/**
|
|
144
144
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
145
|
-
* object doesn't exist or metadata cannot be
|
|
145
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
146
146
|
* rejected.
|
|
147
147
|
* @public
|
|
148
148
|
* @param ref - {@link StorageReference} to get metadata from.
|
package/dist/storage.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare function deleteObject(ref: StorageReference): Promise<void>;
|
|
|
83
83
|
export { EmulatorMockTokenOptions }
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Error codes for requests made by the
|
|
86
|
+
* Error codes for requests made by the XhrIo wrapper.
|
|
87
87
|
*/
|
|
88
88
|
declare enum ErrorCode {
|
|
89
89
|
NO_ERROR = 0,
|
|
@@ -280,7 +280,7 @@ export declare interface FullMetadata extends UploadMetadata {
|
|
|
280
280
|
*/
|
|
281
281
|
updated: string;
|
|
282
282
|
/**
|
|
283
|
-
* Tokens to allow access to the
|
|
283
|
+
* Tokens to allow access to the download URL.
|
|
284
284
|
*/
|
|
285
285
|
downloadTokens: string[] | undefined;
|
|
286
286
|
/**
|
|
@@ -339,7 +339,7 @@ export declare function getDownloadURL(ref: StorageReference): Promise<string>;
|
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* A `Promise` that resolves with the metadata for this object. If this
|
|
342
|
-
* object doesn't exist or metadata cannot be
|
|
342
|
+
* object doesn't exist or metadata cannot be retrieved, the promise is
|
|
343
343
|
* rejected.
|
|
344
344
|
* @public
|
|
345
345
|
* @param ref - {@link StorageReference} to get metadata from.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/storage",
|
|
3
|
-
"version": "0.12.6-
|
|
3
|
+
"version": "0.12.6-dataconnect-preview.d986d4bf2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
},
|
|
48
48
|
"license": "Apache-2.0",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@firebase/util": "1.9.7-
|
|
51
|
-
"@firebase/component": "0.6.8-
|
|
50
|
+
"@firebase/util": "1.9.7-dataconnect-preview.d986d4bf2",
|
|
51
|
+
"@firebase/component": "0.6.8-dataconnect-preview.d986d4bf2",
|
|
52
52
|
"undici": "5.28.4",
|
|
53
53
|
"tslib": "^2.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@firebase/app": "0.10.
|
|
56
|
+
"@firebase/app": "0.10.7-dataconnect-preview.d986d4bf2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@firebase/app": "0.10.
|
|
60
|
-
"@firebase/auth": "1.7.5-
|
|
59
|
+
"@firebase/app": "0.10.7-dataconnect-preview.d986d4bf2",
|
|
60
|
+
"@firebase/auth": "1.7.5-dataconnect-preview.d986d4bf2",
|
|
61
61
|
"rollup": "2.79.1",
|
|
62
62
|
"@rollup/plugin-alias": "5.1.0",
|
|
63
63
|
"@rollup/plugin-json": "4.1.0",
|