@agnostack/next-shopify 1.7.0-alpha.2 → 1.7.0-alpha.21

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.
Files changed (46) hide show
  1. package/dist/handlers/api.js +31 -14
  2. package/dist/handlers/api.js.map +1 -1
  3. package/dist/handlers/ssr.d.ts +1 -10
  4. package/dist/handlers/ssr.js +18 -15
  5. package/dist/handlers/ssr.js.map +1 -1
  6. package/dist/helpers/auth.d.ts +1 -9
  7. package/dist/helpers/auth.js +19 -11
  8. package/dist/helpers/auth.js.map +1 -1
  9. package/dist/helpers/callback.d.ts +1 -4
  10. package/dist/helpers/callback.js +35 -28
  11. package/dist/helpers/callback.js.map +1 -1
  12. package/dist/helpers/graph.d.ts +1 -1
  13. package/dist/helpers/graph.js +3 -5
  14. package/dist/helpers/graph.js.map +1 -1
  15. package/dist/helpers/rest.js +6 -9
  16. package/dist/helpers/rest.js.map +1 -1
  17. package/dist/helpers/uninstall.js +10 -16
  18. package/dist/helpers/uninstall.js.map +1 -1
  19. package/dist/utils/billing.d.ts +11 -20
  20. package/dist/utils/billing.js +52 -190
  21. package/dist/utils/billing.js.map +1 -1
  22. package/dist/utils/constants.d.ts +4 -5
  23. package/dist/utils/constants.js +4 -72
  24. package/dist/utils/constants.js.map +1 -1
  25. package/dist/utils/display.d.ts +1 -1
  26. package/dist/utils/firebase.d.ts +13 -6
  27. package/dist/utils/firebase.js +35 -39
  28. package/dist/utils/firebase.js.map +1 -1
  29. package/dist/utils/index.d.ts +0 -1
  30. package/dist/utils/index.js +0 -1
  31. package/dist/utils/index.js.map +1 -1
  32. package/dist/utils/session.d.ts +16 -11
  33. package/dist/utils/session.js +45 -34
  34. package/dist/utils/session.js.map +1 -1
  35. package/dist/utils/shopify-api-node/beginAuth.js +3 -2
  36. package/dist/utils/shopify-api-node/beginAuth.js.map +1 -1
  37. package/dist/utils/shopify.d.ts +4 -3
  38. package/dist/utils/shopify.js +49 -15
  39. package/dist/utils/shopify.js.map +1 -1
  40. package/dist/withShopify.js +15 -17
  41. package/dist/withShopify.js.map +1 -1
  42. package/package.json +1 -1
  43. package/CHANGELOG.md +0 -469
  44. package/dist/utils/webhooks.d.ts +0 -1
  45. package/dist/utils/webhooks.js +0 -22
  46. package/dist/utils/webhooks.js.map +0 -1
