@settlemint/sdk-next 2.6.4 → 2.6.11-main1dfcd21

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/README.md CHANGED
@@ -49,7 +49,7 @@ The SettleMint Next.js SDK provides a seamless integration layer between Next.js
49
49
 
50
50
  > **HelloWorld**(`props`): `ReactElement`
51
51
 
52
- Defined in: [components/test.tsx:16](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/next/src/components/test.tsx#L16)
52
+ Defined in: [components/test.tsx:16](https://github.com/settlemint/sdk/blob/v2.6.11/sdk/next/src/components/test.tsx#L16)
53
53
 
54
54
  A simple Hello World component that greets the user.
55
55
 
@@ -71,7 +71,7 @@ A React element that displays a greeting to the user.
71
71
 
72
72
  > **withSettleMint**\<`C`\>(`nextConfig`, `options`): `Promise`\<`C`\>
73
73
 
74
- Defined in: [config/with-settlemint.ts:21](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/next/src/config/with-settlemint.ts#L21)
74
+ Defined in: [config/with-settlemint.ts:21](https://github.com/settlemint/sdk/blob/v2.6.11/sdk/next/src/config/with-settlemint.ts#L21)
75
75
 
76
76
  Modifies the passed in Next.js configuration with SettleMint-specific settings.
77
77
 
@@ -102,7 +102,7 @@ If the SettleMint configuration cannot be read or processed
102
102
 
103
103
  #### HelloWorldProps
104
104
 
105
- Defined in: [components/test.tsx:6](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/next/src/components/test.tsx#L6)
105
+ Defined in: [components/test.tsx:6](https://github.com/settlemint/sdk/blob/v2.6.11/sdk/next/src/components/test.tsx#L6)
106
106
 
107
107
  The props for the HelloWorld component.
108
108
 
@@ -110,7 +110,7 @@ The props for the HelloWorld component.
110
110
 
111
111
  #### WithSettleMintOptions
112
112
 
113
- Defined in: [config/with-settlemint.ts:6](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/next/src/config/with-settlemint.ts#L6)
113
+ Defined in: [config/with-settlemint.ts:6](https://github.com/settlemint/sdk/blob/v2.6.11/sdk/next/src/config/with-settlemint.ts#L6)
114
114
 
115
115
  Options for configuring the SettleMint configuration.
116
116
 
@@ -118,7 +118,7 @@ Options for configuring the SettleMint configuration.
118
118
 
119
119
  | Property | Type | Description | Defined in |
120
120
  | ------ | ------ | ------ | ------ |
121
- | <a id="disabled"></a> `disabled?` | `boolean` | Whether to disable the SettleMint configuration. | [config/with-settlemint.ts:10](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/next/src/config/with-settlemint.ts#L10) |
121
+ | <a id="disabled"></a> `disabled?` | `boolean` | Whether to disable the SettleMint configuration. | [config/with-settlemint.ts:10](https://github.com/settlemint/sdk/blob/v2.6.11/sdk/next/src/config/with-settlemint.ts#L10) |
122
122
 
123
123
  ## Contributing
124
124
 
@@ -1,29 +1,5 @@
1
1
  /* SettleMint Next.js Components */
2
- //#region rolldown:runtime
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
- get: ((k) => from[k]).bind(null, key),
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
- value: mod,
21
- enumerable: true
22
- }) : target, mod));
23
-
24
- //#endregion
25
2
  let react_jsx_runtime = require("react/jsx-runtime");
26
- react_jsx_runtime = __toESM(react_jsx_runtime);
27
3
 
28
4
  //#region src/components/test.tsx
29
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"test.cjs","names":[],"sources":["../../src/components/test.tsx"],"sourcesContent":["import type { ReactElement } from \"react\";\n\n/**\n * The props for the HelloWorld component.\n */\nexport interface HelloWorldProps {\n name?: string;\n}\n\n/**\n * A simple Hello World component that greets the user.\n *\n * @param props - The props for the HelloWorld component.\n * @returns A React element that displays a greeting to the user.\n */\nexport function HelloWorld({ name = \"World\" }: HelloWorldProps): ReactElement {\n return (\n <div className=\"p-4 bg-gray-100 rounded-md shadow-sm\">\n <h1 className=\"text-2xl font-bold text-gray-800\">Hello, {name}!</h1>\n <p className=\"mt-2 text-gray-600\">Welcome to our React component.</p>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,SAAgB,WAAW,EAAE,OAAO,WAA0C;AAC5E,QACE,4CAAC;EAAI,WAAU;aACb,4CAAC;GAAG,WAAU;;IAAmC;IAAQ;IAAK;;IAAM,EACpE,2CAAC;GAAE,WAAU;aAAqB;IAAmC;GACjE"}
1
+ {"version":3,"file":"test.cjs","names":[],"sources":["../../src/components/test.tsx"],"sourcesContent":["import type { ReactElement } from \"react\";\n\n/**\n * The props for the HelloWorld component.\n */\nexport interface HelloWorldProps {\n name?: string;\n}\n\n/**\n * A simple Hello World component that greets the user.\n *\n * @param props - The props for the HelloWorld component.\n * @returns A React element that displays a greeting to the user.\n */\nexport function HelloWorld({ name = \"World\" }: HelloWorldProps): ReactElement {\n return (\n <div className=\"p-4 bg-gray-100 rounded-md shadow-sm\">\n <h1 className=\"text-2xl font-bold text-gray-800\">Hello, {name}!</h1>\n <p className=\"mt-2 text-gray-600\">Welcome to our React component.</p>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAgB,WAAW,EAAE,OAAO,WAA0C;AAC5E,QACE,4CAAC;EAAI,WAAU;aACb,4CAAC;GAAG,WAAU;;IAAmC;IAAQ;IAAK;;IAAM,EACpE,2CAAC;GAAE,WAAU;aAAqB;IAAmC;GACjE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@settlemint/sdk-next",
3
3
  "description": "Next.js integration module for SettleMint SDK, providing React components and middleware for web applications",
4
- "version": "2.6.4",
4
+ "version": "2.6.11-main1dfcd21",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -67,7 +67,7 @@
67
67
  "test": "bun test",
68
68
  "test:coverage": "bun test --coverage",
69
69
  "typecheck": "tsc --noEmit",
70
- "publish-npm": "bun publish --tag ${TAG} --access public || exit 0",
70
+ "publish-npm": "npm publish --provenance --tag ${TAG} --access public",
71
71
  "prepack": "cp ../../LICENSE .",
72
72
  "docs": "typedoc --options '../../typedoc.config.mjs' --entryPoints src/components/test.tsx src/config/with-settlemint.ts --out ./docs"
73
73
  },
@@ -75,7 +75,7 @@
75
75
  "@types/react": ">=18"
76
76
  },
77
77
  "dependencies": {
78
- "@settlemint/sdk-utils": "2.6.4",
78
+ "@settlemint/sdk-utils": "2.6.11-main1dfcd21",
79
79
  "path-to-regexp": "^8"
80
80
  },
81
81
  "peerDependencies": {