nucleus-core-ts 0.8.4 → 0.8.5

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/dist/client.js CHANGED
@@ -1 +1 @@
1
- function _0x58cb(_0x4f45bc,_0x36fc5d){_0x4f45bc=_0x4f45bc-0x12b;var _0x35810e=_0x3581();var _0x58cb22=_0x35810e[_0x4f45bc];if(_0x58cb['UnATwI']===undefined){var _0x138b67=function(_0xd64ec1){var _0x173d31='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1d0a7d='',_0x1b36f8='';for(var _0x122eeb=0x0,_0x3e396f,_0x29c7fa,_0x3374bc=0x0;_0x29c7fa=_0xd64ec1['charAt'](_0x3374bc++);~_0x29c7fa&&(_0x3e396f=_0x122eeb%0x4?_0x3e396f*0x40+_0x29c7fa:_0x29c7fa,_0x122eeb++%0x4)?_0x1d0a7d+=String['fromCharCode'](0xff&_0x3e396f>>(-0x2*_0x122eeb&0x6)):0x0){_0x29c7fa=_0x173d31['indexOf'](_0x29c7fa);}for(var _0x36a0f8=0x0,_0x27014a=_0x1d0a7d['length'];_0x36a0f8<_0x27014a;_0x36a0f8++){_0x1b36f8+='%'+('00'+_0x1d0a7d['charCodeAt'](_0x36a0f8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b36f8);};_0x58cb['oxATCG']=_0x138b67,_0x58cb['ojhJPr']={},_0x58cb['UnATwI']=!![];}var _0x4c566b=_0x35810e[0x0],_0x39fb1b=_0x4f45bc+_0x4c566b,_0x3751e7=_0x58cb['ojhJPr'][_0x39fb1b];return!_0x3751e7?(_0x58cb22=_0x58cb['oxATCG'](_0x58cb22),_0x58cb['ojhJPr'][_0x39fb1b]=_0x58cb22):_0x58cb22=_0x3751e7,_0x58cb22;}function _0x3581(){var _0xe509f8=['ntyZmde2A0jrA3vA','mJyYmZbnwK9WqKK','mZC0ntyWAMPkBKPP','mZuYmJq1C3LHvML5','mJC1mdfwrMrPEeu','mtm5oduXmeHerw1wAq','mtK1ota3nvvry0ffCW','nKzlAMfKuW','mtyWrwjQrKn6','mJfJq25Qrwe'];_0x3581=function(){return _0xe509f8;};return _0x3581();}(function(_0x869cfe,_0x457b10){var _0x8274d7=_0x58cb,_0x4d3c62=_0x869cfe();while(!![]){try{var _0x52d609=-parseInt(_0x8274d7(0x133))/0x1*(parseInt(_0x8274d7(0x12f))/0x2)+parseInt(_0x8274d7(0x12c))/0x3*(parseInt(_0x8274d7(0x130))/0x4)+-parseInt(_0x8274d7(0x12b))/0x5+parseInt(_0x8274d7(0x132))/0x6*(parseInt(_0x8274d7(0x131))/0x7)+parseInt(_0x8274d7(0x134))/0x8+-parseInt(_0x8274d7(0x12e))/0x9+parseInt(_0x8274d7(0x12d))/0xa;if(_0x52d609===_0x457b10)break;else _0x4d3c62['push'](_0x4d3c62['shift']());}catch(_0x3f1d39){_0x4d3c62['push'](_0x4d3c62['shift']());}}}(_0x3581,0x7244d));import{a as _0x1d0a7d,b as _0x1b36f8,c as _0x122eeb,d as _0x3e396f,e as _0x29c7fa,f as _0x3374bc,n as _0x36a0f8}from'./index-tv67j5qd.js';import'./index-0yyw12k6.js';export{_0x29c7fa as generateSystemTableEndpoints,_0x122eeb as generateEndpointsFromConfig,_0x3e396f as generateAuthEndpoints,_0x3374bc as generateAllEndpoints,_0x36a0f8 as createServerFactory,_0x1d0a7d as createApiHook,_0x1b36f8 as AUTH_ENDPOINT_CONFIGS};
1
+ (function(_0x13654d,_0x4da63c){var _0x19cd60=_0x1158,_0x362628=_0x13654d();while(!![]){try{var _0x5e8e15=-parseInt(_0x19cd60(0xda))/0x1*(parseInt(_0x19cd60(0xd9))/0x2)+parseInt(_0x19cd60(0xe0))/0x3+-parseInt(_0x19cd60(0xe2))/0x4+-parseInt(_0x19cd60(0xde))/0x5*(-parseInt(_0x19cd60(0xdd))/0x6)+parseInt(_0x19cd60(0xdb))/0x7+parseInt(_0x19cd60(0xdf))/0x8*(-parseInt(_0x19cd60(0xdc))/0x9)+parseInt(_0x19cd60(0xe1))/0xa;if(_0x5e8e15===_0x4da63c)break;else _0x362628['push'](_0x362628['shift']());}catch(_0x1b2e38){_0x362628['push'](_0x362628['shift']());}}}(_0x4236,0x1c50d));function _0x1158(_0x3f0440,_0x442028){_0x3f0440=_0x3f0440-0xd9;var _0x4236a0=_0x4236();var _0x11582d=_0x4236a0[_0x3f0440];if(_0x1158['LnOppP']===undefined){var _0x274eaa=function(_0x4e05e1){var _0x3be857='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x81101d='',_0x5d6168='';for(var _0x4279ba=0x0,_0x540c4b,_0x1e20a4,_0x1ad26c=0x0;_0x1e20a4=_0x4e05e1['charAt'](_0x1ad26c++);~_0x1e20a4&&(_0x540c4b=_0x4279ba%0x4?_0x540c4b*0x40+_0x1e20a4:_0x1e20a4,_0x4279ba++%0x4)?_0x81101d+=String['fromCharCode'](0xff&_0x540c4b>>(-0x2*_0x4279ba&0x6)):0x0){_0x1e20a4=_0x3be857['indexOf'](_0x1e20a4);}for(var _0x124d6f=0x0,_0x1b3ec6=_0x81101d['length'];_0x124d6f<_0x1b3ec6;_0x124d6f++){_0x5d6168+='%'+('00'+_0x81101d['charCodeAt'](_0x124d6f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5d6168);};_0x1158['MUIuZr']=_0x274eaa,_0x1158['cDFfGI']={},_0x1158['LnOppP']=!![];}var _0x96133a=_0x4236a0[0x0],_0x54e68d=_0x3f0440+_0x96133a,_0x3f10a0=_0x1158['cDFfGI'][_0x54e68d];return!_0x3f10a0?(_0x11582d=_0x1158['MUIuZr'](_0x11582d),_0x1158['cDFfGI'][_0x54e68d]=_0x11582d):_0x11582d=_0x3f10a0,_0x11582d;}import{a as _0x81101d,b as _0x5d6168,c as _0x4279ba,d as _0x540c4b,e as _0x1e20a4,f as _0x1ad26c,n as _0x124d6f}from'./index-tv67j5qd.js';import'./index-0yyw12k6.js';export{_0x1e20a4 as generateSystemTableEndpoints,_0x4279ba as generateEndpointsFromConfig,_0x540c4b as generateAuthEndpoints,_0x1ad26c as generateAllEndpoints,_0x124d6f as createServerFactory,_0x81101d as createApiHook,_0x5d6168 as AUTH_ENDPOINT_CONFIGS};function _0x4236(){var _0x275241=['ovLiq29dsa','mtq4mda4n1v0EMH0ta','mta1ndHdquPuteS','nJuXmdz0CePbseO','ndv5EgHvs0q','otq0vuDTvuz5','mZK5mZyZsKHezhLb','oteWodaWy1r2ve5e','ntmWmZC2Cgf3CvHf','mZi1ndbHsKvby3K'];_0x4236=function(){return _0x275241;};return _0x4236();}
@@ -1,4 +1,4 @@
1
1
  export { Captcha } from "./components/Captcha";
2
2
  export { captchaTheme } from "./theme";
3
- export type { CaptchaAction, CaptchaChallenge, CaptchaConfig, CaptchaDifficulty, CaptchaProps, CaptchaState, CaptchaType, } from "./types";
3
+ export type { CaptchaAction, CaptchaChallenge, CaptchaChallengeData, CaptchaConfig, CaptchaDifficulty, CaptchaProps, CaptchaState, CaptchaType, } from "./types";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,6 @@
1
1
  export type CaptchaType = "math" | "image" | "puzzle" | "text";
2
2
  export type CaptchaDifficulty = "easy" | "medium" | "hard";
3
- export interface CaptchaChallenge {
4
- success: boolean;
3
+ export interface CaptchaChallengeData {
5
4
  challengeId: string;
6
5
  type: CaptchaType;
7
6
  question: string;
@@ -15,7 +14,11 @@ export interface CaptchaChallenge {
15
14
  };
16
15
  expiresAt: number;
17
16
  rateLimited?: boolean;
17
+ }
18
+ export interface CaptchaChallenge {
19
+ success: boolean;
18
20
  message?: string;
21
+ data?: CaptchaChallengeData;
19
22
  }
20
23
  export interface CaptchaConfig {
21
24
  enabled?: boolean;