@pptb/types 1.2.8-beta.0 → 1.2.8

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/README.md CHANGED
@@ -832,9 +832,9 @@ Core platform features organized into namespaces:
832
832
  - Events available:
833
833
  - `tool:loaded` - A tool has been loaded
834
834
  - `tool:unloaded` - A tool has been unloaded
835
- - `connection:created` - A new connection was created
836
- - `connection:updated` - An existing connection was updated
837
- - `connection:deleted` - A connection was deleted
835
+ - `connection:created` - A new connection was created; data contains allowlisted connection metadata only
836
+ - `connection:updated` - An existing connection was updated; data contains `id` and optional `updates` (allowlisted metadata), `isActive`, or `tokenRefreshed`
837
+ - `connection:deleted` - A connection was deleted; data contains `id` only
838
838
  - `notification:shown` - A notification was displayed
839
839
  - `terminal:created` - A new terminal was created
840
840
  - `terminal:closed` - A terminal was closed
@@ -842,6 +842,10 @@ Core platform features organized into namespaces:
842
842
  - `terminal:command:completed` - A terminal command finished executing
843
843
  - `terminal:error` - A terminal error occurred
844
844
 
845
+ Connection events are sanitized before broadcasting or retention in event history. Connection metadata is limited to `id`, `name`, `url`, `environment`, `createdAt`, `lastUsedAt`,
846
+ `isActive`, `category`, `environmentColor`, `categoryColor`, `enabledForPowerPlatformAPI`, and `scopesForPowerPlatformAPI`. Credentials, tokens, authentication details, and unknown fields
847
+ are not included. An update that changes only credentials still emits an event with an empty `updates` object.
848
+
845
849
  - **off(callback: (event: any, payload: ToolBoxEventPayload) => void)**: void
846
850
  - Removes a previously registered event listener
847
851
 
package/dataverseAPI.d.ts CHANGED
@@ -16,6 +16,7 @@ declare namespace DataverseAPI {
16
16
  headers?: AdditionalHeaders;
17
17
  body?: unknown;
18
18
  contentId?: string;
19
+ changesetId?: string;
19
20
  }
20
21
 
21
22
  export interface BatchResult {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pptb/types",
3
- "version": "1.2.8-beta.0",
3
+ "version": "1.2.8",
4
4
  "description": "Type definitions for Power Platform ToolBox APIs and validity checks for tool packages",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",