@happyvertical/garrula 0.1.4 → 0.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.
@@ -2,30 +2,33 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/garrula",
5
- "packageVersion": "0.1.4",
5
+ "packageVersion": "0.1.5",
6
6
  "objects": {
7
7
  "@happyvertical/garrula:Garrula": {
8
8
  "name": "garrula",
9
9
  "className": "Garrula",
10
10
  "qualifiedName": "@happyvertical/garrula:Garrula",
11
11
  "collection": "agents",
12
- "filePath": "/home/runner/_work/garrula/garrula/src/Garrula.ts",
12
+ "filePath": "src/Garrula.ts",
13
13
  "packageName": "@happyvertical/garrula",
14
14
  "fields": {
15
15
  "created_at": {
16
16
  "type": "datetime",
17
+ "_meta": {
18
+ "__statedOptions": []
19
+ },
17
20
  "required": false
18
21
  },
19
22
  "updated_at": {
20
23
  "type": "datetime",
24
+ "_meta": {
25
+ "__statedOptions": []
26
+ },
21
27
  "required": false
22
28
  },
23
29
  "tenantId": {
24
30
  "type": "text",
25
- "required": false,
26
31
  "_meta": {
27
- "sqlType": "UUID",
28
- "nullable": true,
29
32
  "__tenancy": {
30
33
  "isTenantIdField": true,
31
34
  "autoFilter": true,
@@ -35,11 +38,27 @@
35
38
  "mode": "optional",
36
39
  "field": "tenantId",
37
40
  "allowSuperAdminBypass": false
38
- }
39
- }
41
+ },
42
+ "__statedOptions": [
43
+ "sqlType",
44
+ "nullable",
45
+ "__tenancy",
46
+ "required"
47
+ ],
48
+ "required": false,
49
+ "sqlType": "UUID",
50
+ "nullable": true
51
+ },
52
+ "required": false
40
53
  },
41
54
  "status": {
42
55
  "type": "text",
56
+ "_meta": {
57
+ "__statedOptions": [
58
+ "default",
59
+ "enum"
60
+ ]
61
+ },
43
62
  "required": false,
44
63
  "default": "idle",
45
64
  "enum": [
@@ -922,23 +941,26 @@
922
941
  "qualifiedName": "@happyvertical/garrula:GarrulaOutboundSettings",
923
942
  "collection": "garrulaoutboundsettingses",
924
943
  "description": "One row per tenant: pause switch, cap, persona, source rules, autonomy, links.",
925
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
944
+ "filePath": "src/outbound/models.ts",
926
945
  "packageName": "@happyvertical/garrula",
927
946
  "fields": {
928
947
  "created_at": {
929
948
  "type": "datetime",
949
+ "_meta": {
950
+ "__statedOptions": []
951
+ },
930
952
  "required": false
931
953
  },
932
954
  "updated_at": {
933
955
  "type": "datetime",
956
+ "_meta": {
957
+ "__statedOptions": []
958
+ },
934
959
  "required": false
935
960
  },
936
961
  "tenantId": {
937
962
  "type": "text",
938
- "required": true,
939
963
  "_meta": {
940
- "sqlType": "UUID",
941
- "nullable": false,
942
964
  "__tenancy": {
943
965
  "isTenantIdField": true,
944
966
  "autoFilter": true,
@@ -948,49 +970,100 @@
948
970
  "mode": "required",
949
971
  "field": "tenantId",
950
972
  "allowSuperAdminBypass": false
951
- }
952
- }
973
+ },
974
+ "__statedOptions": [
975
+ "sqlType",
976
+ "nullable",
977
+ "requiredFor",
978
+ "__tenancy"
979
+ ],
980
+ "sqlType": "UUID",
981
+ "nullable": false,
982
+ "requiredFor": "tenant-scope"
983
+ },
984
+ "required": true
953
985
  },
954
986
  "paused": {
955
987
  "type": "boolean",
988
+ "_meta": {
989
+ "__statedOptions": [
990
+ "default"
991
+ ]
992
+ },
956
993
  "required": true,
957
994
  "default": false
958
995
  },
959
996
  "monthlyCapMicros": {
960
997
  "type": "integer",
998
+ "_meta": {
999
+ "__statedOptions": [
1000
+ "default"
1001
+ ]
1002
+ },
961
1003
  "required": true,
962
1004
  "default": 0
963
1005
  },
964
1006
  "persona": {
965
1007
  "type": "text",
1008
+ "_meta": {
1009
+ "__statedOptions": []
1010
+ },
966
1011
  "required": false
967
1012
  },
968
1013
  "sources": {
969
1014
  "type": "json",
1015
+ "_meta": {
1016
+ "__statedOptions": [
1017
+ "default"
1018
+ ]
1019
+ },
970
1020
  "required": false,
971
1021
  "default": []
972
1022
  },
973
1023
  "autonomy": {
974
1024
  "type": "json",
1025
+ "_meta": {
1026
+ "__statedOptions": [
1027
+ "default"
1028
+ ]
1029
+ },
975
1030
  "required": false,
976
1031
  "default": {}
977
1032
  },
978
1033
  "linkPolicy": {
979
1034
  "type": "json",
1035
+ "_meta": {
1036
+ "__statedOptions": [
1037
+ "default"
1038
+ ]
1039
+ },
980
1040
  "required": false,
981
1041
  "default": {}
982
1042
  },
983
1043
  "defaultLinkPolicy": {
984
1044
  "type": "text",
1045
+ "_meta": {
1046
+ "__statedOptions": []
1047
+ },
985
1048
  "required": false
986
1049
  },
987
1050
  "accountIds": {
988
1051
  "type": "json",
1052
+ "_meta": {
1053
+ "__statedOptions": [
1054
+ "default"
1055
+ ]
1056
+ },
989
1057
  "required": false,
990
1058
  "default": []
991
1059
  },
992
1060
  "deferTopics": {
993
1061
  "type": "json",
1062
+ "_meta": {
1063
+ "__statedOptions": [
1064
+ "default"
1065
+ ]
1066
+ },
994
1067
  "required": false,
995
1068
  "default": []
996
1069
  }
@@ -1153,7 +1226,7 @@
1153
1226
  "className": "GarrulaOutboundSettingsCollection",
1154
1227
  "qualifiedName": "@happyvertical/garrula:GarrulaOutboundSettingsCollection",
1155
1228
  "collection": "garrulaoutboundsettingses",
1156
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
1229
+ "filePath": "src/outbound/models.ts",
1157
1230
  "packageName": "@happyvertical/garrula",
1158
1231
  "fields": {},
1159
1232
  "methods": {},
@@ -1300,23 +1373,26 @@
1300
1373
  "qualifiedName": "@happyvertical/garrula:GarrulaOutboundPost",
1301
1374
  "collection": "garrulaoutboundposts",
1302
1375
  "description": "The outbound lifecycle of one smrt-social SocialPost: state, kind, source and cited claims.",
1303
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
1376
+ "filePath": "src/outbound/models.ts",
1304
1377
  "packageName": "@happyvertical/garrula",
1305
1378
  "fields": {
1306
1379
  "created_at": {
1307
1380
  "type": "datetime",
1381
+ "_meta": {
1382
+ "__statedOptions": []
1383
+ },
1308
1384
  "required": false
1309
1385
  },
1310
1386
  "updated_at": {
1311
1387
  "type": "datetime",
1388
+ "_meta": {
1389
+ "__statedOptions": []
1390
+ },
1312
1391
  "required": false
1313
1392
  },
1314
1393
  "tenantId": {
1315
1394
  "type": "text",
1316
- "required": true,
1317
1395
  "_meta": {
1318
- "sqlType": "UUID",
1319
- "nullable": false,
1320
1396
  "__tenancy": {
1321
1397
  "isTenantIdField": true,
1322
1398
  "autoFilter": true,
@@ -1326,48 +1402,90 @@
1326
1402
  "mode": "required",
1327
1403
  "field": "tenantId",
1328
1404
  "allowSuperAdminBypass": false
1329
- }
1330
- }
1405
+ },
1406
+ "__statedOptions": [
1407
+ "sqlType",
1408
+ "nullable",
1409
+ "requiredFor",
1410
+ "__tenancy"
1411
+ ],
1412
+ "sqlType": "UUID",
1413
+ "nullable": false,
1414
+ "requiredFor": "tenant-scope"
1415
+ },
1416
+ "required": true
1331
1417
  },
1332
1418
  "socialPostId": {
1333
1419
  "type": "text",
1420
+ "_meta": {
1421
+ "__statedOptions": []
1422
+ },
1334
1423
  "required": false
1335
1424
  },
1336
1425
  "state": {
1337
1426
  "type": "text",
1427
+ "_meta": {
1428
+ "__statedOptions": []
1429
+ },
1338
1430
  "required": false
1339
1431
  },
1340
1432
  "kind": {
1341
1433
  "type": "text",
1434
+ "_meta": {
1435
+ "__statedOptions": []
1436
+ },
1342
1437
  "required": false
1343
1438
  },
1344
1439
  "sourceEventId": {
1345
1440
  "type": "text",
1441
+ "_meta": {
1442
+ "__statedOptions": []
1443
+ },
1346
1444
  "required": false
1347
1445
  },
1348
1446
  "sourceKind": {
1349
1447
  "type": "text",
1448
+ "_meta": {
1449
+ "__statedOptions": []
1450
+ },
1350
1451
  "required": false
1351
1452
  },
1352
1453
  "sourceUrl": {
1353
1454
  "type": "text",
1455
+ "_meta": {
1456
+ "__statedOptions": []
1457
+ },
1354
1458
  "required": false
1355
1459
  },
1356
1460
  "claims": {
1357
1461
  "type": "json",
1462
+ "_meta": {
1463
+ "__statedOptions": [
1464
+ "default"
1465
+ ]
1466
+ },
1358
1467
  "required": false,
1359
1468
  "default": []
1360
1469
  },
1361
1470
  "createdBy": {
1362
1471
  "type": "text",
1472
+ "_meta": {
1473
+ "__statedOptions": []
1474
+ },
1363
1475
  "required": false
1364
1476
  },
1365
1477
  "approvedBy": {
1366
1478
  "type": "text",
1479
+ "_meta": {
1480
+ "__statedOptions": []
1481
+ },
1367
1482
  "required": false
1368
1483
  },
1369
1484
  "rejectedReason": {
1370
1485
  "type": "text",
1486
+ "_meta": {
1487
+ "__statedOptions": []
1488
+ },
1371
1489
  "required": false
1372
1490
  }
1373
1491
  },
