@cookiemunch/sdk 0.13.0 → 0.13.2

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/dist/types.d.ts CHANGED
@@ -75,7 +75,9 @@ export interface SiteUpdate {
75
75
  /** With a new domain: keep the old one as an alias, so consent is still accepted there while both run. Remove it from aliases when the move is done. */
76
76
  keepOldDomain?: boolean;
77
77
  }
78
- export interface SiteUpdateResult {
78
+ /** The site's own fields at the top (as `sites.get` returns them, `aliases` always an array), plus `site`, `diff` and `effects`. */
79
+ export interface SiteUpdateResult extends Site {
80
+ aliases: string[];
79
81
  dryRun?: true;
80
82
  site: Site;
81
83
  diff: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cookiemunch/sdk",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "Typed REST client for the Cookie Munch Developer API (/v1)",
5
5
  "license": "MIT",
6
6
  "type": "module",