@whop/embedded-components-react-js 0.0.5-beta.20 → 0.0.5-beta.22

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 { AddPayoutMethodElement } from './payouts/elements/add-payout-method.js';
2
3
  export { AutomaticWithdrawElement } from './payouts/elements/automatic-withdraw.js';
3
4
  export { BalanceElement } from './payouts/elements/balance.js';
4
5
  export { ChangeAccountCountryElement } from './payouts/elements/change-account-country.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 AddPayoutMethodElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.AddPayoutMethodElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { AddPayoutMethodElement };
@@ -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 add_payout_method_exports = {};
21
+ __export(add_payout_method_exports, {
22
+ AddPayoutMethodElement: () => AddPayoutMethodElement
23
+ });
24
+ module.exports = __toCommonJS(add_payout_method_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const AddPayoutMethodElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "AddPayoutMethodElement",
28
+ type: "add-payout-method-element"
29
+ });
30
+ //# sourceMappingURL=add-payout-method.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/add-payout-method.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const AddPayoutMethodElement = withFallback({\n\tdisplayName: \"AddPayoutMethodElement\",\n\ttype: \"add-payout-method-element\",\n} as const);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,6BAAyB,mCAAa;AAAA,EAClD,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 AddPayoutMethodElement = withFallback({
5
+ displayName: "AddPayoutMethodElement",
6
+ type: "add-payout-method-element"
7
+ });
8
+ export { AddPayoutMethodElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/add-payout-method.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const AddPayoutMethodElement = withFallback({\n\tdisplayName: \"AddPayoutMethodElement\",\n\ttype: \"add-payout-method-element\",\n} as const);\n\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,yBAAyB,aAAa;AAAA,EAClD,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -1,3 +1,4 @@
1
+ export { AddPayoutMethodElement } from './add-payout-method.js';
1
2
  export { AutomaticWithdrawElement } from './automatic-withdraw.js';
2
3
  export { BalanceElement } from './balance.js';
3
4
  export { ChangeAccountCountryElement } from './change-account-country.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("./add-payout-method"), module.exports);
18
19
  __reExport(elements_exports, require("./automatic-withdraw"), module.exports);
19
20
  __reExport(elements_exports, require("./balance"), module.exports);
20
21
  __reExport(elements_exports, require("./change-account-country"), module.exports);
@@ -1 +1 @@
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
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./add-payout-method\";\nexport * 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,gCAAd;AACA,6BAAc,iCADd;AAEA,6BAAc,sBAFd;AAGA,6BAAc,qCAHd;AAIA,6BAAc,4BAJd;AAKA,6BAAc,qBALd;AAMA,6BAAc,8BANd;AAOA,6BAAc,mCAPd;AAQA,6BAAc,0BARd;AASA,6BAAc,sCATd;AAUA,6BAAc,wCAVd;AAWA,6BAAc,gDAXd;AAYA,6BAAc,6CAZd;AAaA,6BAAc,0CAbd;AAcA,6BAAc,4BAdd;","names":[]}
@@ -1,3 +1,4 @@
1
+ export * from "./add-payout-method.mjs";
1
2
  export * from "./automatic-withdraw.mjs";
2
3
  export * from "./balance.mjs";
3
4
  export * from "./change-account-country.mjs";
@@ -1 +1 @@
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
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./add-payout-method\";\nexport * 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;AACd,cAAc;","names":[]}
@@ -1,4 +1,5 @@
1
1
  export { PayoutsSession, usePayoutsSession } from './session.js';
2
+ export { AddPayoutMethodElement } from './elements/add-payout-method.js';
2
3
  export { AutomaticWithdrawElement } from './elements/automatic-withdraw.js';
3
4
  export { BalanceElement } from './elements/balance.js';
4
5
  export { ChangeAccountCountryElement } from './elements/change-account-country.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.20",
3
+ "version": "0.0.5-beta.22",
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.20",
24
+ "@whop/embedded-components-vanilla-js": "^0.0.5-beta.22",
25
25
  "react": ">=16.8.0 <20.0.0",
26
26
  "react-dom": ">=16.8.0 <20.0.0"
27
27
  }