@pinerohit11/testwidget 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
- declare function Greet({ name }: {
3
+ declare function PaywithFractal({ name }: {
4
4
  name: string;
5
5
  }): React.JSX.Element;
6
6
 
7
- export { Greet };
7
+ export { PaywithFractal };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
- declare function Greet({ name }: {
3
+ declare function PaywithFractal({ name }: {
4
4
  name: string;
5
5
  }): React.JSX.Element;
6
6
 
7
- export { Greet };
7
+ export { PaywithFractal };
package/dist/index.js CHANGED
@@ -30,16 +30,17 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/app/index.ts
31
31
  var app_exports = {};
32
32
  __export(app_exports, {
33
- Greet: () => Greet
33
+ PaywithFractal: () => PaywithFractal
34
34
  });
35
35
  module.exports = __toCommonJS(app_exports);
36
36
 
37
37
  // src/app/components/Greet.tsx
38
38
  var import_react = __toESM(require("react"));
39
- function Greet({ name }) {
40
- return /* @__PURE__ */ import_react.default.createElement("h1", null, "Hello, ", name, "!");
39
+ function PaywithFractal({ name }) {
40
+ console.log(name, "name");
41
+ return /* @__PURE__ */ import_react.default.createElement("button", null, "Pay");
41
42
  }
42
43
  // Annotate the CommonJS export names for ESM import in node:
43
44
  0 && (module.exports = {
44
- Greet
45
+ PaywithFractal
45
46
  });
package/dist/index.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  // src/app/components/Greet.tsx
2
2
  import React from "react";
3
- function Greet({ name }) {
4
- return /* @__PURE__ */ React.createElement("h1", null, "Hello, ", name, "!");
3
+ function PaywithFractal({ name }) {
4
+ console.log(name, "name");
5
+ return /* @__PURE__ */ React.createElement("button", null, "Pay");
5
6
  }
6
7
  export {
7
- Greet
8
+ PaywithFractal
8
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev",