@notionhq/client 2.2.1 → 2.2.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/README.md CHANGED
@@ -269,7 +269,7 @@ const blocks = collectPaginatedAPI(notion.blocks.children.list, {
269
269
  This package supports the following minimum versions:
270
270
 
271
271
  - Runtime: `node >= 12`
272
- - Type definitions (optional): `typescript >= 4.2`
272
+ - Type definitions (optional): `typescript >= 4.5`
273
273
 
274
274
  Earlier versions may still work, but we encourage people building new applications to upgrade to the current stable.
275
275
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notionhq/client",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "A simple and easy to use client for the Notion API",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -45,14 +45,14 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/jest": "^28.1.4",
48
- "@typescript-eslint/eslint-plugin": "^4.22.0",
49
- "@typescript-eslint/parser": "^4.22.0",
48
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
49
+ "@typescript-eslint/parser": "^5.39.0",
50
50
  "cspell": "^5.4.1",
51
51
  "eslint": "^7.24.0",
52
52
  "jest": "^28.1.2",
53
53
  "markdown-link-check": "^3.8.7",
54
54
  "prettier": "^2.3.0",
55
55
  "ts-jest": "^28.0.5",
56
- "typescript": "^4.2.4"
56
+ "typescript": "^4.8.4"
57
57
  }
58
58
  }
@@ -321,7 +321,7 @@ export declare type PartialPageObjectResponse = {
321
321
  object: "page";
322
322
  id: string;
323
323
  };
324
- declare type NumberFormat = "number" | "number_with_commas" | "percent" | "dollar" | "canadian_dollar" | "euro" | "pound" | "yen" | "ruble" | "rupee" | "won" | "yuan" | "real" | "lira" | "rupiah" | "franc" | "hong_kong_dollar" | "new_zealand_dollar" | "krona" | "norwegian_krone" | "mexican_peso" | "rand" | "new_taiwan_dollar" | "danish_krone" | "zloty" | "baht" | "forint" | "koruna" | "shekel" | "chilean_peso" | "philippine_peso" | "dirham" | "colombian_peso" | "riyal" | "ringgit" | "leu" | "argentine_peso" | "uruguayan_peso";
324
+ declare type NumberFormat = "number" | "number_with_commas" | "percent" | "dollar" | "canadian_dollar" | "singapore_dollar" | "euro" | "pound" | "yen" | "ruble" | "rupee" | "won" | "yuan" | "real" | "lira" | "rupiah" | "franc" | "hong_kong_dollar" | "new_zealand_dollar" | "krona" | "norwegian_krone" | "mexican_peso" | "rand" | "new_taiwan_dollar" | "danish_krone" | "zloty" | "baht" | "forint" | "koruna" | "shekel" | "chilean_peso" | "philippine_peso" | "dirham" | "colombian_peso" | "riyal" | "ringgit" | "leu" | "argentine_peso" | "uruguayan_peso";
325
325
  declare type NumberDatabasePropertyConfigResponse = {
326
326
  type: "number";
327
327
  number: {