suttacentral-api 2.8.51 → 2.9.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/test/sc-api.js +13 -0
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "suttacentral-api",
3
- "version": "2.8.51",
3
+ "version": "2.9.0",
4
4
  "description": "SuttaCentral API cached proxy",
5
5
  "main": "index.js",
6
6
  "directories": {
7
7
  "test": "test"
8
8
  },
9
9
  "dependencies": {
10
- "axios": "^0.21.1",
10
+ "axios": "^1.6.1",
11
11
  "log-instance": "^1.5.0",
12
12
  "memo-again": "^0.8.0",
13
13
  "merkle-json": "^1.1.4"
package/test/sc-api.js CHANGED
@@ -160,6 +160,19 @@
160
160
  is_root: false,
161
161
  publication_date: null,
162
162
  volpage: null,
163
+ },{
164
+ "author": "Charles Patton",
165
+ "author_short": "Patton",
166
+ "author_uid": "patton",
167
+ "has_comment": false,
168
+ "id": "en_ea12.1_patton",
169
+ "is_root": false,
170
+ "lang": "en",
171
+ "lang_name": "English",
172
+ "publication_date": null,
173
+ "segmented": false,
174
+ "title": "The Four Stations of Mind",
175
+ "volpage": null,
163
176
  }];
164
177
  const TRANSLATIONS_EA12_1 = [{
165
178
  author: 'Thích Nhất Hạnh, Annabel Laity',