jg-github 0.1.0 → 0.2.0
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/API.md +1 -1
- package/CHANGELOG.md +6 -0
- package/package.json +6 -6
package/API.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# <a id="api-reference"></a>jg-github API reference
|
|
2
2
|
|
|
3
|
-
Every export of `jg-github@0.
|
|
3
|
+
Every export of `jg-github@0.2.0`, 30 in all, with its signature, its errors, and an example. It's generated from the package's TSDoc.
|
|
4
4
|
|
|
5
5
|
- Functions: [`assertGithubAppPrivateKey`](#api-assertGithubAppPrivateKey), [`buildGithubApiUrl`](#api-buildGithubApiUrl), [`buildGithubRawContentUrl`](#api-buildGithubRawContentUrl), [`createGithubAppJwt`](#api-createGithubAppJwt), [`createGithubHeaders`](#api-createGithubHeaders), [`createInstallationToken`](#api-createInstallationToken), [`getGithubRateLimitDeadline`](#api-getGithubRateLimitDeadline), [`revokeInstallationToken`](#api-revokeInstallationToken), [`verifyGithubWebhookSignature`](#api-verifyGithubWebhookSignature)
|
|
6
6
|
- Constants: [`DEFAULT_GITHUB_MAX_RESPONSE_BYTES`](#api-DEFAULT_GITHUB_MAX_RESPONSE_BYTES), [`DEFAULT_GITHUB_TIMEOUT_SECONDS`](#api-DEFAULT_GITHUB_TIMEOUT_SECONDS), [`ERRORS`](#api-ERRORS), [`GITHUB_API_ORIGIN`](#api-GITHUB_API_ORIGIN), [`GITHUB_API_VERSION`](#api-GITHUB_API_VERSION), [`GITHUB_RAW_CONTENT_ORIGIN`](#api-GITHUB_RAW_CONTENT_ORIGIN)
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jg-github",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "GitHub App authentication for Node.js: app tokens, scoped installation tokens, webhook signatures, and rate-limit retry times.",
|
|
5
5
|
"author": "Jesus Graterol",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=22.17.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"rate-limit"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"jg-crypto": "^0.
|
|
49
|
-
"jg-exception": "^1.
|
|
50
|
-
"jg-fetch": "^0.
|
|
48
|
+
"jg-crypto": "^0.2.0",
|
|
49
|
+
"jg-exception": "^1.6.0",
|
|
50
|
+
"jg-fetch": "^0.4.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@jg-packages/eslint-config": "0.0.0",
|
|
54
54
|
"@jg-packages/tsconfig": "0.0.0",
|
|
55
55
|
"@jg-packages/vitest-config": "0.0.0",
|
|
56
|
-
"@types/node": "
|
|
56
|
+
"@types/node": "22.20.5",
|
|
57
57
|
"@vitest/coverage-v8": "5.0.5",
|
|
58
58
|
"eslint": "10.12.0",
|
|
59
59
|
"typescript": "6.0.3",
|