nuudel-main 1.0.103 → 1.0.104
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/build/main/lib/common/helpers.d.ts +1 -0
- package/build/main/lib/plugin/index.d.ts +2 -1
- package/build/main/lib/plugin/index.js +4 -2
- package/build/module/lib/common/helpers.d.ts +1 -0
- package/build/module/lib/plugin/index.d.ts +2 -1
- package/build/module/lib/plugin/index.js +3 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
export declare const encBase64: (data: string, encoding?: BufferEncoding) => string;
|
|
2
3
|
export declare const decBase64: (data: string, encoding?: BufferEncoding) => string;
|
|
3
4
|
export declare const checkHash: (hash: string, divider?: number, length?: number) => boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import oauth2, { oauthPlugin } from './oauth/oauthPlugin';
|
|
2
|
+
import { nextPlugin } from './next/NextPlugin';
|
|
2
3
|
export * from './oauth';
|
|
3
4
|
import fbProfile from './oauth/facebook';
|
|
4
5
|
import googleProfile from './oauth/google';
|
|
5
6
|
export * from './oauth/utils';
|
|
6
|
-
export { oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
7
|
+
export { nextPlugin, oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
@@ -29,14 +29,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.googleProfile = exports.fbProfile = exports.oauth2 = exports.oauthPlugin = void 0;
|
|
32
|
+
exports.googleProfile = exports.fbProfile = exports.oauth2 = exports.oauthPlugin = exports.nextPlugin = void 0;
|
|
33
33
|
const oauthPlugin_1 = __importStar(require("./oauth/oauthPlugin"));
|
|
34
34
|
exports.oauth2 = oauthPlugin_1.default;
|
|
35
35
|
Object.defineProperty(exports, "oauthPlugin", { enumerable: true, get: function () { return oauthPlugin_1.oauthPlugin; } });
|
|
36
|
+
const NextPlugin_1 = require("./next/NextPlugin");
|
|
37
|
+
Object.defineProperty(exports, "nextPlugin", { enumerable: true, get: function () { return NextPlugin_1.nextPlugin; } });
|
|
36
38
|
__exportStar(require("./oauth"), exports);
|
|
37
39
|
const facebook_1 = __importDefault(require("./oauth/facebook"));
|
|
38
40
|
exports.fbProfile = facebook_1.default;
|
|
39
41
|
const google_1 = __importDefault(require("./oauth/google"));
|
|
40
42
|
exports.googleProfile = google_1.default;
|
|
41
43
|
__exportStar(require("./oauth/utils"), exports);
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL3BsdWdpbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG1FQUEwRDtBQU96QixpQkFQMUIscUJBQU0sQ0FPMEI7QUFBbkIsNEZBUEgseUJBQVcsT0FPRztBQU4vQixrREFBK0M7QUFNdkMsMkZBTkMsdUJBQVUsT0FNRDtBQUxsQiwwQ0FBd0I7QUFDeEIsZ0VBQXlDO0FBSUEsb0JBSmxDLGtCQUFTLENBSWtDO0FBSGxELDREQUEyQztBQUdTLHdCQUg3QyxnQkFBYSxDQUc2QztBQUZqRSxnREFBOEIifQ==
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
export declare const encBase64: (data: string, encoding?: BufferEncoding) => string;
|
|
2
3
|
export declare const decBase64: (data: string, encoding?: BufferEncoding) => string;
|
|
3
4
|
export declare const checkHash: (hash: string, divider?: number, length?: number) => boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import oauth2, { oauthPlugin } from './oauth/oauthPlugin';
|
|
2
|
+
import { nextPlugin } from './next/NextPlugin';
|
|
2
3
|
export * from './oauth';
|
|
3
4
|
import fbProfile from './oauth/facebook';
|
|
4
5
|
import googleProfile from './oauth/google';
|
|
5
6
|
export * from './oauth/utils';
|
|
6
|
-
export { oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
7
|
+
export { nextPlugin, oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import oauth2, { oauthPlugin } from './oauth/oauthPlugin';
|
|
2
|
+
import { nextPlugin } from './next/NextPlugin';
|
|
2
3
|
export * from './oauth';
|
|
3
4
|
import fbProfile from './oauth/facebook';
|
|
4
5
|
import googleProfile from './oauth/google';
|
|
5
6
|
export * from './oauth/utils';
|
|
6
|
-
export { oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
export { nextPlugin, oauthPlugin, oauth2, fbProfile, googleProfile };
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL3BsdWdpbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE1BQU0sRUFBRSxFQUFFLFdBQVcsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzFELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUMvQyxjQUFjLFNBQVMsQ0FBQztBQUN4QixPQUFPLFNBQVMsTUFBTSxrQkFBa0IsQ0FBQztBQUN6QyxPQUFPLGFBQWEsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxjQUFjLGVBQWUsQ0FBQztBQUU5QixPQUFPLEVBQUMsVUFBVSxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLGFBQWEsRUFBRSxDQUFDIn0=
|