Releases: Shopify/shopify-app-js
@shopify/[email protected]
@shopify/[email protected]
@shopify/[email protected]
Patch Changes
- bad62cc: Updated
tslib
dependencies
@shopify/[email protected]
Minor Changes
-
9b217e5: Adds API to update the capped amount for a usage billing plan.
A new billing helper function has been added to update the capped amount for a usage billing plan. This function redirects to a confirmation page where the merchant can confirm the update.
await billing.updateUsageCappedAmount({ subscriptionLineItemId: 'gid://shopify/AppSubscriptionLineItem/12345?v=1&index=1', cappedAmount: { amount: 10, currencyCode: 'USD', }, });
Learn more about App Billing.
Patch Changes
-
59896e3: Updated
isbot
dependencies -
5c01460: Adding toggle parameter flag to return implied scopes from Remix API Query by returning original scopes from AuthScopes instantiation
Example:
const scopes = new AuthScopes(['read_customers', 'write_customers', 'read_products', 'write_channels']);
scopes.toArray() returns ['write_customers', 'read_products', 'write_channels']
scopes.toArray(true) returns ['read_customers', 'write_customers', 'read_products', 'write_channels'] -
Updated dependencies [50634c0]
-
Updated dependencies [59896e3]
-
Updated dependencies [2e396f3]
-
Updated dependencies [5efb3a2]
-
Updated dependencies [cd0b3e1]
-
Updated dependencies [bad62cc]
-
Updated dependencies [10f4fd0]
-
Updated dependencies [5c01460]
- @shopify/[email protected]
- @shopify/[email protected]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- 2e396f3: Updated
express
dependencies - 0b3526d: Updated
cookie-parser
dependencies - 5efb3a2: Updated
express
dependencies - 2faad6c: Changing common connection logs from info level to debug to avoid spam
- Updated dependencies [50634c0]
- Updated dependencies [59896e3]
- Updated dependencies [2e396f3]
- Updated dependencies [5efb3a2]
- Updated dependencies [cd0b3e1]
- Updated dependencies [bad62cc]
- Updated dependencies [10f4fd0]
- Updated dependencies [5c01460]
- @shopify/[email protected]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Minor Changes
-
50634c0: Adds API to update the capped amount for a usage billing plan.
A new billing helper function has been added to update the capped amount for a usage billing plan.
const response = await shopify.billing.updateUsageCappedAmount({ session, subscriptionLineItemId: 'gid://shopify/AppSubscriptionLineItem/1234567890', cappedAmount: { amount: 100, currencyCode: 'USD', }, }); console.log(response);
Learn more about App Billing.
-
5c01460: Adding toggle parameter flag to return implied scopes from Remix API Query by returning original scopes from AuthScopes instantiation
Example:
const scopes = new AuthScopes(['read_customers', 'write_customers', 'read_products', 'write_channels']);
scopes.toArray() returns ['write_customers', 'read_products', 'write_channels']
scopes.toArray(true) returns ['read_customers', 'write_customers', 'read_products', 'write_channels']
Patch Changes
- 59896e3: Updated
isbot
dependencies - 2e396f3: Updated
express
dependencies - 5efb3a2: Updated
express
dependencies - cd0b3e1: Updated
jose
dependencies - bad62cc: Updated
tslib
dependencies - 10f4fd0: Updated
jose
dependencies - Updated dependencies [f38dfc0]
- @shopify/[email protected]
- @shopify/[email protected]
- @shopify/[email protected]
@shopify/[email protected]
Patch Changes
- f38dfc0: Improved error messages when validating store domain urls
@shopify/[email protected]
@shopify/[email protected]
Patch Changes
- Updated dependencies [f38dfc0]
- @shopify/[email protected]