@@ -1516,7 +1634,7 @@
1516
1634
  "className": "GarrulaOutboundPostCollection",
1517
1635
  "qualifiedName": "@happyvertical/garrula:GarrulaOutboundPostCollection",
1518
1636
  "collection": "garrulaoutboundposts",
1519
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
1637
+ "filePath": "src/outbound/models.ts",
1520
1638
  "packageName": "@happyvertical/garrula",
1521
1639
  "fields": {},
1522
1640
  "methods": {},
@@ -1661,23 +1779,26 @@
1661
1779
  "qualifiedName": "@happyvertical/garrula:GarrulaSpendEntry",
1662
1780
  "collection": "garrulaspendentries",
1663
1781
  "description": "Spend ledger: one entry per publish attempt, per tenant per month.",
1664
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
1782
+ "filePath": "src/outbound/models.ts",
1665
1783
  "packageName": "@happyvertical/garrula",
1666
1784
  "fields": {
1667
1785
  "created_at": {
1668
1786
  "type": "datetime",
1787
+ "_meta": {
1788
+ "__statedOptions": []
1789
+ },
1669
1790
  "required": false
1670
1791
  },
1671
1792
  "updated_at": {
1672
1793
  "type": "datetime",
1794
+ "_meta": {
1795
+ "__statedOptions": []
1796
+ },
1673
1797
  "required": false
1674
1798
  },
1675
1799
  "tenantId": {
1676
1800
  "type": "text",
1677
- "required": true,
1678
1801
  "_meta": {
1679
- "sqlType": "UUID",
1680
- "nullable": false,
1681
1802
  "__tenancy": {
1682
1803
  "isTenantIdField": true,
1683
1804
  "autoFilter": true,
@@ -1687,28 +1808,55 @@
1687
1808
  "mode": "required",
1688
1809
  "field": "tenantId",
1689
1810
  "allowSuperAdminBypass": false
1690
- }
1691
- }
1811
+ },
1812
+ "__statedOptions": [
1813
+ "sqlType",
1814
+ "nullable",
1815
+ "requiredFor",
1816
+ "__tenancy"
1817
+ ],
1818
+ "sqlType": "UUID",
1819
+ "nullable": false,
1820
+ "requiredFor": "tenant-scope"
1821
+ },
1822
+ "required": true
1692
1823
  },
