@polarityio/integration-types 1.0.3 → 1.1.0

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.
Files changed (2) hide show
  1. package/dist/entity.d.ts +5 -3
  2. package/package.json +1 -2
package/dist/entity.d.ts CHANGED
@@ -18,10 +18,12 @@ export type EntityType = StandardEntityType | 'IP' | 'hash' | `custom.${string}`
18
18
  /**
19
19
  * The value used in the `type` property of an Entity.
20
20
  *
21
- * For IPv4/IPv6 entities this is `'IPv4'` or `'IPv6'`. For any hash type this
22
- * is `'hash'`. For custom types this is `'custom'`.
21
+ * This includes every {@link StandardEntityType} value (`'IPv4'`, `'IPv4CIDR'`,
22
+ * `'IPv6'`, `'MAC'`, `'MD5'`, `'SHA1'`, `'SHA256'`, `'cve'`, `'domain'`,
23
+ * `'email'`, `'string'`, `'url'`), plus `'hash'` for any hash type and
24
+ * `'custom'` for custom entity types.
23
25
  */
24
- export type EntityTypeIdentifier = StandardEntityType | 'custom';
26
+ export type EntityTypeIdentifier = StandardEntityType | 'hash' | 'custom';
25
27
  /**
26
28
  * Screen position of an entity detected in Stream or Highlight mode.
27
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polarityio/integration-types",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "TypeScript type definitions for Polarity Integrations",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -11,7 +11,6 @@
11
11
  "files": [
12
12
  "dist"
13
13
  ],
14
- "type": "module",
15
14
  "sideEffects": false,
16
15
  "scripts": {
17
16
  "build": "tsc -p tsconfig.build.json",