@agnostack/next-shopify 1.3.1-alpha.27 → 1.3.1-alpha.29
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 +14 -0
- package/dist/apiHelpers.js +22 -17
- package/dist/apiHelpers.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.3.1-alpha.29](https://github.com/agnostack/next-shopify/compare/v1.3.1-alpha.28...v1.3.1-alpha.29) (2022-11-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* syntax error ([69f4e62](https://github.com/agnostack/next-shopify/commit/69f4e628290c2c9e2d7d4a75e4a2bca15ca55d4b))
|
|
7
|
+
|
|
8
|
+
## [1.3.1-alpha.28](https://github.com/agnostack/next-shopify/compare/v1.3.1-alpha.27...v1.3.1-alpha.28) (2022-11-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add BillingError check to callbackHandler ([979a07b](https://github.com/agnostack/next-shopify/commit/979a07b5571cb31c7763b4feef41f12c0d487a0a))
|
|
14
|
+
|
|
1
15
|
## [1.3.1-alpha.27](https://github.com/agnostack/next-shopify/compare/v1.3.1-alpha.26...v1.3.1-alpha.27) (2022-11-15)
|
|
2
16
|
|
|
3
17
|
|
package/dist/apiHelpers.js
CHANGED
|
@@ -13,7 +13,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.uninstallHelper = exports.callbackHelper = exports.authHelper = exports.graphHelper = exports.restHelper = void 0;
|
|
15
15
|
const shopify_api_1 = require("@shopify/shopify-api");
|
|
16
|
-
const error_1 = require("@shopify/shopify-api/dist/error");
|
|
17
16
|
const utils_1 = require("./utils");
|
|
18
17
|
const authenticationErrorHelper = ({ error, shop, serverRuntimeConfig }) => {
|
|
19
18
|
const { message, data } = error;
|
|
@@ -56,9 +55,12 @@ const restHelper = async ({ req, res, params: _params, serverRuntimeConfig }) =>
|
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
57
|
catch (error) {
|
|
59
|
-
console.log(`>>> ~ rest error`, JSON.stringify(error, null, 2));
|
|
60
58
|
const errorMessage = 'Error handling rest call';
|
|
61
59
|
switch (true) {
|
|
60
|
+
case error instanceof utils_1.ShopifyAuthenticationError: {
|
|
61
|
+
console.error(`${errorMessage}. Authentication Error`, error);
|
|
62
|
+
return authenticationErrorHelper({ error, shop, serverRuntimeConfig });
|
|
63
|
+
}
|
|
62
64
|
case error instanceof shopify_api_1.Shopify.Errors.BillingError: {
|
|
63
65
|
console.error(`${errorMessage}. Billing Error - ${error === null || error === void 0 ? void 0 : error.message}`, error === null || error === void 0 ? void 0 : error.errorData);
|
|
64
66
|
return {
|
|
@@ -66,10 +68,6 @@ const restHelper = async ({ req, res, params: _params, serverRuntimeConfig }) =>
|
|
|
66
68
|
message: errorMessage,
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
|
-
case error instanceof utils_1.ShopifyAuthenticationError: {
|
|
70
|
-
console.error(`${errorMessage}. Authentication Error`, error);
|
|
71
|
-
return authenticationErrorHelper({ error, shop, serverRuntimeConfig });
|
|
72
|
-
}
|
|
73
71
|
default: {
|
|
74
72
|
console.error(errorMessage, error);
|
|
75
73
|
return {
|
|
@@ -102,35 +100,33 @@ const graphHelper = async ({ req, res, params: _params, serverRuntimeConfig }) =
|
|
|
102
100
|
const client = new shopify_api_1.Shopify.Clients.Graphql(shop, session === null || session === void 0 ? void 0 : session.accessToken);
|
|
103
101
|
const response = await client.query(Object.assign({ data,
|
|
104
102
|
query }, params));
|
|
105
|
-
// TODO: check for repsonse.errors/response.body?.errors and throw??
|
|
106
103
|
return {
|
|
107
104
|
statusCode: 200,
|
|
108
105
|
response,
|
|
109
106
|
};
|
|
110
107
|
}
|
|
111
108
|
catch (error) {
|
|
112
|
-
console.log(`>>> ~ query error`, JSON.stringify(error, null, 2));
|
|
113
109
|
const errorMessage = 'Error handling query call';
|
|
114
110
|
switch (true) {
|
|
115
|
-
case
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
case error instanceof utils_1.ShopifyAuthenticationError: {
|
|
112
|
+
console.error(`${errorMessage}. Authentication Error`, error);
|
|
113
|
+
return authenticationErrorHelper({ error, shop, serverRuntimeConfig });
|
|
114
|
+
}
|
|
115
|
+
case error instanceof shopify_api_1.Shopify.Errors.BillingError: {
|
|
116
|
+
console.error(`${errorMessage}. Billing Error - ${error === null || error === void 0 ? void 0 : error.message}`, error === null || error === void 0 ? void 0 : error.errorData);
|
|
118
117
|
return {
|
|
119
118
|
statusCode: 500,
|
|
120
119
|
message: errorMessage,
|
|
121
120
|
};
|
|
122
121
|
}
|
|
123
|
-
case error instanceof shopify_api_1.Shopify.Errors.
|
|
124
|
-
|
|
122
|
+
case error instanceof shopify_api_1.Shopify.Errors.GraphqlQueryError: {
|
|
123
|
+
const errorMessages = utils_1.ensureArray((_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.errors).map((_error) => utils_1.ensureString(_error === null || _error === void 0 ? void 0 : _error.message));
|
|
124
|
+
console.error(`${errorMessage}. ${errorMessages.join('. ')}`);
|
|
125
125
|
return {
|
|
126
126
|
statusCode: 500,
|
|
127
127
|
message: errorMessage,
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
case error instanceof utils_1.ShopifyAuthenticationError: {
|
|
131
|
-
console.error(`${errorMessage}. Authentication Error`, error);
|
|
132
|
-
return authenticationErrorHelper({ error, shop, serverRuntimeConfig });
|
|
133
|
-
}
|
|
134
130
|
default: {
|
|
135
131
|
console.error(errorMessage, error);
|
|
136
132
|
return {
|
|
@@ -163,6 +159,7 @@ const authHelper = async ({ req, res, serverRuntimeConfig }) => {
|
|
|
163
159
|
};
|
|
164
160
|
exports.authHelper = authHelper;
|
|
165
161
|
const callbackHelper = async ({ req, res, serverRuntimeConfig }) => {
|
|
162
|
+
var _a;
|
|
166
163
|
const { PAGE_PATHS, APP_WEBHOOKS, PAYMENT_CONFIG } = serverRuntimeConfig;
|
|
167
164
|
const { shop, host } = req.query;
|
|
168
165
|
if (!shop || !host) {
|
|
@@ -199,6 +196,14 @@ const callbackHelper = async ({ req, res, serverRuntimeConfig }) => {
|
|
|
199
196
|
message: errorMessage,
|
|
200
197
|
};
|
|
201
198
|
}
|
|
199
|
+
case error instanceof shopify_api_1.Shopify.Errors.GraphqlQueryError: {
|
|
200
|
+
const errorMessages = utils_1.ensureArray((_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.errors).map((_error) => utils_1.ensureString(_error === null || _error === void 0 ? void 0 : _error.message));
|
|
201
|
+
console.error(`${errorMessage}. ${errorMessages.join('. ')}`);
|
|
202
|
+
return {
|
|
203
|
+
statusCode: 500,
|
|
204
|
+
message: errorMessage,
|
|
205
|
+
};
|
|
206
|
+
}
|
|
202
207
|
case error instanceof shopify_api_1.Shopify.Errors.InvalidOAuthError: {
|
|
203
208
|
console.error(`${errorMessage}. Invalid Oauth Error`, error);
|
|
204
209
|
return {
|
package/dist/apiHelpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiHelpers.js","sourceRoot":"","sources":["../src/apiHelpers.js"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sDAAwD;
|
|
1
|
+
{"version":3,"file":"apiHelpers.js","sourceRoot":"","sources":["../src/apiHelpers.js"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sDAAwD;AAExD,mCAegB;AAEhB,MAAM,yBAAyB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,EAAE;IACzE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAA;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,mBAAmB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AmB,EAAE,EAAE,EAAE;;IACpE,IAAI;QACF,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC3B,MAAM,OAAO,GAAG,6BAAqB,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;QAElE,MAAM,gBAAgB,GAAG,MAAM,CAAA,MAAA,MAAA,OAAO,CAAC,OAAO,CAAC,eAAe,0CAAE,kBAAkB,mDAAG,MAAM,CAAC,CAAA,CAAA;QAC5F,IAAI,qBAAa,CAAC,gBAAgB,CAAC,EAAE;YACnC,MAAM,CAAA,MAAA,MAAA,OAAO,CAAC,OAAO,CAAC,eAAe,0CAAE,cAAc,mDAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAA,CAAA;SACvG;QAED,OAAO;YACL,UAAU,EAAE,GAAG;YACf,OAAO,EAAE,SAAS;SACnB,CAAA;KACF;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,YAAY,GAAG,gCAAgC,CAAA;QACrD,OAAO,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,CAAA;QAElC,OAAO;YACL,UAAU,EAAE,GAAG;YACf,OAAO,EAAE,YAAY;SACtB,CAAA;KACF;AACH,CAAC,CAAA;AAvBY,QAAA,eAAe,mBAuB3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnostack/next-shopify",
|
|
3
|
-
"version": "1.3.1-alpha.
|
|
3
|
+
"version": "1.3.1-alpha.29",
|
|
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",
|