1693
1824
  "month": {
1694
1825
  "type": "text",
1826
+ "_meta": {
1827
+ "__statedOptions": []
1828
+ },
1695
1829
  "required": false
1696
1830
  },
1697
1831
  "socialPostId": {
1698
1832
  "type": "text",
1833
+ "_meta": {
1834
+ "__statedOptions": []
1835
+ },
1699
1836
  "required": false
1700
1837
  },
1701
1838
  "costMicros": {
1702
1839
  "type": "integer",
1840
+ "_meta": {
1841
+ "__statedOptions": [
1842
+ "default"
1843
+ ]
1844
+ },
1703
1845
  "required": true,
1704
1846
  "default": 0
1705
1847
  },
1706
1848
  "source": {
1707
1849
  "type": "text",
1850
+ "_meta": {
1851
+ "__statedOptions": []
1852
+ },
1708
1853
  "required": false
1709
1854
  },
1710
1855
  "status": {
1711
1856
  "type": "text",
1857
+ "_meta": {
1858
+ "__statedOptions": []
1859
+ },
1712
1860
  "required": false
1713
1861
  }
1714
1862
  },
@@ -1843,7 +1991,7 @@
1843
1991
  "className": "GarrulaSpendEntryCollection",
1844
1992
  "qualifiedName": "@happyvertical/garrula:GarrulaSpendEntryCollection",
