@proveanything/smartlinks 1.0.13 → 1.0.16

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.
Files changed (90) hide show
  1. package/README.md +12 -150
  2. package/build-docs.ts +28 -0
  3. package/dist/api/appConfiguration.d.ts +20 -9
  4. package/dist/api/appConfiguration.js +85 -11
  5. package/dist/api/auth.d.ts +3 -4
  6. package/dist/api/auth.js +2 -2
  7. package/dist/build-docs.js +26 -0
  8. package/dist/http.d.ts +5 -3
  9. package/dist/http.js +5 -3
  10. package/dist/index.d.ts +3 -0
  11. package/docs/README.md +282 -0
  12. package/docs/assets/navigation.js +1 -1
  13. package/docs/assets/search.js +1 -1
  14. package/docs/documentation.json +3380 -1454
  15. package/docs/functions/appConfiguration.deleteConfig.html +1 -0
  16. package/docs/functions/appConfiguration.deleteDataItem.html +1 -0
  17. package/docs/functions/appConfiguration.getConfig.html +1 -0
  18. package/docs/functions/appConfiguration.getData.html +1 -0
  19. package/docs/functions/appConfiguration.getDataItem.html +1 -0
  20. package/docs/functions/appConfiguration.setConfig.html +1 -0
  21. package/docs/functions/appConfiguration.setDataItem.html +1 -0
  22. package/docs/functions/asset.getForCollection.html +1 -1
  23. package/docs/functions/asset.getForProduct.html +1 -1
  24. package/docs/functions/asset.getForProof.html +1 -1
  25. package/docs/functions/asset.listForCollection.html +1 -1
  26. package/docs/functions/asset.listForProduct.html +1 -1
  27. package/docs/functions/asset.listForProof.html +1 -1
  28. package/docs/functions/asset.uploadAsset.html +1 -1
  29. package/docs/functions/attestation.create.html +2 -2
  30. package/docs/functions/attestation.get.html +2 -2
  31. package/docs/functions/attestation.list.html +2 -2
  32. package/docs/functions/attestation.remove.html +1 -1
  33. package/docs/functions/attestation.update.html +2 -2
  34. package/docs/functions/auth.getAccount.html +3 -0
  35. package/docs/functions/auth.login.html +2 -2
  36. package/docs/functions/auth.logout.html +1 -1
  37. package/docs/functions/auth.verifyToken.html +3 -0
  38. package/docs/functions/collection.get.html +1 -1
  39. package/docs/functions/initializeApi.html +2 -4
  40. package/docs/functions/product.get.html +1 -1
  41. package/docs/functions/product.list.html +1 -1
  42. package/docs/functions/proof.get.html +1 -1
  43. package/docs/functions/proof.list.html +1 -1
  44. package/docs/functions/request.html +1 -1
  45. package/docs/interfaces/AppConfigurationResponse.html +4 -4
  46. package/docs/interfaces/AssetResponse.html +2 -2
  47. package/docs/interfaces/AttestationCreateRequest.html +4 -0
  48. package/docs/interfaces/AttestationResponse.html +7 -0
  49. package/docs/interfaces/AttestationUpdateRequest.html +3 -0
  50. package/docs/interfaces/CollectionResponse.html +5 -5
  51. package/docs/interfaces/ErrorResponse.html +3 -3
  52. package/docs/interfaces/ProductResponse.html +5 -5
  53. package/docs/interfaces/ProofResponse.html +8 -8
  54. package/docs/modules/appConfiguration.html +7 -1
  55. package/docs/modules/asset.html +1 -1
  56. package/docs/modules/attestation.html +1 -1
  57. package/docs/modules/auth.html +3 -1
  58. package/docs/modules/collection.html +1 -1
  59. package/docs/modules/product.html +1 -1
  60. package/docs/modules/proof.html +1 -1
  61. package/docs/modules.html +7 -0
  62. package/docs/types/AccountInfoResponse.html +1 -0
  63. package/docs/types/AppConfigOptions.html +1 -0
  64. package/docs/types/LoginResponse.html +1 -0
  65. package/docs/types/VerifyTokenResponse.html +1 -0
  66. package/package.json +5 -2
  67. package/src/api/appConfiguration.ts +99 -17
  68. package/src/api/auth.ts +5 -5
  69. package/src/http.ts +7 -5
  70. package/src/index.ts +13 -0
  71. package/temp-docs/.nojekyll +1 -0
  72. package/temp-docs/README.md +101 -0
  73. package/temp-docs/interfaces/AppConfigurationResponse.md +45 -0
  74. package/temp-docs/interfaces/AssetResponse.md +39 -0
  75. package/temp-docs/interfaces/AttestationCreateRequest.md +37 -0
  76. package/temp-docs/interfaces/AttestationResponse.md +70 -0
  77. package/temp-docs/interfaces/AttestationUpdateRequest.md +26 -0
  78. package/temp-docs/interfaces/CollectionResponse.md +58 -0
  79. package/temp-docs/interfaces/ErrorResponse.md +32 -0
  80. package/temp-docs/interfaces/ProductResponse.md +58 -0
  81. package/temp-docs/interfaces/ProofResponse.md +97 -0
  82. package/temp-docs/modules/appConfiguration.md +151 -0
  83. package/temp-docs/modules/asset.md +171 -0
  84. package/temp-docs/modules/attestation.md +134 -0
  85. package/temp-docs/modules/auth.md +88 -0
  86. package/temp-docs/modules/collection.md +33 -0
  87. package/temp-docs/modules/product.md +63 -0
  88. package/temp-docs/modules/proof.md +57 -0
  89. package/temp-docs/modules.md +176 -0
  90. package/docs/functions/appConfiguration.get.html +0 -6
