@gqless/logger
Advanced tools
Comparing version 2.0.10 to 2.0.11
# @gqless/logger | ||
## 2.0.11 | ||
### Patch Changes | ||
- af6a437: - Rename `GqlessConfig` to `GQlessConfig` (so it's consistent with the new logo) | ||
- Rename `gqlessError` to `GQlessError` | ||
- Remove `endpoint` option from the configuration, and instead always defaults to introspection one | ||
- It's confusing why theres two of them, and the user can change it later by modifying the file anyway | ||
- Updated dependencies [4a3d5ef] | ||
- Updated dependencies [af6a437] | ||
- gqless@2.0.13 | ||
## 2.0.10 | ||
@@ -4,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import type { GqlessClient } from 'gqless'; | ||
import type { GQlessClient } from 'gqless'; | ||
export interface LoggerOptions { | ||
@@ -25,5 +25,5 @@ /** | ||
} | ||
export declare function createLogger(client: GqlessClient<any>, options?: LoggerOptions): { | ||
export declare function createLogger(client: GQlessClient<any>, options?: LoggerOptions): { | ||
start: () => () => void; | ||
options: LoggerOptions; | ||
}; |
{ | ||
"name": "@gqless/logger", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"homepage": "https://gqless.com", | ||
"license": "MIT", | ||
"author": "PabloSz <pablosaez1995@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gqless/gqless.git" | ||
}, | ||
"author": "GQless <opensource@gqless.com>", | ||
"main": "dist/index.js", | ||
@@ -14,15 +18,5 @@ "module": "dist/gqless-logger.esm.js", | ||
], | ||
"scripts": { | ||
"analyze": "size-limit --why", | ||
"build": "build gqless-logger", | ||
"prepare": "build gqless-logger", | ||
"postpublish": "gh-release", | ||
"size": "size-limit", | ||
"start": "watch gqless-logger", | ||
"test": "jest", | ||
"test:watch": "jest --watch" | ||
}, | ||
"dependencies": { | ||
"prettier": "^2.2.1", | ||
"serialize-error": "^8.0.1" | ||
"serialize-error": "^8.1.0" | ||
}, | ||
@@ -33,3 +27,3 @@ "devDependencies": { | ||
"build-utils": "1.0.0", | ||
"gqless": "^2.0.10", | ||
"gqless": "^2.0.13", | ||
"jest": "^26.6.3", | ||
@@ -39,7 +33,7 @@ "rimraf": "^3.0.2", | ||
"test-utils": "^0.1.0", | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.2.3" | ||
"tslib": "^2.2.0", | ||
"typescript": "^4.2.4" | ||
}, | ||
"peerDependencies": { | ||
"gqless": "^2.0.10" | ||
"gqless": "^2.0.13" | ||
}, | ||
@@ -58,3 +52,11 @@ "engines": { | ||
} | ||
] | ||
], | ||
"scripts": { | ||
"analyze": "size-limit --why", | ||
"build": "build gqless-logger", | ||
"size": "size-limit", | ||
"start": "watch gqless-logger", | ||
"test": "jest", | ||
"test:watch": "jest --watch" | ||
} | ||
} |
@@ -6,3 +6,3 @@ import parserJSON from 'prettier/parser-babel'; | ||
import type { GqlessClient } from 'gqless'; | ||
import type { GQlessClient } from 'gqless'; | ||
import type { FetchEventData } from 'gqless/dist/Events'; | ||
@@ -57,3 +57,3 @@ | ||
export function createLogger( | ||
client: GqlessClient<any>, | ||
client: GQlessClient<any>, | ||
options: LoggerOptions = {} | ||
@@ -60,0 +60,0 @@ ) { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
28372
0
1
1
Updatedserialize-error@^8.1.0