1845
1993
  "collection": "garrulaspendentries",
1846
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
1994
+ "filePath": "src/outbound/models.ts",
1847
1995
  "packageName": "@happyvertical/garrula",
1848
1996
  "fields": {},
1849
1997
  "methods": {},
@@ -1968,23 +2116,26 @@
1968
2116
  "qualifiedName": "@happyvertical/garrula:GarrulaSourceEvent",
1969
2117
  "collection": "garrulasourceevents",
1970
2118
  "description": "Dedupe ledger: an event id seen once never yields a second candidate.",
1971
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
2119
+ "filePath": "src/outbound/models.ts",
1972
2120
  "packageName": "@happyvertical/garrula",
1973
2121
  "fields": {
1974
2122
  "created_at": {
1975
2123
  "type": "datetime",
2124
+ "_meta": {
2125
+ "__statedOptions": []
2126
+ },
1976
2127
  "required": false
1977
2128
  },
1978
2129
  "updated_at": {
1979
2130
  "type": "datetime",
2131
+ "_meta": {
2132
+ "__statedOptions": []
2133
+ },
1980
2134
  "required": false
1981
2135
  },
1982
2136
  "tenantId": {
1983
2137
  "type": "text",
1984
- "required": true,
1985
2138
  "_meta": {
1986
- "sqlType": "UUID",
1987
- "nullable": false,
1988
2139
  "__tenancy": {
1989
2140
  "isTenantIdField": true,
1990
2141
  "autoFilter": true,
@@ -1994,19 +2145,40 @@
1994
2145
  "mode": "required",
1995
2146
  "field": "tenantId",
1996
2147
  "allowSuperAdminBypass": false
1997
- }
1998
- }
2148
+ },
2149
+ "__statedOptions": [
2150
+ "sqlType",
2151
+ "nullable",
2152
+ "requiredFor",
2153
+ "__tenancy"
2154
+ ],
2155
+ "sqlType": "UUID",
2156
+ "nullable": false,
2157
+ "requiredFor": "tenant-scope"
2158
+ },
2159
+ "required": true
1999
2160
  },
2000
2161
  "eventKey": {
2001
2162
  "type": "text",
2163
+ "_meta": {
2164
+ "__statedOptions": []
2165
+ },
2002
2166
  "required": false
2003
2167
  },
2004
2168
  "outcome": {
2005
2169
  "type": "text",
2170
+ "_meta": {
2171
+ "__statedOptions": []
2172
+ },
2006
2173
  "required": false
2007
2174
  },
2008
2175
  "outboundPostIds": {
2009
2176
  "type": "json",
2177
+ "_meta": {
2178
+ "__statedOptions": [
2179
+ "default"
2180
+ ]
2181
+ },
2010
2182
  "required": false,
2011
2183
  "default": []
2012
2184
  }
@@ -2128,7 +2300,7 @@
2128
2300
  "className": "GarrulaSourceEventCollection",
2129
2301
  "qualifiedName": "@happyvertical/garrula:GarrulaSourceEventCollection",
2130
2302
  "collection": "garrulasourceevents",
