@graphcommerce/google-playstore 9.0.0-canary.106 → 9.0.0-canary.107

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 ADDED
@@ -0,0 +1,3 @@
1
+ # @graphcommerce/google-playstore
2
+
3
+ ## 9.0.0-canary.107
@@ -8,11 +8,7 @@ export const getAssetLinksServerSideProps: GetServerSideProps = async (context)
8
8
  const sha256_cert_fingerprints = import.meta.graphCommerce.googlePlaystore
9
9
  ?.sha256CertificateFingerprint
10
10
 
11
- if (!package_name || !sha256_cert_fingerprints) {
12
- context.res.statusCode = 404
13
- context.res.end()
14
- return { props: {} }
15
- }
11
+ if (!package_name || !sha256_cert_fingerprints) return { notFound: true }
16
12
 
17
13
  context.res.setHeader('Cache-Control', 'max-age=604800, public')
18
14
  // https://developer.android.com/training/app-links/verify-android-applinks#web-assoc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/google-playstore",
3
- "version": "9.0.0-canary.106",
3
+ "version": "9.0.0-canary.107",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.106",
17
- "@graphcommerce/next-ui": "^9.0.0-canary.106",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.106",
19
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.106",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.107",
17
+ "@graphcommerce/next-ui": "^9.0.0-canary.107",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.107",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.107",
20
20
  "next": "*",
21
21
  "react": "^18.2.0",
22
22
  "react-dom": "^18.2.0"