@neus/sdk 1.1.2 → 1.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neus/sdk",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "NEUS makes trust portable across the internet — so people, apps, and AI agents can prove what is real before access, payout, or execution.",
5
5
  "bin": {
6
6
  "neus": "cli/neus.mjs"
package/types.d.ts CHANGED
@@ -57,18 +57,18 @@
57
57
 
58
58
  export interface NeusClientConfig {
59
59
  apiUrl?: string;
60
- /** Optional server profile key — MCP/CI only; not required for VerifyGate or gateCheck. */
60
+ /** Optional server profile key; MCP/CI only. Not required for VerifyGate or gateCheck. */
61
61
  apiKey?: string;
62
62
  /** Public app attribution id (non-secret). */
63
63
  appId?: string;
64
- /** Hub wallet that pays for user verification checks (your NEUS account). */
64
+ /** Advanced server/app sponsor wallet. Published gate checkout resolves billing from gateId. */
65
65
  billingWallet?: string;
66
66
  /** Alias for billingWallet. */
67
67
  sponsorOrgWallet?: string;
68
68
  orgWallet?: string;
69
69
  /** Site origin used when issuing billing authorization (defaults to browser origin). */
70
70
  appOrigin?: string;
71
- /** Advanced server path only; use appId + billingWallet for the default app flow. */
71
+ /** Advanced server path only; not required for published gate checkout. */
72
72
  appLinkQHash?: string;
73
73
  paymentSignature?: string;
74
74
  extraHeaders?: Record<string, string>;
package/widgets/README.md CHANGED
@@ -1,41 +1,41 @@
1
- # NEUS Widgets
2
-
3
- **Proof-aware React components** (VerifyGate, ProofBadge) so your UI can show verified state and gate content **using the same checks your server already trusts** - avoid re-implementing verifier rules only in the browser.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install @neus/sdk react react-dom
9
- ```
10
-
11
- ## VerifyGate
12
-
1
+ # NEUS Widgets
2
+
3
+ **Proof-aware React components** (VerifyGate, ProofBadge) so your UI can show verified state and gate content **using the same checks your server already trusts** - avoid re-implementing verifier rules only in the browser.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @neus/sdk react react-dom
9
+ ```
10
+
11
+ ## VerifyGate
12
+
13
13
  Create mode opens Hosted Verify. The published gate owns verifier inputs, pricing, and checkout policy.
14
-
15
- ```jsx
16
- import { VerifyGate } from '@neus/sdk/widgets';
17
-
18
- export function Page() {
19
- return (
14
+
15
+ ```jsx
16
+ import { VerifyGate } from '@neus/sdk/widgets';
17
+
18
+ export function Page() {
19
+ return (
20
20
  <VerifyGate
21
- gateId="gate_abc123"
21
+ gateId="gate_your-app-name"
22
22
  >
23
23
  <div>Unlocked</div>
24
24
  </VerifyGate>
25
- );
26
- }
27
- ```
28
-
29
- ## ProofBadge
30
-
31
- ```jsx
32
- import { ProofBadge } from '@neus/sdk/widgets';
33
-
34
- <ProofBadge qHash={proof.qHash} showChains />
35
- ```
36
-
37
- ## Docs
38
-
39
- - [Widgets Overview](https://docs.neus.network/widgets/overview)
40
- - [Verify Component](https://docs.neus.network/widgets/verifygate)
41
- - [Quickstart](https://docs.neus.network/quickstart)
25
+ );
26
+ }
27
+ ```
28
+
29
+ ## ProofBadge
30
+
31
+ ```jsx
32
+ import { ProofBadge } from '@neus/sdk/widgets';
33
+
34
+ <ProofBadge qHash={proof.qHash} showChains />
35
+ ```
36
+
37
+ ## Docs
38
+
39
+ - [Widgets Overview](https://docs.neus.network/widgets/overview)
40
+ - [Verify Component](https://docs.neus.network/widgets/verifygate)
41
+ - [Quickstart](https://docs.neus.network/quickstart)