@ifunny/ifunny-api-types 0.7.11 → 0.7.12
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 +13 -0
- package/package.json +5 -3
- package/types/errors/error.d.ts +1 -1
- package/types/errors/error.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
> All notable changes to this project will be documented in this file.
|
|
3
3
|
> This Changelog adheres to the [Semantic Versioning]("https://semver.org/")
|
|
4
4
|
|
|
5
|
+
## [v0.7.12](https://github.com/ifunny-co/ifunny-api-types/compare/v0.7.11...v0.7.12) - 2022-09-11
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Added more scripts @MakeShiftArtist ([`aaa410b`](https://github.com/ifunny-co/ifunny-api-types/commit/aaa410b8ece3fcc7d01a457d1c34a32bbd5b93e9))
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
* Fixed Unknown errors breaking error intellisense @MakeShiftArtist ([`d98458e`](https://github.com/ifunny-co/ifunny-api-types/commit/d98458e111a336ea4e942d3ee6dc19fcccd517b6))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
5
18
|
## [v0.7.11](https://github.com/ifunny-co/ifunny-api-types/compare/v0.7.10...v0.7.11) - 2022-09-10
|
|
6
19
|
|
|
7
20
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifunny/ifunny-api-types",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12",
|
|
4
4
|
"description": "iFunny API typings for use in bot library creaion.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "types",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build-js": "tsc",
|
|
9
9
|
"build": "npm run build-js",
|
|
10
|
-
"changelog": "auto-changelog -p
|
|
10
|
+
"changelog": "auto-changelog -p && git add CHANGELOG.md && git commit -m \"Update CHANGELOG.md\"",
|
|
11
11
|
"update": "npx npm-check-updates -u && npm install",
|
|
12
12
|
"test": "tsc --noEmit",
|
|
13
|
-
"link": "npm run build && npm link"
|
|
13
|
+
"link": "npm run build && npm link",
|
|
14
|
+
"version": "npm run changelog && npm run build",
|
|
15
|
+
"push": "git push && npm run build && npm publish"
|
|
14
16
|
},
|
|
15
17
|
"repository": {
|
|
16
18
|
"type": "git",
|
package/types/errors/error.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import RESTAPIErrorUnauthorized from "./unauthorized";
|
|
|
20
20
|
* }
|
|
21
21
|
* }
|
|
22
22
|
*/
|
|
23
|
-
export declare type RESTAPIErrorResponse =
|
|
23
|
+
export declare type RESTAPIErrorResponse = RESTAPIErrorBadRequest | RESTAPIErrorCaptchaRequired | RESTAPIErrorEmailExists | RESTAPIErrorInvalidEmail | RESTAPIErrorInvalidGrant | RESTAPIErrorNotFound | RESTAPIErrorPermissionDenied | RESTAPIErrorUnauthorized;
|
|
24
24
|
/**
|
|
25
25
|
* Use this if you don't know the error being thrown or don't want full intellisense support
|
|
26
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/errors/error.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,sBAAsB,MAAM,eAAe,CAAC;AACnD,OAAO,2BAA2B,MAAM,oBAAoB,CAAC;AAC7D,OAAO,uBAAuB,MAAM,gBAAgB,CAAC;AACrD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,oBAAoB,MAAM,aAAa,CAAC;AAC/C,OAAO,4BAA4B,MAAM,qBAAqB,CAAC;AAC/D,OAAO,wBAAwB,MAAM,gBAAgB,CAAC;AAEtD;;;;;;;;;;;;GAYG;AACH,oBAAY,oBAAoB,GAC7B,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/errors/error.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,sBAAsB,MAAM,eAAe,CAAC;AACnD,OAAO,2BAA2B,MAAM,oBAAoB,CAAC;AAC7D,OAAO,uBAAuB,MAAM,gBAAgB,CAAC;AACrD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,wBAAwB,MAAM,iBAAiB,CAAC;AACvD,OAAO,oBAAoB,MAAM,aAAa,CAAC;AAC/C,OAAO,4BAA4B,MAAM,qBAAqB,CAAC;AAC/D,OAAO,wBAAwB,MAAM,gBAAgB,CAAC;AAEtD;;;;;;;;;;;;GAYG;AACH,oBAAY,oBAAoB,GAC7B,sBAAsB,GACtB,2BAA2B,GAC3B,uBAAuB,GACvB,wBAAwB,GACxB,wBAAwB,GACxB,oBAAoB,GACpB,4BAA4B,GAC5B,wBAAwB,CAAC;AAE5B;;GAEG;AACH,oBAAY,mBAAmB,GAAG,YAAY,CAAC"}
|