@shopify/app-bridge-types 0.0.9 → 0.0.11

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/index.d.ts CHANGED
@@ -36,7 +36,7 @@ declare global {
36
36
  // Install property augmentations onto ReactElement prop definitions
37
37
  namespace React {
38
38
  interface ButtonHTMLAttributes<T> extends AugmentedElement<'button'> {}
39
- interface LinkHTMLAttributes<T> extends AugmentedElement<'a'> {}
39
+ interface AnchorHTMLAttributes<T> extends AugmentedElement<'a'> {}
40
40
  }
41
41
 
42
42
  // Install Element/attribute augmentations into JSX definitions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/app-bridge-types",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
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
@@ -357,6 +357,7 @@ export interface ShopifyGlobal {
357
357
  show(id: string): Promise<void>;
358
358
  hide(id: string): Promise<void>;
359
359
  toggle(id: string): Promise<void>;
360
+ leaveConfirmation(): Promise<void>;
360
361
  };
361
362
  pos: Pos;
362
363
  }