@happyvertical/smrt-ads 0.36.8 → 0.37.1

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "timestamp": 1782522905111,
3
+ "timestamp": 1782792546813,
4
4
  "packageName": "@happyvertical/smrt-ads",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.1",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-ads:AdDeliveryTierCollection": {
8
8
  "name": "addeliverytiercollection",
@@ -1231,7 +1231,7 @@
1231
1231
  "parameters": [
1232
1232
  {
1233
1233
  "name": "data",
1234
- "type": "any",
1234
+ "type": "Record<string>",
1235
1235
  "optional": false
1236
1236
  }
1237
1237
  ],
@@ -1243,7 +1243,7 @@
1243
1243
  "name": "getFields",
1244
1244
  "async": true,
1245
1245
  "parameters": [],
1246
- "returnType": "any",
1246
+ "returnType": "Promise<any>",
1247
1247
  "isStatic": false,
1248
1248
  "isPublic": true
1249
1249
  },
@@ -1352,7 +1352,7 @@
1352
1352
  },
1353
1353
  {
1354
1354
  "name": "options",
1355
- "type": "any",
1355
+ "type": "AiOperationOptions",
1356
1356
  "optional": true
1357
1357
  }
1358
1358
  ],
@@ -1371,7 +1371,7 @@
1371
1371
  },
1372
1372
  {
1373
1373
  "name": "options",
1374
- "type": "any",
1374
+ "type": "AiOperationOptions",
1375
1375
  "optional": true
1376
1376
  }
1377
1377
  ],
@@ -1385,7 +1385,7 @@
1385
1385
  "parameters": [
1386
1386
  {
1387
1387
  "name": "options",
1388
- "type": "any",
1388
+ "type": "AiOperationOptions",
1389
1389
  "optional": true
1390
1390
  }
1391
1391
  ],
@@ -1415,6 +1415,25 @@
1415
1415
  "isStatic": false,
1416
1416
  "isPublic": true
1417
1417
  },
1418
+ "_setLoadedRelationship": {
1419
+ "name": "_setLoadedRelationship",
1420
+ "async": false,
1421
+ "parameters": [
1422
+ {
1423
+ "name": "fieldName",
1424
+ "type": "string",
1425
+ "optional": false
1426
+ },
1427
+ {
1428
+ "name": "value",
1429
+ "type": "any",
1430
+ "optional": false
1431
+ }
1432
+ ],
1433
+ "returnType": "void",
1434
+ "isStatic": false,
1435
+ "isPublic": true
1436
+ },
1418
1437
  "loadRelated": {
1419
1438
  "name": "loadRelated",
1420
1439
  "async": true,
@@ -1518,7 +1537,7 @@
1518
1537
  "optional": false
1519
1538
  }
1520
1539
  ],
1521
- "returnType": "Promise<any | null>",
1540
+ "returnType": "Promise",
1522
1541
  "isStatic": false,
1523
1542
  "isPublic": true
1524
1543
  },
@@ -1532,7 +1551,7 @@
1532
1551
  "optional": true
1533
1552
  }
1534
1553
  ],
1535
- "returnType": "Promise<Map<string, any>>",
1554
+ "returnType": "Promise<Map<string>>",
1536
1555
  "isStatic": false,
1537
1556
  "isPublic": true
1538
1557
  },
@@ -2100,7 +2119,7 @@
2100
2119
  "parameters": [
2101
2120
  {
2102
2121
  "name": "data",
2103
- "type": "any",
2122
+ "type": "Record<string>",
2104
2123
  "optional": false
2105
2124
  }
2106
2125
  ],
@@ -2112,7 +2131,7 @@
2112
2131
  "name": "getFields",
2113
2132
  "async": true,
2114
2133
  "parameters": [],
2115
- "returnType": "any",
2134
+ "returnType": "Promise<any>",
2116
2135
  "isStatic": false,
2117
2136
  "isPublic": true
2118
2137
  },
@@ -2221,7 +2240,7 @@
2221
2240
  },
2222
2241
  {
2223
2242
  "name": "options",
2224
- "type": "any",
2243
+ "type": "AiOperationOptions",
2225
2244
  "optional": true
2226
2245
  }
