@sprucelabs/mercury-core-events 20.3.1 → 20.3.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.
@@ -419,6 +419,7 @@ declare const _default: ({
419
419
  } | {
420
420
  eventSignatures: {
421
421
  'register-chat-bots::v2020_12_25': {
422
+ isGlobal: true;
422
423
  listenPermissions: {
423
424
  contractId: "chat-bot-contract";
424
425
  permissionIdsAny: "can-register-chat-bots"[];
@@ -2,6 +2,7 @@ import "./../../permissions/permissions.types";
2
2
  declare const registerChatBotsEventContract: {
3
3
  eventSignatures: {
4
4
  'register-chat-bots::v2020_12_25': {
5
+ isGlobal: true;
5
6
  listenPermissions: {
6
7
  contractId: "chat-bot-contract";
7
8
  permissionIdsAny: "can-register-chat-bots"[];
@@ -10,6 +10,7 @@ const registerChatBotsResponsePayload_schema_1 = __importDefault(require("./../.
10
10
  const registerChatBotsEventContract = (0, mercury_types_1.buildEventContract)({
11
11
  eventSignatures: {
12
12
  'register-chat-bots::v2020_12_25': {
13
+ isGlobal: true,
13
14
  listenPermissions: {
14
15
  contractId: 'chat-bot-contract',
15
16
  permissionIdsAny: ['can-register-chat-bots'],
@@ -1,6 +1,9 @@
1
1
  import '@sprucelabs/mercury-types';
2
2
  declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
3
3
  interface PermissionContractMap {
4
+ 'chat-bot-contract': [
5
+ 'can-register-chat-bots'
6
+ ];
4
7
  'events-contract': [
5
8
  'can-register-global-events'
6
9
  ];
@@ -65,9 +68,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
65
68
  'can-view-marketplace',
66
69
  'can-check-if-skill-is-installed'
67
70
  ];
68
- 'chat-bot-contract': [
69
- 'can-register-chat-bots'
70
- ];
71
71
  }
72
72
  }
73
73
  export interface PermissionContractMap {
@@ -13,10 +13,6 @@
13
13
  ],
14
14
  "events": {
15
15
  "lastSync": {
16
- "contractDestinationDir": "#spruce/events",
17
- "schemaTypesLookupDir": "#spruce/schemas",
18
- "skillEventContractTypesFile": "@sprucelabs/mercury-types/build/types/mercury.types",
19
- "eventBuilderFile": "@sprucelabs/mercury-types",
20
16
  "shouldSyncOnlyCoreEvents": "true"
21
17
  }
22
18
  }
@@ -419,6 +419,7 @@ declare const _default: ({
419
419
  } | {
420
420
  eventSignatures: {
421
421
  'register-chat-bots::v2020_12_25': {
422
+ isGlobal: true;
422
423
  listenPermissions: {
423
424
  contractId: "chat-bot-contract";
424
425
  permissionIdsAny: "can-register-chat-bots"[];
@@ -2,6 +2,7 @@ import "./../../permissions/permissions.types";
2
2
  declare const registerChatBotsEventContract: {
3
3
  eventSignatures: {
4
4
  'register-chat-bots::v2020_12_25': {
5
+ isGlobal: true;
5
6
  listenPermissions: {
6
7
  contractId: "chat-bot-contract";
7
8
  permissionIdsAny: "can-register-chat-bots"[];
@@ -5,6 +5,7 @@ import registerChatBotsResponsePayloadSchema from './../../schemas/mercury/v2020
5
5
  const registerChatBotsEventContract = buildEventContract({
6
6
  eventSignatures: {
7
7
  'register-chat-bots::v2020_12_25': {
8
+ isGlobal: true,
8
9
  listenPermissions: {
9
10
  contractId: 'chat-bot-contract',
10
11
  permissionIdsAny: ['can-register-chat-bots'],
@@ -1,6 +1,9 @@
1
1
  import '@sprucelabs/mercury-types';
2
2
  declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
3
3
  interface PermissionContractMap {
4
+ 'chat-bot-contract': [
5
+ 'can-register-chat-bots'
6
+ ];
4
7
  'events-contract': [
5
8
  'can-register-global-events'
6
9
  ];
@@ -65,9 +68,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
65
68
  'can-view-marketplace',
66
69
  'can-check-if-skill-is-installed'
67
70
  ];
68
- 'chat-bot-contract': [
69
- 'can-register-chat-bots'
70
- ];
71
71
  }
72
72
  }
73
73
  export interface PermissionContractMap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "20.3.1",
3
+ "version": "20.3.3",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",