@firebase/storage-types 0.8.0 → 0.8.1-canary.42fcdfe4c
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/index.d.ts +2 -2
- package/package.json +4 -4
- package/CHANGELOG.md +0 -50
package/index.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export enum StorageErrorCode {
|
|
|
127
127
|
|
|
128
128
|
export interface FirebaseStorageError extends FirebaseError {
|
|
129
129
|
/**
|
|
130
|
-
* Stores custom error data
|
|
130
|
+
* Stores custom error data unique to the `StorageError`.
|
|
131
131
|
*/
|
|
132
132
|
customData: {
|
|
133
133
|
serverResponse: string | null;
|
|
@@ -136,7 +136,7 @@ export interface FirebaseStorageError extends FirebaseError {
|
|
|
136
136
|
get status(): number;
|
|
137
137
|
set status(status: number);
|
|
138
138
|
/**
|
|
139
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
139
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
140
140
|
*/
|
|
141
141
|
_codeEquals(code: StorageErrorCode): boolean;
|
|
142
142
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/storage-types",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-canary.42fcdfe4c",
|
|
4
4
|
"description": "@firebase/storage Types",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"index.d.ts"
|
|
13
13
|
],
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@firebase/app-types": "0.
|
|
16
|
-
"@firebase/util": "1.
|
|
15
|
+
"@firebase/app-types": "0.9.1-canary.42fcdfe4c",
|
|
16
|
+
"@firebase/util": "1.9.5-canary.42fcdfe4c"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"directory": "packages/storage-types",
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "https://github.com/firebase/firebase-js-sdk.git"
|
|
21
|
+
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/firebase/firebase-js-sdk/issues"
|
package/CHANGELOG.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# @firebase/storage-types
|
|
2
|
-
|
|
3
|
-
## 0.8.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- [`825e648b8`](https://github.com/firebase/firebase-js-sdk/commit/825e648b81ca63c7bc64f8700f7a46eb320b2106) [#6974](https://github.com/firebase/firebase-js-sdk/pull/6974) (fixes [#6944](https://github.com/firebase/firebase-js-sdk/issues/6944)) - Fixed issue where users were unable to check if an Error was an instance of `StorageError`.
|
|
8
|
-
|
|
9
|
-
## 0.7.0
|
|
10
|
-
|
|
11
|
-
### Minor Changes
|
|
12
|
-
|
|
13
|
-
- [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be) [#6799](https://github.com/firebase/firebase-js-sdk/pull/6799) - Update TypeScript version to 4.7.4.
|
|
14
|
-
|
|
15
|
-
## 0.6.1
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
|
|
20
|
-
|
|
21
|
-
## 0.6.0
|
|
22
|
-
|
|
23
|
-
### Minor Changes
|
|
24
|
-
|
|
25
|
-
- [`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6) [#5345](https://github.com/firebase/firebase-js-sdk/pull/5345) (fixes [#5015](https://github.com/firebase/firebase-js-sdk/issues/5015)) - Release modularized SDKs
|
|
26
|
-
|
|
27
|
-
## 0.5.0
|
|
28
|
-
|
|
29
|
-
### Minor Changes
|
|
30
|
-
|
|
31
|
-
- [`3c6a11c8d`](https://github.com/firebase/firebase-js-sdk/commit/3c6a11c8d0b35afddb50e9c3e0c4d2e30f642131) [#5282](https://github.com/firebase/firebase-js-sdk/pull/5282) - Implement mockUserToken for Storage and fix JWT format bugs.
|
|
32
|
-
|
|
33
|
-
## 0.4.1
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- [`3f370215a`](https://github.com/firebase/firebase-js-sdk/commit/3f370215aa571db6b41b92a7d8a9aaad2ea0ecd0) [#4808](https://github.com/firebase/firebase-js-sdk/pull/4808) (fixes [#4789](https://github.com/firebase/firebase-js-sdk/issues/4789)) - Update peerDependencies
|
|
38
|
-
|
|
39
|
-
## 0.4.0
|
|
40
|
-
|
|
41
|
-
### Minor Changes
|
|
42
|
-
|
|
43
|
-
- [`5ae73656d`](https://github.com/firebase/firebase-js-sdk/commit/5ae73656d976fa724ea6ca86d496e9531c95b29c) [#4346](https://github.com/firebase/firebase-js-sdk/pull/4346) - Add `storage().useEmulator()` method to enable emulator mode for storage, allowing users
|
|
44
|
-
to set a storage emulator host and port.
|
|
45
|
-
|
|
46
|
-
## 0.3.13
|
|
47
|
-
|
|
48
|
-
### Patch Changes
|
|
49
|
-
|
|
50
|
-
- [`9c409ea7`](https://github.com/firebase/firebase-js-sdk/commit/9c409ea74efd00fe17058c5c8b74450fae67e9ee) [#3224](https://github.com/firebase/firebase-js-sdk/pull/3224) Thanks [@schmidt-sebastian](https://github.com/schmidt-sebastian)! - [fix] Updated the TypeScript types for all APIs using Observers to allow callback omission.
|