@syncmatters/connector-sdk 1.0.9 → 1.0.10
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.
|
@@ -100,7 +100,11 @@ Frequently used:
|
|
|
100
100
|
settings values ("a, b,c" → `["a","b","c"]` / a `Set`).
|
|
101
101
|
- `emailCleanse(email)` / `emailIsPublic` / `domainParse` / `nameParse` — normalize match-key
|
|
102
102
|
values before comparing (pairs with `matchRules`).
|
|
103
|
-
- `xmlParse({ string })` —
|
|
103
|
+
- `xmlParse({ source: { string | fileProvider, encoding? } })` — preferred full-document XML
|
|
104
|
+
parse. Deprecated: `xmlParse({ string })` (still supported).
|
|
105
|
+
- `xmlParse({ source, emit })` — stream matching elements as xml2js-shaped chunks (XPath
|
|
106
|
+
subset: `//Name`, `/A/B/C`, `A/B`; prefixes ignored). Use for large documents; iterate
|
|
107
|
+
with `for await…of` (do not `await` the call itself).
|
|
104
108
|
- `kvStore()` — scratch key-value collections for cross-page state (05) or import staging (06).
|
|
105
109
|
- `fileProvider({ string | buffer | file: { path, deleteOnClose } })` — wrap content as a
|
|
106
110
|
`FileProvider` (13); `tempFile`/`tempDir` for staging.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncmatters/connector-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "TypeScript type definitions for the SyncMatters connector SDK (types only - connectors execute on the SyncMatters platform)",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "SyncMatters",
|
|
14
14
|
"homepage": "https://syncmatters.com",
|
|
15
|
-
"typesContentHash": "
|
|
15
|
+
"typesContentHash": "bdf8ea0fa31c6e621dbb7a18fc5d88a0d2e708f9ebbc185ad8b5dda2a831c92b",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/node": "*",
|
|
18
|
-
"@syncmatters/script-api": "^1.0.
|
|
18
|
+
"@syncmatters/script-api": "^1.0.10"
|
|
19
19
|
}
|
|
20
20
|
}
|