namirasoft-account-react 1.4.321 → 1.4.322
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.
|
@@ -2,5 +2,5 @@ import { NSARouterMakerProps } from "../NSARouterMakerProps";
|
|
|
2
2
|
interface NSAEmailVerificationPageProps extends NSARouterMakerProps {
|
|
3
3
|
callback: string;
|
|
4
4
|
}
|
|
5
|
-
declare function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export
|
|
5
|
+
export declare function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { NSAVerificationPage } from "./NSAVerificationPage";
|
|
12
|
-
function NSAEmailVerificationPage(props) {
|
|
12
|
+
export function NSAEmailVerificationPage(props) {
|
|
13
13
|
return (_jsx(NSAVerificationPage, Object.assign({}, props, { contact_type: "Email", contact_value_name: "Email", getContactValue: () => {
|
|
14
14
|
var _a, _b, _c;
|
|
15
15
|
return (_c = (_b = (_a = props.account.token_manager.get()) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.email) !== null && _c !== void 0 ? _c : "";
|
|
@@ -20,5 +20,4 @@ function NSAEmailVerificationPage(props) {
|
|
|
20
20
|
}), onFinished: () => props.url.redirect(props.callback, {}) })));
|
|
21
21
|
}
|
|
22
22
|
;
|
|
23
|
-
export default NSAEmailVerificationPage;
|
|
24
23
|
//# sourceMappingURL=NSAEmailVerificationPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSAEmailVerificationPage.js","sourceRoot":"","sources":["../../src/pages/NSAEmailVerificationPage.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAO5D,
|
|
1
|
+
{"version":3,"file":"NSAEmailVerificationPage.js","sourceRoot":"","sources":["../../src/pages/NSAEmailVerificationPage.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAO5D,MAAM,UAAU,wBAAwB,CAAC,KAAoC;IAE5E,OAAO,CACN,KAAC,mBAAmB,oBACf,KAAK,IACT,YAAY,EAAC,OAAO,EACpB,kBAAkB,EAAC,OAAO,EAC1B,eAAe,EAAE,GAAG,EAAE;;YAErB,OAAO,MAAA,MAAA,MAAA,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,0CAAE,IAAI,0CAAE,KAAK,mCAAI,EAAE,CAAC;QAC7D,CAAC,EACD,SAAS,EAAE,GAAS,EAAE;YAErB,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;QAC5C,CAAC,CAAA,EACD,QAAQ,EAAE,CAAO,IAAY,EAAE,EAAE;YAEhC,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;QACnD,CAAC,CAAA,EACD,UAAU,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,IACvD,CACF,CAAC;AACH,CAAC;AAAA,CAAC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ interface NSAEmailVerificationPageProps extends NSARouterMakerProps
|
|
|
6
6
|
callback: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps)
|
|
9
|
+
export function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps)
|
|
10
10
|
{
|
|
11
11
|
return (
|
|
12
12
|
<NSAVerificationPage
|
|
@@ -28,5 +28,4 @@ function NSAEmailVerificationPage(props: NSAEmailVerificationPageProps)
|
|
|
28
28
|
onFinished={() => props.url.redirect(props.callback, {})}
|
|
29
29
|
/>
|
|
30
30
|
);
|
|
31
|
-
};
|
|
32
|
-
export default NSAEmailVerificationPage;
|
|
31
|
+
};
|