@agnostack/next-shopify 1.1.0-alpha.2 → 1.1.0-alpha.3
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/CHANGELOG.md +7 -0
- package/dist/apiHandlers.d.ts +2 -18
- package/dist/apiHandlers.js +10 -68
- package/dist/apiHandlers.js.map +1 -1
- package/dist/utils/helpers.d.ts +26 -0
- package/dist/utils/helpers.js +94 -0
- package/dist/utils/helpers.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.1.0-alpha.3](https://github.com/agnostack/next-shopify/compare/v1.1.0-alpha.2...v1.1.0-alpha.3) (2022-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* split out helper methods ([8148682](https://github.com/agnostack/next-shopify/commit/8148682f3ee940948cf01521b1428a994880c515))
|
|
7
|
+
|
|
1
8
|
# [1.1.0-alpha.2](https://github.com/agnostack/next-shopify/compare/v1.1.0-alpha.1...v1.1.0-alpha.2) (2022-11-07)
|
|
2
9
|
|
|
3
10
|
|
package/dist/apiHandlers.d.ts
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
export function handleAuth(props: any): (req: any, res: any) => Promise<
|
|
2
|
-
|
|
3
|
-
redirectUrl: string;
|
|
4
|
-
message?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
statusCode: number;
|
|
7
|
-
message: string;
|
|
8
|
-
redirectUrl?: undefined;
|
|
9
|
-
}>;
|
|
10
|
-
export function handleCallback(props: any): (req: any, res: any) => Promise<{
|
|
11
|
-
statusCode: number;
|
|
12
|
-
redirectUrl: string;
|
|
13
|
-
message?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
statusCode: number;
|
|
16
|
-
message: string;
|
|
17
|
-
redirectUrl?: undefined;
|
|
18
|
-
}>;
|
|
1
|
+
export function handleAuth(props: any): (req: any, res: any) => Promise<any>;
|
|
2
|
+
export function handleCallback(props: any): (req: any, res: any) => Promise<any>;
|
|
19
3
|
export function handleAppUninstalled(_props: any): (shop: any) => Promise<boolean>;
|
package/dist/apiHandlers.js
CHANGED
|
@@ -5,80 +5,22 @@ exports.handleAppUninstalled = exports.handleCallback = exports.handleAuth = voi
|
|
|
5
5
|
const utils_1 = require("./utils");
|
|
6
6
|
// NOTE: typically handling: "/api/auth"
|
|
7
7
|
const handleAuth = (props) => async (req, res) => {
|
|
8
|
-
const {
|
|
9
|
-
const {
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
statusCode: 302,
|
|
13
|
-
redirectUrl: utils_1.getRedirectUrl(props, {
|
|
14
|
-
req,
|
|
15
|
-
res,
|
|
16
|
-
query,
|
|
17
|
-
shop,
|
|
18
|
-
}),
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
catch (error) {
|
|
22
|
-
const errorMessage = 'Error handling auth route';
|
|
23
|
-
console.error(errorMessage, error);
|
|
24
|
-
return {
|
|
25
|
-
statusCode: 500,
|
|
26
|
-
message: errorMessage,
|
|
27
|
-
};
|
|
8
|
+
const { PAGE_PATHS } = props;
|
|
9
|
+
const { message, statusCode = 302, redirectUrl = `${PAGE_PATHS[utils_1.PAGE_ROUTE_NAMES.ERROR]}?invalid_auth_response`, } = await utils_1.authHelper(Object.assign({ req, res }, props));
|
|
10
|
+
if (statusCode >= 300 && statusCode < 400) {
|
|
11
|
+
return res.redirect(statusCode, redirectUrl);
|
|
28
12
|
}
|
|
13
|
+
return res.send(statusCode).send(message);
|
|
29
14
|
};
|
|
30
15
|
exports.handleAuth = handleAuth;
|
|
31
16
|
// NOTE: typically handling: "/api/auth/callback"
|
|
32
17
|
const handleCallback = (props) => async (req, res) => {
|
|
33
|
-
const { PAGE_PATHS
|
|
34
|
-
const {
|
|
35
|
-
if (
|
|
36
|
-
return
|
|
37
|
-
statusCode: 303,
|
|
38
|
-
redirectUrl: `${PAGE_PATHS[utils_1.PAGE_ROUTE_NAMES.ERROR]}?code=invalid_callback`,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
const shopify = utils_1.getInitializedShopify(props, shop);
|
|
42
|
-
try {
|
|
43
|
-
const session = await shopify.Auth.validateAuthCallback(req, res, req.query);
|
|
44
|
-
await utils_1.registerWebhooks(props, APP_WEBHOOKS, session);
|
|
45
|
-
// TODO check for billing redirect
|
|
46
|
-
const redirectUrl = shopify.Utils.getEmbeddedAppUrl(req);
|
|
47
|
-
return {
|
|
48
|
-
statusCode: 302,
|
|
49
|
-
redirectUrl: `${redirectUrl}?${new URLSearchParams(req.query).toString()}`,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
catch (error) {
|
|
53
|
-
const errorMessage = 'Error handling callback route';
|
|
54
|
-
console.error(errorMessage, error);
|
|
55
|
-
switch (true) {
|
|
56
|
-
case error instanceof shopify.Errors.InvalidOAuthError: {
|
|
57
|
-
return {
|
|
58
|
-
statusCode: 400,
|
|
59
|
-
message: errorMessage,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
case error instanceof shopify.Errors.CookieNotFound:
|
|
63
|
-
case error instanceof shopify.Errors.SessionNotFound: {
|
|
64
|
-
return {
|
|
65
|
-
statusCode: 302,
|
|
66
|
-
redirectUrl: utils_1.getRedirectUrl(props, {
|
|
67
|
-
req,
|
|
68
|
-
res,
|
|
69
|
-
shop,
|
|
70
|
-
query: req.query,
|
|
71
|
-
}),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
default: {
|
|
75
|
-
return {
|
|
76
|
-
statusCode: 500,
|
|
77
|
-
message: errorMessage,
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
}
|
|
18
|
+
const { PAGE_PATHS } = props;
|
|
19
|
+
const { message, statusCode = 302, redirectUrl = `${PAGE_PATHS[utils_1.PAGE_ROUTE_NAMES.ERROR]}?invalid_callback_response`, } = await utils_1.callbackHelper(Object.assign({ req, res }, props));
|
|
20
|
+
if (statusCode >= 300 && statusCode < 400) {
|
|
21
|
+
return res.redirect(statusCode, redirectUrl);
|
|
81
22
|
}
|
|
23
|
+
return res.send(statusCode).send(message);
|
|
82
24
|
};
|
|
83
25
|
exports.handleCallback = handleCallback;
|
|
84
26
|
// NOTE: typically handling: "/api/webhooks/app/uninstalled"
|
package/dist/apiHandlers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiHandlers.js","sourceRoot":"","sources":["../src/apiHandlers.js"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD,mCAMgB;AAEhB,wCAAwC;AACjC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;IACtD,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"apiHandlers.js","sourceRoot":"","sources":["../src/apiHandlers.js"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD,mCAMgB;AAEhB,wCAAwC;AACjC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;IACtD,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAA;IAC5B,MAAM,EACJ,OAAO,EACP,UAAU,GAAG,GAAG,EAChB,WAAW,GAAG,GAAG,UAAU,CAAC,wBAAgB,CAAC,KAAK,CAAC,wBAAwB,GAC5E,GAAG,MAAM,kBAAU,iBAAG,GAAG,EAAE,GAAG,IAAK,KAAK,EAAG,CAAA;IAE5C,IAAI,UAAU,IAAI,GAAG,IAAI,UAAU,GAAG,GAAG,EAAE;QACzC,OAAO,GAAG,CAAC,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,CAAA;KAC7C;IAED,OAAO,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,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CAAA;AACb,CAAC,CAAA;AATY,QAAA,oBAAoB,wBAShC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function authHelper({ req, res, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
req: any;
|
|
4
|
+
res: any;
|
|
5
|
+
}): Promise<{
|
|
6
|
+
statusCode: number;
|
|
7
|
+
redirectUrl: string;
|
|
8
|
+
message?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
statusCode: number;
|
|
11
|
+
message: string;
|
|
12
|
+
redirectUrl?: undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export function callbackHelper({ req, res, ...props }: {
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
req: any;
|
|
17
|
+
res: any;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
statusCode: number;
|
|
20
|
+
redirectUrl: string;
|
|
21
|
+
message?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
statusCode: number;
|
|
24
|
+
message: string;
|
|
25
|
+
redirectUrl?: undefined;
|
|
26
|
+
}>;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.callbackHelper = exports.authHelper = void 0;
|
|
15
|
+
const shopify_1 = require("./shopify");
|
|
16
|
+
const authHelper = async (_a) => {
|
|
17
|
+
var { req, res } = _a, props = __rest(_a, ["req", "res"]);
|
|
18
|
+
const { query } = req;
|
|
19
|
+
const { shop } = query !== null && query !== void 0 ? query : {};
|
|
20
|
+
try {
|
|
21
|
+
return {
|
|
22
|
+
statusCode: 302,
|
|
23
|
+
redirectUrl: shopify_1.getRedirectUrl(props, {
|
|
24
|
+
req,
|
|
25
|
+
res,
|
|
26
|
+
query,
|
|
27
|
+
shop,
|
|
28
|
+
}),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
const errorMessage = 'Error handling auth route';
|
|
33
|
+
console.error(errorMessage, error);
|
|
34
|
+
return {
|
|
35
|
+
statusCode: 500,
|
|
36
|
+
message: errorMessage,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.authHelper = authHelper;
|
|
41
|
+
const callbackHelper = async (_a) => {
|
|
42
|
+
var { req, res } = _a, props = __rest(_a, ["req", "res"]);
|
|
43
|
+
const { PAGE_PATHS, APP_WEBHOOKS } = props;
|
|
44
|
+
const { shop, host } = req.query;
|
|
45
|
+
if (!shop || !host) {
|
|
46
|
+
return {
|
|
47
|
+
statusCode: 303,
|
|
48
|
+
redirectUrl: `${PAGE_PATHS[shopify_1.PAGE_ROUTE_NAMES.ERROR]}?code=invalid_callback`,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
const shopify = shopify_1.getInitializedShopify(props, shop);
|
|
52
|
+
try {
|
|
53
|
+
const session = await shopify.Auth.validateAuthCallback(req, res, req.query);
|
|
54
|
+
await shopify_1.registerWebhooks(props, APP_WEBHOOKS, session);
|
|
55
|
+
// TODO check for billing redirect
|
|
56
|
+
const redirectUrl = shopify.Utils.getEmbeddedAppUrl(req);
|
|
57
|
+
return {
|
|
58
|
+
statusCode: 302,
|
|
59
|
+
redirectUrl: `${redirectUrl}?${new URLSearchParams(req.query).toString()}`,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
const errorMessage = 'Error handling callback route';
|
|
64
|
+
console.error(errorMessage, error);
|
|
65
|
+
switch (true) {
|
|
66
|
+
case error instanceof shopify.Errors.InvalidOAuthError: {
|
|
67
|
+
return {
|
|
68
|
+
statusCode: 400,
|
|
69
|
+
message: errorMessage,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
case error instanceof shopify.Errors.CookieNotFound:
|
|
73
|
+
case error instanceof shopify.Errors.SessionNotFound: {
|
|
74
|
+
return {
|
|
75
|
+
statusCode: 302,
|
|
76
|
+
redirectUrl: shopify_1.getRedirectUrl(props, {
|
|
77
|
+
req,
|
|
78
|
+
res,
|
|
79
|
+
shop,
|
|
80
|
+
query: req.query,
|
|
81
|
+
}),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
default: {
|
|
85
|
+
return {
|
|
86
|
+
statusCode: 500,
|
|
87
|
+
message: errorMessage,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
exports.callbackHelper = callbackHelper;
|
|
94
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/utils/helpers.js"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uCAKkB;AAEX,MAAM,UAAU,GAAG,KAAK,EAAE,EAAsB,EAAE,EAAE;QAA1B,EAAE,GAAG,EAAE,GAAG,OAAY,EAAP,KAAK,cAApB,cAAsB,CAAF;IACnD,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAA;IACrB,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAA;IAE5B,IAAI;QACF,OAAO;YACL,UAAU,EAAE,GAAG;YACf,WAAW,EAAE,wBAAc,CAAC,KAAK,EAAE;gBACjC,GAAG;gBACH,GAAG;gBACH,KAAK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IAAC,OAAO,KAAK,EAAE;QACd,MAAM,YAAY,GAAG,+BAA+B,CAAA;QACpD,OAAO,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,CAAA;QAElC,QAAQ,IAAI,EAAE;YACZ,KAAK,KAAK,YAAY,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;gBACtD,OAAO;oBACL,UAAU,EAAE,GAAG;oBACf,OAAO,EAAE,YAAY;iBACtB,CAAA;aACF;YAED,KAAK,KAAK,YAAY,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC;YACpD,KAAK,KAAK,YAAY,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;gBACpD,OAAO;oBACL,UAAU,EAAE,GAAG;oBACf,WAAW,EAAE,wBAAc,CAAC,KAAK,EAAE;wBACjC,GAAG;wBACH,GAAG;wBACH,IAAI;wBACJ,KAAK,EAAE,GAAG,CAAC,KAAK;qBACjB,CAAC;iBACH,CAAA;aACF;YAED,OAAO,CAAC,CAAC;gBACP,OAAO;oBACL,UAAU,EAAE,GAAG;oBACf,OAAO,EAAE,YAAY;iBACtB,CAAA;aACF;SACF;KACF;AACH,CAAC,CAAA;AA3DY,QAAA,cAAc,kBA2D1B"}
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./helpers"), exports);
|
|
13
14
|
__exportStar(require("./display"), exports);
|
|
14
15
|
__exportStar(require("./firebase"), exports);
|
|
15
16
|
__exportStar(require("./shopify"), exports);
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,4CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,6CAA0B;AAC1B,4CAAyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnostack/next-shopify",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.3",
|
|
4
4
|
"author": "agnoStack Dev <developers@agnostack.com> (https://agnostack.com)",
|
|
5
5
|
"owner": "agnoStack",
|
|
6
6
|
"description": "Please contact agnoStack via info@agnostack.com for any questions",
|