@syncmatters/script-api 1.0.17 → 1.0.18

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.
@@ -26,7 +26,9 @@ export declare enum ErrorCode {
26
26
  ColumnNotFound = "SCRIPT_COLUMN_NOT_FOUND",
27
27
  UnexpectedRowCount = "SCRIPT_UNEXPECTED_ROW_COUNT",
28
28
  UnexpectedRowId = "SCRIPT_UNEXPECTED_ROW_ID",
29
- KvStoreShadowMismatch = "SCRIPT_KV_STORE_SHADOW_MISMATCH"
29
+ KvStoreShadowMismatch = "SCRIPT_KV_STORE_SHADOW_MISMATCH",
30
+ /** the token that started the run does not hold a scope the operation needs */
31
+ MissingScope = "SCRIPT_MISSING_SCOPE"
30
32
  }
31
33
  /**
32
34
  * ConnectorError extends error to expose a meaningful error code e.g.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncmatters/script-api",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "TypeScript type definitions for the SyncMatters script API (types only - scripts execute on the SyncMatters platform)",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "author": "SyncMatters",
30
30
  "homepage": "https://syncmatters.com",
31
- "typesContentHash": "216ea92ae7a4c49117873ee8ec8f0fe5e77a62b371bc8ccc2a8f93833d9a9440",
31
+ "typesContentHash": "880590dffe9b93eb5e71e130baabce5cc64b79f2376389a7e1f09d5663e5420e",
32
32
  "dependencies": {
33
33
  "@types/node": "*"
34
34
  }