@shopify/shopify-app-remix 5.0.0 → 6.0.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.
- package/dist/cjs/server/authenticate/webhooks/authenticate.js +0 -2
- package/dist/cjs/server/authenticate/webhooks/authenticate.js.map +1 -1
- package/dist/cjs/server/version.js +1 -1
- package/dist/cjs/server/version.js.map +1 -1
- package/dist/esm/server/authenticate/webhooks/authenticate.mjs +0 -2
- package/dist/esm/server/authenticate/webhooks/authenticate.mjs.map +1 -1
- package/dist/esm/server/version.mjs +1 -1
- package/dist/esm/server/version.mjs.map +1 -1
- package/dist/ts/server/authenticate/admin/billing/types.d.ts +2 -2
- package/dist/ts/server/authenticate/webhooks/authenticate.d.ts.map +1 -1
- package/dist/ts/server/authenticate/webhooks/types.d.ts +1 -5
- package/dist/ts/server/authenticate/webhooks/types.d.ts.map +1 -1
- package/dist/ts/server/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/server/authenticate/admin/billing/types.ts +2 -2
- package/src/server/authenticate/webhooks/authenticate.ts +0 -2
- package/src/server/authenticate/webhooks/types.ts +1 -6
- package/src/server/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/shopify-app-remix",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Shopify Remix - to simplify the building of Shopify Apps with Remix",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"@shopify/generate-docs": "^1.2.3",
|
|
74
74
|
"@shopify/polaris": "^12.18.0",
|
|
75
75
|
"@shopify/react-testing": "^6.0.0",
|
|
76
|
-
"@shopify/shopify-app-session-storage-memory": "^
|
|
76
|
+
"@shopify/shopify-app-session-storage-memory": "^8.0.0",
|
|
77
77
|
"@types/react": "^19.2.17",
|
|
78
78
|
"jest-fetch-mock": "^3.2.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@remix-run/server-runtime": "^2.17.5",
|
|
82
82
|
"@shopify/admin-api-client": "^2.0.0",
|
|
83
|
-
"@shopify/shopify-api": "^
|
|
84
|
-
"@shopify/shopify-app-session-storage": "^
|
|
83
|
+
"@shopify/shopify-api": "^15.0.0",
|
|
84
|
+
"@shopify/shopify-app-session-storage": "^7.0.0",
|
|
85
85
|
"@shopify/storefront-api-client": "^2.0.0",
|
|
86
86
|
"compare-versions": "^6.1.1",
|
|
87
87
|
"isbot": "^5.2.0"
|
|
@@ -119,7 +119,7 @@ export interface UpdateUsageCappedAmountOptions {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
* Provides utilities that apps can use to request billing for the app using the Admin API.
|
|
122
|
+
* Provides utilities that apps can use to request [Manual Pricing](https://shopify.dev/docs/apps/launch/billing/manual-pricing) billing for the app using the Admin API.
|
|
123
123
|
* @publicDocs
|
|
124
124
|
*/
|
|
125
125
|
export interface BillingContext<Config extends AppConfigArg> {
|
|
@@ -503,7 +503,7 @@ export interface BillingContext<Config extends AppConfigArg> {
|
|
|
503
503
|
cancel: (options: CancelBillingOptions) => Promise<AppSubscription>;
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
|
-
* Creates a usage record for an app subscription.
|
|
506
|
+
* Creates a usage record for an app subscription. [Shopify App Pricing](https://shopify.dev/docs/apps/launch/billing/shopify-app-pricing) supports usage-based plans through the [App Events API](https://shopify.dev/docs/api/app-events) instead of usage records.
|
|
507
507
|
*
|
|
508
508
|
* @returns Returns a usage record when one was created successfully.
|
|
509
509
|
*
|
|
@@ -79,9 +79,7 @@ export function authenticateWebhookFactory<Topics extends string>(
|
|
|
79
79
|
webhookType: check.webhookType,
|
|
80
80
|
handle: check.handle,
|
|
81
81
|
action: check.action,
|
|
82
|
-
resourceId: check.resourceId,
|
|
83
82
|
triggeredAt: check.triggeredAt,
|
|
84
|
-
eventId: check.eventId,
|
|
85
83
|
};
|
|
86
84
|
}
|
|
87
85
|
|
|
@@ -133,18 +133,13 @@ interface Context<Topics = string | number | symbol> {
|
|
|
133
133
|
*/
|
|
134
134
|
action?: string;
|
|
135
135
|
|
|
136
|
-
/**
|
|
137
|
-
* The GID of the resource that triggered the webhook. Only available for events webhooks.
|
|
138
|
-
*/
|
|
139
|
-
resourceId?: string;
|
|
140
|
-
|
|
141
136
|
/**
|
|
142
137
|
* The timestamp when the webhook was triggered.
|
|
143
138
|
*/
|
|
144
139
|
triggeredAt?: string;
|
|
145
140
|
|
|
146
141
|
/**
|
|
147
|
-
* The unique event identifier.
|
|
142
|
+
* The unique event identifier. Only available for webhooks, not events webhooks.
|
|
148
143
|
*/
|
|
149
144
|
eventId?: string;
|
|
150
145
|
}
|
package/src/server/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SHOPIFY_REMIX_LIBRARY_VERSION = '
|
|
1
|
+
export const SHOPIFY_REMIX_LIBRARY_VERSION = '6.0.0';
|