@zapier/zapier-sdk 0.47.1 → 0.48.1
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/CHANGELOG.md +14 -0
- package/README.md +740 -283
- package/dist/index.cjs +26 -17
- package/dist/index.d.mts +11 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +26 -17
- package/dist/plugins/api/index.d.ts +1 -1
- package/dist/plugins/listApps/index.d.ts +1 -1
- package/dist/plugins/listInputFields/index.js +1 -1
- package/dist/plugins/tables/createTable/index.d.ts +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.js +1 -0
- package/dist/plugins/tables/createTableRecords/index.d.ts +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.js +1 -0
- package/dist/plugins/tables/deleteTable/index.d.ts +1 -1
- package/dist/plugins/tables/deleteTableFields/index.d.ts +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +1 -1
- package/dist/plugins/tables/getTable/index.d.ts +1 -1
- package/dist/plugins/tables/getTableRecord/index.d.ts +1 -1
- package/dist/plugins/tables/listTableFields/index.d.ts +1 -1
- package/dist/plugins/tables/listTableRecords/index.d.ts +1 -1
- package/dist/plugins/tables/listTables/index.d.ts +1 -1
- package/dist/plugins/tables/updateTableRecords/index.d.ts +1 -1
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/index.js +1 -0
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +36 -15
- package/dist/types/plugin.d.ts +3 -0
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/utils/plugin-utils.d.ts +7 -5
- package/dist/utils/plugin-utils.d.ts.map +1 -1
- package/dist/utils/plugin-utils.js +7 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.48.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5ec7992: Document return type shapes in SDK README.
|
|
8
|
+
|
|
9
|
+
## 0.48.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- c7cff63: Adds an extension mechanism that lets the CLI and MCP server load additional plugin packages at runtime. Set `ZAPIER_SDK_EXTENSIONS` to a comma-separated list of package specifiers, or pass them via the new `extensions` option — methods they contribute show up automatically as CLI commands and MCP tools, no per-project wiring required.
|
|
14
|
+
|
|
15
|
+
When a plugin tries to register a method, context field, or meta entry that's already registered by another plugin in the chain, `addPlugin` now logs a warning and skips the duplicate plugin's contribution rather than silently overwriting. This catches the common foot-gun of an extension accidentally shadowing a built-in SDK method. Intentional duplicates can be expressed via `composePlugins(...)`, and meta-only overrides (e.g. tagging a built-in method as deprecated) continue to work unchanged.
|
|
16
|
+
|
|
3
17
|
## 0.47.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|