@proveanything/smartlinks 1.3.31 → 1.3.32
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/dist/api/collection.js +2 -2
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.js +0 -1
- package/dist/docs/API_SUMMARY.md +1 -12
- package/docs/API_SUMMARY.md +1 -12
- package/package.json +1 -1
package/dist/api/collection.js
CHANGED
|
@@ -56,7 +56,7 @@ export var collection;
|
|
|
56
56
|
* @throws ErrorResponse if the request fails
|
|
57
57
|
*/
|
|
58
58
|
async function getAppsConfig(collectionId) {
|
|
59
|
-
const path = `/
|
|
59
|
+
const path = `/public/collection/${encodeURIComponent(collectionId)}/app/config`;
|
|
60
60
|
return request(path);
|
|
61
61
|
}
|
|
62
62
|
collection.getAppsConfig = getAppsConfig;
|
|
@@ -97,7 +97,7 @@ export var collection;
|
|
|
97
97
|
* ```
|
|
98
98
|
*/
|
|
99
99
|
async function getWidgets(collectionId, options) {
|
|
100
|
-
let path = `/
|
|
100
|
+
let path = `/public/collection/${encodeURIComponent(collectionId)}/app/widgets`;
|
|
101
101
|
if (options === null || options === void 0 ? void 0 : options.force) {
|
|
102
102
|
path += '?force=true';
|
|
103
103
|
}
|
package/dist/api/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export { collection } from "./collection";
|
|
|
2
2
|
export { product } from "./product";
|
|
3
3
|
export { proof } from "./proof";
|
|
4
4
|
export { appConfiguration } from "./appConfiguration";
|
|
5
|
-
export { appRecord } from "./appRecord";
|
|
6
5
|
export { asset } from "./asset";
|
|
7
6
|
export { attestation } from "./attestation";
|
|
8
7
|
export { auth } from "./auth";
|
package/dist/api/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export { collection } from "./collection";
|
|
|
4
4
|
export { product } from "./product";
|
|
5
5
|
export { proof } from "./proof";
|
|
6
6
|
export { appConfiguration } from "./appConfiguration";
|
|
7
|
-
export { appRecord } from "./appRecord";
|
|
8
7
|
export { asset } from "./asset";
|
|
9
8
|
export { attestation } from "./attestation";
|
|
10
9
|
export { auth } from "./auth";
|
package/dist/docs/API_SUMMARY.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Smartlinks API Summary
|
|
2
2
|
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.32 | Generated: 2026-02-15T09:31:59.881Z
|
|
4
4
|
|
|
5
5
|
This is a concise summary of all available API functions and types.
|
|
6
6
|
|
|
@@ -29,7 +29,6 @@ The Smartlinks SDK is organized into the following namespaces:
|
|
|
29
29
|
- **batch** - Group products into batches; manage serial number ranges and lookups.
|
|
30
30
|
- **crate** - Organize products in containers/crates for logistics and grouping.
|
|
31
31
|
- **form** - Build and manage dynamic forms used by apps and workflows.
|
|
32
|
-
- **appRecord** - Store and retrieve application-level records tied to a collection.
|
|
33
32
|
- **appConfiguration** - Read/write app configuration and scoped data (collection/product/proof).
|
|
34
33
|
|
|
35
34
|
— Identity & Access —
|
|
@@ -3932,16 +3931,6 @@ Post a chat message to the AI (admin or public)
|
|
|
3932
3931
|
|
|
3933
3932
|
**deleteDataItem**(opts: AppConfigOptions) → `Promise<void>`
|
|
3934
3933
|
|
|
3935
|
-
### appRecord
|
|
3936
|
-
|
|
3937
|
-
**get**(collectionId: string, appId: string) → `Promise<any>`
|
|
3938
|
-
|
|
3939
|
-
**create**(collectionId: string, appId: string, data: any) → `Promise<any>`
|
|
3940
|
-
|
|
3941
|
-
**update**(collectionId: string, appId: string, data: any) → `Promise<any>`
|
|
3942
|
-
|
|
3943
|
-
**remove**(collectionId: string, appId: string) → `Promise<void>`
|
|
3944
|
-
|
|
3945
3934
|
### asset
|
|
3946
3935
|
|
|
3947
3936
|
**upload**(options: UploadAssetOptions) → `Promise<Asset>`
|
package/docs/API_SUMMARY.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Smartlinks API Summary
|
|
2
2
|
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.32 | Generated: 2026-02-15T09:31:59.881Z
|
|
4
4
|
|
|
5
5
|
This is a concise summary of all available API functions and types.
|
|
6
6
|
|
|
@@ -29,7 +29,6 @@ The Smartlinks SDK is organized into the following namespaces:
|
|
|
29
29
|
- **batch** - Group products into batches; manage serial number ranges and lookups.
|
|
30
30
|
- **crate** - Organize products in containers/crates for logistics and grouping.
|
|
31
31
|
- **form** - Build and manage dynamic forms used by apps and workflows.
|
|
32
|
-
- **appRecord** - Store and retrieve application-level records tied to a collection.
|
|
33
32
|
- **appConfiguration** - Read/write app configuration and scoped data (collection/product/proof).
|
|
34
33
|
|
|
35
34
|
— Identity & Access —
|
|
@@ -3932,16 +3931,6 @@ Post a chat message to the AI (admin or public)
|
|
|
3932
3931
|
|
|
3933
3932
|
**deleteDataItem**(opts: AppConfigOptions) → `Promise<void>`
|
|
3934
3933
|
|
|
3935
|
-
### appRecord
|
|
3936
|
-
|
|
3937
|
-
**get**(collectionId: string, appId: string) → `Promise<any>`
|
|
3938
|
-
|
|
3939
|
-
**create**(collectionId: string, appId: string, data: any) → `Promise<any>`
|
|
3940
|
-
|
|
3941
|
-
**update**(collectionId: string, appId: string, data: any) → `Promise<any>`
|
|
3942
|
-
|
|
3943
|
-
**remove**(collectionId: string, appId: string) → `Promise<void>`
|
|
3944
|
-
|
|
3945
3934
|
### asset
|
|
3946
3935
|
|
|
3947
3936
|
**upload**(options: UploadAssetOptions) → `Promise<Asset>`
|