@spectrum-ts/core 9.3.0 → 9.3.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.
@@ -592,19 +592,8 @@ interface Message<TPlatform extends string = string, TSender extends User = User
592
592
  declare const editSchema: z.ZodObject<{
593
593
  type: z.ZodLiteral<"edit">;
594
594
  content: z.ZodCustom<{
595
- type: "text";
596
- text: string;
597
- } | {
598
- type: "markdown";
599
- markdown: string;
600
- } | {
601
- type: "attachment";
602
- id: string;
603
- name: string;
604
- mimeType: string;
605
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
606
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
607
- size?: number | undefined;
595
+ type: "custom";
596
+ raw: unknown;
608
597
  } | {
609
598
  type: "contact";
610
599
  user?: {
@@ -649,35 +638,19 @@ declare const editSchema: z.ZodObject<{
649
638
  } | undefined;
650
639
  raw?: unknown;
651
640
  } | {
652
- type: "custom";
653
- raw: unknown;
654
- } | {
655
- type: "poll";
656
- title: string;
657
- options: {
658
- title: string;
659
- }[];
660
- } | {
661
- type: "poll_option";
662
- option: {
663
- title: string;
664
- };
665
- poll: {
666
- type: "poll";
667
- title: string;
668
- options: {
669
- title: string;
670
- }[];
671
- };
672
- selected: boolean;
673
- title: string;
641
+ type: "attachment";
642
+ id: string;
643
+ name: string;
644
+ mimeType: string;
645
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
646
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
647
+ size?: number | undefined;
674
648
  } | {
675
- type: "group";
676
- items: Message<string, User, Space<unknown>>[];
649
+ type: "text";
650
+ text: string;
677
651
  } | {
678
- type: "reaction";
679
- emoji: string;
680
- target: Message<string, User, Space<unknown>>;
652
+ type: "markdown";
653
+ markdown: string;
681
654
  } | {
682
655
  type: "streamText";
683
656
  stream: () => AsyncIterable<string>;
@@ -707,15 +680,36 @@ declare const editSchema: z.ZodObject<{
707
680
  summary: z.ZodOptional<z.ZodString>;
708
681
  }, z.core.$strip>>>;
709
682
  live?: boolean | undefined;
683
+ } | {
684
+ type: "reaction";
685
+ emoji: string;
686
+ target: Message<string, User, Space<unknown>>;
687
+ } | {
688
+ type: "group";
689
+ items: Message<string, User, Space<unknown>>[];
690
+ } | {
691
+ type: "poll";
692
+ title: string;
693
+ options: {
694
+ title: string;
695
+ }[];
696
+ } | {
697
+ type: "poll_option";
698
+ option: {
699
+ title: string;
700
+ };
701
+ poll: {
702
+ type: "poll";
703
+ title: string;
704
+ options: {
705
+ title: string;
706
+ }[];
707
+ };
708
+ selected: boolean;
709
+ title: string;
710
710
  } | {
711
711
  type: "effect";
712
712
  content: {
713
- type: "text";
714
- text: string;
715
- } | {
716
- type: "markdown";
717
- markdown: string;
718
- } | {
719
713
  type: "attachment";
720
714
  id: string;
721
715
  name: string;
@@ -723,6 +717,12 @@ declare const editSchema: z.ZodObject<{
723
717
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
724
718
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
725
719
  size?: number | undefined;
720
+ } | {
721
+ type: "text";
722
+ text: string;
723
+ } | {
724
+ type: "markdown";
725
+ markdown: string;
726
726
  };
727
727
  effect: string;
728
728
  } | {
@@ -749,19 +749,8 @@ declare const editSchema: z.ZodObject<{
749
749
  } | {
750
750
  type: "leaveSpace";
751
751
  }, {
752
- type: "text";
753
- text: string;
754
- } | {
755
- type: "markdown";
756
- markdown: string;
757
- } | {
758
- type: "attachment";
759
- id: string;
760
- name: string;
761
- mimeType: string;
762
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
763
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
764
- size?: number | undefined;
752
+ type: "custom";
753
+ raw: unknown;
765
754
  } | {
766
755
  type: "contact";
767
756
  user?: {
@@ -806,35 +795,19 @@ declare const editSchema: z.ZodObject<{
806
795
  } | undefined;
807
796
  raw?: unknown;
808
797
  } | {
809
- type: "custom";
810
- raw: unknown;
811
- } | {
812
- type: "poll";
813
- title: string;
814
- options: {
815
- title: string;
816
- }[];
817
- } | {
818
- type: "poll_option";
819
- option: {
820
- title: string;
821
- };
822
- poll: {
823
- type: "poll";
824
- title: string;
825
- options: {
826
- title: string;
827
- }[];
828
- };
829
- selected: boolean;
830
- title: string;
798
+ type: "attachment";
799
+ id: string;
800
+ name: string;
801
+ mimeType: string;
802
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
803
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
804
+ size?: number | undefined;
831
805
  } | {
832
- type: "group";
833
- items: Message<string, User, Space<unknown>>[];
806
+ type: "text";
807
+ text: string;
834
808
  } | {
835
- type: "reaction";
836
- emoji: string;
837
- target: Message<string, User, Space<unknown>>;
809
+ type: "markdown";
810
+ markdown: string;
838
811
  } | {
839
812
  type: "streamText";
840
813
  stream: () => AsyncIterable<string>;
@@ -864,15 +837,36 @@ declare const editSchema: z.ZodObject<{
864
837
  summary: z.ZodOptional<z.ZodString>;
865
838
  }, z.core.$strip>>>;
866
839
  live?: boolean | undefined;
840
+ } | {
841
+ type: "reaction";
842
+ emoji: string;
843
+ target: Message<string, User, Space<unknown>>;
844
+ } | {
845
+ type: "group";
846
+ items: Message<string, User, Space<unknown>>[];
847
+ } | {
848
+ type: "poll";
849
+ title: string;
850
+ options: {
851
+ title: string;
852
+ }[];
853
+ } | {
854
+ type: "poll_option";
855
+ option: {
856
+ title: string;
857
+ };
858
+ poll: {
859
+ type: "poll";
860
+ title: string;
861
+ options: {
862
+ title: string;
863
+ }[];
864
+ };
865
+ selected: boolean;
866
+ title: string;
867
867
  } | {
868
868
  type: "effect";
869
869
  content: {
870
- type: "text";
871
- text: string;
872
- } | {
873
- type: "markdown";
874
- markdown: string;
875
- } | {
876
870
  type: "attachment";
877
871
  id: string;
878
872
  name: string;
@@ -880,6 +874,12 @@ declare const editSchema: z.ZodObject<{
880
874
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
881
875
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
882
876
  size?: number | undefined;
877
+ } | {
878
+ type: "text";
879
+ text: string;
880
+ } | {
881
+ type: "markdown";
882
+ markdown: string;
883
883
  };
884
884
  effect: string;
885
885
  } | {
@@ -1136,19 +1136,8 @@ declare function rename(displayName: string): ContentBuilder;
1136
1136
  declare const replySchema: z.ZodObject<{
1137
1137
  type: z.ZodLiteral<"reply">;
1138
1138
  content: z.ZodCustom<{
1139
- type: "text";
1140
- text: string;
1141
- } | {
1142
- type: "markdown";
1143
- markdown: string;
1144
- } | {
1145
- type: "attachment";
1146
- id: string;
1147
- name: string;
1148
- mimeType: string;
1149
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1150
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1151
- size?: number | undefined;
1139
+ type: "custom";
1140
+ raw: unknown;
1152
1141
  } | {
1153
1142
  type: "contact";
1154
1143
  user?: {
@@ -1193,35 +1182,19 @@ declare const replySchema: z.ZodObject<{
1193
1182
  } | undefined;
1194
1183
  raw?: unknown;
1195
1184
  } | {
1196
- type: "custom";
1197
- raw: unknown;
1198
- } | {
1199
- type: "poll";
1200
- title: string;
1201
- options: {
1202
- title: string;
1203
- }[];
1204
- } | {
1205
- type: "poll_option";
1206
- option: {
1207
- title: string;
1208
- };
1209
- poll: {
1210
- type: "poll";
1211
- title: string;
1212
- options: {
1213
- title: string;
1214
- }[];
1215
- };
1216
- selected: boolean;
1217
- title: string;
1185
+ type: "attachment";
1186
+ id: string;
1187
+ name: string;
1188
+ mimeType: string;
1189
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1190
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1191
+ size?: number | undefined;
1218
1192
  } | {
1219
- type: "group";
1220
- items: Message<string, User, Space<unknown>>[];
1193
+ type: "text";
1194
+ text: string;
1221
1195
  } | {
1222
- type: "reaction";
1223
- emoji: string;
1224
- target: Message<string, User, Space<unknown>>;
1196
+ type: "markdown";
1197
+ markdown: string;
1225
1198
  } | {
1226
1199
  type: "streamText";
1227
1200
  stream: () => AsyncIterable<string>;
@@ -1252,25 +1225,52 @@ declare const replySchema: z.ZodObject<{
1252
1225
  }, z.core.$strip>>>;
1253
1226
  live?: boolean | undefined;
1254
1227
  } | {
1255
- type: "effect";
1256
- content: {
1257
- type: "text";
1258
- text: string;
1259
- } | {
1260
- type: "markdown";
1261
- markdown: string;
1262
- } | {
1263
- type: "attachment";
1264
- id: string;
1265
- name: string;
1266
- mimeType: string;
1267
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1268
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1269
- size?: number | undefined;
1270
- };
1271
- effect: string;
1272
- } | {
1273
- type: "typing";
1228
+ type: "reaction";
1229
+ emoji: string;
1230
+ target: Message<string, User, Space<unknown>>;
1231
+ } | {
1232
+ type: "group";
1233
+ items: Message<string, User, Space<unknown>>[];
1234
+ } | {
1235
+ type: "poll";
1236
+ title: string;
1237
+ options: {
1238
+ title: string;
1239
+ }[];
1240
+ } | {
1241
+ type: "poll_option";
1242
+ option: {
1243
+ title: string;
1244
+ };
1245
+ poll: {
1246
+ type: "poll";
1247
+ title: string;
1248
+ options: {
1249
+ title: string;
1250
+ }[];
1251
+ };
1252
+ selected: boolean;
1253
+ title: string;
1254
+ } | {
1255
+ type: "effect";
1256
+ content: {
1257
+ type: "attachment";
1258
+ id: string;
1259
+ name: string;
1260
+ mimeType: string;
1261
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1262
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1263
+ size?: number | undefined;
1264
+ } | {
1265
+ type: "text";
1266
+ text: string;
1267
+ } | {
1268
+ type: "markdown";
1269
+ markdown: string;
1270
+ };
1271
+ effect: string;
1272
+ } | {
1273
+ type: "typing";
1274
1274
  state: "start" | "stop";
1275
1275
  } | {
1276
1276
  type: "rename";
@@ -1293,19 +1293,8 @@ declare const replySchema: z.ZodObject<{
1293
1293
  } | {
1294
1294
  type: "leaveSpace";
1295
1295
  }, {
1296
- type: "text";
1297
- text: string;
1298
- } | {
1299
- type: "markdown";
1300
- markdown: string;
1301
- } | {
1302
- type: "attachment";
1303
- id: string;
1304
- name: string;
1305
- mimeType: string;
1306
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1307
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1308
- size?: number | undefined;
1296
+ type: "custom";
1297
+ raw: unknown;
1309
1298
  } | {
1310
1299
  type: "contact";
1311
1300
  user?: {
@@ -1350,35 +1339,19 @@ declare const replySchema: z.ZodObject<{
1350
1339
  } | undefined;
1351
1340
  raw?: unknown;
1352
1341
  } | {
1353
- type: "custom";
1354
- raw: unknown;
1355
- } | {
1356
- type: "poll";
1357
- title: string;
1358
- options: {
1359
- title: string;
1360
- }[];
1361
- } | {
1362
- type: "poll_option";
1363
- option: {
1364
- title: string;
1365
- };
1366
- poll: {
1367
- type: "poll";
1368
- title: string;
1369
- options: {
1370
- title: string;
1371
- }[];
1372
- };
1373
- selected: boolean;
1374
- title: string;
1342
+ type: "attachment";
1343
+ id: string;
1344
+ name: string;
1345
+ mimeType: string;
1346
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1347
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1348
+ size?: number | undefined;
1375
1349
  } | {
1376
- type: "group";
1377
- items: Message<string, User, Space<unknown>>[];
1350
+ type: "text";
1351
+ text: string;
1378
1352
  } | {
1379
- type: "reaction";
1380
- emoji: string;
1381
- target: Message<string, User, Space<unknown>>;
1353
+ type: "markdown";
1354
+ markdown: string;
1382
1355
  } | {
1383
1356
  type: "streamText";
1384
1357
  stream: () => AsyncIterable<string>;
@@ -1408,15 +1381,36 @@ declare const replySchema: z.ZodObject<{
1408
1381
  summary: z.ZodOptional<z.ZodString>;
1409
1382
  }, z.core.$strip>>>;
1410
1383
  live?: boolean | undefined;
1384
+ } | {
1385
+ type: "reaction";
1386
+ emoji: string;
1387
+ target: Message<string, User, Space<unknown>>;
1388
+ } | {
1389
+ type: "group";
1390
+ items: Message<string, User, Space<unknown>>[];
1391
+ } | {
1392
+ type: "poll";
1393
+ title: string;
1394
+ options: {
1395
+ title: string;
1396
+ }[];
1397
+ } | {
1398
+ type: "poll_option";
1399
+ option: {
1400
+ title: string;
1401
+ };
1402
+ poll: {
1403
+ type: "poll";
1404
+ title: string;
1405
+ options: {
1406
+ title: string;
1407
+ }[];
1408
+ };
1409
+ selected: boolean;
1410
+ title: string;
1411
1411
  } | {
1412
1412
  type: "effect";
1413
1413
  content: {
1414
- type: "text";
1415
- text: string;
1416
- } | {
1417
- type: "markdown";
1418
- markdown: string;
1419
- } | {
1420
1414
  type: "attachment";
1421
1415
  id: string;
1422
1416
  name: string;
@@ -1424,6 +1418,12 @@ declare const replySchema: z.ZodObject<{
1424
1418
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
1425
1419
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
1426
1420
  size?: number | undefined;
1421
+ } | {
1422
+ type: "text";
1423
+ text: string;
1424
+ } | {
1425
+ type: "markdown";
1426
+ markdown: string;
1427
1427
  };
1428
1428
  effect: string;
1429
1429
  } | {
@@ -7274,19 +7274,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7274
7274
  }, z.core.$strip>, z.ZodObject<{
7275
7275
  type: z.ZodLiteral<"reply">;
7276
7276
  content: z.ZodCustom<{
7277
- type: "text";
7278
- text: string;
7279
- } | {
7280
- type: "markdown";
7281
- markdown: string;
7282
- } | {
7283
- type: "attachment";
7284
- id: string;
7285
- name: string;
7286
- mimeType: string;
7287
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7288
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7289
- size?: number | undefined;
7277
+ type: "custom";
7278
+ raw: unknown;
7290
7279
  } | {
7291
7280
  type: "contact";
7292
7281
  user?: {
@@ -7331,35 +7320,19 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7331
7320
  } | undefined;
7332
7321
  raw?: unknown;
7333
7322
  } | {
7334
- type: "custom";
7335
- raw: unknown;
7336
- } | {
7337
- type: "poll";
7338
- title: string;
7339
- options: {
7340
- title: string;
7341
- }[];
7342
- } | {
7343
- type: "poll_option";
7344
- option: {
7345
- title: string;
7346
- };
7347
- poll: {
7348
- type: "poll";
7349
- title: string;
7350
- options: {
7351
- title: string;
7352
- }[];
7353
- };
7354
- selected: boolean;
7355
- title: string;
7323
+ type: "attachment";
7324
+ id: string;
7325
+ name: string;
7326
+ mimeType: string;
7327
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7328
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7329
+ size?: number | undefined;
7356
7330
  } | {
7357
- type: "group";
7358
- items: Message<string, User, Space<unknown>>[];
7331
+ type: "text";
7332
+ text: string;
7359
7333
  } | {
7360
- type: "reaction";
7361
- emoji: string;
7362
- target: Message<string, User, Space<unknown>>;
7334
+ type: "markdown";
7335
+ markdown: string;
7363
7336
  } | {
7364
7337
  type: "streamText";
7365
7338
  stream: () => AsyncIterable<string>;
@@ -7389,15 +7362,36 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7389
7362
  summary: z.ZodOptional<z.ZodString>;
7390
7363
  }, z.core.$strip>>>;
7391
7364
  live?: boolean | undefined;
7365
+ } | {
7366
+ type: "reaction";
7367
+ emoji: string;
7368
+ target: Message<string, User, Space<unknown>>;
7369
+ } | {
7370
+ type: "group";
7371
+ items: Message<string, User, Space<unknown>>[];
7372
+ } | {
7373
+ type: "poll";
7374
+ title: string;
7375
+ options: {
7376
+ title: string;
7377
+ }[];
7378
+ } | {
7379
+ type: "poll_option";
7380
+ option: {
7381
+ title: string;
7382
+ };
7383
+ poll: {
7384
+ type: "poll";
7385
+ title: string;
7386
+ options: {
7387
+ title: string;
7388
+ }[];
7389
+ };
7390
+ selected: boolean;
7391
+ title: string;
7392
7392
  } | {
7393
7393
  type: "effect";
7394
7394
  content: {
7395
- type: "text";
7396
- text: string;
7397
- } | {
7398
- type: "markdown";
7399
- markdown: string;
7400
- } | {
7401
7395
  type: "attachment";
7402
7396
  id: string;
7403
7397
  name: string;
@@ -7405,6 +7399,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7405
7399
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7406
7400
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7407
7401
  size?: number | undefined;
7402
+ } | {
7403
+ type: "text";
7404
+ text: string;
7405
+ } | {
7406
+ type: "markdown";
7407
+ markdown: string;
7408
7408
  };
7409
7409
  effect: string;
7410
7410
  } | {
@@ -7431,19 +7431,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7431
7431
  } | {
7432
7432
  type: "leaveSpace";
7433
7433
  }, {
7434
- type: "text";
7435
- text: string;
7436
- } | {
7437
- type: "markdown";
7438
- markdown: string;
7439
- } | {
7440
- type: "attachment";
7441
- id: string;
7442
- name: string;
7443
- mimeType: string;
7444
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7445
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7446
- size?: number | undefined;
7434
+ type: "custom";
7435
+ raw: unknown;
7447
7436
  } | {
7448
7437
  type: "contact";
7449
7438
  user?: {
@@ -7488,35 +7477,19 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7488
7477
  } | undefined;
7489
7478
  raw?: unknown;
7490
7479
  } | {
7491
- type: "custom";
7492
- raw: unknown;
7493
- } | {
7494
- type: "poll";
7495
- title: string;
7496
- options: {
7497
- title: string;
7498
- }[];
7499
- } | {
7500
- type: "poll_option";
7501
- option: {
7502
- title: string;
7503
- };
7504
- poll: {
7505
- type: "poll";
7506
- title: string;
7507
- options: {
7508
- title: string;
7509
- }[];
7510
- };
7511
- selected: boolean;
7512
- title: string;
7480
+ type: "attachment";
7481
+ id: string;
7482
+ name: string;
7483
+ mimeType: string;
7484
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7485
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7486
+ size?: number | undefined;
7513
7487
  } | {
7514
- type: "group";
7515
- items: Message<string, User, Space<unknown>>[];
7488
+ type: "text";
7489
+ text: string;
7516
7490
  } | {
7517
- type: "reaction";
7518
- emoji: string;
7519
- target: Message<string, User, Space<unknown>>;
7491
+ type: "markdown";
7492
+ markdown: string;
7520
7493
  } | {
7521
7494
  type: "streamText";
7522
7495
  stream: () => AsyncIterable<string>;
@@ -7546,15 +7519,36 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7546
7519
  summary: z.ZodOptional<z.ZodString>;
7547
7520
  }, z.core.$strip>>>;
7548
7521
  live?: boolean | undefined;
7522
+ } | {
7523
+ type: "reaction";
7524
+ emoji: string;
7525
+ target: Message<string, User, Space<unknown>>;
7526
+ } | {
7527
+ type: "group";
7528
+ items: Message<string, User, Space<unknown>>[];
7529
+ } | {
7530
+ type: "poll";
7531
+ title: string;
7532
+ options: {
7533
+ title: string;
7534
+ }[];
7535
+ } | {
7536
+ type: "poll_option";
7537
+ option: {
7538
+ title: string;
7539
+ };
7540
+ poll: {
7541
+ type: "poll";
7542
+ title: string;
7543
+ options: {
7544
+ title: string;
7545
+ }[];
7546
+ };
7547
+ selected: boolean;
7548
+ title: string;
7549
7549
  } | {
7550
7550
  type: "effect";
7551
7551
  content: {
7552
- type: "text";
7553
- text: string;
7554
- } | {
7555
- type: "markdown";
7556
- markdown: string;
7557
- } | {
7558
7552
  type: "attachment";
7559
7553
  id: string;
7560
7554
  name: string;
@@ -7562,6 +7556,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7562
7556
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7563
7557
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7564
7558
  size?: number | undefined;
7559
+ } | {
7560
+ type: "text";
7561
+ text: string;
7562
+ } | {
7563
+ type: "markdown";
7564
+ markdown: string;
7565
7565
  };
7566
7566
  effect: string;
7567
7567
  } | {
@@ -7592,19 +7592,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7592
7592
  }, z.core.$strip>, z.ZodObject<{
7593
7593
  type: z.ZodLiteral<"edit">;
7594
7594
  content: z.ZodCustom<{
7595
- type: "text";
7596
- text: string;
7597
- } | {
7598
- type: "markdown";
7599
- markdown: string;
7600
- } | {
7601
- type: "attachment";
7602
- id: string;
7603
- name: string;
7604
- mimeType: string;
7605
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7606
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7607
- size?: number | undefined;
7595
+ type: "custom";
7596
+ raw: unknown;
7608
7597
  } | {
7609
7598
  type: "contact";
7610
7599
  user?: {
@@ -7649,35 +7638,19 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7649
7638
  } | undefined;
7650
7639
  raw?: unknown;
7651
7640
  } | {
7652
- type: "custom";
7653
- raw: unknown;
7654
- } | {
7655
- type: "poll";
7656
- title: string;
7657
- options: {
7658
- title: string;
7659
- }[];
7660
- } | {
7661
- type: "poll_option";
7662
- option: {
7663
- title: string;
7664
- };
7665
- poll: {
7666
- type: "poll";
7667
- title: string;
7668
- options: {
7669
- title: string;
7670
- }[];
7671
- };
7672
- selected: boolean;
7673
- title: string;
7641
+ type: "attachment";
7642
+ id: string;
7643
+ name: string;
7644
+ mimeType: string;
7645
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7646
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7647
+ size?: number | undefined;
7674
7648
  } | {
7675
- type: "group";
7676
- items: Message<string, User, Space<unknown>>[];
7649
+ type: "text";
7650
+ text: string;
7677
7651
  } | {
7678
- type: "reaction";
7679
- emoji: string;
7680
- target: Message<string, User, Space<unknown>>;
7652
+ type: "markdown";
7653
+ markdown: string;
7681
7654
  } | {
7682
7655
  type: "streamText";
7683
7656
  stream: () => AsyncIterable<string>;
@@ -7707,15 +7680,36 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7707
7680
  summary: z.ZodOptional<z.ZodString>;
7708
7681
  }, z.core.$strip>>>;
7709
7682
  live?: boolean | undefined;
7683
+ } | {
7684
+ type: "reaction";
7685
+ emoji: string;
7686
+ target: Message<string, User, Space<unknown>>;
7687
+ } | {
7688
+ type: "group";
7689
+ items: Message<string, User, Space<unknown>>[];
7690
+ } | {
7691
+ type: "poll";
7692
+ title: string;
7693
+ options: {
7694
+ title: string;
7695
+ }[];
7696
+ } | {
7697
+ type: "poll_option";
7698
+ option: {
7699
+ title: string;
7700
+ };
7701
+ poll: {
7702
+ type: "poll";
7703
+ title: string;
7704
+ options: {
7705
+ title: string;
7706
+ }[];
7707
+ };
7708
+ selected: boolean;
7709
+ title: string;
7710
7710
  } | {
7711
7711
  type: "effect";
7712
7712
  content: {
7713
- type: "text";
7714
- text: string;
7715
- } | {
7716
- type: "markdown";
7717
- markdown: string;
7718
- } | {
7719
7713
  type: "attachment";
7720
7714
  id: string;
7721
7715
  name: string;
@@ -7723,6 +7717,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7723
7717
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7724
7718
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7725
7719
  size?: number | undefined;
7720
+ } | {
7721
+ type: "text";
7722
+ text: string;
7723
+ } | {
7724
+ type: "markdown";
7725
+ markdown: string;
7726
7726
  };
7727
7727
  effect: string;
7728
7728
  } | {
@@ -7749,19 +7749,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7749
7749
  } | {
7750
7750
  type: "leaveSpace";
7751
7751
  }, {
7752
- type: "text";
7753
- text: string;
7754
- } | {
7755
- type: "markdown";
7756
- markdown: string;
7757
- } | {
7758
- type: "attachment";
7759
- id: string;
7760
- name: string;
7761
- mimeType: string;
7762
- read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7763
- stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7764
- size?: number | undefined;
7752
+ type: "custom";
7753
+ raw: unknown;
7765
7754
  } | {
7766
7755
  type: "contact";
7767
7756
  user?: {
@@ -7806,35 +7795,19 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7806
7795
  } | undefined;
7807
7796
  raw?: unknown;
7808
7797
  } | {
7809
- type: "custom";
7810
- raw: unknown;
7811
- } | {
7812
- type: "poll";
7813
- title: string;
7814
- options: {
7815
- title: string;
7816
- }[];
7817
- } | {
7818
- type: "poll_option";
7819
- option: {
7820
- title: string;
7821
- };
7822
- poll: {
7823
- type: "poll";
7824
- title: string;
7825
- options: {
7826
- title: string;
7827
- }[];
7828
- };
7829
- selected: boolean;
7830
- title: string;
7798
+ type: "attachment";
7799
+ id: string;
7800
+ name: string;
7801
+ mimeType: string;
7802
+ read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7803
+ stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7804
+ size?: number | undefined;
7831
7805
  } | {
7832
- type: "group";
7833
- items: Message<string, User, Space<unknown>>[];
7806
+ type: "text";
7807
+ text: string;
7834
7808
  } | {
7835
- type: "reaction";
7836
- emoji: string;
7837
- target: Message<string, User, Space<unknown>>;
7809
+ type: "markdown";
7810
+ markdown: string;
7838
7811
  } | {
7839
7812
  type: "streamText";
7840
7813
  stream: () => AsyncIterable<string>;
@@ -7864,15 +7837,36 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7864
7837
  summary: z.ZodOptional<z.ZodString>;
7865
7838
  }, z.core.$strip>>>;
7866
7839
  live?: boolean | undefined;
7840
+ } | {
7841
+ type: "reaction";
7842
+ emoji: string;
7843
+ target: Message<string, User, Space<unknown>>;
7844
+ } | {
7845
+ type: "group";
7846
+ items: Message<string, User, Space<unknown>>[];
7847
+ } | {
7848
+ type: "poll";
7849
+ title: string;
7850
+ options: {
7851
+ title: string;
7852
+ }[];
7853
+ } | {
7854
+ type: "poll_option";
7855
+ option: {
7856
+ title: string;
7857
+ };
7858
+ poll: {
7859
+ type: "poll";
7860
+ title: string;
7861
+ options: {
7862
+ title: string;
7863
+ }[];
7864
+ };
7865
+ selected: boolean;
7866
+ title: string;
7867
7867
  } | {
7868
7868
  type: "effect";
7869
7869
  content: {
7870
- type: "text";
7871
- text: string;
7872
- } | {
7873
- type: "markdown";
7874
- markdown: string;
7875
- } | {
7876
7870
  type: "attachment";
7877
7871
  id: string;
7878
7872
  name: string;
@@ -7880,6 +7874,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7880
7874
  read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
7881
7875
  stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
7882
7876
  size?: number | undefined;
7877
+ } | {
7878
+ type: "text";
7879
+ text: string;
7880
+ } | {
7881
+ type: "markdown";
7882
+ markdown: string;
7883
7883
  };
7884
7884
  effect: string;
7885
7885
  } | {
@@ -1,4 +1,4 @@
1
- import { At as asReply, Cn as asCustom, Ct as asText, Et as asRichlink, Ft as renameSchema, H as ProviderMessageRecord, Hn as PhotoInput, Jt as asMarkdown, Lt as asRead, Mt as replySchema, Nn as asContact, Sn as reactionSchema, U as ProviderUserRecord, Un as buildPhotoAction, Ut as asPoll, Vn as avatarSchema, Wn as photoActionSchema, Wt as asPollOption, _n as removeMemberSchema, _t as asVoice, bn as asReaction, hn as leaveSpaceSchema, pn as addMemberSchema, q as ManagedStream, r as asAttachment, rn as groupSchema, tn as asGroup } from "./attachment-BpPKbxT1.js";
1
+ import { At as asReply, Cn as asCustom, Ct as asText, Et as asRichlink, Ft as renameSchema, H as ProviderMessageRecord, Hn as PhotoInput, Jt as asMarkdown, Lt as asRead, Mt as replySchema, Nn as asContact, Sn as reactionSchema, U as ProviderUserRecord, Un as buildPhotoAction, Ut as asPoll, Vn as avatarSchema, Wn as photoActionSchema, Wt as asPollOption, _n as removeMemberSchema, _t as asVoice, bn as asReaction, hn as leaveSpaceSchema, pn as addMemberSchema, q as ManagedStream, r as asAttachment, rn as groupSchema, tn as asGroup } from "./attachment-ChqzKngn.js";
2
2
  import z from "zod";
3
3
  import { FetchSpanOptions, LogAttrs, LogAttrs as LogAttrs$1, LogLevel, PhotonLogger, SanitizeUrlOptions, createLogger, sanitizeEmail, sanitizeErrorMessage, sanitizePhone, sanitizeUrl, setLogLevel } from "@photon-ai/otel";
4
4
  import { Token } from "marked";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as DedicatedTokenData, $t as TextStreamOptions, A as isFusorEvent, An as ContactName, B as PlatformUser, Bn as avatar, Bt as PollChoice, C as FusorVerify, D as WebhookRawResult, Dn as ContactDetails, Dt as richlink, E as WebhookRawRequest, En as ContactAddress, F as PlatformInstance, Fn as AgentSender, G as SpaceNamespace, Gn as App, Gt as option, Ht as PollOption, I as PlatformMessage, In as User, It as Read, J as broadcast, Jn as AppUrl, K as Broadcaster, Kn as AppLayout, Kt as poll, L as PlatformProviderConfig, Ln as Avatar, M as EventProducer, Mn as ContactPhone, N as Platform, Nt as Rename, O as FusorEvent, On as ContactEmail, Ot as resolveContents, P as PlatformDef, Pn as contact, Pt as rename, Q as CloudPlatform, Qt as StreamTextSource, R as PlatformRuntime, Rn as AvatarData, Rt as read, S as FusorRespond, St as typing, T as WebhookHandler, Tn as Contact, Tt as Richlink, V as ProviderMessage, Vt as PollChoiceInput, W as SchemaMessage, X as stream, Xn as appLayoutSchema, Xt as DeltaExtractor, Y as mergeStreams, Yn as app, Yt as markdown, Z as Store, Zt as StreamText, _ as FusorClient, a as Content, an as edit, at as ProjectProfile, b as FusorMessagesReturn, bt as unsend, c as fromVCard, cn as AddMember, ct as SlackTokenData, d as UnsupportedKind, dn as RemoveMember, dt as SubscriptionStatus, en as Group, et as FusorTokenData, f as Spectrum, fn as addMember, ft as TokenData, g as isFusorClient, gn as removeMember, gt as Voice, h as fusor, ht as EmojiKey, i as attachment, in as Edit, it as ProjectData, j as AnyPlatformDef, jn as ContactOrg, jt as reply, k as fusorEvent, kn as ContactInput, kt as Reply, l as toVCard, ln as LeaveSpace, lt as SpectrumCloudError, m as definePlatform, mn as leaveSpace, mt as Emoji, n as AttachmentInput, nn as group, nt as PlatformStatus, o as ContentBuilder, on as Message, ot as SharedTokenData, p as SpectrumInstance, pt as cloud, q as ManagedStream, qn as AppOptions, qt as Markdown, rt as PlatformsData, s as ContentInput, sn as Space, st as SlackTeamMeta, t as Attachment, tt as ImessageInfoData, u as UnsupportedError, un as MemberInput, ut as SubscriptionData, v as FusorMessages, vn as Reaction, vt as voice, w as FusorVerifyRequest, wn as custom, wt as text, x as FusorReply, xn as reaction, xt as Typing, y as FusorMessagesCtx, yn as ReactionBuilder, yt as Unsend, z as PlatformSpace, zn as AvatarInput, zt as Poll } from "./attachment-BpPKbxT1.js";
1
+ import { $ as DedicatedTokenData, $t as TextStreamOptions, A as isFusorEvent, An as ContactName, B as PlatformUser, Bn as avatar, Bt as PollChoice, C as FusorVerify, D as WebhookRawResult, Dn as ContactDetails, Dt as richlink, E as WebhookRawRequest, En as ContactAddress, F as PlatformInstance, Fn as AgentSender, G as SpaceNamespace, Gn as App, Gt as option, Ht as PollOption, I as PlatformMessage, In as User, It as Read, J as broadcast, Jn as AppUrl, K as Broadcaster, Kn as AppLayout, Kt as poll, L as PlatformProviderConfig, Ln as Avatar, M as EventProducer, Mn as ContactPhone, N as Platform, Nt as Rename, O as FusorEvent, On as ContactEmail, Ot as resolveContents, P as PlatformDef, Pn as contact, Pt as rename, Q as CloudPlatform, Qt as StreamTextSource, R as PlatformRuntime, Rn as AvatarData, Rt as read, S as FusorRespond, St as typing, T as WebhookHandler, Tn as Contact, Tt as Richlink, V as ProviderMessage, Vt as PollChoiceInput, W as SchemaMessage, X as stream, Xn as appLayoutSchema, Xt as DeltaExtractor, Y as mergeStreams, Yn as app, Yt as markdown, Z as Store, Zt as StreamText, _ as FusorClient, a as Content, an as edit, at as ProjectProfile, b as FusorMessagesReturn, bt as unsend, c as fromVCard, cn as AddMember, ct as SlackTokenData, d as UnsupportedKind, dn as RemoveMember, dt as SubscriptionStatus, en as Group, et as FusorTokenData, f as Spectrum, fn as addMember, ft as TokenData, g as isFusorClient, gn as removeMember, gt as Voice, h as fusor, ht as EmojiKey, i as attachment, in as Edit, it as ProjectData, j as AnyPlatformDef, jn as ContactOrg, jt as reply, k as fusorEvent, kn as ContactInput, kt as Reply, l as toVCard, ln as LeaveSpace, lt as SpectrumCloudError, m as definePlatform, mn as leaveSpace, mt as Emoji, n as AttachmentInput, nn as group, nt as PlatformStatus, o as ContentBuilder, on as Message, ot as SharedTokenData, p as SpectrumInstance, pt as cloud, q as ManagedStream, qn as AppOptions, qt as Markdown, rt as PlatformsData, s as ContentInput, sn as Space, st as SlackTeamMeta, t as Attachment, tt as ImessageInfoData, u as UnsupportedError, un as MemberInput, ut as SubscriptionData, v as FusorMessages, vn as Reaction, vt as voice, w as FusorVerifyRequest, wn as custom, wt as text, x as FusorReply, xn as reaction, xt as Typing, y as FusorMessagesCtx, yn as ReactionBuilder, yt as Unsend, z as PlatformSpace, zn as AvatarInput, zt as Poll } from "./attachment-ChqzKngn.js";
2
2
  export { type AddMember, type AgentSender, type AnyPlatformDef, type App, type AppLayout, type AppOptions, type AppUrl, type Attachment, type AttachmentInput, type Avatar, type AvatarData, type AvatarInput, type Broadcaster, type CloudPlatform, type Contact, type ContactAddress, type ContactDetails, type ContactEmail, type ContactInput, type ContactName, type ContactOrg, type ContactPhone, type Content, type ContentBuilder, type ContentInput, type DedicatedTokenData, type DeltaExtractor, type Edit, Emoji, type EmojiKey, type EventProducer, type FusorClient, type FusorEvent, type FusorMessages, type FusorMessagesCtx, type FusorMessagesReturn, type FusorReply, type FusorRespond, type FusorTokenData, type FusorVerify, type FusorVerifyRequest, type Group, type ImessageInfoData, type LeaveSpace, type ManagedStream, type Markdown, type MemberInput, type Message, type Platform, type PlatformDef, type PlatformInstance, type PlatformMessage, type PlatformProviderConfig, type PlatformRuntime, type PlatformSpace, type PlatformStatus, type PlatformUser, type PlatformsData, type Poll, type PollChoice, type PollChoiceInput, type PollOption, type ProjectData, type ProjectProfile, type ProviderMessage, type Reaction, type ReactionBuilder, type Read, type RemoveMember, type Rename, type Reply, type Richlink, type SchemaMessage, type SharedTokenData, type SlackTeamMeta, type SlackTokenData, type Space, type SpaceNamespace, Spectrum, SpectrumCloudError, type SpectrumInstance, type Store, type StreamText, type StreamTextSource, type SubscriptionData, type SubscriptionStatus, type TextStreamOptions, type TokenData, type Typing, type Unsend, UnsupportedError, type UnsupportedKind, type User, type Voice, type WebhookHandler, type WebhookRawRequest, type WebhookRawResult, addMember, app, appLayoutSchema, attachment, avatar, broadcast, cloud, contact, custom, definePlatform, edit, fromVCard, fusor, fusorEvent, group, isFusorClient, isFusorEvent, leaveSpace, markdown, mergeStreams, option, poll, reaction, read, removeMember, rename, reply, resolveContents, richlink, stream, text, toVCard, typing, unsend, voice };
package/dist/index.js CHANGED
@@ -3051,7 +3051,7 @@ function definePlatform(name, rawDef) {
3051
3051
  }
3052
3052
  //#endregion
3053
3053
  //#region src/build-env.ts
3054
- const SPECTRUM_SDK_VERSION = "9.3.0";
3054
+ const SPECTRUM_SDK_VERSION = "9.3.1";
3055
3055
  //#endregion
3056
3056
  //#region src/utils/provider-packages.ts
3057
3057
  const OFFICIAL_PROVIDER_PACKAGES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-ts/core",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "description": "The spectrum-ts runtime — Spectrum, content builders, fusor, and the provider authoring API.",
5
5
  "repository": {
6
6
  "type": "git",