2227
2246
  ],
@@ -2240,7 +2259,7 @@
2240
2259
  },
2241
2260
  {
2242
2261
  "name": "options",
2243
- "type": "any",
2262
+ "type": "AiOperationOptions",
2244
2263
  "optional": true
2245
2264
  }
2246
2265
  ],
@@ -2254,7 +2273,7 @@
2254
2273
  "parameters": [
2255
2274
  {
2256
2275
  "name": "options",
2257
- "type": "any",
2276
+ "type": "AiOperationOptions",
2258
2277
  "optional": true
2259
2278
  }
2260
2279
  ],
@@ -2284,6 +2303,25 @@
2284
2303
  "isStatic": false,
2285
2304
  "isPublic": true
2286
2305
  },
2306
+ "_setLoadedRelationship": {
2307
+ "name": "_setLoadedRelationship",
2308
+ "async": false,
2309
+ "parameters": [
2310
+ {
2311
+ "name": "fieldName",
2312
+ "type": "string",
2313
+ "optional": false
2314
+ },
2315
+ {
2316
+ "name": "value",
2317
+ "type": "any",
2318
+ "optional": false
2319
+ }
2320
+ ],
2321
+ "returnType": "void",
2322
+ "isStatic": false,
2323
+ "isPublic": true
2324
+ },
2287
2325
  "loadRelated": {
2288
2326
  "name": "loadRelated",
2289
2327
  "async": true,
@@ -2387,7 +2425,7 @@
2387
2425
  "optional": false
2388
2426
  }
2389
2427
  ],
2390
- "returnType": "Promise<any | null>",
2428
+ "returnType": "Promise",
2391
2429
  "isStatic": false,
2392
2430
  "isPublic": true
2393
2431
  },
@@ -2401,7 +2439,7 @@
2401
2439
  "optional": true
2402
2440
  }
2403
2441
  ],
2404
- "returnType": "Promise<Map<string, any>>",
2442
+ "returnType": "Promise<Map<string>>",
2405
2443
  "isStatic": false,
2406
2444
  "isPublic": true
2407
2445
  },
@@ -2922,7 +2960,7 @@
2922
2960
  "parameters": [
2923
2961
  {
2924
2962
  "name": "data",
2925
- "type": "any",
2963
+ "type": "Record<string>",
2926
2964
  "optional": false
2927
2965
  }
2928
2966
  ],
@@ -2934,7 +2972,7 @@
2934
2972
  "name": "getFields",
2935
2973
  "async": true,
2936
2974
  "parameters": [],
2937
- "returnType": "any",
2975
+ "returnType": "Promise<any>",
2938
2976
  "isStatic": false,
2939
2977
  "isPublic": true
2940
2978
  },
@@ -3043,7 +3081,7 @@
3043
3081
  },
3044
3082
  {
3045
3083
  "name": "options",
3046
- "type": "any",
3084
+ "type": "AiOperationOptions",
3047
3085
  "optional": true
3048
3086
  }
3049
3087
  ],
@@ -3062,7 +3100,7 @@
3062
3100
  },
3063
3101
  {
3064
3102
  "name": "options",
3065
- "type": "any",
3103
+ "type": "AiOperationOptions",
3066
3104
  "optional": true
3067
3105
  }
3068
3106
  ],
@@ -3076,7 +3114,7 @@
3076
3114
  "parameters": [
3077
3115
  {
3078
3116
  "name": "options",
3079
- "type": "any",
3117
+ "type": "AiOperationOptions",
3080
3118
  "optional": true
3081
3119
  }
3082
3120
  ],
@@ -3106,6 +3144,25 @@
3106
3144
  "isStatic": false,
3107
3145
  "isPublic": true
3108
3146
  },
3147
+ "_setLoadedRelationship": {
3148
+ "name": "_setLoadedRelationship",
3149
+ "async": false,
3150
+ "parameters": [
3151
+ {
3152
+ "name": "fieldName",
3153
+ "type": "string",
3154
+ "optional": false
3155
+ },
3156
+ {
3157
+ "name": "value",
3158
+ "type": "any",
3159
+ "optional": false
3160
+ }
3161
+ ],
3162
+ "returnType": "void",
3163
+ "isStatic": false,
3164
+ "isPublic": true
3165
+ },
3109
3166
  "loadRelated": {
3110
3167
  "name": "loadRelated",
3111
3168
  "async": true,
@@ -3209,7 +3266,7 @@
3209
3266
  "optional": false
3210
3267
  }
