@proveanything/smartlinks 1.1.4 → 1.1.5

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.1.4 | Generated: 2025-12-21T18:19:46.355Z
3
+ Version: 1.1.5 | Generated: 2025-12-22T12:25:20.811Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -1960,7 +1960,7 @@ Get proofs for a batch (admin only). GET /admin/collection/:collectionId/product
1960
1960
  ### qr
1961
1961
 
1962
1962
  **lookupShortCode**(shortId: string, code: string) → `Promise<QrShortCodeLookupResponse>`
1963
- Resolve a short code to related resource identifiers. GET /public/lookupShortCode/:shortId/:code
1963
+ Resolve a short code to related resource identifiers.
1964
1964
 
1965
1965
  ### segments
1966
1966
 
package/dist/api/qr.d.ts CHANGED
@@ -5,7 +5,6 @@ import type { QrShortCodeLookupResponse } from "../types/qr";
5
5
  export declare namespace qr {
6
6
  /**
7
7
  * Resolve a short code to related resource identifiers.
8
- * GET /public/lookupShortCode/:shortId/:code
9
8
  *
10
9
  * @param shortId - The short code identifier namespace
11
10
  * @param code - The actual code to look up
package/dist/api/qr.js CHANGED
@@ -8,14 +8,13 @@ export var qr;
8
8
  (function (qr) {
9
9
  /**
10
10
  * Resolve a short code to related resource identifiers.
11
- * GET /public/lookupShortCode/:shortId/:code
12
11
  *
13
12
  * @param shortId - The short code identifier namespace
14
13
  * @param code - The actual code to look up
15
14
  * @returns Mapping with optional `collectionId`, `productId`, `proofId` and the `code`
16
15
  */
17
16
  async function lookupShortCode(shortId, code) {
18
- const path = `/public/lookupShortCode/${encodeURIComponent(shortId)}/${encodeURIComponent(code)}`;
17
+ const path = `/public/qr/lookupShortCode/${encodeURIComponent(shortId)}/${encodeURIComponent(code)}`;
19
18
  return request(path);
20
19
  }
21
20
  qr.lookupShortCode = lookupShortCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",