package/CHANGELOG.md DELETED
@@ -1,469 +0,0 @@
1
- # [1.7.0-alpha.2](https://github.com/agnostack/next-shopify/compare/v1.7.0-alpha.1...v1.7.0-alpha.2) (2023-05-22)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * updates for rawBodyConfig ([69a177b](https://github.com/agnostack/next-shopify/commit/69a177b014a1c28091047d5644f9ecee769893e8))
7
-
8
- # [1.7.0-alpha.1](https://github.com/agnostack/next-shopify/compare/v1.6.0...v1.7.0-alpha.1) (2023-05-22)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * add logging ([265411d](https://github.com/agnostack/next-shopify/commit/265411d490c58ea6bb7eef4e99af2f660f535903))
14
- * add logging ([705576c](https://github.com/agnostack/next-shopify/commit/705576cfd57e55e42e052a6c514c985d4807e751))
15
- * add logging ([de1a42a](https://github.com/agnostack/next-shopify/commit/de1a42a8d9419e368f1f03c7959b2182008484f8))
16
- * add logging ([de906bc](https://github.com/agnostack/next-shopify/commit/de906bc1c53bb925665e9b8e3fa6b0fe96d11015))
17
- * add logging ([f83f67c](https://github.com/agnostack/next-shopify/commit/f83f67c841008e89155c7daf524590c85f4434db))
18
- * add logging ([937c9b9](https://github.com/agnostack/next-shopify/commit/937c9b91c10438c770885cada2751acd41004686))
19
- * add logging ([129c949](https://github.com/agnostack/next-shopify/commit/129c9495989a3b4f0baa11a1b4fc413752af3998))
20
- * add logging ([d6ed80a](https://github.com/agnostack/next-shopify/commit/d6ed80a18daef00d78f4811d64ac166bef066261))
21
- * add logging ([d8b9c87](https://github.com/agnostack/next-shopify/commit/d8b9c878f6d547c57a601961ef74dd1d4fa99c56))
22
- * add logging ([7678d08](https://github.com/agnostack/next-shopify/commit/7678d08b51cfb5d744d61e7946f228adbc19db6f))
23
- * add logging ([6d615ed](https://github.com/agnostack/next-shopify/commit/6d615edc85b58b84e0055d04d1af6326ed4a34f0))
24
- * add logging ([cffd724](https://github.com/agnostack/next-shopify/commit/cffd7248ddf0430b7b98dffdaa9c10919dc5d641))
25
- * add logging ([c6aed0d](https://github.com/agnostack/next-shopify/commit/c6aed0d600b871bed88bcd19183e2431b675235d))
26
- * add logging ([5ddffee](https://github.com/agnostack/next-shopify/commit/5ddffeef58bc9fa7c7670bcfdd003abfe060e8f7))
27
- * add logging ([645ebcd](https://github.com/agnostack/next-shopify/commit/645ebcda460f68ac7e74f2478b08a0b2f513487b))
28
- * add logging ([323b262](https://github.com/agnostack/next-shopify/commit/323b26274ac308b42f12b4d0edc4beb64ae736d3))
29
- * add logging ([ef561cc](https://github.com/agnostack/next-shopify/commit/ef561cc4b1006aed5d8b2f58bd2feebf500a42c5))
30
- * add logging ([d1464f9](https://github.com/agnostack/next-shopify/commit/d1464f93838a404cdff02ed3d4667970d219bf88))
31
- * add logging ([327f694](https://github.com/agnostack/next-shopify/commit/327f6943b13813232d4a4c690b8b5a06a6357b77))
32
- * add logging ([96d6ee0](https://github.com/agnostack/next-shopify/commit/96d6ee097b0fa5628c8f0e1eecef07741f1a30e1))
33
- * add logging ([f64a3a0](https://github.com/agnostack/next-shopify/commit/f64a3a0914f121306c0dfb83a234635489a0950b))
34
- * add logging ([cd5bade](https://github.com/agnostack/next-shopify/commit/cd5badec1bf62e8b717862e3360d36b0822645dd))
35
- * add logging ([165e10d](https://github.com/agnostack/next-shopify/commit/165e10dc6bdb49a8d5d7e886e1fd2118a9348600))
36
- * add logging ([90f2f93](https://github.com/agnostack/next-shopify/commit/90f2f9319a2d7e59e756ea556fa6dc9526fa8ac1))
37
- * add logging ([7b3db91](https://github.com/agnostack/next-shopify/commit/7b3db91448e5c5de207cf6f4f501755b50d612ca))
38
- * add logging ([e9fc407](https://github.com/agnostack/next-shopify/commit/e9fc40732b06eae38491475c2919b445bab74c7b))
39
- * add logging ([6607c9b](https://github.com/agnostack/next-shopify/commit/6607c9b6a424a2cc66c0a906ff437da376f8ee09))
40
- * add logging ([1423104](https://github.com/agnostack/next-shopify/commit/142310458b0c10a35ceed3f93d38180b8e3a1724))
41
- * add logging ([f6660cc](https://github.com/agnostack/next-shopify/commit/f6660cc569a08fc9dc8fdabeb3b71c70d4d388d5))
42
- * add logging ([78de0db](https://github.com/agnostack/next-shopify/commit/78de0db8e187438813eda6c08a70cf24ac4f8ed3))
43
- * add logging ([6b0372a](https://github.com/agnostack/next-shopify/commit/6b0372a0280408c9db5280d57781a7c237759aeb))
44
- * add logging ([308917a](https://github.com/agnostack/next-shopify/commit/308917a5f8dcd4518a379d0e008c6668b09555d9))
45
- * add logging ([a29588d](https://github.com/agnostack/next-shopify/commit/a29588df55baed13aa76cfea155558bf7eb8f5d7))
46
- * add logging ([030fb20](https://github.com/agnostack/next-shopify/commit/030fb20dd456d08235b504c5fd818a1ab55a1670))
47
- * add logging ([68480c4](https://github.com/agnostack/next-shopify/commit/68480c41582219449918f2a8456e5d9fbdac6a82))
48
- * add logging ([c52baf1](https://github.com/agnostack/next-shopify/commit/c52baf1fa3eab2e3a05bc5ed1e1272c3053e3fdb))
49
- * add logging ([52be76a](https://github.com/agnostack/next-shopify/commit/52be76ad59f4f2f8e32cb18c1a9463f5908dc027))
50
- * add logging ([bfe8015](https://github.com/agnostack/next-shopify/commit/bfe8015cecf5be46e2d226f54bf973c3ff08c9a7))
51
- * add logging ([963f987](https://github.com/agnostack/next-shopify/commit/963f987c0ea2c3bb3c527b51b365be779fd8aa5e))
52
- * add logging ([f5f8808](https://github.com/agnostack/next-shopify/commit/f5f8808069be00a2e6406f72ef34606ded0685be))
53
- * add logging ([7b60454](https://github.com/agnostack/next-shopify/commit/7b604542595f2a3dd97b74d0b2a1f2d8721da04b))
54
- * add logging ([f7f684d](https://github.com/agnostack/next-shopify/commit/f7f684d3a0f42cedb00cbadd3a2a2ac4a712b45b))
55
- * add logging ([f0aff34](https://github.com/agnostack/next-shopify/commit/f0aff340e365d09caed8001ea912d93c91bba4cd))
56
- * add logging ([430d57e](https://github.com/agnostack/next-shopify/commit/430d57e35fabcf37676e3271e02ef48821b9ee8a))
57
- * add logging ([d73470f](https://github.com/agnostack/next-shopify/commit/d73470f995f12fb947bdfed550b64cac43f5ba93))
58
- * add logging ([481a9cb](https://github.com/agnostack/next-shopify/commit/481a9cb814410290c62c74c01acfbe76564c05f2))
59
- * add logging ([9ebb589](https://github.com/agnostack/next-shopify/commit/9ebb5893134bd5709cd229a1f1706c0268cbe4c2))
60
- * add logging ([3cf8d24](https://github.com/agnostack/next-shopify/commit/3cf8d2493bbbd7d73ca668e0852699fb9f14d50e))
61
- * add logging ([a33718e](https://github.com/agnostack/next-shopify/commit/a33718e6eca757ff340262c12242725941d3ad6b))
62
- * add logging ([36d473a](https://github.com/agnostack/next-shopify/commit/36d473ae77e8ef255f4b610ebc01a354a107157e))
63
- * add logging ([0a6848f](https://github.com/agnostack/next-shopify/commit/0a6848f1dd51cda45ba75e950bcdcb40387905dc))
64
- * add logging ([831f4d9](https://github.com/agnostack/next-shopify/commit/831f4d9cc72b4b16bf829344bdfc7a60b5c0c1d9))
65
- * add logging ([9d725f6](https://github.com/agnostack/next-shopify/commit/9d725f604de8e270ebc4aa539da0232936f3d40e))
66
- * add logging ([95718c1](https://github.com/agnostack/next-shopify/commit/95718c17c2dfec8c548004b28e652bbd31085c9c))
67
- * add logging ([37d6d95](https://github.com/agnostack/next-shopify/commit/37d6d95da5ff54eeef48a16de3d7664d7f57695f))
68
- * add logging ([c44158b](https://github.com/agnostack/next-shopify/commit/c44158be1c9afd151e7b77fbf5eee3061eac8276))
69
- * add logging ([1114232](https://github.com/agnostack/next-shopify/commit/1114232b163c674c38c1ff590a06a26692579dcc))
70
- * add logging ([118103c](https://github.com/agnostack/next-shopify/commit/118103c5e2925729758286b0756b81e68c23de2e))
71
- * add logging ([51a1359](https://github.com/agnostack/next-shopify/commit/51a1359da93329a1eac494d928780a9d44820a05))
72
- * add logging 2 ([9d5135a](https://github.com/agnostack/next-shopify/commit/9d5135a4ed8ca167c2d47f43512bc3104955c877))
73
- * add logging 2 ([6a90e72](https://github.com/agnostack/next-shopify/commit/6a90e72ab4df36f1bfdd4c541ee7b17c1a2ff2d1))
74
- * add logging 3 ([f226a38](https://github.com/agnostack/next-shopify/commit/f226a38fbf8a3b1203ec126e78e16d080463cb04))
75
- * add logging 3 ([7985cae](https://github.com/agnostack/next-shopify/commit/7985caebed56e2d81db67240e27b4207906588c0))
76
- * add logging 3 ([0f298a8](https://github.com/agnostack/next-shopify/commit/0f298a893320566b05068f03021cbea468314bf8))
77
- * add logging 3 ([e837d01](https://github.com/agnostack/next-shopify/commit/e837d0187a25cacd0096d7e0df2244909567dd7f))
78
- * add logging 3 ([e01329b](https://github.com/agnostack/next-shopify/commit/e01329b6377afb9878b81c1d69aea95e3dcd945c))
79
- * add logging 3 ([a256e9f](https://github.com/agnostack/next-shopify/commit/a256e9f3b97c3474055344f00bb97f45a64231d2))
80
- * added new query ([576a4d3](https://github.com/agnostack/next-shopify/commit/576a4d30d769902eaaa75b611e2312926f4a8858))
81
- * cleanup ([383ee16](https://github.com/agnostack/next-shopify/commit/383ee1610b555c006bb99a2f5110af6b8e28cd30))
82
- * linting ([8edb6f5](https://github.com/agnostack/next-shopify/commit/8edb6f56b5554b28874563c75a3f0a367acfe462))
83
- * updated to add APP_ID as param ([93f355f](https://github.com/agnostack/next-shopify/commit/93f355f7190516e640a538adaaf9b76377bb9a34))
84
-
85
-
86
- ### Features
87
-
88
- * add logging ([dcaf35a](https://github.com/agnostack/next-shopify/commit/dcaf35a49546e2d80484439a7acdaa645e911b77))
89
- * add logging ([5330b23](https://github.com/agnostack/next-shopify/commit/5330b233fec7d33c2fdb8d785e910c70084a4b1b))
90
- * add logs ([aa77546](https://github.com/agnostack/next-shopify/commit/aa7754605f893028efb4a94fab9fd3f9076a8dca))
91
-
92
- # [1.6.0](https://github.com/agnostack/next-shopify/compare/v1.5.4...v1.6.0) (2023-05-19)
93
-
94
-
95
- ## [1.5.4](https://github.com/agnostack/next-shopify/compare/v1.5.3...v1.5.4) (2022-12-13)
96
-
97
-
98
- ### Bug Fixes
99
-
100
- * debug ([f73b563](https://github.com/agnostack/next-shopify/commit/f73b5635e44583ebb1b69871a2598e56a2923e5f))
101
- * debugging ([fd0a5cf](https://github.com/agnostack/next-shopify/commit/fd0a5cf558c939140dce1c786e8691366e69c6ef))
102
- * logging ([dff02c3](https://github.com/agnostack/next-shopify/commit/dff02c32477652bb541451f0a0e42638601cffdb))
103
- * name update ([200862f](https://github.com/agnostack/next-shopify/commit/200862f7390bf588170a2bc16ffc49adfff69cc0))
104
- * remove log ([0f4801a](https://github.com/agnostack/next-shopify/commit/0f4801a5adb87956b3ceccfdc56c6c5d2996d6da))
105
- * update changelog ([2cbd35a](https://github.com/agnostack/next-shopify/commit/2cbd35ab87aebaa8b57e8260e37b22f29e219d8f))
106
- * updated logs ([9abfe32](https://github.com/agnostack/next-shopify/commit/9abfe326ed7e0e16690064040498421a855c8e76))
107
- * updates ([a1040ca](https://github.com/agnostack/next-shopify/commit/a1040cafa68088dc80710abd1a09b3daab6e9626))
108
-
109
- ## [1.5.4-alpha.4](https://github.com/agnostack/next-shopify/compare/v1.5.4-alpha.3...v1.5.4-alpha.4) (2022-12-13)
110
-
111
-
112
- ### Bug Fixes
113
-
114
- * name update ([200862f](https://github.com/agnostack/next-shopify/commit/200862f7390bf588170a2bc16ffc49adfff69cc0))
115
-
116
- ## [1.5.4-alpha.3](https://github.com/agnostack/next-shopify/compare/v1.5.4-alpha.2...v1.5.4-alpha.3) (2022-12-13)
117
-
118
-
119
- ### Bug Fixes
120
-
121
- * updates ([a1040ca](https://github.com/agnostack/next-shopify/commit/a1040cafa68088dc80710abd1a09b3daab6e9626))
122
-
123
- ## [1.5.4-alpha.2](https://github.com/agnostack/next-shopify/compare/v1.5.4-alpha.1...v1.5.4-alpha.2) (2022-12-13)
124
-
125
-
126
- ### Bug Fixes
127
-
128
- * logging ([dff02c3](https://github.com/agnostack/next-shopify/commit/dff02c32477652bb541451f0a0e42638601cffdb))
129
-
130
- ## [1.5.4-alpha.1](https://github.com/agnostack/next-shopify/compare/v1.5.3...v1.5.4-alpha.1) (2022-12-13)
131
-
132
-
133
- ### Bug Fixes
134
-
135
- * debug ([f73b563](https://github.com/agnostack/next-shopify/commit/f73b5635e44583ebb1b69871a2598e56a2923e5f))
136
- * debugging ([fd0a5cf](https://github.com/agnostack/next-shopify/commit/fd0a5cf558c939140dce1c786e8691366e69c6ef))
137
- * update changelog ([2cbd35a](https://github.com/agnostack/next-shopify/commit/2cbd35ab87aebaa8b57e8260e37b22f29e219d8f))
138
- * updated logs ([9abfe32](https://github.com/agnostack/next-shopify/commit/9abfe326ed7e0e16690064040498421a855c8e76))
139
-
140
- ## [1.5.3](https://github.com/agnostack/next-shopify/compare/v1.5.2...v1.5.3) (2022-11-30)
141
-
142
-
143
- ### Bug Fixes
144
-
145
- * removed logs ([7475924](https://github.com/agnostack/next-shopify/commit/7475924baa1c24337dc7d620d64c3354ab98f9bb))
146
-
147
- ## [1.5.2](https://github.com/agnostack/next-shopify/compare/v1.5.1...v1.5.2) (2022-11-30)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * updated logs ([aa95cd9](https://github.com/agnostack/next-shopify/commit/aa95cd96ae04dd9a2ea3c92a9eb2625eb20b4395))
153
- * updated logs ([f13d27d](https://github.com/agnostack/next-shopify/commit/f13d27df15fefd3a7e64bc43262446cfc78dffc3))
154
-
155
- ## [1.5.1](https://github.com/agnostack/next-shopify/compare/v1.5.0...v1.5.1) (2022-11-30)
156
-
157
-
158
- ### Bug Fixes
159
-
160
- * updated to add logs ([3e5c200](https://github.com/agnostack/next-shopify/commit/3e5c200311e4dc2dcbeebd8f89fca8f6e5ea9331))
161
- * updated to add logs ([210ca86](https://github.com/agnostack/next-shopify/commit/210ca8616b151fd0dd573a0951ad8819cc0c2f59))
162
-
163
- # [1.5.0](https://github.com/agnostack/next-shopify/compare/v1.4.10...v1.5.0) (2022-11-29)
164
-
165
-
166
- ### Features
167
-
168
- * fixed graphHelper ([5f92f13](https://github.com/agnostack/next-shopify/commit/5f92f13ca5ef7325a233f1570831d430002d02bf))
169
-
170
- ## [1.4.10](https://github.com/agnostack/next-shopify/compare/v1.4.9...v1.4.10) (2022-11-29)
171
-
172
-
173
- ### Bug Fixes
174
-
175
- * updated JSON parse ([4ac5608](https://github.com/agnostack/next-shopify/commit/4ac560800c5cd12ac324917456abf5f32977dbcd))
176
-
177
- ## [1.4.9](https://github.com/agnostack/next-shopify/compare/v1.4.8...v1.4.9) (2022-11-29)
178
-
179
-
180
- ### Bug Fixes
181
-
182
- * added ERROR_CODES constants ([842495e](https://github.com/agnostack/next-shopify/commit/842495e6b8763b06ba65230c66640b60d24073af))
183
-
184
- ## [1.4.8](https://github.com/agnostack/next-shopify/compare/v1.4.7...v1.4.8) (2022-11-28)
185
-
186
-
187
- ### Bug Fixes
188
-
189
- * testing session fallback ([4dbaf67](https://github.com/agnostack/next-shopify/commit/4dbaf67e5adc1b9bbcaefd04c588b34cab6ab1d6))
190
-
191
- ## [1.4.7](https://github.com/agnostack/next-shopify/compare/v1.4.6...v1.4.7) (2022-11-28)
192
-
193
-
194
- ### Bug Fixes
195
-
196
- * testing session fallback ([1f569dd](https://github.com/agnostack/next-shopify/commit/1f569dd8bb71bb128aa42b723ae771387d7b2397))
197
-
198
- ## [1.4.6](https://github.com/agnostack/next-shopify/compare/v1.4.5...v1.4.6) (2022-11-23)
199
-
200
-
201
- ### Bug Fixes
202
-
203
- * moved to stringEmpty ([b8aebb5](https://github.com/agnostack/next-shopify/commit/b8aebb574ae951a16fb80df8c2d756a50674f9c3))
204
- * updated to remove logs ([b29755f](https://github.com/agnostack/next-shopify/commit/b29755f4c459e7c85ea0cf1c502fc096d33d3617))
205
-
206
- ## [1.4.5](https://github.com/agnostack/next-shopify/compare/v1.4.4...v1.4.5) (2022-11-23)
207
-
208
-
209
- ### Bug Fixes
210
-
211
- * wip testing ([3bda4b6](https://github.com/agnostack/next-shopify/commit/3bda4b6eab70f335a472bd126ad7c02d86e8df0e))
212
-
213
- ## [1.4.4](https://github.com/agnostack/next-shopify/compare/v1.4.3...v1.4.4) (2022-11-23)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * updated query handling ([72367bc](https://github.com/agnostack/next-shopify/commit/72367bc21e9036b4e2643f172f93a8133b7bdff4))
219
-
220
- ## [1.4.3](https://github.com/agnostack/next-shopify/compare/v1.4.2...v1.4.3) (2022-11-23)
221
-
222
-
223
- ### Bug Fixes
224
-
225
- * updates ([5638c05](https://github.com/agnostack/next-shopify/commit/5638c056d920251b82c1dc3461be334c3e458bf4))
226
- * wip, testing ([6e0b21c](https://github.com/agnostack/next-shopify/commit/6e0b21c1dab0210c1a92646de21f864c05f6626b))
227
-
228
- ## [1.4.2](https://github.com/agnostack/next-shopify/compare/v1.4.1...v1.4.2) (2022-11-22)
229
-
230
-
231
- ### Bug Fixes
232
-
233
- * updated getAuthErrorResponse ([8f3e9b1](https://github.com/agnostack/next-shopify/commit/8f3e9b19bcdeb7f3d2d760a0255faaf259fa27d8))
234
- * updated responses as JSON ([4088961](https://github.com/agnostack/next-shopify/commit/408896129437cb3d1e4d587f80fef3d1ec6c4be8))
235
-
236
- ## [1.4.1](https://github.com/agnostack/next-shopify/compare/v1.4.0...v1.4.1) (2022-11-22)
237
-
238
-
239
- ### Bug Fixes
240
-
241
- * updated default value ([501fc61](https://github.com/agnostack/next-shopify/commit/501fc61d2ec13b6e1a65f2d1acbae2d7d3c620f6))
242
-
243
- # [1.4.0](https://github.com/agnostack/next-shopify/compare/v1.3.1...v1.4.0) (2022-11-21)
244
-
245
-
246
- ### Bug Fixes
247
-
248
- * add ensureSecurityHeader ([667abc1](https://github.com/agnostack/next-shopify/commit/667abc1bef3c39583c57ff41b13c5b86ba7bd722))
249
- * add setData to FBSessionHandler ([36695b3](https://github.com/agnostack/next-shopify/commit/36695b3eda89126748cf5dd27604a8fe6817b4c4))
250
- * add uninstall ([bb6837d](https://github.com/agnostack/next-shopify/commit/bb6837d139ae28d93ebcceceb55fccc072acf442))
251
- * change cookie sameSite to none ([f20a167](https://github.com/agnostack/next-shopify/commit/f20a16709f25775d0fb79a2a551998466b806c28))
252
- * cleanup ([b9719c0](https://github.com/agnostack/next-shopify/commit/b9719c07f6aed42cfd0204fb4d66558fd2081796))
253
- * debug ([0e5f0e2](https://github.com/agnostack/next-shopify/commit/0e5f0e2a0ca251844dce10ca152b0efad918a243))
254
- * debug ([f3724d8](https://github.com/agnostack/next-shopify/commit/f3724d864e173d1b31d3822004fd75ac28d47a0e))
255
- * debug ([69170ff](https://github.com/agnostack/next-shopify/commit/69170fffdcfe84044df6ce3f575dbfbaabe4f60a))
256
- * debug ([4a886a4](https://github.com/agnostack/next-shopify/commit/4a886a4bb88c675a52e40aee121d4424666ab524))
257
- * debug ([069c0dd](https://github.com/agnostack/next-shopify/commit/069c0dd9526b801267ac0998e557240ddd423612))
258
- * debug ([61a69ba](https://github.com/agnostack/next-shopify/commit/61a69ba063f5bfe8673c9b4fbc29bdca4647ea09))
259
- * debug ([d4767a7](https://github.com/agnostack/next-shopify/commit/d4767a7e8757a8f755b41aadb525fa14423f9f02))
260
- * debug ([ae1bbf6](https://github.com/agnostack/next-shopify/commit/ae1bbf68b809e5574328e6e315d49d1033d8f15f))
261
- * debug ([cd9b4e6](https://github.com/agnostack/next-shopify/commit/cd9b4e6985a1fc86ab953b2441e19ba4ac4b6c99))
262
- * debug ([34899ff](https://github.com/agnostack/next-shopify/commit/34899ff59cc2d9826de31508051cfe9c9a6269f5))
263
- * debug ([f8e415f](https://github.com/agnostack/next-shopify/commit/f8e415f1cd34743b5e26603065addb87d1a3fa54))
264
- * debug routes ([987e28c](https://github.com/agnostack/next-shopify/commit/987e28c4989f004364b182cd7065be48e53e81b4))
265
- * debug routes ([cefaf73](https://github.com/agnostack/next-shopify/commit/cefaf731a34f758545574339509a8196e84a87bf))
266
- * debugging ([1f6b379](https://github.com/agnostack/next-shopify/commit/1f6b379204bda2616b32d08efedb1a87f2855c75))
267
- * file cleanup ([4d7d26a](https://github.com/agnostack/next-shopify/commit/4d7d26a65d5c9d92a89a0f26c13c99af9462bdf3))
268
- * file cleanup ([dfe8efb](https://github.com/agnostack/next-shopify/commit/dfe8efb34ef8a6ef37ccd38aa6d69c258c14282e))
269
- * fix import path ([05317aa](https://github.com/agnostack/next-shopify/commit/05317aab6868a6428d5d141d0f69cd22b1667a11))
270
- * headers ([d039f3c](https://github.com/agnostack/next-shopify/commit/d039f3caf53d884bc7104427084d5ee536c43523))
271
- * make it stop ([394182e](https://github.com/agnostack/next-shopify/commit/394182e9f9ebbd4826ac7a173b3fff0b18046cba))
272
- * modfy wrapRoute ([3ae2f72](https://github.com/agnostack/next-shopify/commit/3ae2f72db314d0b6b37af2fbd91916fa1e0a83aa))
273
- * modify clear cookie approach ([c0a0dc5](https://github.com/agnostack/next-shopify/commit/c0a0dc5ef3e5c08bc8a663f937c232825ee8df0f))
274
- * modify header rules ([fc0b4a3](https://github.com/agnostack/next-shopify/commit/fc0b4a3900a8b2556fbcf68fabd874f4df21c00f))
275
- * modify header rules ([53983bb](https://github.com/agnostack/next-shopify/commit/53983bb7b888a55c96de6e0c3f6f9dd6930be98c))
276
- * modify headers ([4848edf](https://github.com/agnostack/next-shopify/commit/4848edf4b275f1ab08aaec54f4a792d4c53d6e15))
277
- * query ([b7795ce](https://github.com/agnostack/next-shopify/commit/b7795ce72f54cd7ba608d852bb236f0e2aeffbb1))
278
- * refactor hasActivePayment ([7bb350e](https://github.com/agnostack/next-shopify/commit/7bb350e50a9f84aa84907c4fa8c6cba1e8dd2544))
279
- * refactor hasActivePayment ([aa303c9](https://github.com/agnostack/next-shopify/commit/aa303c9a28e24e2939acf1378b8e324d22720669))
280
- * rename ([f99a48f](https://github.com/agnostack/next-shopify/commit/f99a48f5a064cc5fe12e3492c99dcb18fa62b6c0))
281
- * rename ([992f2dd](https://github.com/agnostack/next-shopify/commit/992f2dde10bf92f8e8eec2c337f15ccf7f52e93e))
282
- * return from wrapRoute ([d3a4b28](https://github.com/agnostack/next-shopify/commit/d3a4b28ea1e0002321cd5bdd6756bc67dd25a7a9))
283
- * return from wrapRoute ([0423342](https://github.com/agnostack/next-shopify/commit/0423342eee38103af98c4fb9ca317aaf865ec288))
284
- * revert ([182fef5](https://github.com/agnostack/next-shopify/commit/182fef5a837219e0a6b8babff9b4ac2e309020df))
285
- * revert sameSite lax ([ca1b6dd](https://github.com/agnostack/next-shopify/commit/ca1b6ddc895b812768090074a39b39f6848b4b7e))
286
- * the never ending debugging process ([09eb418](https://github.com/agnostack/next-shopify/commit/09eb418be5c10f644eb2c485aa6339e1c8c687a3))
287
- * update shopify version ([c5fece0](https://github.com/agnostack/next-shopify/commit/c5fece029cd870ce1a502343a707c6c42b7051c4))
288
- * updated to add logs ([6500277](https://github.com/agnostack/next-shopify/commit/65002779ac3870791a0ec230d11a770b8fd0f0e3))
289
- * use rest with version ([b2f6320](https://github.com/agnostack/next-shopify/commit/b2f6320ef51d69554d5ae6193b878d656528da0d))
290
- * use sameSite lax ([28a5fed](https://github.com/agnostack/next-shopify/commit/28a5fed2e512049c66ede168911c089d0e092bb8))
291
-
292
-
293
- ### Features
294
-
295
- * revamped Firebase calls ([33a56c1](https://github.com/agnostack/next-shopify/commit/33a56c1a0a6b972b5523d3cbe911e14c3df415d2))
296
-
297
- ## [1.3.1](https://github.com/agnostack/next-shopify/compare/v1.3.0...v1.3.1) (2022-11-15)
298
-
299
- ### Bug Fixes
300
-
301
- * add appId ([27d4517](https://github.com/agnostack/next-shopify/commit/27d4517b64873e8e475448e91d8eeff1ca5e23a3))
302
- * add BillingError check to callbackHandler ([979a07b](https://github.com/agnostack/next-shopify/commit/979a07b5571cb31c7763b4feef41f12c0d487a0a))
303
- * add callback redirects ([ab4d7e1](https://github.com/agnostack/next-shopify/commit/ab4d7e146c76d0233fdcb957939a664ece1049c5))
304
- * add security headers ([70b1c88](https://github.com/agnostack/next-shopify/commit/70b1c88aec65be6cbb0699a8f03134af6487d690))
305
- * cleaned up changelog ([7f5c6a4](https://github.com/agnostack/next-shopify/commit/7f5c6a46e52cb7d52ba618fbc15e66b1be435c10))
306
- * cleanup ([07459b4](https://github.com/agnostack/next-shopify/commit/07459b42d11f9a21fc3092b988fe22ef3b469a12))
307
- * cleanup ([2b13ff2](https://github.com/agnostack/next-shopify/commit/2b13ff2c4d3c6d5f51e96c39b36b0b7b4a0a9e8a))
308
- * cleanup ([55ef76b](https://github.com/agnostack/next-shopify/commit/55ef76b46541079df857b3352eb7bb28ce79ce6c))
309
- * cleanup ([e826ebc](https://github.com/agnostack/next-shopify/commit/e826ebc9869c8e550dcb6c47e6ec03691020833b))
310
- * debugging ([0478539](https://github.com/agnostack/next-shopify/commit/047853922ca9a3ab0b4c52f893b5e0e7020ba634))
311
- * debugging ([74d3272](https://github.com/agnostack/next-shopify/commit/74d3272e4ce27197ffabd476d96d7d8eb664cb03))
312
- * debugging ([96256bb](https://github.com/agnostack/next-shopify/commit/96256bb9cab6fc8754a2253e06ffedd2e44fe9f3))
313
- * debugging ([0ff555f](https://github.com/agnostack/next-shopify/commit/0ff555fbfdac1264167f0974e84248d9bb52150b))
314
- * debugging ([d561951](https://github.com/agnostack/next-shopify/commit/d5619517bed5283a17fc6dad12e83172969a0c69))
315
- * debugging ([9f8c616](https://github.com/agnostack/next-shopify/commit/9f8c616ee5f39753c48df3b6161ffbd92dcf0f38))
316
- * debugging ([07cda43](https://github.com/agnostack/next-shopify/commit/07cda432e2c9048be634449277c61d805dcdd67b))
317
- * debugging ([cb24738](https://github.com/agnostack/next-shopify/commit/cb24738e3b18cbc109410dc6a1e44d27835c9ad6))
318
- * error handling ([448eb17](https://github.com/agnostack/next-shopify/commit/448eb17c6ea736b0fc8e2be133077a3de42d9260))
319
- * existingCharge syntax ([e6fc173](https://github.com/agnostack/next-shopify/commit/e6fc1732dff0203674c2234f5da41d3c58cacd8e))
320
- * modify headers ([a34d5e8](https://github.com/agnostack/next-shopify/commit/a34d5e8a657ff19a18dac7a61a2801ee33730ed8))
321
- * modify headers ([1b4525c](https://github.com/agnostack/next-shopify/commit/1b4525c6a48e2726a96af719fdb21a2014f74c8a))
322
- * modify headers ([bda72b9](https://github.com/agnostack/next-shopify/commit/bda72b98e653dd07a48d73eca2696e24aee35a39))
323
- * modify headers ([3a28664](https://github.com/agnostack/next-shopify/commit/3a28664d64464ac46ae2234eb73120995c87b735))
324
- * modify headers ([6a849f6](https://github.com/agnostack/next-shopify/commit/6a849f645ebe939d543b95cb11747b98e7cf4bba))
325
- * modify headers ([871ceef](https://github.com/agnostack/next-shopify/commit/871ceefddbec30ea081874ca9d51b41cec8ecbea))
326
- * modify headers ([fb206c7](https://github.com/agnostack/next-shopify/commit/fb206c7329f915a9eea939ede9d6d53648d2f332))
327
- * modify headers ([9c91680](https://github.com/agnostack/next-shopify/commit/9c9168052c12fd321640c8803bed70490fcb73ab))
328
- * modify headers ([0b8a429](https://github.com/agnostack/next-shopify/commit/0b8a42977155cca02861fa89d986bc7710690d1f))
329
- * modify headers ([c9e083c](https://github.com/agnostack/next-shopify/commit/c9e083cf0688e8b61baaa28a7500ff6eb099ce9b))
330
- * modify headers ([b685777](https://github.com/agnostack/next-shopify/commit/b68577720a619888cfbc8ead17d39d39f8d780a2))
331
- * modify headers ([0f7f42c](https://github.com/agnostack/next-shopify/commit/0f7f42c612efc1f432c45f0773b089a3a77ef818))
332
- * modify headers ([8ca49b9](https://github.com/agnostack/next-shopify/commit/8ca49b95a3334be2198687c022971fcf9e7fce5c))
333
- * modify headers ([d6ec5b4](https://github.com/agnostack/next-shopify/commit/d6ec5b45b0120741173650033a600c6d96522b09))
334
- * modify headers ([dbf1ef6](https://github.com/agnostack/next-shopify/commit/dbf1ef639de33e54ded2c2569faf0fccdb85203e))
335
- * modify headers ([32f8797](https://github.com/agnostack/next-shopify/commit/32f87973cf6046575b314a4a3eca84befb4dfdf6))
336
- * modify headers ([7838ed3](https://github.com/agnostack/next-shopify/commit/7838ed3cf6067818718306561e3d6206ce049f80))
337
- * modify headers ([eefd83b](https://github.com/agnostack/next-shopify/commit/eefd83bed1815ff57479a2cf88398d8a09037743))
338
- * move await ([2cc94c3](https://github.com/agnostack/next-shopify/commit/2cc94c3204296652a83ae01a740939f934d5fd77))
339
- * rest desctructure ([18b6d24](https://github.com/agnostack/next-shopify/commit/18b6d246c1fe02544ffdf7357c855ee8549c65d6))
340
- * singlePayment ([373c200](https://github.com/agnostack/next-shopify/commit/373c200a9301499a93979b372e6e35bcfd4079a9))
341
- * syntax error ([69f4e62](https://github.com/agnostack/next-shopify/commit/69f4e628290c2c9e2d7d4a75e4a2bca15ca55d4b))
342
-
343
- # [1.3.0](https://github.com/agnostack/next-shopify/compare/v1.2.0...v1.3.0) (2022-11-14)
344
-
345
-
346
- ### Bug Fixes
347
-
348
- * add headers to response ([ab79594](https://github.com/agnostack/next-shopify/commit/ab795947e7db5e2da00a9cb47762b0280fbf7cb3))
349
- * add headers to response ([43f8911](https://github.com/agnostack/next-shopify/commit/43f8911511fc2aaeed40526f1ec6b8177beb7c99))
350
- * add verification error handling ([f995b88](https://github.com/agnostack/next-shopify/commit/f995b88ec113a22c142fc0d36815cb690ae000fe))
351
- * cleanup ([de15385](https://github.com/agnostack/next-shopify/commit/de153858ae2765a3371bf3c8a5f224dc6c842de8))
352
- * debugging ([cd5b3f9](https://github.com/agnostack/next-shopify/commit/cd5b3f935495db221fec60802796104fc559910a))
353
- * debugging ([db47f73](https://github.com/agnostack/next-shopify/commit/db47f73284b721188cfdae67fad1c0d0615fd4c5))
354
- * debugging ([1df68ed](https://github.com/agnostack/next-shopify/commit/1df68ed4f0eb3e893cf910df95fabff6ccc4d42c))
355
- * leverage mutated object ([5c3701c](https://github.com/agnostack/next-shopify/commit/5c3701c4d0f2c0d4ea894e55402968d5f450ea82))
356
- * modify ensureBilling ([4acb0f6](https://github.com/agnostack/next-shopify/commit/4acb0f6e9c4b0b0547161d325fbda84c8d869ec8))
357
- * modify session logic ([f846992](https://github.com/agnostack/next-shopify/commit/f846992f7e886bfa35c34a1d96e2cf97b5a369ee))
358
- * move to appBaseUrl ([bf6ce79](https://github.com/agnostack/next-shopify/commit/bf6ce791254502f27b2158c12a7837ea6c14bd82))
359
- * testing logs ([49e9467](https://github.com/agnostack/next-shopify/commit/49e9467397f403726d0b98d18630b2ac1e7bb47c))
360
- * testing logs ([7555045](https://github.com/agnostack/next-shopify/commit/7555045e0d0524ba448108202aa8510b14ae0e8c))
361
- * testing logs ([5891b10](https://github.com/agnostack/next-shopify/commit/5891b105ffa8150fdab39bd5ed3be5520509f885))
362
- * updated auth helper ([8b3af3e](https://github.com/agnostack/next-shopify/commit/8b3af3e38cad63596ee0d5ca19b622899d1695ad))
363
- * updated to add publicruntimeconf ([593e444](https://github.com/agnostack/next-shopify/commit/593e44406b8e39ab39ac51c44e8f4f568fd138a1))
364
- * updated to use API_URLS ([ccba350](https://github.com/agnostack/next-shopify/commit/ccba350a8637d664ebd75e18125ec5a434aa7a97))
365
- * work in progress ([5472aa1](https://github.com/agnostack/next-shopify/commit/5472aa1e8eeddf6febbe7cca988bdc0303251147))
366
-
367
-
368
- ### Features
369
-
370
- * added API_URLS ([60a153b](https://github.com/agnostack/next-shopify/commit/60a153bc3fbd7b82847bed2cd6a0c7da7902f4d9))
371
-
372
- # [1.2.0](https://github.com/agnostack/next-shopify/compare/v1.1.1...v1.2.0) (2022-11-13)
373
-
374
-
375
- ### Bug Fixes
376
-
377
- * added debugMode check for paymentConfig ([4dd9ef7](https://github.com/agnostack/next-shopify/commit/4dd9ef7c58169127f68b53f329a934b864267e86))
378
- * added logs ([7899327](https://github.com/agnostack/next-shopify/commit/7899327f178ae6d376aa0ee2a5ca933fa0401a0b))
379
- * added logs and hmac check ([8249098](https://github.com/agnostack/next-shopify/commit/8249098079e8e79aff0455cf9ce254211b0e63eb))
380
- * additional logging ([fdaebef](https://github.com/agnostack/next-shopify/commit/fdaebef5eb4eeab4f977c2bcb3364592eca90d4a))
381
- * logging to ensure cookie working ([eefa459](https://github.com/agnostack/next-shopify/commit/eefa459f4f2e37237bb801897ed892d922a6fc1a))
382
- * more logs (and fixed paymentConfig name ([d3c7fc3](https://github.com/agnostack/next-shopify/commit/d3c7fc32d56aeb9099a6fc1c38d855d08992f029))
383
- * reduced required version ([bf96eae](https://github.com/agnostack/next-shopify/commit/bf96eaeea9766519cb17f8e1db78bb8d0c45c3b6))
384
- * reverted to singleton ([b25954f](https://github.com/agnostack/next-shopify/commit/b25954f0cd03d6f01ab2ccefc772ecdc64e996df))
385
- * testing logs ([b6b6b0e](https://github.com/agnostack/next-shopify/commit/b6b6b0ea98d0e548c07835b28de3e94ed74f58a5))
386
- * updated beginAuth ([a43b7db](https://github.com/agnostack/next-shopify/commit/a43b7dbfd60d3b307c5eb07511a796e3bc0855db))
387
- * updated FirebaseSessionHandler ([d62160c](https://github.com/agnostack/next-shopify/commit/d62160c4ffd6d45dc80527c23226752cadf68c8f))
388
- * updated getRedirectUrl ([b4755b9](https://github.com/agnostack/next-shopify/commit/b4755b90aad5e6fc8a3c140cbd73907f80243560))
389
- * updated initializeFireStore and getInitializedShopify to no longer be async ([4684e2c](https://github.com/agnostack/next-shopify/commit/4684e2c171ada39a79e60cdd07bb73c32da88268))
390
- * updated to add logs ([d688695](https://github.com/agnostack/next-shopify/commit/d688695052ee0b71721198fbe6231146fb76f70a))
391
- * updated to remove singleton ([21367d5](https://github.com/agnostack/next-shopify/commit/21367d5ab55de9da29e43eab64fe69c7889e77f0))
392
- * updated to simplify params ([e84b58b](https://github.com/agnostack/next-shopify/commit/e84b58b244f9969672d62ac424f1026d11b398bf))
393
- * updates/clean up ([acec04f](https://github.com/agnostack/next-shopify/commit/acec04fe306bb4d54fbeffcc5051459c734e1bb5))
394
-
395
-
396
- ### Features
397
-
398
- * added fb-admin ([63aab0d](https://github.com/agnostack/next-shopify/commit/63aab0d3bc1b6b1e36ab74447dc1eecf580df22c))
399
- * added support for netlifyUrl ([aef5844](https://github.com/agnostack/next-shopify/commit/aef58445ff53ed25352a8cc342287b5b8ffef2d4))
400
- * moved to fb-admin ([a097358](https://github.com/agnostack/next-shopify/commit/a0973583af6c93d9230843670808621e2094570a))
401
-
402
- ## [1.1.1](https://github.com/agnostack/next-shopify/compare/v1.1.0...v1.1.1) (2022-11-11)
403
-
404
-
405
- ### Bug Fixes
406
-
407
- * add billing manager ([65bbfc7](https://github.com/agnostack/next-shopify/commit/65bbfc75fc1ca1814640da0e9fe28f57bb9cdf4c))
408
- * add initial handleQuery ([ae74450](https://github.com/agnostack/next-shopify/commit/ae74450e632573ccebb4b48bb958a363e83d8024))
409
- * add initial handleQuery ([45b2e11](https://github.com/agnostack/next-shopify/commit/45b2e1153a7c0d2a45d8ccad9a10e94208564e98))
410
- * add payment config method ([8fda8c2](https://github.com/agnostack/next-shopify/commit/8fda8c2c569d780336cd487d02a3e6cc5bd73784))
411
- * added debug logs ([934b436](https://github.com/agnostack/next-shopify/commit/934b43655b6c78b1d1c2aef83bfe2443f5cb6534))
412
- * added handleRest, updated handleQuery ([3228ce8](https://github.com/agnostack/next-shopify/commit/3228ce8bb41854aef44ecc3fb78a971401461ea8))
413
- * added logs and JSON.parse ([eb1e59e](https://github.com/agnostack/next-shopify/commit/eb1e59ee465b972db51fdde097d84ebee3c339bc))
414
- * added logs, change to use body direct ([67c7d5d](https://github.com/agnostack/next-shopify/commit/67c7d5d7261a623c693ee1f4846f6395f492346e))
415
- * added message in response (and debug logs) ([d713bb5](https://github.com/agnostack/next-shopify/commit/d713bb597780efa96c7781763bd4f57bd14ea61c))
416
- * added querystringToObject ([2e5e9dc](https://github.com/agnostack/next-shopify/commit/2e5e9dc219de4bf61514a55909b36368b340c47d))
417
- * cleanup ([0fdc2dc](https://github.com/agnostack/next-shopify/commit/0fdc2dc3f9996aaab792edc338c2b9af6fbe37e7))
418
- * cleanup linting ([341f87b](https://github.com/agnostack/next-shopify/commit/341f87b65b42c93303f40c2c49117bd5ada99602))
419
- * fix destructure ([37b9d7c](https://github.com/agnostack/next-shopify/commit/37b9d7cd12d8b9b266206a7a5dcc223120075c21))
420
- * modify conditional check ([efccb36](https://github.com/agnostack/next-shopify/commit/efccb362722a71d84fe0ae79d894d4952f57a2fb))
421
- * modify rest payload ([8ce8810](https://github.com/agnostack/next-shopify/commit/8ce8810fc2f04834237cc874ad92c9fecbf13e93))
422
- * modify rest payload ([eabae19](https://github.com/agnostack/next-shopify/commit/eabae194ad5f9864b84872ee65f0213134123d87))
423
- * optimization ([12636d0](https://github.com/agnostack/next-shopify/commit/12636d0e3e007c80ec2e6c10ebcf368ea7fd408f))
424
- * payment config ([b69394e](https://github.com/agnostack/next-shopify/commit/b69394e9abc53a3a0f6c8be1f350f393274b4de6))
425
- * refactored to export helpers ([35eafde](https://github.com/agnostack/next-shopify/commit/35eafdef0acdcc2f882729088918a40dc47607c3))
426
- * remove logs ([9095a54](https://github.com/agnostack/next-shopify/commit/9095a54a3be188e4e2254faf88a1ddadc5a4e503))
427
- * removed logs, destructured data ([ac84948](https://github.com/agnostack/next-shopify/commit/ac84948abb894629647a9671d21ce94cb71af42a))
428
- * removed logs, return only body ([2f706c9](https://github.com/agnostack/next-shopify/commit/2f706c911e23e23555bf67ecc6c5f5bc37b26d02))
429
- * removed old export ([4cc445d](https://github.com/agnostack/next-shopify/commit/4cc445dbffcc25c3ab77bf04091ba3db3676a0b9))
430
- * renamed query to graph ([af40892](https://github.com/agnostack/next-shopify/commit/af40892835e72c1c39e0f4983e0758a12ada4245))
431
- * updated invalid import ([2cdbf41](https://github.com/agnostack/next-shopify/commit/2cdbf41a7b17c447587f876231830c707e9ebc90))
432
- * updated method signatures ([26316c8](https://github.com/agnostack/next-shopify/commit/26316c80d1a9a9b8663dd864a2270b2617c0492b))
433
- * var names ([e322bff](https://github.com/agnostack/next-shopify/commit/e322bffaa56439d8c694061fa8990f7c64def0a9))
434
-
435
- # [1.1.0](https://github.com/agnostack/next-shopify/compare/v1.0.0...v1.1.0) (2022-11-08)
436
-
437
-
438
- ### Bug Fixes
439
-
440
- * added debug logs ([e6b9703](https://github.com/agnostack/next-shopify/commit/e6b97038580e5802319eb93fd272eb0c27ec4ad3))
441
- * added default destructure ([2f14c5c](https://github.com/agnostack/next-shopify/commit/2f14c5c972463df7130387e64b420bf4a56b45fa))
442
- * reverted interactive prompt ([ab2a841](https://github.com/agnostack/next-shopify/commit/ab2a841ccd3bdb9cf659b2be02aa8ebadee627cd))
443
- * small refactor on apiHandlers ([fc9315d](https://github.com/agnostack/next-shopify/commit/fc9315d4de6c69096399ae1573f8bc2d4982dffe))
444
- * split out helper methods ([8148682](https://github.com/agnostack/next-shopify/commit/8148682f3ee940948cf01521b1428a994880c515))
445
- * temp set to test prompts ([0a97fd2](https://github.com/agnostack/next-shopify/commit/0a97fd2186b46b6362fd54c1dfdb7810211aee10))
446
- * updated broken lock file ([3515c81](https://github.com/agnostack/next-shopify/commit/3515c812f531bcd2f8eca264432346ef748afb0c))
447
- * updated console logs ([e3450f2](https://github.com/agnostack/next-shopify/commit/e3450f28ccd29d7de3d78d1cb1857ff9e892ccf4))
448
- * updated status and send handlers ([874f9d6](https://github.com/agnostack/next-shopify/commit/874f9d6bd99ac7293a9782493bb7e10593367609))
449
- * updated to grab from APP_CONFIG ([e5f4c13](https://github.com/agnostack/next-shopify/commit/e5f4c13d5592000ffbf9791fba12b3c236178997))
450
- * updated to remove debug logs ([58bcdaf](https://github.com/agnostack/next-shopify/commit/58bcdafa6f64fe64ff9b25efac492f599034030e))
451
- * updated uninstall route ([6f8462a](https://github.com/agnostack/next-shopify/commit/6f8462a7012d18c5205f1f9f22a7940b6b335329))
452
-
453
-
454
- ### Features
455
-
456
- * initial implementation of withShopify > serverRuntimeConfig ([8a4771d](https://github.com/agnostack/next-shopify/commit/8a4771db503fa9fcbec15c5690f31f85b154c40e))
457
- * initial test implementation ([b212bff](https://github.com/agnostack/next-shopify/commit/b212bffc7aa76e12686444a09d3b6af71294a1dc))
458
- # 1.0.0 (2022-11-07)
459
-
460
-
461
- ### Bug Fixes
462
-
463
- * initial commit ([1bc1cf1](https://github.com/agnostack/next-shopify/commit/1bc1cf1125052a8c71778c67e68d08d0c391ee7f))
464
-
465
-
466
- ### Features
467
-
468
- * inital commit/prerelease ([df46523](https://github.com/agnostack/next-shopify/commit/df465232c95a1162423c664473d3c535bfb7b949))
469
- * initial release ([40c6a31](https://github.com/agnostack/next-shopify/commit/40c6a31786757878841849e58e6b58a5c76df5c0))
@@ -1 +0,0 @@
1
- export function addWebhookHandlers(serverRuntimeConfig: any, shopify: any): Promise<void>;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addWebhookHandlers = void 0;
4
- const shopify_api_1 = require("@shopify/shopify-api");
5
- const addWebhookHandlers = async (serverRuntimeConfig, shopify) => {
6
- const { APP_WEBHOOKS } = serverRuntimeConfig;
7
- // TODO look for all topics via APP_WEBHOOKS
8
- const existingHandlers = await shopify.webhooks.getHandlers('APP_UNINSTALLED');
9
- if (existingHandlers.length === 0) {
10
- shopify.webhooks.addHandlers(Object.entries(APP_WEBHOOKS).reduce((__payload, [topic, webhooks]) => (Object.assign(Object.assign({}, __payload), { [topic]: webhooks.map((webhook) => ({
11
- deliveryMethod: shopify_api_1.DeliveryMethod.Http,
12
- callbackUrl: webhook.path,
13
- callback: async (topic, shop) => {
14
- // NOTE our webhook logic is handled in each api route
15
- console.log(`handleWebhook for ${shop}:${topic}`);
16
- return true;
17
- },
18
- })) })), {}));
19
- }
20
- };
21
- exports.addWebhookHandlers = addWebhookHandlers;
22
- //# sourceMappingURL=webhooks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../src/utils/webhooks.js"],"names":[],"mappings":";;;AAAA,sDAAqD;AAE9C,MAAM,kBAAkB,GAAG,KAAK,EAAE,mBAAmB,EAAE,OAAO,EAAE,EAAE;IACvE,MAAM,EAAE,YAAY,EAAE,GAAG,mBAAmB,CAAA;IAE5C,4CAA4C;IAC5C,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAA;IAE9E,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE;QACjC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,iCAC9F,SAAS,KACZ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;gBAClC,cAAc,EAAE,4BAAc,CAAC,IAAI;gBACnC,WAAW,EAAE,OAAO,CAAC,IAAI;gBACzB,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;oBAC9B,sDAAsD;oBACtD,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,IAAI,KAAK,EAAE,CAAC,CAAA;oBAEjD,OAAO,IAAI,CAAA;gBACb,CAAC;aACF,CAAC,CAAC,IACH,EAAE,EAAE,CAAC,CAAC,CAAA;KACT;AACH,CAAC,CAAA;AArBY,QAAA,kBAAkB,sBAqB9B"}