2131
- "filePath": "/home/runner/_work/garrula/garrula/src/outbound/models.ts",
2303
+ "filePath": "src/outbound/models.ts",
2132
2304
  "packageName": "@happyvertical/garrula",
2133
2305
  "fields": {},
2134
2306
  "methods": {},
@@ -2247,5 +2419,6 @@
2247
2419
  "@happyvertical/smrt-social",
2248
2420
  "@happyvertical/smrt-tenancy"
2249
2421
  ],
2422
+ "schemaFingerprint": "c59f7efc7af0267a142349906f48e90552e835f291aec2253b2f50ac201aae0a",
2250
2423
  "stampsConstructors": true
2251
2424
  }
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/garrula",
6
- "packageVersion": "0.1.4",
6
+ "packageVersion": "0.1.5",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "8df9e3479b715c8edaf75ed86315b3ec9bc45de197f5d9ae9578d429e88df685",
11
- "packageJson": "9abf3fdd18e16600e432ce20344e98ba9b6559e69f83c23200862dd5a6990173",
10
+ "manifest": "50dc3c2f7721d9d8ee70a6561e5ec9c316f23753e43d031ca4ea02e072573794",
11
+ "packageJson": "ee17fd9d9ddad15a609bdf10cd2fa12f9476b16eb7cf094938cf1b732b02b4d2",
12
12
  "agents": "37df674b62c16b50b91bda6e6057f1da0c0e2169b9d13f31ac0cdabb88f0f3f5"
13
13
  },
14
14
  "exports": [
@@ -19,17 +19,17 @@
19
19
  "./manifest.json"
20
20
  ],
