@happyvertical/smrt-profiles 0.38.2 → 0.38.3
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/chunks/{ApiKey-3DlNEc91.js → ApiKey-BrNyaaZN.js} +2 -2
- package/dist/chunks/{ApiKey-3DlNEc91.js.map → ApiKey-BrNyaaZN.js.map} +1 -1
- package/dist/chunks/{ApiKeyCollection-PwVs0qDb.js → ApiKeyCollection-DNhDkS7O.js} +3 -3
- package/dist/chunks/{ApiKeyCollection-PwVs0qDb.js.map → ApiKeyCollection-DNhDkS7O.js.map} +1 -1
- package/dist/chunks/{ProfileAssetCollection-BY2Wbem3.js → ProfileAssetCollection-DzUwbtTq.js} +2 -2
- package/dist/chunks/{ProfileAssetCollection-BY2Wbem3.js.map → ProfileAssetCollection-DzUwbtTq.js.map} +1 -1
- package/dist/chunks/{ProfileCollection-DlhdOnDr.js → ProfileCollection-BOMOloTL.js} +5 -5
- package/dist/chunks/{ProfileCollection-DlhdOnDr.js.map → ProfileCollection-BOMOloTL.js.map} +1 -1
- package/dist/index.js +10 -10
- package/dist/manifest.json +72 -12
- package/dist/smrt-knowledge.json +5 -5
- package/dist/utils.js +1 -1
- package/package.json +12 -12
package/dist/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1783176548317,
|
|
4
4
|
"packageName": "@happyvertical/smrt-profiles",
|
|
5
|
-
"packageVersion": "0.38.
|
|
5
|
+
"packageVersion": "0.38.3",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-profiles:ApiKeyCollection": {
|
|
8
8
|
"name": "apikeycollection",
|
|
@@ -3693,7 +3693,13 @@
|
|
|
3693
3693
|
"toPublicJSON": {
|
|
3694
3694
|
"name": "toPublicJSON",
|
|
3695
3695
|
"async": false,
|
|
3696
|
-
"parameters": [
|
|
3696
|
+
"parameters": [
|
|
3697
|
+
{
|
|
3698
|
+
"name": "options",
|
|
3699
|
+
"type": "PublicJsonOptions",
|
|
3700
|
+
"optional": true
|
|
3701
|
+
}
|
|
3702
|
+
],
|
|
3697
3703
|
"returnType": "Record<string>",
|
|
3698
3704
|
"isStatic": false,
|
|
3699
3705
|
"isPublic": true
|
|
@@ -4930,7 +4936,13 @@
|
|
|
4930
4936
|
"toPublicJSON": {
|
|
4931
4937
|
"name": "toPublicJSON",
|
|
4932
4938
|
"async": false,
|
|
4933
|
-
"parameters": [
|
|
4939
|
+
"parameters": [
|
|
4940
|
+
{
|
|
4941
|
+
"name": "options",
|
|
4942
|
+
"type": "PublicJsonOptions",
|
|
4943
|
+
"optional": true
|
|
4944
|
+
}
|
|
4945
|
+
],
|
|
4934
4946
|
"returnType": "Record<string>",
|
|
4935
4947
|
"isStatic": false,
|
|
4936
4948
|
"isPublic": true
|
|
@@ -5608,7 +5620,13 @@
|
|
|
5608
5620
|
"toPublicJSON": {
|
|
5609
5621
|
"name": "toPublicJSON",
|
|
5610
5622
|
"async": false,
|
|
5611
|
-
"parameters": [
|
|
5623
|
+
"parameters": [
|
|
5624
|
+
{
|
|
5625
|
+
"name": "options",
|
|
5626
|
+
"type": "PublicJsonOptions",
|
|
5627
|
+
"optional": true
|
|
5628
|
+
}
|
|
5629
|
+
],
|
|
5612
5630
|
"returnType": "Record<string>",
|
|
5613
5631
|
"isStatic": false,
|
|
5614
5632
|
"isPublic": true
|
|
@@ -6336,7 +6354,13 @@
|
|
|
6336
6354
|
"toPublicJSON": {
|
|
6337
6355
|
"name": "toPublicJSON",
|
|
6338
6356
|
"async": false,
|
|
6339
|
-
"parameters": [
|
|
6357
|
+
"parameters": [
|
|
6358
|
+
{
|
|
6359
|
+
"name": "options",
|
|
6360
|
+
"type": "PublicJsonOptions",
|
|
6361
|
+
"optional": true
|
|
6362
|
+
}
|
|
6363
|
+
],
|
|
6340
6364
|
"returnType": "Record<string>",
|
|
6341
6365
|
"isStatic": false,
|
|
6342
6366
|
"isPublic": true
|
|
@@ -7044,7 +7068,13 @@
|
|
|
7044
7068
|
"toPublicJSON": {
|
|
7045
7069
|
"name": "toPublicJSON",
|
|
7046
7070
|
"async": false,
|
|
7047
|
-
"parameters": [
|
|
7071
|
+
"parameters": [
|
|
7072
|
+
{
|
|
7073
|
+
"name": "options",
|
|
7074
|
+
"type": "PublicJsonOptions",
|
|
7075
|
+
"optional": true
|
|
7076
|
+
}
|
|
7077
|
+
],
|
|
7048
7078
|
"returnType": "Record<string>",
|
|
7049
7079
|
"isStatic": false,
|
|
7050
7080
|
"isPublic": true
|
|
@@ -7700,7 +7730,13 @@
|
|
|
7700
7730
|
"toPublicJSON": {
|
|
7701
7731
|
"name": "toPublicJSON",
|
|
7702
7732
|
"async": false,
|
|
7703
|
-
"parameters": [
|
|
7733
|
+
"parameters": [
|
|
7734
|
+
{
|
|
7735
|
+
"name": "options",
|
|
7736
|
+
"type": "PublicJsonOptions",
|
|
7737
|
+
"optional": true
|
|
7738
|
+
}
|
|
7739
|
+
],
|
|
7704
7740
|
"returnType": "Record<string>",
|
|
7705
7741
|
"isStatic": false,
|
|
7706
7742
|
"isPublic": true
|
|
@@ -8395,7 +8431,13 @@
|
|
|
8395
8431
|
"toPublicJSON": {
|
|
8396
8432
|
"name": "toPublicJSON",
|
|
8397
8433
|
"async": false,
|
|
8398
|
-
"parameters": [
|
|
8434
|
+
"parameters": [
|
|
8435
|
+
{
|
|
8436
|
+
"name": "options",
|
|
8437
|
+
"type": "PublicJsonOptions",
|
|
8438
|
+
"optional": true
|
|
8439
|
+
}
|
|
8440
|
+
],
|
|
8399
8441
|
"returnType": "Record<string>",
|
|
8400
8442
|
"isStatic": false,
|
|
8401
8443
|
"isPublic": true
|
|
@@ -9083,7 +9125,13 @@
|
|
|
9083
9125
|
"toPublicJSON": {
|
|
9084
9126
|
"name": "toPublicJSON",
|
|
9085
9127
|
"async": false,
|
|
9086
|
-
"parameters": [
|
|
9128
|
+
"parameters": [
|
|
9129
|
+
{
|
|
9130
|
+
"name": "options",
|
|
9131
|
+
"type": "PublicJsonOptions",
|
|
9132
|
+
"optional": true
|
|
9133
|
+
}
|
|
9134
|
+
],
|
|
9087
9135
|
"returnType": "Record<string>",
|
|
9088
9136
|
"isStatic": false,
|
|
9089
9137
|
"isPublic": true
|
|
@@ -10150,7 +10198,13 @@
|
|
|
10150
10198
|
"toPublicJSON": {
|
|
10151
10199
|
"name": "toPublicJSON",
|
|
10152
10200
|
"async": false,
|
|
10153
|
-
"parameters": [
|
|
10201
|
+
"parameters": [
|
|
10202
|
+
{
|
|
10203
|
+
"name": "options",
|
|
10204
|
+
"type": "PublicJsonOptions",
|
|
10205
|
+
"optional": true
|
|
10206
|
+
}
|
|
10207
|
+
],
|
|
10154
10208
|
"returnType": "Record<string>",
|
|
10155
10209
|
"isStatic": false,
|
|
10156
10210
|
"isPublic": true
|
|
@@ -11217,7 +11271,13 @@
|
|
|
11217
11271
|
"toPublicJSON": {
|
|
11218
11272
|
"name": "toPublicJSON",
|
|
11219
11273
|
"async": false,
|
|
11220
|
-
"parameters": [
|
|
11274
|
+
"parameters": [
|
|
11275
|
+
{
|
|
11276
|
+
"name": "options",
|
|
11277
|
+
"type": "PublicJsonOptions",
|
|
11278
|
+
"optional": true
|
|
11279
|
+
}
|
|
11280
|
+
],
|
|
11221
11281
|
"returnType": "Record<string>",
|
|
11222
11282
|
"isStatic": false,
|
|
11223
11283
|
"isPublic": true
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-04T14:49:12.372Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-profiles",
|
|
5
|
-
"packageVersion": "0.38.
|
|
5
|
+
"packageVersion": "0.38.3",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "a4d8eccb1ea0885a74f6b8b53431987e6bd55e6fd35a1b571571d10c03a2af42",
|
|
10
|
+
"packageJson": "77c3b8a69388925221c6eecfc0359b1c45a6fb04b598a5985a0d8fbfe2ec2469",
|
|
11
11
|
"agents": "3c18e895a2e065f761aabf31779c71a138f0a75261ab223464c3b2a5fbbe6b16"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/node": "24.13.2",
|
|
34
34
|
"fast-glob": "3.3.3",
|
|
35
35
|
"typescript": "^5.9.3",
|
|
36
|
-
"vite": "^8.1.
|
|
36
|
+
"vite": "^8.1.3",
|
|
37
37
|
"vitest": "^4.1.9"
|
|
38
38
|
},
|
|
39
39
|
"smrtDependencies": [
|
package/dist/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ async function getProfileMetadata(profileId, options = {}) {
|
|
|
4
4
|
return await (await ProfileMetadataCollection.create(options)).getMetadataObject(profileId);
|
|
5
5
|
}
|
|
6
6
|
async function setProfileMetadata(profileId, metafieldSlug, value, options = {}) {
|
|
7
|
-
const { ProfileCollection } = await import("./chunks/ProfileCollection-
|
|
7
|
+
const { ProfileCollection } = await import("./chunks/ProfileCollection-BOMOloTL.js").then((n) => n.n);
|
|
8
8
|
const profile = await (await ProfileCollection.create(options)).get({ id: profileId });
|
|
9
9
|
if (!profile) throw new Error(`Profile '${profileId}' not found`);
|
|
10
10
|
await profile.addMetadata(metafieldSlug, value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-profiles",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.3",
|
|
4
4
|
"description": "Profile management system with relationships, metadata, and reciprocal associations for SMRT framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
"./manifest.json": "./dist/manifest.json"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@happyvertical/ai": "^0.
|
|
27
|
-
"@happyvertical/files": "^0.
|
|
28
|
-
"@happyvertical/logger": "^0.
|
|
29
|
-
"@happyvertical/sql": "^0.
|
|
30
|
-
"@happyvertical/utils": "^0.
|
|
26
|
+
"@happyvertical/ai": "^0.76.2",
|
|
27
|
+
"@happyvertical/files": "^0.76.2",
|
|
28
|
+
"@happyvertical/logger": "^0.76.2",
|
|
29
|
+
"@happyvertical/sql": "^0.76.2",
|
|
30
|
+
"@happyvertical/utils": "^0.76.2",
|
|
31
31
|
"@noble/curves": "^1.9.7",
|
|
32
32
|
"bech32": "^2.0.0",
|
|
33
|
-
"@happyvertical/smrt-assets": "0.38.
|
|
34
|
-
"@happyvertical/smrt-core": "0.38.
|
|
35
|
-
"@happyvertical/smrt-prompts": "0.38.
|
|
36
|
-
"@happyvertical/smrt-tenancy": "0.38.
|
|
33
|
+
"@happyvertical/smrt-assets": "0.38.3",
|
|
34
|
+
"@happyvertical/smrt-core": "0.38.3",
|
|
35
|
+
"@happyvertical/smrt-prompts": "0.38.3",
|
|
36
|
+
"@happyvertical/smrt-tenancy": "0.38.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@faker-js/faker": "^10.5.0",
|
|
40
40
|
"@types/node": "24.13.2",
|
|
41
41
|
"fast-glob": "3.3.3",
|
|
42
42
|
"typescript": "^5.9.3",
|
|
43
|
-
"vite": "^8.1.
|
|
43
|
+
"vite": "^8.1.3",
|
|
44
44
|
"vitest": "^4.1.9",
|
|
45
|
-
"@happyvertical/smrt-vitest": "0.38.
|
|
45
|
+
"@happyvertical/smrt-vitest": "0.38.3"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"ai",
|