@agnostack/next-shopify 1.7.1-beta.26 → 1.7.1-beta.27

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.
@@ -4,3 +4,6 @@ export * from "./graph";
4
4
  export * from "./proxy";
5
5
  export * from "./rest";
6
6
  export * from "./uninstall";
7
+ export function getAPIConfig(config: any): {
8
+ api: any;
9
+ };
@@ -10,10 +10,16 @@ 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
+ exports.getAPIConfig = void 0;
13
14
  __exportStar(require("./auth"), exports);
14
15
  __exportStar(require("./callback"), exports);
15
16
  __exportStar(require("./graph"), exports);
16
17
  __exportStar(require("./proxy"), exports);
17
18
  __exportStar(require("./rest"), exports);
18
19
  __exportStar(require("./uninstall"), exports);
20
+ // NOTE raw request body is required for Shopify webhook validation
21
+ const getAPIConfig = (config) => ({
22
+ api: Object.assign({ bodyParser: false }, config),
23
+ });
24
+ exports.getAPIConfig = getAPIConfig;
19
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handlers/api/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsB;AACtB,6CAA0B;AAC1B,0CAAuB;AACvB,0CAAuB;AACvB,yCAAsB;AACtB,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handlers/api/index.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAAsB;AACtB,6CAA0B;AAC1B,0CAAuB;AACvB,0CAAuB;AACvB,yCAAsB;AACtB,8CAA2B;AAE3B,mEAAmE;AAC5D,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvC,GAAG,kBACD,UAAU,EAAE,KAAK,IACd,MAAM,CACV;CACF,CAAC,CAAA;AALW,QAAA,YAAY,gBAKvB"}
@@ -3,6 +3,5 @@ export * from "./constants";
3
3
  export * from "./display";
4
4
  export * from "./errors";
5
5
  export * from "./firebase";
6
- export * from "./response";
7
6
  export * from "./session";
8
7
  export * from "./shopify";
@@ -15,7 +15,6 @@ __exportStar(require("./constants"), exports);
15
15
  __exportStar(require("./display"), exports);
16
16
  __exportStar(require("./errors"), exports);
17
17
  __exportStar(require("./firebase"), exports);
18
- __exportStar(require("./response"), exports);
19
18
  __exportStar(require("./session"), exports);
20
19
  __exportStar(require("./shopify"), exports);
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,4CAAyB;AACzB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,4CAAyB;AACzB,2CAAwB;AACxB,6CAA0B;AAC1B,4CAAyB;AACzB,4CAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agnostack/next-shopify",
3
- "version": "1.7.1-beta.26",
3
+ "version": "1.7.1-beta.27",
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",
@@ -1,3 +0,0 @@
1
- export function getAPIConfig(config: any): {
2
- api: any;
3
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAPIConfig = void 0;
4
- // NOTE raw request body is required for Shopify webhook validation
5
- const getAPIConfig = (config) => ({
6
- api: Object.assign({ bodyParser: false }, config),
7
- });
8
- exports.getAPIConfig = getAPIConfig;
9
- //# sourceMappingURL=response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../src/utils/response.js"],"names":[],"mappings":";;;AAAA,mEAAmE;AAC5D,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvC,GAAG,kBACD,UAAU,EAAE,KAAK,IACd,MAAM,CACV;CACF,CAAC,CAAA;AALW,QAAA,YAAY,gBAKvB"}