3211
3268
  ],
3212
- "returnType": "Promise<any | null>",
3269
+ "returnType": "Promise",
3213
3270
  "isStatic": false,
3214
3271
  "isPublic": true
3215
3272
  },
@@ -3223,7 +3280,7 @@
3223
3280
  "optional": true
3224
3281
  }
3225
3282
  ],
3226
- "returnType": "Promise<Map<string, any>>",
3283
+ "returnType": "Promise<Map<string>>",
3227
3284
  "isStatic": false,
3228
3285
  "isPublic": true
3229
3286
  },
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-06-27T01:15:06.772Z",
3
+ "generatedAt": "2026-06-30T04:09:10.415Z",
4
4
  "packageName": "@happyvertical/smrt-ads",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.1",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "4110bc10ce23050a389ea1fc97a5246a1640d4bd23a3cd143b57c7c1152891e2",
10
- "packageJson": "af744d60cae0b5dc95a272082d07bd041fb78759b4119ce7bee400c0b78e0666",
9
+ "manifest": "8547e051f13495a6314fe7614d64521156cb90e50bda646d4c3eb6ff99b3fc63",
10
+ "packageJson": "c00b745cc6157e525b2ed2cb7f7722933d2b3a738e9de57667f280c9132d7959",
11
11
  "agents": "38d00ca384af711a76359907e4d9806733168d7b4b31f7610cd0c418fc72d566"
12
12
  },
13
13
  "exports": [
@@ -24,7 +24,7 @@
24
24
  "@types/node": "25.0.9",
25
25
  "fast-glob": "3.3.3",
26
26
  "typescript": "^5.9.3",
27
- "vite": "^7.3.1",
27
+ "vite": "^7.3.6",
28
28
  "vitest": "^4.0.17"
29
29
  },
30
30
  "smrtDependencies": [
@@ -384,6 +384,7 @@
384
384
  }
385
385
  ],
386
386
  "methods": [
387
+ "_setLoadedRelationship",
387
388
  "classifyConstraintError",
388
389
  "clearEmbeddings",
389
390
  "delete",
@@ -699,6 +700,7 @@
699
700
  }
700
701
  ],
701
702
  "methods": [
703
+ "_setLoadedRelationship",
702
704
  "addZoneId",
703
705
  "classifyConstraintError",
704
706
  "clearEmbeddings",
@@ -956,6 +958,7 @@
956
958
  }
957
959
  ],
958
960
  "methods": [
961
+ "_setLoadedRelationship",
959
962
  "classifyConstraintError",
960
963
  "clearEmbeddings",
961
964
  "delete",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-ads",
3
- "version": "0.36.8",
3
+ "version": "0.37.1",
4
4
  "description": "Advertising delivery and tracking models for SMRT framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,18 +19,18 @@
19
19
  "./manifest.json": "./dist/manifest.json"
20
20
  },
21
21
  "dependencies": {
22
- "@happyvertical/smrt-core": "0.36.8",
23
- "@happyvertical/smrt-tenancy": "0.36.8"
22
+ "@happyvertical/smrt-core": "0.37.1",
23
+ "@happyvertical/smrt-tenancy": "0.37.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@happyvertical/sql": "^0.74.10",
27
27
  "@types/node": "25.0.9",
28
28
  "fast-glob": "3.3.3",
29
29
  "typescript": "^5.9.3",
30
- "vite": "^7.3.1",
30
+ "vite": "^7.3.6",
31
31
  "vitest": "^4.0.17",
32
- "@happyvertical/smrt-commerce": "0.36.8",
33
- "@happyvertical/smrt-vitest": "0.36.8"
32
+ "@happyvertical/smrt-commerce": "0.37.1",
33
+ "@happyvertical/smrt-vitest": "0.37.1"
34
34
  },
35
35
  "keywords": [
36
36
  "ai",