@quintype/framework 7.10.0 → 7.10.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 CHANGED
@@ -2,20 +2,9 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## [7.10.0](https://github.com/quintype/quintype-node-framework/compare/v7.7.7...v7.10.0) (2022-10-03)
5
+ ### [7.10.1](https://github.com/quintype/quintype-node-framework/compare/v7.10.2...v7.10.1) (2022-10-04)
6
6
 
7
-
8
- ### Features
9
-
10
- * add video support to web stories ([#322](https://github.com/quintype/quintype-node-framework/issues/322)) ([f41b82b](https://github.com/quintype/quintype-node-framework/commit/f41b82be8285b555970527204ec6478f21c47782))
11
- * **SW:** Disable sw shell ([#321](https://github.com/quintype/quintype-node-framework/issues/321)) ([6d04bc8](https://github.com/quintype/quintype-node-framework/commit/6d04bc87dd42c647ec9763eca430ada2f4a4d8ea))
12
-
13
- ## [7.9.0](https://github.com/quintype/quintype-node-framework/compare/v7.8.0...v7.9.0) (2022-10-03)
14
-
15
-
16
- ### Features
17
-
18
- * **SW:** Disable sw shell ([#321](https://github.com/quintype/quintype-node-framework/issues/321)) ([6d04bc8](https://github.com/quintype/quintype-node-framework/commit/6d04bc87dd42c647ec9763eca430ada2f4a4d8ea))
7
+ ### [7.10.2](https://github.com/quintype/quintype-node-framework/compare/v7.8.1...v7.10.2) (2022-10-04)
19
8
 
20
9
  ## [7.8.0](https://github.com/quintype/quintype-node-framework/compare/v7.7.7...v7.8.0) (2022-09-19)
21
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.10.0",
3
+ "version": "7.10.1",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -81,7 +81,7 @@ class InfiniteScrollAmp {
81
81
  return JSON.stringify(formattedData);
82
82
  }
83
83
 
84
- async getInitialInlineConfig(storyId) {
84
+ async getInitialInlineConfig({ storyId }) {
85
85
  if (!storyId) return new Error("Required params for getInitialInlineConfig missing");
86
86
  const filteredItems =
87
87
  await this.getInfiniteScrollList({ storyId, type: "inlineConfig", offset: 0, limit: 5 });
@@ -136,7 +136,7 @@ describe("getInitialInlineConfig method of InfiniteScrollAmp helper function", f
136
136
  client: getClientStub(),
137
137
  publisherConfig: dummyPublisherConfig,
138
138
  });
139
- const inlineConfig = await infiniteScrollAmp.getInitialInlineConfig();
139
+ const inlineConfig = await infiniteScrollAmp.getInitialInlineConfig({ storyId: "" });
140
140
  assert.strictEqual(inlineConfig instanceof Error, true);
141
141
  assert.throws(() => {
142
142
  throw new Error("Required params for getInitialInlineConfig missing");