@shopfront/bridge 1.13.1 → 1.14.0

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.
@@ -144,8 +144,8 @@ export interface PaymentMethodEnabledContext {
144
144
  export interface FromShopfrontCallbacks {
145
145
  READY: (event: RegisterChangedEvent) => MaybePromise<FromShopfrontReturns["READY"]>;
146
146
  REQUEST_SETTINGS: () => MaybePromise<FromShopfrontReturns["REQUEST_SETTINGS"]>;
147
- REQUEST_BUTTONS: () => MaybePromise<FromShopfrontReturns["REQUEST_BUTTONS"]>;
148
- REQUEST_TABLE_COLUMNS: () => MaybePromise<FromShopfrontReturns["REQUEST_TABLE_COLUMNS"]>;
147
+ REQUEST_BUTTONS: (location: string, context: unknown) => MaybePromise<FromShopfrontReturns["REQUEST_BUTTONS"]>;
148
+ REQUEST_TABLE_COLUMNS: (location: string, data: unknown) => MaybePromise<FromShopfrontReturns["REQUEST_TABLE_COLUMNS"]>;
149
149
  REQUEST_SELL_SCREEN_OPTIONS: () => MaybePromise<FromShopfrontReturns["REQUEST_SELL_SCREEN_OPTIONS"]>;
150
150
  INTERNAL_PAGE_MESSAGE: (event: InternalPageMessageEvent) => MaybePromise<FromShopfrontReturns["INTERNAL_PAGE_MESSAGE"]>;
151
151
  REGISTER_CHANGED: (event: RegisterChangedEvent) => MaybePromise<FromShopfrontReturns["REGISTER_CHANGED"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopfront/bridge",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "main": "./lib/index.js",
5
5
  "license": "ISC",
6
6
  "description": "The bridge used to embed your application within Shopfront",
@@ -13,7 +13,8 @@
13
13
  "author": "Shopfront <api@shopfront.com.au> (https://shopfront.com.au)",
14
14
  "contributors": [
15
15
  "Nicholas Clark",
16
- "Adam Simpkins"
16
+ "Adam Simpkins",
17
+ "Zachary Stanford"
17
18
  ],
18
19
  "private": false,
19
20
  "devDependencies": {