decord/source/modules/billing/native/subscription/useResubscribeSubscriptionParams.tsx

33 lines
951 B
TypeScript
Raw Normal View History

// Module ID: 10957
// Function ID: 10958
2026-07-20 16:05:17 +00:00
// Name: useResubscribeSubscriptionParams
// Dependencies: [19, 10953, 1255, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10957 (useResubscribeSubscriptionParams)
import v1 from "v1" /* 1255 */;
import useToggleOnIAPSuccessDefault from "useToggleOnIAPSuccess" /* 10953 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/billing/native/subscription/useResubscribeSubscriptionParams.tsx");
2026-07-20 16:05:17 +00:00
export default function useResubscribeSubscriptionParams(arg0) {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
const tmp = useToggleOnIAPSuccessDefault();
2026-07-23 10:11:24 +00:00
importDefault = tmp;
2026-07-20 16:05:17 +00:00
const items = [arg0, tmp];
return noop.useMemo(() => {
2026-07-29 08:29:29 +00:00
let tmp2 = null;
if (null != closure_0) {
2026-07-29 08:29:29 +00:00
tmp2 = null;
2026-07-23 10:11:24 +00:00
if (null != closure_1) {
const obj = { requestIdentifier: v1.v4(), subscriptionId: tmp };
2026-07-29 08:29:29 +00:00
tmp2 = obj;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
return tmp2;
2026-07-20 16:05:17 +00:00
}, items);
};