@logto/connector-discord 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 +7 -7
- 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";
|
|
@@ -14606,7 +14606,7 @@ exports.oboolean = oboolean;
|
|
|
14606
14606
|
|
|
14607
14607
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
14608
14608
|
exports.defaultTimeout = exports.defaultMetadata = exports.scope = exports.userInfoEndpoint = exports.accessTokenEndpoint = exports.authorizationEndpoint = void 0;
|
|
14609
|
-
const connector_kit_1 = __nccwpck_require__(
|
|
14609
|
+
const connector_kit_1 = __nccwpck_require__(1743);
|
|
14610
14610
|
/**
|
|
14611
14611
|
* Base authorization URL.
|
|
14612
14612
|
* https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-urls
|
|
@@ -14637,7 +14637,7 @@ exports.defaultMetadata = {
|
|
|
14637
14637
|
'pt-PT': 'Discord é a forma mais fácil de comunicar por voz, vídeo e texto.',
|
|
14638
14638
|
'zh-CN': 'Discord 是一款专为社群设计的免费网络实时通话软件与数字发行平台。',
|
|
14639
14639
|
'tr-TR': 'Discord, sesli, görüntülü ve metin üzerinden konuşmanın en kolay yoludur.',
|
|
14640
|
-
|
|
14640
|
+
ko: 'Discord는 음성, 비디오 및 텍스트로 대화하는 가장 쉬운 방법입니다.',
|
|
14641
14641
|
},
|
|
14642
14642
|
readme: './README.md',
|
|
14643
14643
|
configTemplate: './docs/config-template.json',
|
|
@@ -14681,7 +14681,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
14681
14681
|
};
|
|
14682
14682
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
14683
14683
|
exports.getAccessToken = void 0;
|
|
14684
|
-
const connector_kit_1 = __nccwpck_require__(
|
|
14684
|
+
const connector_kit_1 = __nccwpck_require__(1743);
|
|
14685
14685
|
const essentials_1 = __nccwpck_require__(8138);
|
|
14686
14686
|
const got_1 = __importStar(__nccwpck_require__(5569));
|
|
14687
14687
|
const constant_1 = __nccwpck_require__(87);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/connector-discord",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.11",
|
|
4
4
|
"description": "Discord connector implementation.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepack": "pnpm build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@logto/connector-kit": "^1.0.0-beta.
|
|
26
|
+
"@logto/connector-kit": "^1.0.0-beta.20",
|
|
27
27
|
"@silverhand/essentials": "^1.2.0",
|
|
28
28
|
"@silverhand/jest-config": "1.0.0",
|
|
29
29
|
"got": "^11.8.2",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "62c344b3983e465958ff1210cc9e0ea959002510"
|
|
58
58
|
}
|