@whop/embedded-components-react-js 0.0.5-beta.14 → 0.0.5-beta.16

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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { PayoutsSession, usePayoutsSession } from './payouts/session.js';
2
+ export { AutomaticWithdrawElement } from './payouts/elements/automatic-withdraw.js';
2
3
  export { BalanceElement } from './payouts/elements/balance.js';
3
4
  export { ChangeAccountCountryElement } from './payouts/elements/change-account-country.js';
4
5
  export { ResetAccountElement } from './payouts/elements/reset-account.js';
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const AutomaticWithdrawElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.AutomaticWithdrawElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { AutomaticWithdrawElement };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var automatic_withdraw_exports = {};
21
+ __export(automatic_withdraw_exports, {
22
+ AutomaticWithdrawElement: () => AutomaticWithdrawElement
23
+ });
24
+ module.exports = __toCommonJS(automatic_withdraw_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const AutomaticWithdrawElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "AutomaticWithdrawElement",
28
+ type: "automatic-withdraw-element"
29
+ });
30
+ //# sourceMappingURL=automatic-withdraw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/automatic-withdraw.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const AutomaticWithdrawElement = withFallback({\n\tdisplayName: \"AutomaticWithdrawElement\",\n\ttype: \"automatic-withdraw-element\",\n} as const);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,+BAA2B,mCAAa;AAAA,EACpD,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const AutomaticWithdrawElement = withFallback({
5
+ displayName: "AutomaticWithdrawElement",
6
+ type: "automatic-withdraw-element"
7
+ });
8
+ export { AutomaticWithdrawElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/automatic-withdraw.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const AutomaticWithdrawElement = withFallback({\n\tdisplayName: \"AutomaticWithdrawElement\",\n\ttype: \"automatic-withdraw-element\",\n} as const);\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,2BAA2B,aAAa;AAAA,EACpD,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -1,3 +1,4 @@
1
+ export { AutomaticWithdrawElement } from './automatic-withdraw.js';
1
2
  export { BalanceElement } from './balance.js';
2
3
  export { ChangeAccountCountryElement } from './change-account-country.js';
3
4
  export { ResetAccountElement } from './reset-account.js';
@@ -15,6 +15,7 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var elements_exports = {};
17
17
  module.exports = __toCommonJS(elements_exports);
18
+ __reExport(elements_exports, require("./automatic-withdraw"), module.exports);
18
19
  __reExport(elements_exports, require("./balance"), module.exports);
19
20
  __reExport(elements_exports, require("./change-account-country"), module.exports);
20
21
  __reExport(elements_exports, require("./reset-account"), module.exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,sBAAd;AACA,6BAAc,qCADd;AAEA,6BAAc,4BAFd;AAGA,6BAAc,qBAHd;AAIA,6BAAc,8BAJd;AAKA,6BAAc,mCALd;AAMA,6BAAc,0BANd;AAOA,6BAAc,sCAPd;AAQA,6BAAc,wCARd;AASA,6BAAc,gDATd;AAUA,6BAAc,6CAVd;AAWA,6BAAc,0CAXd;AAYA,6BAAc,4BAZd;","names":[]}
1
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./automatic-withdraw\";\nexport * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,iCAAd;AACA,6BAAc,sBADd;AAEA,6BAAc,qCAFd;AAGA,6BAAc,4BAHd;AAIA,6BAAc,qBAJd;AAKA,6BAAc,8BALd;AAMA,6BAAc,mCANd;AAOA,6BAAc,0BAPd;AAQA,6BAAc,sCARd;AASA,6BAAc,wCATd;AAUA,6BAAc,gDAVd;AAWA,6BAAc,6CAXd;AAYA,6BAAc,0CAZd;AAaA,6BAAc,4BAbd;","names":[]}
@@ -1,3 +1,4 @@
1
+ export * from "./automatic-withdraw.mjs";
1
2
  export * from "./balance.mjs";
2
3
  export * from "./change-account-country.mjs";
3
4
  export * from "./reset-account.mjs";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./automatic-withdraw\";\nexport * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -1,4 +1,5 @@
1
1
  export { PayoutsSession, usePayoutsSession } from './session.js';
2
+ export { AutomaticWithdrawElement } from './elements/automatic-withdraw.js';
2
3
  export { BalanceElement } from './elements/balance.js';
3
4
  export { ChangeAccountCountryElement } from './elements/change-account-country.js';
4
5
  export { ResetAccountElement } from './elements/reset-account.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whop/embedded-components-react-js",
3
- "version": "0.0.5-beta.14",
3
+ "version": "0.0.5-beta.16",
4
4
  "description": "React components for Whop.js",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21,7 +21,7 @@
21
21
  "access": "public"
22
22
  },
23
23
  "peerDependencies": {
24
- "@whop/embedded-components-vanilla-js": "^0.0.5-beta.14",
24
+ "@whop/embedded-components-vanilla-js": "^0.0.5-beta.16",
25
25
  "react": ">=16.8.0 <20.0.0",
26
26
  "react-dom": ">=16.8.0 <20.0.0"
27
27
  }