21
21
  "dependencies": {
22
- "@happyvertical/smrt-agents": "0.60.16",
23
- "@happyvertical/smrt-core": "0.60.16",
24
- "@happyvertical/smrt-social": "0.60.16",
25
- "@happyvertical/smrt-tenancy": "0.60.16",
26
- "@happyvertical/smrt-ui": "0.60.16",
22
+ "@happyvertical/smrt-agents": "0.62.3",
23
+ "@happyvertical/smrt-core": "0.62.3",
24
+ "@happyvertical/smrt-social": "0.62.3",
25
+ "@happyvertical/smrt-tenancy": "0.62.3",
26
+ "@happyvertical/smrt-ui": "0.62.3",
27
27
  "@happyvertical/social": "0.111.9",
28
28
  "@biomejs/biome": "2.5.2",
29
29
  "@changesets/cli": "^2.31.0",
30
30
  "@changesets/parse": "0.4.3",
31
- "@happyvertical/smrt-cli": "0.60.16",
32
- "@happyvertical/smrt-vitest": "0.60.16",
31
+ "@happyvertical/smrt-cli": "0.62.3",
32
+ "@happyvertical/smrt-vitest": "0.62.3",
33
33
  "@sveltejs/package": "^2.5.8",
34
34
  "@sveltejs/vite-plugin-svelte": "^7.1.2",
35
35
  "@testing-library/jest-dom": "7.0.1",
@@ -4,6 +4,7 @@ import { Alert, Button } from "@happyvertical/smrt-ui";
4
4
  import { Checkbox, Input, Select, Switch } from "@happyvertical/smrt-ui/forms";
5
5
  import { SocialAccountSettings } from "@happyvertical/smrt-social/svelte";
6
6
  import type { SocialAccountSettingsItem } from "@happyvertical/smrt-social/svelte";
7
+ import type { PublishPolicyChange } from "@happyvertical/smrt-social";
7
8
  import type { LinkPolicy, OutboundSettings } from "../../outbound/types.js";
8
9
  import type { SettingsPanelProps } from "../types.js";
9
10
  import StatusRegion from "./StatusRegion.svelte";
@@ -90,6 +91,15 @@ async function deactivateAccount(account: SocialAccountSettingsItem) {
90
91
  await reloadAccounts();
91
92
  }
92
93
 
94
+ async function changePublishPolicy(
95
+ account: SocialAccountSettingsItem,
96
+ change: PublishPolicyChange,
97
+ options: { confirmPublic: boolean },
98
+ ) {
99
+ await apiClient.setSocialAccountPublishPolicy?.(account.id, change, options);
100
+ await reloadAccounts();
101
+ }
102
+
93
103
  async function setPaused(paused: boolean) {
94
104
  pausing = true;
95
105
  error = null;
@@ -178,6 +188,7 @@ onMount(load);
178
188
  onRefresh={load}
179
189
  onTest={testAccount}
180
190
  onDeactivate={deactivateAccount}
191
+ onChangePublishPolicy={apiClient.setSocialAccountPublishPolicy ? changePublishPolicy : undefined}
181
192
  />
182
193
 
183
194
  {#if settings}
@@ -1,5 +1,6 @@
1
1
  import type { SocialPost } from "@happyvertical/smrt-social";
2
2
  import type { SocialAccountSettingsItem } from "@happyvertical/smrt-social/svelte";
3
+ import type { PublishPolicyChange } from "@happyvertical/smrt-social";
3
4
  import type { OutboundDraft, OutboundPostKind, OutboundSettings, OutboundSettingsPatch, OutboundState, SpendSummary } from "../outbound/types.js";
4
5
  /**
5
6
  * What the signed-in person may do. UI gating is a convenience only: the host
@@ -56,6 +57,16 @@ export interface GarrulaSocialAdminClient {
56
57
  message: string;
57
58
  }>;
58
59
  deactivateSocialAccount(accountId: string): Promise<SocialAccountSettingsItem>;
60
+ /**
61
+ * Change an account's publish mode and/or public-posting latch. Optional: the
62
+ * settings card shows the control only when the host provides it. The host
63
+ * must authorize the caller and reject a change that makes the account post
64
+ * publicly unless `confirmPublic` is true (see smrt-social's
65
+ * `planPublishPolicyChange`).
66
+ */
67
+ setSocialAccountPublishPolicy?(accountId: string, change: PublishPolicyChange, options: {
68
+ confirmPublic: boolean;
69
+ }): Promise<SocialAccountSettingsItem>;
59
70
  }
60
71
  export interface GarrulaAdminClient extends GarrulaOutboundAdminClient, GarrulaSocialAdminClient {
61
72
  }
package/dist/ui/types.js CHANGED
@@ -55,6 +55,13 @@ export function createAPIClient(baseUrl, outbound) {
55
55
  const res = await request(`/social-accounts/${encodeURIComponent(accountId)}/test`, { method: "POST" });
56
56
  return res.data;
57
57
  },
58
+ async setSocialAccountPublishPolicy(accountId, change, options) {
59
+ const res = await request(`/social-accounts/${encodeURIComponent(accountId)}/publish-policy`, {
60
+ method: "POST",
61
+ body: { ...change, confirmPublic: options.confirmPublic },
62
+ });
63
+ return res.data;
64
+ },
58
65
  async deactivateSocialAccount(accountId) {
59
66
  const res = await request(`/social-accounts/${encodeURIComponent(accountId)}/deactivate`, { method: "POST" });
60
67
  return res.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/garrula",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Social media publishing, account health, and post analytics agent for SMRT applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -79,19 +79,19 @@
79
79
  "url": "git+https://github.com/happyvertical/garrula.git"
80
80
  },
81
81
  "dependencies": {
82
- "@happyvertical/smrt-agents": "0.60.16",
83
- "@happyvertical/smrt-core": "0.60.16",
84
- "@happyvertical/smrt-social": "0.60.16",
85
- "@happyvertical/smrt-tenancy": "0.60.16",
86
- "@happyvertical/smrt-ui": "0.60.16",
82
+ "@happyvertical/smrt-agents": "0.62.3",
83
+ "@happyvertical/smrt-core": "0.62.3",
84
+ "@happyvertical/smrt-social": "0.62.3",
85
+ "@happyvertical/smrt-tenancy": "0.62.3",
86
+ "@happyvertical/smrt-ui": "0.62.3",
87
87
  "@happyvertical/social": "0.111.9"
88
88
  },
89
89
  "devDependencies": {
90
90
  "@biomejs/biome": "2.5.2",
91
91
  "@changesets/cli": "^2.31.0",
92
92
  "@changesets/parse": "0.4.3",
93
- "@happyvertical/smrt-cli": "0.60.16",
94
- "@happyvertical/smrt-vitest": "0.60.16",
93
+ "@happyvertical/smrt-cli": "0.62.3",
94
+ "@happyvertical/smrt-vitest": "0.62.3",
95
95
  "@sveltejs/package": "^2.5.8",
96
96
  "@sveltejs/vite-plugin-svelte": "^7.1.2",
97
97
  "@testing-library/jest-dom": "7.0.1",