@shopify/shopify-app-remix 2.4.0 → 2.5.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/README.md +44 -0
- package/build/cjs/server/authenticate/admin/authenticate.js +2 -0
- package/build/cjs/server/authenticate/admin/billing/check.js +39 -0
- package/build/cjs/server/authenticate/flow/authenticate.js +68 -0
- package/build/cjs/server/errors.js +9 -0
- package/build/cjs/server/index.js +2 -0
- package/build/cjs/server/shopify-app.js +8 -8
- package/build/cjs/server/types.js +4 -0
- package/build/cjs/server/unauthenticated/admin/factory.js +2 -2
- package/build/cjs/server/unauthenticated/storefront/factory.js +2 -2
- package/build/cjs/server/version.js +1 -1
- package/build/ts/server/__test-helpers/request-mock.js.map +1 -1
- package/build/ts/server/authenticate/admin/authenticate.d.ts.map +1 -1
- package/build/ts/server/authenticate/admin/authenticate.js +1 -0
- package/build/ts/server/authenticate/admin/authenticate.js.map +1 -1
- package/build/ts/server/authenticate/admin/billing/check.d.ts +6 -0
- package/build/ts/server/authenticate/admin/billing/check.d.ts.map +1 -0
- package/build/ts/server/authenticate/admin/billing/check.js +43 -0
- package/build/ts/server/authenticate/admin/billing/check.js.map +1 -0
- package/build/ts/server/authenticate/admin/billing/index.d.ts +1 -0
- package/build/ts/server/authenticate/admin/billing/index.d.ts.map +1 -1
- package/build/ts/server/authenticate/admin/billing/index.js +3 -1
- package/build/ts/server/authenticate/admin/billing/index.js.map +1 -1
- package/build/ts/server/authenticate/admin/billing/types.d.ts +59 -1
- package/build/ts/server/authenticate/admin/billing/types.d.ts.map +1 -1
- package/build/ts/server/authenticate/admin/strategies/auth-code-flow.js.map +1 -1
- package/build/ts/server/authenticate/flow/authenticate.d.ts +5 -0
- package/build/ts/server/authenticate/flow/authenticate.d.ts.map +1 -0
- package/build/ts/server/authenticate/flow/authenticate.flow.doc.d.ts +4 -0
- package/build/ts/server/authenticate/flow/authenticate.flow.doc.d.ts.map +1 -0
- package/build/ts/server/authenticate/flow/authenticate.flow.doc.js +33 -0
- package/build/ts/server/authenticate/flow/authenticate.flow.doc.js.map +1 -0
- package/build/ts/server/authenticate/flow/authenticate.js +67 -0
- package/build/ts/server/authenticate/flow/authenticate.js.map +1 -0
- package/build/ts/server/authenticate/flow/types.d.ts +82 -0
- package/build/ts/server/authenticate/flow/types.d.ts.map +1 -0
- package/build/ts/server/authenticate/flow/types.js +3 -0
- package/build/ts/server/authenticate/flow/types.js.map +1 -0
- package/build/ts/server/authenticate/webhooks/types.d.ts.map +1 -1
- package/build/ts/server/clients/admin/types.d.ts +12 -0
- package/build/ts/server/clients/admin/types.d.ts.map +1 -1
- package/build/ts/server/clients/types.d.ts +1 -3
- package/build/ts/server/clients/types.d.ts.map +1 -1
- package/build/ts/server/config-types.d.ts +1 -3
- package/build/ts/server/config-types.d.ts.map +1 -1
- package/build/ts/server/errors.d.ts +4 -0
- package/build/ts/server/errors.d.ts.map +1 -0
- package/build/ts/server/errors.js +14 -0
- package/build/ts/server/errors.js.map +1 -0
- package/build/ts/server/future/flags.d.ts +4 -1
- package/build/ts/server/future/flags.d.ts.map +1 -1
- package/build/ts/server/index.d.ts +1 -0
- package/build/ts/server/index.d.ts.map +1 -1
- package/build/ts/server/index.js +2 -0
- package/build/ts/server/index.js.map +1 -1
- package/build/ts/server/shopify-app.d.ts.map +1 -1
- package/build/ts/server/shopify-app.doc.d.ts.map +1 -1
- package/build/ts/server/shopify-app.doc.js +1 -0
- package/build/ts/server/shopify-app.doc.js.map +1 -1
- package/build/ts/server/shopify-app.js +4 -4
- package/build/ts/server/shopify-app.js.map +1 -1
- package/build/ts/server/types.d.ts +48 -11
- package/build/ts/server/types.d.ts.map +1 -1
- package/build/ts/server/types.js.map +1 -1
- package/build/ts/server/unauthenticated/admin/factory.d.ts.map +1 -1
- package/build/ts/server/unauthenticated/admin/factory.js +2 -2
- package/build/ts/server/unauthenticated/admin/factory.js.map +1 -1
- package/build/ts/server/unauthenticated/admin/types.d.ts +76 -0
- package/build/ts/server/unauthenticated/admin/types.d.ts.map +1 -1
- package/build/ts/server/unauthenticated/admin/unauthenticated.admin.doc.d.ts.map +1 -1
- package/build/ts/server/unauthenticated/admin/unauthenticated.admin.doc.js +2 -5
- package/build/ts/server/unauthenticated/admin/unauthenticated.admin.doc.js.map +1 -1
- package/build/ts/server/unauthenticated/storefront/factory.d.ts.map +1 -1
- package/build/ts/server/unauthenticated/storefront/factory.js +2 -2
- package/build/ts/server/unauthenticated/storefront/factory.js.map +1 -1
- package/build/ts/server/unauthenticated/storefront/unauthenticated.storefront.doc.d.ts.map +1 -1
- package/build/ts/server/unauthenticated/storefront/unauthenticated.storefront.doc.js +1 -4
- package/build/ts/server/unauthenticated/storefront/unauthenticated.storefront.doc.js.map +1 -1
- package/build/ts/server/version.d.ts +1 -1
- package/build/ts/server/version.js +1 -1
- package/package.json +9 -9
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unauthenticatedAdminContextFactory = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var errors_1 = require("../../errors");
|
|
6
6
|
var admin_1 = require("../../clients/admin");
|
|
7
7
|
var helpers_1 = require("../helpers");
|
|
8
8
|
function unauthenticatedAdminContextFactory(params) {
|
|
@@ -15,7 +15,7 @@ function unauthenticatedAdminContextFactory(params) {
|
|
|
15
15
|
case 1:
|
|
16
16
|
session = _a.sent();
|
|
17
17
|
if (!session) {
|
|
18
|
-
throw new
|
|
18
|
+
throw new errors_1.SessionNotFoundError("Could not find a session for shop ".concat(shop, " when creating unauthenticated admin context"));
|
|
19
19
|
}
|
|
20
20
|
return [2 /*return*/, {
|
|
21
21
|
session: session,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/factory.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/factory.ts"],"names":[],"mappings":";;;;AAEA,uCAAkD;AAElD,6CAAuD;AACvD,sCAA6C;AAI7C,SAAgB,kCAAkC,CAEhD,MAAmB;IAFrB,iBAmBC;IAhBC,OAAO,UACL,IAAY;;;;wBAEI,qBAAM,IAAA,2BAAiB,EAAC,IAAI,EAAE,MAAM,CAAC,EAAA;;oBAA/C,OAAO,GAAG,SAAqC;oBAErD,IAAI,CAAC,OAAO,EAAE,CAAC;wBACb,MAAM,IAAI,6BAAoB,CAC5B,4CAAqC,IAAI,iDAA8C,CACxF,CAAC;oBACJ,CAAC;oBAED,sBAAO;4BACL,OAAO,SAAA;4BACP,KAAK,EAAE,IAAA,0BAAkB,EAAY,EAAC,MAAM,QAAA,EAAE,OAAO,SAAA,EAAC,CAAC;yBACxD,EAAC;;;SACH,CAAC;AACJ,CAAC;AAnBD,gFAmBC"}
|
|
@@ -27,6 +27,82 @@ export interface UnauthenticatedAdminContext<Resources extends ShopifyRestResour
|
|
|
27
27
|
session: Session;
|
|
28
28
|
/**
|
|
29
29
|
* Methods for interacting with the GraphQL / REST Admin APIs for the given store.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* <caption>Performing a GET request to the REST API.</caption>
|
|
33
|
+
* <description>Use `admin.rest.get` to make custom requests to make a request to to the `customer/count` endpoint</description>
|
|
34
|
+
*
|
|
35
|
+
* ```ts
|
|
36
|
+
* // /app/routes/**\/*.ts
|
|
37
|
+
* import { LoaderFunctionArgs, json } from "@remix-run/node";
|
|
38
|
+
* import { unauthenticated } from "../shopify.server";
|
|
39
|
+
*
|
|
40
|
+
* export const loader = async ({ request }: LoaderFunctionArgs) => {
|
|
41
|
+
* const { admin, session } = await unauthenticated.admin(request);
|
|
42
|
+
*
|
|
43
|
+
* const response = await admin.rest.get(
|
|
44
|
+
* {
|
|
45
|
+
* path: "/customers/count.json"
|
|
46
|
+
* }
|
|
47
|
+
* );
|
|
48
|
+
* const customers = await response.json();
|
|
49
|
+
*
|
|
50
|
+
* return json({ customers });
|
|
51
|
+
* };
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ```ts
|
|
55
|
+
* // /app/shopify.server.ts
|
|
56
|
+
* import { shopifyApp } from "@shopify/shopify-app-remix/server";
|
|
57
|
+
* import { restResources } from "@shopify/shopify-api/rest/admin/2023-04";
|
|
58
|
+
*
|
|
59
|
+
* const shopify = shopifyApp({
|
|
60
|
+
* restResources,
|
|
61
|
+
* // ...etc
|
|
62
|
+
* });
|
|
63
|
+
*
|
|
64
|
+
* export default shopify;
|
|
65
|
+
* export const unauthenticated = shopify.unauthenticated;
|
|
66
|
+
* ```
|
|
67
|
+
* @example
|
|
68
|
+
* <caption>Querying the GraphQL API.</caption>
|
|
69
|
+
* <description>Use `admin.graphql` to make query / mutation requests.</description>
|
|
70
|
+
* ```ts
|
|
71
|
+
* // /app/routes/**\/*.ts
|
|
72
|
+
* import { ActionFunctionArgs } from "@remix-run/node";
|
|
73
|
+
* import { unauthenticated } from "../shopify.server";
|
|
74
|
+
*
|
|
75
|
+
* export async function action({ request }: ActionFunctionArgs) {
|
|
76
|
+
* const { admin } = await unauthenticated.admin(request);
|
|
77
|
+
*
|
|
78
|
+
* const response = await admin.graphql(
|
|
79
|
+
* `#graphql
|
|
80
|
+
* mutation populateProduct($input: ProductInput!) {
|
|
81
|
+
* productCreate(input: $input) {
|
|
82
|
+
* product {
|
|
83
|
+
* id
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
* }`,
|
|
87
|
+
* { variables: { input: { title: "Product Name" } } }
|
|
88
|
+
* );
|
|
89
|
+
*
|
|
90
|
+
* const productData = await response.json();
|
|
91
|
+
* return json({ data: productData.data });
|
|
92
|
+
* }
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ```ts
|
|
96
|
+
* // /app/shopify.server.ts
|
|
97
|
+
* import { shopifyApp } from "@shopify/shopify-app-remix/server";
|
|
98
|
+
*
|
|
99
|
+
* const shopify = shopifyApp({
|
|
100
|
+
* restResources,
|
|
101
|
+
* // ...etc
|
|
102
|
+
* });
|
|
103
|
+
* export default shopify;
|
|
104
|
+
* export const unauthenticated = shopify.unauthenticated;
|
|
105
|
+
* ```
|
|
30
106
|
*/
|
|
31
107
|
admin: AdminApiContext<Resources>;
|
|
32
108
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,2BAA2B,CAC1C,SAAS,SAAS,oBAAoB;IAEtC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,2BAA2B,CAC1C,SAAS,SAAS,oBAAoB;IAEtC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8EG;IACH,KAAK,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,8BAA8B,CACxC,SAAS,SAAS,oBAAoB,IACpC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,2BAA2B,CAAC,SAAS,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.admin.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/unauthenticated.admin.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"unauthenticated.admin.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/unauthenticated.admin.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var data = {
|
|
4
4
|
name: 'Unauthenticated admin',
|
|
5
|
-
description: "Allows interacting with the Admin API
|
|
6
|
-
'\n\n> Caution: This should only be used for Requests that do not originate from Shopify.' +
|
|
7
|
-
'\n> You must do your own authentication before using this method.' +
|
|
8
|
-
"\n>This function doesn't perform **any** validation and shouldn't rely on unvalidated user input.",
|
|
5
|
+
description: "Allows interacting with the Admin API when working outside of Shopify requests.\nThis enables apps to integrate with 3rd party services and perform background tasks.\n\n> Caution:\n> This function doesn't perform **any** validation and shouldn't rely on raw user input.\n\nWhen using this function, consider the following:\n\n#### Background tasks\n\nApps should ensure that the shop domain is authenticated when enqueueing jobs.\n\n#### 3rd party service requests\n\nApps must obtain the shop domain from the 3rd party service in a secure way.",
|
|
9
6
|
category: 'Unauthenticated',
|
|
10
7
|
type: 'object',
|
|
11
8
|
isVisualComponent: false,
|
|
@@ -16,7 +13,7 @@ var data = {
|
|
|
16
13
|
type: 'GetUnauthenticatedAdminContext',
|
|
17
14
|
},
|
|
18
15
|
],
|
|
19
|
-
jsDocTypeExamples: ['UnauthenticatedAdminContext'
|
|
16
|
+
jsDocTypeExamples: ['UnauthenticatedAdminContext'],
|
|
20
17
|
related: [
|
|
21
18
|
{
|
|
22
19
|
name: 'API context',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.admin.doc.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/unauthenticated.admin.doc.ts"],"names":[],"mappings":";;AAEA,IAAM,IAAI,GAAkC;IAC1C,IAAI,EAAE,uBAAuB;IAC7B,WAAW,
|
|
1
|
+
{"version":3,"file":"unauthenticated.admin.doc.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/admin/unauthenticated.admin.doc.ts"],"names":[],"mappings":";;AAEA,IAAM,IAAI,GAAkC;IAC1C,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,kiBAc8D;IAC3E,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE,KAAK;IACxB,WAAW,EAAE;QACX;YACE,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,iBAAiB,EAAE,CAAC,6BAA6B,CAAC;IAClD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,8BAA8B;YACxC,GAAG,EAAE,4CAA4C;SAClD;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/factory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAIxC,OAAO,EAEL,mCAAmC,EACpC,MAAM,SAAS,CAAC;AAEjB,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,WAAW,GAClB,mCAAmC,CAerC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unauthenticatedStorefrontContextFactory = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var errors_1 = require("../../errors");
|
|
6
6
|
var storefront_1 = require("../../clients/storefront");
|
|
7
7
|
var helpers_1 = require("../helpers");
|
|
8
8
|
function unauthenticatedStorefrontContextFactory(params) {
|
|
@@ -15,7 +15,7 @@ function unauthenticatedStorefrontContextFactory(params) {
|
|
|
15
15
|
case 1:
|
|
16
16
|
session = _a.sent();
|
|
17
17
|
if (!session) {
|
|
18
|
-
throw new
|
|
18
|
+
throw new errors_1.SessionNotFoundError("Could not find a session for shop ".concat(shop, " when creating unauthenticated storefront context"));
|
|
19
19
|
}
|
|
20
20
|
return [2 /*return*/, {
|
|
21
21
|
session: session,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/factory.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/factory.ts"],"names":[],"mappings":";;;;AAAA,uCAAkD;AAElD,uDAAiE;AACjE,sCAA6C;AAO7C,SAAgB,uCAAuC,CACrD,MAAmB;IADrB,iBAiBC;IAdC,OAAO,UAAO,IAAY;;;;wBACR,qBAAM,IAAA,2BAAiB,EAAC,IAAI,EAAE,MAAM,CAAC,EAAA;;oBAA/C,OAAO,GAAG,SAAqC;oBAErD,IAAI,CAAC,OAAO,EAAE,CAAC;wBACb,MAAM,IAAI,6BAAoB,CAC5B,4CAAqC,IAAI,sDAAmD,CAC7F,CAAC;oBACJ,CAAC;oBAED,sBAAO;4BACL,OAAO,SAAA;4BACP,UAAU,EAAE,IAAA,oCAAuB,EAAC,EAAC,MAAM,QAAA,EAAE,OAAO,SAAA,EAAC,CAAC;yBACvD,EAAC;;;SACH,CAAC;AACJ,CAAC;AAjBD,0FAiBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.storefront.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"unauthenticated.storefront.doc.d.ts","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var data = {
|
|
4
4
|
name: 'Unauthenticated storefront',
|
|
5
|
-
description: "Allows interacting with the Storefront API
|
|
6
|
-
'\n\n> Caution: This should only be used for Requests that do not originate from Shopify.' +
|
|
7
|
-
'\n> You must do your own authentication before using this method.' +
|
|
8
|
-
"\n>This function doesn't perform **any** validation and shouldn't rely on unvalidated user input.",
|
|
5
|
+
description: "Allows interacting with the Storefront API when working outside of Shopify requests.\nThis enables apps to integrate with 3rd party services and perform background tasks.\n\n> Caution:\n> This function doesn't perform **any** validation and shouldn't rely on raw user input.\n\nWhen using this function, consider the following:\n\n#### Background tasks\n\nApps should ensure that the shop domain is authenticated when enqueueing jobs.\n\n#### 3rd party service requests\n\nApps must obtain the shop domain from the 3rd party service in a secure way.",
|
|
9
6
|
category: 'Unauthenticated',
|
|
10
7
|
type: 'object',
|
|
11
8
|
isVisualComponent: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.storefront.doc.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts"],"names":[],"mappings":";;AAEA,IAAM,IAAI,GAAkC;IAC1C,IAAI,EAAE,4BAA4B;IAClC,WAAW,
|
|
1
|
+
{"version":3,"file":"unauthenticated.storefront.doc.js","sourceRoot":"","sources":["../../../../../src/server/unauthenticated/storefront/unauthenticated.storefront.doc.ts"],"names":[],"mappings":";;AAEA,IAAM,IAAI,GAAkC;IAC1C,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,uiBAc8D;IAC3E,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE,KAAK;IACxB,WAAW,EAAE;QACX;YACE,KAAK,EAAE,4BAA4B;YACnC,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,qCAAqC;SAC5C;KACF;IACD,iBAAiB,EAAE,CAAC,kCAAkC,EAAE,mBAAmB,CAAC;IAC5E,OAAO,EAAE;QACP;YACE,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,mCAAmC;YAC7C,GAAG,EAAE,iDAAiD;SACvD;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SHOPIFY_REMIX_LIBRARY_VERSION = "2.
|
|
1
|
+
export declare const SHOPIFY_REMIX_LIBRARY_VERSION = "2.5.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/shopify-app-remix",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Shopify Remix - to simplify the building of Shopify Apps with Remix",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"Storefront API"
|
|
51
51
|
],
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@remix-run/react": "^2.5.
|
|
53
|
+
"@remix-run/react": "^2.5.1",
|
|
54
54
|
"@shopify/generate-docs": "^0.13.1",
|
|
55
|
-
"@shopify/polaris": "^
|
|
55
|
+
"@shopify/polaris": "^12.12.1",
|
|
56
56
|
"@shopify/react-testing": "^5.1.3",
|
|
57
|
-
"@shopify/shopify-app-session-storage-memory": "^
|
|
57
|
+
"@shopify/shopify-app-session-storage-memory": "^3.0.0",
|
|
58
58
|
"@types/jsonwebtoken": "^9.0.5",
|
|
59
59
|
"@types/react": "^18.2.18",
|
|
60
60
|
"@types/semver": "^7.5.6",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"react-dom": "^18.2.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@remix-run/server-runtime": "^2.
|
|
68
|
-
"@shopify/admin-api-client": "^0.2.
|
|
69
|
-
"@shopify/shopify-api": "^9.0
|
|
70
|
-
"@shopify/shopify-app-session-storage": "^2.0
|
|
71
|
-
"@shopify/storefront-api-client": "^0.2.
|
|
67
|
+
"@remix-run/server-runtime": "^2.5.1",
|
|
68
|
+
"@shopify/admin-api-client": "^0.2.3",
|
|
69
|
+
"@shopify/shopify-api": "^9.2.0",
|
|
70
|
+
"@shopify/shopify-app-session-storage": "^2.1.0",
|
|
71
|
+
"@shopify/storefront-api-client": "^0.2.3",
|
|
72
72
|
"isbot": "^3.7.1",
|
|
73
73
|
"semver": "^7.5.4"
|
|
74
74
|
},
|