@texonom/ncompat 1.1.5 → 1.2.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"notion-compat-api.d.ts","sourceRoot":"","sources":["../src/notion-compat-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAI9C,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAGhC,qBAAa,eAAe;IAC1B,MAAM,EAAE,MAAM,CAAA;gBAEF,MAAM,EAAE,MAAM;IAIb,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC;IA2BpE,WAAW,CACf,WAAW,EAAE,MAAM,EACnB,EACE,WAAe,EAChB,GAAE;QACD,WAAW,CAAC,EAAE,MAAM,CAAA;KAChB;;;;;;IA8HF,mBAAmB,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB1C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texonom/ncompat",
3
- "version": "1.1.5",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "description": "Compatibility layer between the official Notion API and unofficial private API.",
6
6
  "repository": "texonom/notion-node",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "p-queue": "^7.3.4",
21
- "@texonom/ntypes": "^1.1.5",
22
- "@texonom/nutils": "^1.1.5"
21
+ "@texonom/nutils": "^1.2.0",
22
+ "@texonom/ntypes": "^1.2.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@notionhq/client": "^1.0.4",
26
- "@texonom/nclient": "^1.1.5"
26
+ "@texonom/nclient": "^1.2.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@notionhq/client": "^1.0.4"
package/readme.md CHANGED
@@ -1,11 +1,9 @@
1
- <p align="center">
2
- <img alt="React Notion X" src="https://raw.githubusercontent.com/texonom/notion-node/master/media/notion-ts.png" width="689">
3
- </p>
4
-
5
1
  # ncompat
6
2
 
7
3
  > A compatibility layer between the official Notion API and the unofficial Notion API
8
4
 
5
+ [![NPM](https://img.shields.io/npm/v/@texonom/ncompat.svg)](https://www.npmjs.com/package/@texonom/ncompat) [![Build Status](https://github.com/texonom/notion-node/actions/workflows/test.yml/badge.svg)](https://github.com/texonom/notion-node/actions/workflows/test.yml) [![Prettier Code Formatting](https://img.shields.io/badge/code_style-prettier-brightgreen.svg)](https://prettier.io)
6
+
9
7
  ## Features
10
8
 
11
9
  - fully compatible with `nreact`
@@ -15,7 +13,7 @@
15
13
 
16
14
  ```ts
17
15
  import { Client } from '@notionhq/client'
18
- import { NotionCompatAPI } from 'ncompat'
16
+ import { NotionCompatAPI } from '@texonom/ncompat'
19
17
 
20
18
  const notion = new NotionCompatAPI(new Client({ auth: process.env.NOTION_TOKEN }))
21
19
 
@@ -144,9 +142,3 @@ The main feature missing from `ncompat` right now is collection (database) suppo
144
142
  - breadcrumb
145
143
  - template
146
144
  - unsupported
147
-
148
- ## License
149
-
150
- MIT © [Travis Fischer](https://transitivebullsh.it)
151
-
152
- Support my OSS work by <a href="https://twitter.com/transitive_bs">following me on twitter <img src="https://storage.googleapis.com/saasify-assets/twitter-logo.svg" alt="twitter" height="24px" align="center"></a>