@firebase/storage 0.9.0-canary.f318c7009 → 0.9.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/CHANGELOG.md +10 -0
- package/dist/index.browser.cjs.js +17 -1
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.esm2017.js +17 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +17 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +17 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +17 -1
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/implementation/error.d.ts +16 -0
- package/dist/src/implementation/error.d.ts +16 -0
- package/dist/storage-public.d.ts +2 -7
- package/package.json +6 -6
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
1
17
|
import { FirebaseError } from '@firebase/util';
|
|
2
18
|
/**
|
|
3
19
|
* An error returned by the Firebase Storage SDK.
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
1
17
|
import { FirebaseError } from '@firebase/util';
|
|
2
18
|
/**
|
|
3
19
|
* An error returned by the Firebase Storage SDK.
|
package/dist/storage-public.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
6
|
/// <reference types="node" />
|
|
7
|
-
import { CompleteFn , EmulatorMockTokenOptions ,
|
|
7
|
+
import { CompleteFn , EmulatorMockTokenOptions , FirebaseError , NextFn , Subscribe , Unsubscribe } from '@firebase/util';
|
|
8
8
|
import { FirebaseApp } from '@firebase/app';
|
|
9
9
|
/**
|
|
10
10
|
* Modify this {@link FirebaseStorage} instance to communicate with the Cloud Storage emulator.
|
|
@@ -307,16 +307,11 @@ export declare interface SettableMetadata {
|
|
|
307
307
|
* An error returned by the Firebase Storage SDK.
|
|
308
308
|
* @public
|
|
309
309
|
*/
|
|
310
|
-
export declare interface StorageError {
|
|
310
|
+
export declare interface StorageError extends FirebaseError {
|
|
311
311
|
/**
|
|
312
312
|
* A server response message for the error, if applicable.
|
|
313
313
|
*/
|
|
314
314
|
serverResponse: string | null;
|
|
315
|
-
code: string;
|
|
316
|
-
customData?: Record<string, unknown>;
|
|
317
|
-
name: 'FirebaseError';
|
|
318
|
-
message: string;
|
|
319
|
-
stack?: string;
|
|
320
315
|
}
|
|
321
316
|
/**
|
|
322
317
|
* A stream observer for Firebase Storage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/storage",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@firebase/util": "1.4.
|
|
45
|
-
"@firebase/component": "0.5.
|
|
44
|
+
"@firebase/util": "1.4.3",
|
|
45
|
+
"@firebase/component": "0.5.10",
|
|
46
46
|
"node-fetch": "2.6.5",
|
|
47
47
|
"tslib": "^2.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@firebase/app": "0.
|
|
50
|
+
"@firebase/app": "0.x"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@firebase/app": "0.7.
|
|
54
|
-
"@firebase/auth": "0.19.
|
|
53
|
+
"@firebase/app": "0.7.12",
|
|
54
|
+
"@firebase/auth": "0.19.5",
|
|
55
55
|
"rollup": "2.57.0",
|
|
56
56
|
"@rollup/plugin-alias": "3.1.5",
|
|
57
57
|
"@rollup/plugin-json": "4.1.0",
|