@@ -0,0 +1,101 @@
1
+ # @proveanything/smartlinks
2
+
3
+ An official JavaScript/TypeScript client SDK for the Smartlinks API. This package provides simple, namespaced functions to fetch Collection, Product, Proof, and App Configuration data in both browser and Node.js environments.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @proveanything/smartlinks
9
+ # or
10
+ yarn add @proveanything/smartlinks
11
+ ```
12
+
13
+ ## Quickstart
14
+
15
+ ```ts
16
+ import {
17
+ initializeApi,
18
+ collection,
19
+ product,
20
+ proof,
21
+ appConfiguration,
22
+ } from "@proveanything/smartlinks";
23
+
24
+ async function main() {
25
+ // Initialize once (provide base URL and optional API key, bearer token, or proxyMode)
26
+ initializeApi({
27
+ baseURL: "https://smartlinks.app/api/v1",
28
+ apiKey: "YOUR_API_KEY_HERE", // optional
29
+ bearerToken: "YOUR_BEARER_TOKEN", // optional
30
+ proxyMode: false // optional, set true if running in iframe via parent proxy
31
+ });
32
+
33
+ try {
34
+ // Fetch a collection by ID
35
+ const coll = await collection.get("abc123");
36
+ console.log("Collection:", coll);
37
+
38
+ // Fetch a product item by collection ID & product ID
39
+ const prod = await product.get("abc123", "prod789");
40
+ console.log("Product Item:", prod);
41
+
42
+ // Fetch a proof by collection ID & proof ID
43
+ const prf = await proof.get("abc123", "proof456");
44
+ console.log("Proof:", prf);
45
+
46
+ // Fetch an app configuration by collection ID & app ID
47
+ const cfg = await appConfiguration.get("abc123", "app789");
48
+ console.log("App Configuration:", cfg);
49
+ } catch (err) {
50
+ console.error("Error fetching data:", err);
51
+ }
52
+ }
53
+
54
+ main();
55
+ ```
56
+
57
+ ## API Reference
58
+
59
+ ### Initialization
60
+
61
+ ```ts
62
+ initializeApi(options: { baseURL: string; apiKey?: string; bearerToken?: string; proxyMode?: boolean }): void
63
+ ```
64
+
65
+ - **Parameters:**
66
+ - `baseURL` (`string`, required): The root URL of the Smartlinks API, e.g. `https://smartlinks.app/api/v1`.
67
+ - `apiKey` (`string`, optional): Your API key for the `X-API-Key` header.
68
+ - `bearerToken` (`string`, optional): Your Bearer token for the `Authorization` header.
69
+ - `proxyMode` (`boolean`, optional): Set to `true` if running in an iframe and using a parent proxy for requests.
70
+
71
+ All subsequent calls to the API functions will use these settings.
72
+
73
+ ---
74
+
75
+ ### Namespaced Modules
76
+
77
+ Each namespace provides a `get` method for fetching data:
78
+
79
+ - **collection.get(collectionId: string): Promise<Collection>**
80
+ - **product.get(collectionId: string, productId: string): Promise<Product>**
81
+ - **proof.get(collectionId: string, proofId: string): Promise<Proof>**
82
+ - **appConfiguration.get(collectionId: string, appId: string): Promise<AppConfiguration>**
83
+
84
+ All methods return a Promise resolving to the corresponding object, or throw an `Error` on failure.
85
+
86
+ ---
87
+
88
+ ## Changelog
89
+
90
+ ### 1.0.0
91
+
92
+ - Initial release:
93
+ - `initializeApi` function to configure baseURL and auth.
94
+ - Namespaced modules:
95
+ - `collection.get(collectionId)`
96
+ - `product.get(collectionId, productId)`
97
+ - `proof.get(collectionId, proofId)`
98
+ - `appConfiguration.get(collectionId, appId)`
99
+ - Full TypeScript typings and JSDoc.
100
+ - Browser/Node fetch support via `cross-fetch`.
101
+ - Error handling via thrown `Error` objects.
@@ -0,0 +1,45 @@
1
+ Represents an App Configuration object.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [id](AppConfigurationResponse.md#id)
8
+ - [name](AppConfigurationResponse.md#name)
9
+ - [settings](AppConfigurationResponse.md#settings)
10
+
11
+ ## Properties
12
+
13
+ ### id
14
+
15
+ • **id**: `string`
16
+
17
+ Unique identifier for the app configuration
18
+
19
+ #### Defined in
20
+
21
+ [types/appConfiguration.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/appConfiguration.ts#L7)
22
+
23
+ ___
24
+
25
+ ### name
26
+
27
+ • **name**: `string`
28
+
29
+ Name of the app configuration
30
+
31
+ #### Defined in
32
+
33
+ [types/appConfiguration.ts:9](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/appConfiguration.ts#L9)
34
+
35
+ ___
36
+
37
+ ### settings
38
+
39
+ • `Optional` **settings**: `Record`\<`string`, `any`\>
40
+
41
+ Key-value pairs representing configuration settings
42
+
43
+ #### Defined in
44
+
45
+ [types/appConfiguration.ts:11](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/appConfiguration.ts#L11)
@@ -0,0 +1,39 @@
1
+ Represents an Asset object.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [id](AssetResponse.md#id)
8
+ - [name](AssetResponse.md#name)
9
+ - [url](AssetResponse.md#url)
10
+
11
+ ## Properties
12
+
13
+ ### id
14
+
15
+ • **id**: `string`
16
+
17
+ #### Defined in
18
+
19
+ [types/asset.ts:5](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/asset.ts#L5)
20
+
21
+ ___
22
+
23
+ ### name
24
+
25
+ • **name**: `string`
26
+
27
+ #### Defined in
28
+
29
+ [types/asset.ts:6](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/asset.ts#L6)
30
+
31
+ ___
32
+
33
+ ### url
34
+
35
+ • **url**: `string`
36
+
37
+ #### Defined in
38
+
39
+ [types/asset.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/asset.ts#L7)
@@ -0,0 +1,37 @@
1
+ ## Table of contents
2
+
3
+ ### Properties
4
+
5
+ - [private](AttestationCreateRequest.md#private)
6
+ - [proof](AttestationCreateRequest.md#proof)
7
+ - [public](AttestationCreateRequest.md#public)
8
+
9
+ ## Properties
10
+
11
+ ### private
12
+
13
+ • **private**: `Record`\<`string`, `any`\>
14
+
15
+ #### Defined in
16
+
17
+ [types/attestation.ts:12](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L12)
18
+
19
+ ___
20
+
21
+ ### proof
22
+
23
+ • **proof**: `Record`\<`string`, `any`\>
24
+
25
+ #### Defined in
26
+
27
+ [types/attestation.ts:13](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L13)
28
+
29
+ ___
30
+
31
+ ### public
32
+
33
+ • **public**: `Record`\<`string`, `any`\>
34
+
35
+ #### Defined in
36
+
37
+ [types/attestation.ts:11](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L11)
@@ -0,0 +1,70 @@
1
+ ## Table of contents
2
+
3
+ ### Properties
4
+
5
+ - [createdAt](AttestationResponse.md#createdat)
6
+ - [id](AttestationResponse.md#id)
7
+ - [private](AttestationResponse.md#private)
8
+ - [proof](AttestationResponse.md#proof)
9
+ - [public](AttestationResponse.md#public)
10
+ - [updatedAt](AttestationResponse.md#updatedat)
11
+
12
+ ## Properties
13
+
14
+ ### createdAt
15
+
16
+ • **createdAt**: `string`
17
+
18
+ #### Defined in
19
+
20
+ [types/attestation.ts:3](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L3)
21
+
22
+ ___
23
+
24
+ ### id
25
+
26
+ • **id**: `string`
27
+
28
+ #### Defined in
29
+
30
+ [types/attestation.ts:2](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L2)
31
+
32
+ ___
33
+
34
+ ### private
35
+
36
+ • **private**: `Record`\<`string`, `any`\>
37
+
38
+ #### Defined in
39
+
40
+ [types/attestation.ts:6](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L6)
41
+
42
+ ___
43
+
44
+ ### proof
45
+
46
+ • **proof**: `Record`\<`string`, `any`\>
47
+
48
+ #### Defined in
49
+
50
+ [types/attestation.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L7)
51
+
52
+ ___
53
+
54
+ ### public
55
+
56
+ • **public**: `Record`\<`string`, `any`\>
57
+
58
+ #### Defined in
59
+
60
+ [types/attestation.ts:5](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L5)
61
+
62
+ ___
63
+
64
+ ### updatedAt
65
+
66
+ • **updatedAt**: `string`
67
+
68
+ #### Defined in
69
+
70
+ [types/attestation.ts:4](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L4)
@@ -0,0 +1,26 @@
1
+ ## Table of contents
2
+
3
+ ### Properties
4
+
5
+ - [data](AttestationUpdateRequest.md#data)
6
+ - [type](AttestationUpdateRequest.md#type)
7
+
8
+ ## Properties
9
+
10
+ ### data
11
+
12
+ • `Optional` **data**: `Record`\<`string`, `any`\>
13
+
14
+ #### Defined in
15
+
16
+ [types/attestation.ts:18](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L18)
17
+
18
+ ___
19
+
20
+ ### type
21
+
22
+ • `Optional` **type**: `string`
23
+
24
+ #### Defined in
25
+
26
+ [types/attestation.ts:17](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/attestation.ts#L17)
@@ -0,0 +1,58 @@
1
+ Represents a Collection object.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [id](CollectionResponse.md#id)
8
+ - [logoImage](CollectionResponse.md#logoimage)
9
+ - [name](CollectionResponse.md#name)
10
+ - [title](CollectionResponse.md#title)
11
+
12
+ ## Properties
13
+
14
+ ### id
15
+
16
+ • **id**: `string`
17
+
18
+ Unique identifier for the collection
19
+
20
+ #### Defined in
21
+
22
+ [types/collection.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/collection.ts#L7)
23
+
24
+ ___
25
+
26
+ ### logoImage
27
+
28
+ • **logoImage**: `string`
29
+
30
+ URL to the collection’s logo image
31
+
32
+ #### Defined in
33
+
34
+ [types/collection.ts:13](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/collection.ts#L13)
35
+
36
+ ___
37
+
38
+ ### name
39
+
40
+ • **name**: `string`
41
+
42
+ Machine-readable name of the collection
43
+
44
+ #### Defined in
45
+
46
+ [types/collection.ts:9](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/collection.ts#L9)
47
+
48
+ ___
49
+
50
+ ### title
51
+
52
+ • **title**: `string`
53
+
54
+ Human-readable title of the collection
55
+
56
+ #### Defined in
57
+
58
+ [types/collection.ts:11](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/collection.ts#L11)
@@ -0,0 +1,32 @@
1
+ Represents a standardized error response.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [code](ErrorResponse.md#code)
8
+ - [message](ErrorResponse.md#message)
9
+
10
+ ## Properties
11
+
12
+ ### code
13
+
14
+ • **code**: `number`
15
+
16
+ Numeric error code
17
+
18
+ #### Defined in
19
+
20
+ [types/error.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/error.ts#L7)
21
+
22
+ ___
23
+
24
+ ### message
25
+
26
+ • **message**: `string`
27
+
28
+ Human-readable error message
29
+
30
+ #### Defined in
31
+
32
+ [types/error.ts:9](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/error.ts#L9)
@@ -0,0 +1,58 @@
1
+ Represents a Product Item object.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [description](ProductResponse.md#description)
8
+ - [heroImage](ProductResponse.md#heroimage)
9
+ - [id](ProductResponse.md#id)
10
+ - [name](ProductResponse.md#name)
11
+
12
+ ## Properties
13
+
14
+ ### description
15
+
16
+ • **description**: `string`
17
+
18
+ Detailed description of the product
19
+
20
+ #### Defined in
21
+
22
+ [types/product.ts:11](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/product.ts#L11)
23
+
24
+ ___
25
+
26
+ ### heroImage
27
+
28
+ • **heroImage**: `string`
29
+
30
+ URL to the product’s hero image
31
+
32
+ #### Defined in
33
+
34
+ [types/product.ts:13](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/product.ts#L13)
35
+
36
+ ___
37
+
38
+ ### id
39
+
40
+ • **id**: `string`
41
+
42
+ Unique identifier for the product
43
+
44
+ #### Defined in
45
+
46
+ [types/product.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/product.ts#L7)
47
+
48
+ ___
49
+
50
+ ### name
51
+
52
+ • **name**: `string`
53
+
54
+ Name of the product
55
+
56
+ #### Defined in
57
+
58
+ [types/product.ts:9](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/product.ts#L9)
@@ -0,0 +1,97 @@
1
+ Represents a Proof object.
2
+
3
+ ## Table of contents
4
+
5
+ ### Properties
6
+
7
+ - [collectionId](ProofResponse.md#collectionid)
8
+ - [createdAt](ProofResponse.md#createdat)
9
+ - [id](ProofResponse.md#id)
10
+ - [productId](ProofResponse.md#productid)
11
+ - [tokenId](ProofResponse.md#tokenid)
12
+ - [userId](ProofResponse.md#userid)
13
+ - [values](ProofResponse.md#values)
14
+
15
+ ## Properties
16
+
17
+ ### collectionId
18
+
19
+ • **collectionId**: `string`
20
+
21
+ Unique identifier for the collection
22
+
23
+ #### Defined in
24
+
25
+ [types/proof.ts:7](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L7)
26
+
27
+ ___
28
+
29
+ ### createdAt
30
+
31
+ • **createdAt**: `string`
32
+
33
+ Creation timestamp
34
+
35
+ #### Defined in
36
+
37
+ [types/proof.ts:9](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L9)
38
+
39
+ ___
40
+
41
+ ### id
42
+
43
+ • **id**: `string`
44
+
45
+ Unique identifier for the proof
46
+
47
+ #### Defined in
48
+
49
+ [types/proof.ts:11](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L11)
50
+
51
+ ___
52
+
53
+ ### productId
54
+
55
+ • **productId**: `string`
56
+
57
+ Unique identifier for the product
58
+
59
+ #### Defined in
60
+
61
+ [types/proof.ts:13](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L13)
62
+
63
+ ___
64
+
65
+ ### tokenId
66
+
67
+ • **tokenId**: `string`
68
+
69
+ Unique identifier for the token
70
+
71
+ #### Defined in
72
+
73
+ [types/proof.ts:15](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L15)
74
+
75
+ ___
76
+
77
+ ### userId
78
+
79
+ • **userId**: `string`
80
+
81
+ Unique identifier for the user
82
+
83
+ #### Defined in
84
+
85
+ [types/proof.ts:17](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L17)
86
+
87
+ ___
88
+
89
+ ### values
90
+
91
+ • **values**: `Record`\<`string`, `any`\>
92
+
93
+ Arbitrary key-value pairs for proof values
94
+
95
+ #### Defined in
96
+
97
+ [types/proof.ts:19](https://github.com/Prove-Anything/smartlinks/blob/54a929dabe2ef3c5f4a5a559c656ea584231138a/src/types/proof.ts#L19)