@shopify/shop-minis-platform 0.8.1 → 0.8.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shopify/shop-minis-platform",
3
3
  "license": "SEE LICENSE IN LICENSE.txt",
4
- "version": "0.8.1",
4
+ "version": "0.8.2",
5
5
  "description": "Shared type definitions for Shop Minis Platform",
6
6
  "main": "src/index.ts",
7
7
  "exports": {
@@ -114,7 +114,6 @@ export interface ShopActionEvents {
114
114
  ProductRecommendationClickParams,
115
115
  void
116
116
  >
117
- HIDE_ENTRY_POINT: ShopAction<void, void>
118
117
  CLOSE_MINI: ShopAction<void, void>
119
118
  GET_ACCOUNT_INFORMATION: ShopAction<
120
119
  GetAccountInformationParams,
@@ -0,0 +1,5 @@
1
+ import {DataHookFetchPolicy} from './types'
2
+
3
+ export const DATA_FETCHING_DEFAULT_PAGE_SIZE = 20
4
+ export const DATA_FETCHING_DEFAULT_FETCH_POLICY: DataHookFetchPolicy =
5
+ 'cache-first'
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ import {MinisEventsFunctions} from './events'
3
3
  import {MinisParams} from './types'
4
4
 
5
5
  export * from './types'
6
+ export * from './constants'
6
7
 
7
8
  declare global {
8
9
  interface Window {