@shopify/app-bridge-types 0.0.13 → 0.0.14

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 +1 -1
  2. package/shopify.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/app-bridge-types",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Companion types library for the Shopify App Bridge script",
5
5
  "license": "ISC",
6
6
  "main": "./index.js",
package/shopify.ts CHANGED
@@ -798,7 +798,7 @@ interface _SaveBarApi {
798
798
  */
799
799
  toggle?(id: string): Promise<void>;
800
800
  /**
801
- * Show leave confirmation dialog if necessary. This promise is resolved when there is no visible save bar or user confirms to leave.
801
+ * Checks if saveBar is shown. This promise resolves if the save bar is not shown. Uses this method before navigating away from the page only when you have a custom routing that is not anchor tag.
802
802
  */
803
803
  leaveConfirmation?(): Promise<void>;
804
804
  }