@ever-works/mailchimp-transactional-plugin 1.0.5 → 1.0.7

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/index.cjs CHANGED
@@ -61,6 +61,7 @@ var PROBLEM_CODES = [
61
61
  "already_connected",
62
62
  "already_linked",
63
63
  "already_claimed",
64
+ "claim_locked",
64
65
  "invalid_client",
65
66
  "public_jwk_invalid",
66
67
  "identifier_claimed",
@@ -86,6 +87,11 @@ var PROBLEM_CODES = [
86
87
  "database_absent",
87
88
  "database_unreachable",
88
89
  "topic_private",
90
+ "realtime_disabled",
91
+ "topic_forbidden",
92
+ "topic_invalid",
93
+ "realtime_busy",
94
+ "too_many_streams",
89
95
  "keys_unavailable",
90
96
  "internal_error"
91
97
  ];
@@ -672,6 +678,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
672
678
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
673
679
  (family) => family.envNames
674
680
  );
681
+ var FLEET_LINK_FRAME_KINDS = {
682
+ /** Raw bytes: terminal output/input, log lines, file chunks. */
683
+ DATA: 1,
684
+ /** `[cols u16][rows u16]`. */
685
+ RESIZE: 2,
686
+ /** `[code i32]`. */
687
+ EXIT: 3,
688
+ /** UTF-8 JSON control message. */
689
+ JSON: 10,
690
+ /** UTF-8 reason code. */
691
+ CLOSE: 11,
692
+ /** A full picture (the existing computer-frame encoding). */
693
+ FRAME: 20,
694
+ /** A pointer / key / text event (the existing computer input encoding). */
695
+ INPUT: 21,
696
+ /** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
697
+ TILES: 23,
698
+ /** `[bytes u32]` credit. */
699
+ ACK: 30,
700
+ /** End of a stream. */
701
+ END: 31,
702
+ /** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
703
+ CLIP: 40
704
+ };
705
+ new Set(Object.values(FLEET_LINK_FRAME_KINDS));
706
+ var FLEET_LINK_CONTROL_TYPES = [
707
+ "link.hello",
708
+ "link.ready",
709
+ "link.ping",
710
+ "link.pong",
711
+ "link.pause",
712
+ "link.resume",
713
+ "link.drain",
714
+ "channel.open",
715
+ "channel.ready",
716
+ "channel.refused",
717
+ "channel.close",
718
+ "operation.progress",
719
+ "operation.done",
720
+ "operation.cancel"
721
+ ];
722
+ new Set(FLEET_LINK_CONTROL_TYPES);
723
+ new TextEncoder();
675
724
  var EMAIL_INBOX_CAP_FIELDS = [
676
725
  "inboxDailySends",
677
726
  "inboxBurstSends",
package/dist/index.js CHANGED
@@ -55,6 +55,7 @@ var PROBLEM_CODES = [
55
55
  "already_connected",
56
56
  "already_linked",
57
57
  "already_claimed",
58
+ "claim_locked",
58
59
  "invalid_client",
59
60
  "public_jwk_invalid",
60
61
  "identifier_claimed",
@@ -80,6 +81,11 @@ var PROBLEM_CODES = [
80
81
  "database_absent",
81
82
  "database_unreachable",
82
83
  "topic_private",
84
+ "realtime_disabled",
85
+ "topic_forbidden",
86
+ "topic_invalid",
87
+ "realtime_busy",
88
+ "too_many_streams",
83
89
  "keys_unavailable",
84
90
  "internal_error"
85
91
  ];
@@ -666,6 +672,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
666
672
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
667
673
  (family) => family.envNames
668
674
  );
675
+ var FLEET_LINK_FRAME_KINDS = {
676
+ /** Raw bytes: terminal output/input, log lines, file chunks. */
677
+ DATA: 1,
678
+ /** `[cols u16][rows u16]`. */
679
+ RESIZE: 2,
680
+ /** `[code i32]`. */
681
+ EXIT: 3,
682
+ /** UTF-8 JSON control message. */
683
+ JSON: 10,
684
+ /** UTF-8 reason code. */
685
+ CLOSE: 11,
686
+ /** A full picture (the existing computer-frame encoding). */
687
+ FRAME: 20,
688
+ /** A pointer / key / text event (the existing computer input encoding). */
689
+ INPUT: 21,
690
+ /** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
691
+ TILES: 23,
692
+ /** `[bytes u32]` credit. */
693
+ ACK: 30,
694
+ /** End of a stream. */
695
+ END: 31,
696
+ /** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
697
+ CLIP: 40
698
+ };
699
+ new Set(Object.values(FLEET_LINK_FRAME_KINDS));
700
+ var FLEET_LINK_CONTROL_TYPES = [
701
+ "link.hello",
702
+ "link.ready",
703
+ "link.ping",
704
+ "link.pong",
705
+ "link.pause",
706
+ "link.resume",
707
+ "link.drain",
708
+ "channel.open",
709
+ "channel.ready",
710
+ "channel.refused",
711
+ "channel.close",
712
+ "operation.progress",
713
+ "operation.done",
714
+ "operation.cancel"
715
+ ];
716
+ new Set(FLEET_LINK_CONTROL_TYPES);
717
+ new TextEncoder();
669
718
  var EMAIL_INBOX_CAP_FIELDS = [
670
719
  "inboxDailySends",
671
720
  "inboxBurstSends",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/mailchimp-transactional-plugin",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Mailchimp Transactional (Mandrill) email provider plugin (outbound) for Ever Works platform",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -32,7 +32,7 @@
32
32
  "test:watch": "vitest"
33
33
  },
34
34
  "dependencies": {
35
- "@ever-works/plugin": "^1.2.5",
35
+ "@ever-works/plugin": "^1.2.6",
36
36
  "@mailchimp/mailchimp_transactional": "^1.0.59"
37
37
  },
38
38
  "devDependencies": {
@@ -82,8 +82,8 @@
82
82
  "url": "https://github.com/ever-works/ever-works/issues"
83
83
  },
84
84
  "everworksRelease": {
85
- "contentHash": "sha256:fe9ee4f1187f4fbefc25b6dca92eeca4ec31753e5b6d316da11685277bf39c68",
86
- "commit": "19905c70cf05be3bc523db030597046067cd322a",
87
- "source": "https://github.com/ever-works/ever-works/tree/19905c70cf05be3bc523db030597046067cd322a/packages/plugins/mailchimp-transactional"
85
+ "contentHash": "sha256:f3de987f16e548bc9fff80021bd857e4360a882afead3e83684b2f2d53b97c37",
86
+ "commit": "eff002871bfd7f9f8e0f984907f45265ae8b01e0",
87
+ "source": "https://github.com/ever-works/ever-works/tree/eff002871bfd7f9f8e0f984907f45265ae8b01e0/packages/plugins/mailchimp-transactional"
88
88
  }
89
89
  }