@proveanything/smartlinks 1.0.52 → 1.0.54

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/API_SUMMARY.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.0.52 | Generated: 2025-11-24T19:18:29.127Z
3
+ Version: 1.0.54 | Generated: 2025-11-27T11:26:08.078Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -21,6 +21,7 @@ The Smartlinks SDK is organized into the following namespaces:
21
21
  - **comms** - Functions for comms operations
22
22
  - **crate** - Container/crate management for organizing products
23
23
  - **form** - Dynamic form creation and submission
24
+ - **nfc** - Functions for nfc operations
24
25
  - **product** - Product CRUD operations and management within collections
25
26
  - **proof** - Product proof retrieval and validation
26
27
  - **serialNumber** - Functions for serialNumber operations
@@ -14,4 +14,5 @@ export { batch } from "./batch";
14
14
  export { variant } from "./variant";
15
15
  export { ai } from "./ai";
16
16
  export { comms } from "./comms";
17
+ export { nfc } from "./nfc";
17
18
  export type { AIGenerateContentRequest, AIGenerateImageRequest, AISearchPhotosRequest, AISearchPhotosPhoto } from "./ai";
package/dist/api/index.js CHANGED
@@ -16,3 +16,4 @@ export { batch } from "./batch";
16
16
  export { variant } from "./variant";
17
17
  export { ai } from "./ai";
18
18
  export { comms } from "./comms";
19
+ export { nfc } from "./nfc";
@@ -0,0 +1,7 @@
1
+ export declare const nfc: {
2
+ /**
3
+ * Claim an NFC tag (public).
4
+ * POST /api/va/public/nfc/claimTag
5
+ */
6
+ claimTag<T = any>(data: any): Promise<T>;
7
+ };
@@ -0,0 +1,11 @@
1
+ // src/api/nfc.ts
2
+ import { post } from "../http";
3
+ export const nfc = {
4
+ /**
5
+ * Claim an NFC tag (public).
6
+ * POST /api/va/public/nfc/claimTag
7
+ */
8
+ async claimTag(data) {
9
+ return post("/public/nfc/claimTag", data);
10
+ },
11
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",