@logto/connector-github 1.0.0-beta.10 → 1.0.0-beta.11
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/lib/index.js +8 -8
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 1743:
|
|
5
5
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -22,8 +22,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
22
22
|
};
|
|
23
23
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
24
24
|
exports.parseJson = exports.validateConfig = void 0;
|
|
25
|
-
const types_1 = __nccwpck_require__(
|
|
26
|
-
__exportStar(__nccwpck_require__(
|
|
25
|
+
const types_1 = __nccwpck_require__(8053);
|
|
26
|
+
__exportStar(__nccwpck_require__(8053), exports);
|
|
27
27
|
function validateConfig(config, guard) {
|
|
28
28
|
const result = guard.safeParse(config);
|
|
29
29
|
if (!result.success) {
|
|
@@ -45,7 +45,7 @@ exports.parseJson = parseJson;
|
|
|
45
45
|
|
|
46
46
|
/***/ }),
|
|
47
47
|
|
|
48
|
-
/***/
|
|
48
|
+
/***/ 8053:
|
|
49
49
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
50
50
|
|
|
51
51
|
"use strict";
|
|
@@ -15263,7 +15263,7 @@ exports.oboolean = oboolean;
|
|
|
15263
15263
|
|
|
15264
15264
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15265
15265
|
exports.defaultTimeout = exports.defaultMetadata = exports.userInfoEndpoint = exports.accessTokenEndpoint = exports.scope = exports.authorizationEndpoint = void 0;
|
|
15266
|
-
const connector_kit_1 = __nccwpck_require__(
|
|
15266
|
+
const connector_kit_1 = __nccwpck_require__(1743);
|
|
15267
15267
|
exports.authorizationEndpoint = 'https://github.com/login/oauth/authorize';
|
|
15268
15268
|
exports.scope = 'read:user';
|
|
15269
15269
|
exports.accessTokenEndpoint = 'https://github.com/login/oauth/access_token';
|
|
@@ -15276,7 +15276,7 @@ exports.defaultMetadata = {
|
|
|
15276
15276
|
en: 'GitHub',
|
|
15277
15277
|
'zh-CN': 'GitHub',
|
|
15278
15278
|
'tr-TR': 'GitHub',
|
|
15279
|
-
|
|
15279
|
+
ko: 'GitHub',
|
|
15280
15280
|
},
|
|
15281
15281
|
logo: './logo.svg',
|
|
15282
15282
|
logoDark: './logo-dark.svg',
|
|
@@ -15284,7 +15284,7 @@ exports.defaultMetadata = {
|
|
|
15284
15284
|
en: 'GitHub is an online community for software development and version control.',
|
|
15285
15285
|
'zh-CN': 'GitHub 是极受欢迎的代码托管仓库。',
|
|
15286
15286
|
'tr-TR': 'GitHub, yazılım geliştirme ve sürüm kontrolü için çevrimiçi bir topluluktur.',
|
|
15287
|
-
|
|
15287
|
+
ko: 'GitHub는 소프트웨어 개발과 버전 관리를 위한 온라인 커뮤니티입니다.',
|
|
15288
15288
|
},
|
|
15289
15289
|
readme: './README.md',
|
|
15290
15290
|
configTemplate: './docs/config-template.json',
|
|
@@ -15324,7 +15324,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
15324
15324
|
};
|
|
15325
15325
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15326
15326
|
exports.getAccessToken = void 0;
|
|
15327
|
-
const connector_kit_1 = __nccwpck_require__(
|
|
15327
|
+
const connector_kit_1 = __nccwpck_require__(1743);
|
|
15328
15328
|
const essentials_1 = __nccwpck_require__(8138);
|
|
15329
15329
|
const got_1 = __importStar(__nccwpck_require__(5569));
|
|
15330
15330
|
const qs = __importStar(__nccwpck_require__(7348));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/connector-github",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.11",
|
|
4
4
|
"description": "Github web connector implementation.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepack": "pnpm build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@logto/connector-kit": "^1.0.0-beta.
|
|
27
|
+
"@logto/connector-kit": "^1.0.0-beta.20",
|
|
28
28
|
"@silverhand/essentials": "^1.2.0",
|
|
29
29
|
"@silverhand/jest-config": "1.0.0",
|
|
30
30
|
"got": "^11.8.2",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "62c344b3983e465958ff1210cc9e0ea959002510"
|
|
60
60
|
}
|